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