Navigation
API > API/Runtime > API/Runtime/Core
A lexeme dictionary defining how to lex an expression.
| Name | TTokenDefinitions |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.h |
| Include Path | #include "Misc/ExpressionParserTypes.h" |
Syntax
template<typename CharType>
class TTokenDefinitions
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTokenDefinitions() |
Misc/ExpressionParserTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIgnoreWhitespace | bool | Misc/ExpressionParserTypes.h | ||
| Definitions | TArray< TFunction< TExpressionDefinition< CharType > > > | Misc/ExpressionParserTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOptional< FExpressionError > ConsumeTokens
(
TExpressionTokenConsumer< CharType >& Consumer |
Consume a token for the specified consumer | Misc/ExpressionParserTypes.h | |
void 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 | Misc/ExpressionParserTypes.h | |
bool DoesIgnoreWhitespace() |
Check if the grammar ignores whitespace | Misc/ExpressionParserTypes.h | |
void IgnoreWhitespace() |
Define the grammar to ignore whitespace between tokens, unless explicitly included in a token | Misc/ExpressionParserTypes.h |