forgex_enums_m Module

The forgex_enums_m defines enumerators of tokens and operators for syntax-tree building.

Note

These enums will be rewritten in Fortran 2023's enumerator in the future.


Enumerations

enum, bind(c)

Enumerators

enumerator:: tk_char = 0
enumerator:: tk_union = 1
enumerator:: tk_lpar = 2
enumerator:: tk_rpar = 3
enumerator:: tk_backslash = 4
enumerator:: tk_question = 5
enumerator:: tk_star = 6
enumerator:: tk_plus = 7
enumerator:: tk_lsbracket = 8
enumerator:: tk_rsbracket = 9
enumerator:: tk_lcurlybrace = 10
enumerator:: tk_rcurlybrace = 11
enumerator:: tk_dot = 12
enumerator:: tk_hyphen = 13
enumerator:: tk_caret = 14
enumerator:: tk_dollar = 15
enumerator:: tk_end = 16

enum, bind(c)

Enumerators

enumerator:: op_not_init = 0
enumerator:: op_char = 1
enumerator:: op_concat = 2
enumerator:: op_union = 3
enumerator:: op_closure = 4
enumerator:: op_repeat = 5
enumerator:: op_empty = 6

enum, bind(c)

Enumerators

enumerator:: FLAG_INVALID = 0
enumerator:: FLAG_HELP = 1
enumerator:: FLAG_VERBOSE = 2
enumerator:: FLAG_NO_TABLE = 3
enumerator:: FLAG_TABLE_ONLY = 4
enumerator:: FLAG_NO_LITERAL = 5

enum, bind(c)

Enumerators

enumerator:: OS_UNKNOWN = 0
enumerator:: OS_WINDOWS = 1
enumerator:: OS_UNIX = 2