TOperatorJumpTable

Jump table specifying how to execute an operator with different types

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.h

Include

#include "Misc/ExpressionParserTypes.h"

Syntax

template<typename ContextType>
struct TOperatorJumpTable

Remarks

Jump table specifying how to execute an operator with different types

Functions

Name Description

Public function Const

FExpressionR...

 

ExecBinary

(
    const FExpressionToken& Operator,
    const FExpressionToken& L,
    const FExpressionToken& R,
    const ContextType* Context
)

Execute the specified token as a binary operator, if such an overload exists

Public function Const

FExpressionR...

 

ExecPostUnary

(
    const FExpressionToken& Operator,
    const FExpressionToken& L,
    const ContextType* Context
)

Execute the specified token as a unary operator, if such an overload exists

Public function Const

FExpressionR...

 

ExecPreUnary

(
    const FExpressionToken& Operator,
    const FExpressionToken& R,
    const ContextType* Context
)

Execute the specified token as a unary operator, if such an overload exists

Public function

*return

 

MakeError

(
    FExpressionError(LOCTEXT("DivisionB...
)

Map an expression node to a binary operator with the specified implementation.

Public function

void

 

MapPostUnary

(
    FuncType InFunc
)

Map an expression node to a post-unary operator with the specified implementation.

Public function

void

 

MapPreUnary

(
    FuncType InFunc
)

Map an expression node to a pre-unary operator with the specified implementation.

Public function Const

bool

 

ShouldShortCircuit

(
    const FExpressionToken& Operator,
    const FExpressionToken& L,
    const ContextType* Context
)

Check whether we should short circuit the specified operator

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss