Skip to main content

Module classifier

Module classifier 

Source

Enums§

LineKind
Classification of a logical line.

Functions§

classify
Classify a logical line.
end_block_keyword
Extract the block keyword from an end statement. E.g., end subroutine -> Some(“subroutine”), end -> None.
end_statement_has_name
Check if an end ... line already has a name after the keyword. E.g., end subroutine s_foo -> true, end subroutine -> false.
extract_scope_name
Extract the scope name from a Fortran block-opening line.