IOperatorEvaluationEnvironment

Structures used for managing the evaluation environment for operators in an expression.

Windows
MacOS
Linux

Inheritance Hierarchy

IOperatorEvaluationEnvironment

TOperatorEvaluationEnvironment

References

Module

Core

Header

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

Include

#include "Misc/ExpressionParserTypes.h"

Syntax

struct IOperatorEvaluationEnvironment

Remarks

Structures used for managing the evaluation environment for operators in an expression. This class manages the evaluation context to avoid templating the whole evaluation code on a context type

Functions

Name Description

Public function Const

FExpressionR...

 

ExecBinary

(
    const FExpressionToken& Operator,
    const FExpressionToken& L,
    const FExpressionToken& R
)

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

Public function Const

FExpressionR...

 

ExecPostUnary

(
    const FExpressionToken& Operator,
    const FExpressionToken& L
)

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

Public function Const

FExpressionR...

 

ExecPreUnary

(
    const FExpressionToken& Operator,
    const FExpressionToken& R
)

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

Public function Const

bool

 

ShouldShortCircuit

(
    const FExpressionToken& Operator,
    const FExpressionToken& L
)

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