Ark Server API (ASA) - Wiki
|
#include <ExpressionParserTypes.h>
Public Member Functions | |
FTokenDefinitions () | |
void | IgnoreWhitespace () |
void | DefineToken (TFunction< FExpressionDefinition > &&Definition) |
bool | DoesIgnoreWhitespace () |
TOptional< FExpressionError > | ConsumeTokens (FExpressionTokenConsumer &Consumer) const |
Private Member Functions | |
TOptional< FExpressionError > | ConsumeToken (FExpressionTokenConsumer &Consumer) const |
Private Attributes | |
bool | bIgnoreWhitespace |
TArray< TFunction< FExpressionDefinition > > | Definitions |
A lexeme dictionary defining how to lex an expression.
Definition at line 458 of file ExpressionParserTypes.h.
|
inline |
Definition at line 461 of file ExpressionParserTypes.h.
|
private |
TOptional< FExpressionError > FTokenDefinitions::ConsumeTokens | ( | FExpressionTokenConsumer & | Consumer | ) | const |
Consume a token for the specified consumer
void FTokenDefinitions::DefineToken | ( | TFunction< FExpressionDefinition > && | Definition | ) |
Define a token by way of a function to be invoked to attempt to parse a token from a stream
|
inline |
Check if the grammar ignores whitespace
Definition at line 472 of file ExpressionParserTypes.h.
|
inline |
Define the grammar to ignore whitespace between tokens, unless explicitly included in a token
Definition at line 464 of file ExpressionParserTypes.h.
|
private |
Definition at line 483 of file ExpressionParserTypes.h.
|
private |
Definition at line 484 of file ExpressionParserTypes.h.