| Module | Source File | Description |
|---|---|---|
| ffmt_case | ffmt_case.f90 | Letter case of keywords, dot operators, intrinsic procedures, the constants of the intrinsic modules, and kinds. |
| ffmt_cli | ffmt_cli.f90 | Command-line interface: argument parsing and processing of files and directories. |
| ffmt_config | ffmt_config.f90 | Configuration files. |
| ffmt_constructs | ffmt_constructs.f90 | Classifies statements by their role in the block structure: opening a construct or program
unit, continuing one ( |
| ffmt_diff | ffmt_diff.f90 | Unified diffs of two texts, for |
| ffmt_directives | ffmt_directives.f90 | Formatter directives in comments, which protect code from formatting: |
| ffmt_format | ffmt_format.f90 | Formatting a whole source text: the main library entry point. |
| ffmt_fs | ffmt_fs.f90 | Portable file system access that standard Fortran lacks: listing a directory and telling
directories from files. Written in Fortran with interfaces to |
| ffmt_io | ffmt_io.f90 | Reading and writing whole files as bytes, so that line endings are preserved on every platform. |
| ffmt_layout | ffmt_layout.f90 | Writes the formatted text of a tokenized file: statements indented by their nesting depth, continuation lines aligned or indented by a fixed amount, comment lines indented like the code around them, and within each line the blanks and letter case that compute_gaps and compute_case ask for. Trailing blanks are removed. |
| ffmt_lexer | ffmt_lexer.f90 | Lexer for free-form Fortran. |
| ffmt_linebreak | ffmt_linebreak.f90 | Splitting code lines that are longer than the line length. |
| ffmt_options | ffmt_options.f90 | Formatting options: all the settings, with their defaults, and the modes they take. The modules that apply them (ffmt_whitespace, ffmt_case, ffmt_relational, ffmt_layout) use this module, not the other way round, so it depends on nothing. |
| ffmt_relational | ffmt_relational.f90 | Spelling of the relational operators: |
| ffmt_settings | ffmt_settings.f90 | Named settings, as written in a config file or given on the command line, applied to the options. |
| ffmt_source | ffmt_source.f90 | A source text read for formatting: its tokens, its statements and which of them formatter
directives protect. Every pass that works on the text (formatting, line splitting, relational
spelling, |
| ffmt_statements | ffmt_statements.f90 | Groups tokens into statements and standalone lines. |
| ffmt_strings | ffmt_strings.f90 | String helpers. |
| ffmt_structure | ffmt_structure.f90 | Block structure of a file: the nesting depth of every statement, from a stack of open
constructs, plus diagnostics for statements that do not fit (an |
| ffmt_tokens | ffmt_tokens.f90 | Tokens of free-form Fortran source. |
| ffmt_use_sort | ffmt_use_sort.f90 | Sorting |
| ffmt_walk | ffmt_walk.f90 | Finding the Fortran files under a directory. |
| ffmt_whitespace | ffmt_whitespace.f90 | Whitespace rules within lines: the blanks wanted between pairs of adjacent tokens. |