Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > TOperatorJumpTable
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.h |
Include | #include "Misc/ExpressionParserTypes.h" |
&42;return MakeError
&40;
FExpressionError(LOCTEXT("DivisionByZero","Division by zero."))
&41;
Remarks
Map an expression node to a binary operator with the specified implementation.
The callable type must match the declaration Ret(OperandL, OperandR, [, Context]), where: Ret = Any DEFINE_EXPRESSION_NODE_TYPE type, OR FExpressionResult OperandL = Any DEFINE_EXPRESSION_NODE_TYPE type OperandR = Any DEFINE_EXPRESSION_NODE_TYPE type Context = (optional) const ptr to user-supplied arbitrary context
Examples that binds a '/' token to a function that attempts to do a division: JumpTable.MapUnary
The callable type must match the declaration Ret(OperandL, OperandR, [, Context]), where: Ret = Any DEFINE_EXPRESSION_NODE_TYPE type, OR FExpressionResult OperandL = Any DEFINE_EXPRESSION_NODE_TYPE type OperandR = Any DEFINE_EXPRESSION_NODE_TYPE type Context = (optional) const ptr to user-supplied arbitrary context
Examples that binds a '/' token to a function that attempts to do a division: JumpTable.MapUnary