Class used to consume tokens from a string 更多...
#include <ExpressionParserTypes.h>
Public 成员函数 | |
| void | Add (const FStringToken &SourceToken, FExpressionNode &&Node) |
| Add an expression node to the consumer, specifying the FStringToken this node relates to. 更多... | |
| TArray< FExpressionToken > | Extract () |
| Extract the list of tokens from this consumer | |
| FExpressionTokenConsumer (const TCHAR *InExpression) | |
| Construction from a raw string. 更多... | |
| FTokenStream & | GetStream () |
| Get the expression stream | |
Class used to consume tokens from a string
| FExpressionTokenConsumer::FExpressionTokenConsumer | ( | const TCHAR * | InExpression | ) |
Construction from a raw string.
The consumer is only valid as long as the string is valid
| 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.