Navigation
API > API/Runtime > API/Runtime/Core
Class used to consume tokens from a string
| Name | TExpressionTokenConsumer |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.h |
| Include Path | #include "Misc/ExpressionParserTypes.h" |
Syntax
template<typename CharType>
class TExpressionTokenConsumer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TExpressionTokenConsumer
(
const CharType* InExpression |
Construction from a raw string. The consumer is only valid as long as the string is valid | Misc/ExpressionParserTypes.h | |
| Non-copyable. | Misc/ExpressionParserTypes.h | ||
TExpressionTokenConsumer
(
const TExpressionTokenConsumer& |
Misc/ExpressionParserTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TExpressionTokenConsumer() |
Misc/ExpressionParserTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Stream | TTokenStream< CharType > | Stream that looks at the constructed expression | Misc/ExpressionParserTypes.h | |
| Tokens | TArray< TExpressionToken< CharType > > | Array of added tokens | Misc/ExpressionParserTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
const TStringToken< CharType >& SourceToken, |
Add an expression node to the consumer, specifying the FStringToken this node relates to. | Misc/ExpressionParserTypes.h | |
TArray< TExpressionToken< CharType > > Extract() |
Extract the list of tokens from this consumer | Misc/ExpressionParserTypes.h | |
TTokenStream< CharType > & GetStream() |
Get the expression stream | Misc/ExpressionParserTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Misc/ExpressionParserTypes.h | |||
TExpressionTokenConsumer & operator=
(
const TExpressionTokenConsumer& |
Misc/ExpressionParserTypes.h |