Derived Types

TypeLocationExtendsDescription
case_marks_t ffmt_case None

The letter case wanted for each token (CASE_KEEP, CASE_LOWER or CASE_UPPER).

case_options_t ffmt_options None

Letter case of keywords, dot operators and logical constants, intrinsic procedures, the constants of the intrinsic modules, and kinds.

cli_t ffmt_cli None

Parsed command line.

config_cache_t ffmt_cli None

Configurations already found, by directory.

config_t ffmt_config None

The settings of one configuration file.

diagnostic_t ffmt_structure None

A problem with the block structure, such as an end that matches no open construct.

dir_entry_t ffmt_fs None

One entry of a directory listing.

edit_t ffmt_diff None

The edits that turn the lines of one text into those of the other, in order.

format_options_t ffmt_options None

All options that control formatting. The defaults give 4-space indentation with the bodies of modules and programs not indented, and aligned continuation lines.

lexer_t ffmt_lexer None

Lexer state for one source text.

piece_t ffmt_layout None

A piece of an output line: a token, or the blanks before one. Its text is src(first:last) (with the token's letter case applied), or blanks blanks if that is positive; it is not copied, so that measuring a line allocates nothing.

saved_stack_t ffmt_structure None

Scope stacks for one preprocessor conditional: as it was at the #if (restored at each #elif / #else) and as it was at the end of the first branch (used after #endif).

scope_stack_t ffmt_structure None

The open constructs, outermost first.

scope_t ffmt_structure None

An open construct on the scope stack.

setting_t ffmt_settings None

A named setting with its value as text.

source_t ffmt_source None

A source text with its tokens and statements.

statement_list_t ffmt_statements None

The items of a source text, in order.

statement_t ffmt_statements None

An item: a code statement or a standalone line, as a range of the token list.

statement_view_t ffmt_statements None

The code tokens of one statement, with their lowercase text and bracket depth: what the rules that read a statement word by word need. The procedures take an index j into code(:); outside 1:n a word is '' and its kind 0, so a rule can look before and after a token without checking the bounds.

stmt_info_t ffmt_constructs None

What a statement does to the block structure, as found by classify_statement.

string_builder_t ffmt_strings None

Builds a string by appending pieces in amortized constant time.

string_t ffmt_strings None

A variable-length string, for arrays of strings of different lengths.

structure_t ffmt_structure None

The block structure of a source: for each item (see ffmt_statements) what it is and how deeply it is nested.

token_list_t ffmt_tokens None

The tokens of a source text, in source order.

token_t ffmt_tokens None

One token: a byte range of the source with its kind.

whitespace_options_t ffmt_options None

Modes of the whitespace rules. The defaults follow the most common style in practice where it is clear-cut, and keep the rest.

words_t ffmt_constructs None

The words of a statement, with combined keywords such as endif split into end, if.

writer_t ffmt_layout None

Output being built, and the alignment state of the current statement.

type~~graph~~TypeGraph type~case_marks_t case_marks_t type~case_options_t case_options_t type~cli_t cli_t type~setting_t setting_t type~cli_t->type~setting_t settings type~string_t string_t type~cli_t->type~string_t paths, exclude, extensions type~config_cache_t config_cache_t type~config_t config_t type~config_cache_t->type~config_t configs type~config_cache_t->type~string_t dirs type~config_t->type~setting_t settings type~config_t->type~string_t extensions, exclude type~diagnostic_t diagnostic_t type~dir_entry_t dir_entry_t type~edit_t edit_t type~format_options_t format_options_t type~format_options_t->type~case_options_t letter_case type~whitespace_options_t whitespace_options_t type~format_options_t->type~whitespace_options_t spaces type~lexer_t lexer_t type~piece_t piece_t type~saved_stack_t saved_stack_t type~scope_t scope_t type~saved_stack_t->type~scope_t at_if, after_first type~scope_stack_t scope_stack_t type~scope_stack_t->type~scope_t s type~source_t source_t type~statement_list_t statement_list_t type~source_t->type~statement_list_t stmts type~token_list_t token_list_t type~source_t->type~token_list_t tokens type~statement_t statement_t type~statement_list_t->type~statement_t s type~statement_view_t statement_view_t type~stmt_info_t stmt_info_t type~string_builder_t string_builder_t type~structure_t structure_t type~structure_t->type~stmt_info_t info type~token_t token_t type~token_list_t->type~token_t tok type~words_t words_t type~words_t->type~string_t w type~writer_t writer_t type~writer_t->type~case_marks_t cases type~writer_t->type~string_builder_t buf
Help