Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TOperatorJumpTable
Description
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
return MakeValue(!A); });
| Name | MapBinary |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.h |
| Include Path | #include "Misc/ExpressionParserTypes.h" |
| Source | /Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.inl |
template<typename OperatorType, typename FuncType>
void MapBinary
(
FuncType InFunc
)