Go to the source code of this file.
Data Types | |
| type | token |
| Represents a single token in a parsed expression. Holds the string value of the token and its classified type. More... | |
| interface | strtol |
| Converts a string to integer. More... | |
Functions/Subroutines | |
| subroutine, public | tokenize (expr, tokens, ntokens) |
| Tokenizes a preprocessor expression into an array of token structures. Handles whitespace, multi-character operators (&&, ||, ==, etc.), the defined operator (with or without parentheses), numbers in various bases, identifiers, and parentheses. | |
Variables | |
| integer, parameter, public | tokens_enum = kind(unknown) |
| Kind parameter for token type enumeration. Values are (unknown, number, operation, identifier, parenthesis, defined). | |