Navigation
API > API/Runtime > API/Runtime/Core
Jump table specifying how to execute an operator with different types
| Name | TOperatorJumpTable |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.h |
| Include Path | #include "Misc/ExpressionParserTypes.h" |
Syntax
template<typename ContextType, typename CharType>
struct TOperatorJumpTable
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FBinaryFunction | TFunction< FExpressionResult(const FExpressionNode &, const FExpressionNode &, const ContextType *Context)> | Misc/ExpressionParserTypes.h | |
| FShortCircuit | TFunction< bool(const FExpressionNode &, const ContextType *Context)> | Misc/ExpressionParserTypes.h | |
| FUnaryFunction | TFunction< FExpressionResult(const FExpressionNode &, const ContextType *Context)> | Misc/ExpressionParserTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BinaryOps | TMap< FOperatorFunctionID, FBinaryFunction > | Misc/ExpressionParserTypes.h | ||
| BinaryShortCircuits | TMap< FOperatorFunctionID, FShortCircuit > | Misc/ExpressionParserTypes.h | ||
| PostUnaryOps | TMap< FOperatorFunctionID, FUnaryFunction > | Misc/ExpressionParserTypes.h | ||
| PreUnaryOps | TMap< FOperatorFunctionID, FUnaryFunction > | Maps of unary/binary operators | Misc/ExpressionParserTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FExpressionResult ExecBinary
(
const TExpressionToken< CharType >& Operator, |
Execute the specified token as a binary operator, if such an overload exists | Misc/ExpressionParserTypes.h | |
FExpressionResult ExecPostUnary
(
const TExpressionToken< CharType >& Operator, |
Execute the specified token as a unary operator, if such an overload exists | Misc/ExpressionParserTypes.h | |
FExpressionResult ExecPreUnary
(
const TExpressionToken< CharType >& Operator, |
Execute the specified token as a unary operator, if such an overload exists | Misc/ExpressionParserTypes.h | |
void MapBinary
(
FuncType InFunc |
Map an expression node to a binary operator with the specified implementation. | Misc/ExpressionParserTypes.h | |
void MapPostUnary
(
FuncType InFunc |
Map an expression node to a post-unary operator with the specified implementation. | Misc/ExpressionParserTypes.h | |
void MapPreUnary
(
FuncType InFunc |
Map an expression node to a pre-unary operator with the specified implementation. | Misc/ExpressionParserTypes.h | |
void MapShortCircuit
(
FuncType InFunc |
Misc/ExpressionParserTypes.h | ||
bool ShouldShortCircuit
(
const TExpressionToken< CharType >& Operator, |
Check whether we should short circuit the specified operator | Misc/ExpressionParserTypes.h |