Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.h |
Include |
#include "Misc/ExpressionParserTypes.h" |
class FExpressionGrammar
A lexical gammer defining how to parse an expression. Clients must define the tokens and operators to be interpreted by the parser.
Name | Description | ||
---|---|---|---|
|
DefineBinaryOperator ( |
Define a binary operator for the specified symbol, with the specified precedence and associativity |
|
|
DefineGrouping() |
Define a grouping operator from two expression node types |
|
|
DefinePostUnaryOperator() |
Define a post-unary operator for the specified symbol |
|
|
DefinePreUnaryOperator() |
Define a pre-unary operator for the specified symbol |
|
|
const FOpPar... |
GetBinaryOperatorDefParameters ( |
Get the binary operator precedence and associativity parameters, for the specified symbol, if any |
|
const FGuid ... |
GetGrouping ( |
Retrieve the corresponding grouping token for the specified open group type, or nullptr if it's not a group token |
|
HasPostUnaryOperator ( |
Check if this grammar defines a post-unary operator for the specified symbol |
|
|
HasPreUnaryOperator ( |
Check if this grammar defines a pre-unary operator for the specified symbol |