Ark Server API (ASA) - Wiki
|
#include <ExpressionParserTypes.h>
Public Member Functions | |
FExpressionTokenConsumer (const TCHAR *InExpression) | |
TArray< FExpressionToken > | Extract () |
void | Add (const FStringToken &SourceToken, FExpressionNode &&Node) |
FTokenStream & | GetStream () |
Private Member Functions | |
FExpressionTokenConsumer (const FExpressionTokenConsumer &) | |
FExpressionTokenConsumer & | operator= (const FExpressionTokenConsumer &) |
Private Attributes | |
TArray< FExpressionToken > | Tokens |
FTokenStream | Stream |
Class used to consume tokens from a string
Definition at line 421 of file ExpressionParserTypes.h.
FExpressionTokenConsumer::FExpressionTokenConsumer | ( | const TCHAR * | InExpression | ) |
Construction from a raw string. The consumer is only valid as long as the string is valid
|
private |
void FExpressionTokenConsumer::Add | ( | const FStringToken & | SourceToken, |
FExpressionNode && | Node ) |
Add an expression node to the consumer, specifying the FStringToken this node relates to. Adding a node to the consumer will move its stream read position to the end of the added token.
TArray< FExpressionToken > FExpressionTokenConsumer::Extract | ( | ) |
Extract the list of tokens from this consumer
|
inline |
Get the expression stream
Definition at line 436 of file ExpressionParserTypes.h.
|
private |
|
private |
Stream that looks at the constructed expression
Definition at line 446 of file ExpressionParserTypes.h.
|
private |
Array of added tokens
Definition at line 443 of file ExpressionParserTypes.h.