Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > FExpressionGrammar
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.h |
Include | #include "Misc/ExpressionParserTypes.h" |
template<typename TExpressionNode>
void DefineBinaryOperator
&40;
int32 InPrecedence,
EAssociativity InAssociativity,
bool bCanShortCircuit
&41;
Remarks
Define a binary operator for the specified symbol, with the specified precedence and associativity NOTE: Associativity defaults to RightToLeft for legacy reasons.
Parameters
Name | Description |
---|---|
InPrecedence | The precedence (priority of execution) this operator should have |
InAssociativity | With operators of the same precedence, determines whether they execute left to right, or right to left |