![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ExpressionParserTypes.h>
Public Member Functions | |
| TTokenDefinitions ()=default | |
| CORE_API void | IgnoreWhitespace () |
| CORE_API void | DefineToken (TFunction< TExpressionDefinition< CharType > > &&Definition) |
| CORE_API bool | DoesIgnoreWhitespace () |
| CORE_API TOptional< FExpressionError > | ConsumeTokens (TExpressionTokenConsumer< CharType > &Consumer) const |
A lexeme dictionary defining how to lex an expression.
|
default |
| TOptional< FExpressionError > TTokenDefinitions< CharType >::ConsumeTokens | ( | TExpressionTokenConsumer< CharType > & | Consumer | ) | const |
Consume a token for the specified consumer
| void TTokenDefinitions< CharType >::DefineToken | ( | TFunction< TExpressionDefinition< CharType > > && | Definition | ) |
Define a token by way of a function to be invoked to attempt to parse a token from a stream
| bool TTokenDefinitions< CharType >::DoesIgnoreWhitespace | ( | ) |
Check if the grammar ignores whitespace
| void TTokenDefinitions< CharType >::IgnoreWhitespace | ( | ) |
Define the grammar to ignore whitespace between tokens, unless explicitly included in a token