UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TIOperatorEvaluationEnvironment< CharType > Struct Template Referenceabstract

#include <ExpressionParserTypes.h>

+ Inheritance diagram for TIOperatorEvaluationEnvironment< CharType >:

Public Member Functions

virtual FExpressionResult ExecPreUnary (const TExpressionToken< CharType > &Operator, const TExpressionToken< CharType > &R) const =0
 
virtual FExpressionResult ExecPostUnary (const TExpressionToken< CharType > &Operator, const TExpressionToken< CharType > &L) const =0
 
virtual FExpressionResult ExecBinary (const TExpressionToken< CharType > &Operator, const TExpressionToken< CharType > &L, const TExpressionToken< CharType > &R) const =0
 
virtual bool ShouldShortCircuit (const TExpressionToken< CharType > &Operator, const TExpressionToken< CharType > &L) const =0
 

Detailed Description

template<typename CharType>
struct TIOperatorEvaluationEnvironment< CharType >

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

Member Function Documentation

◆ ExecBinary()

template<typename CharType >
virtual FExpressionResult TIOperatorEvaluationEnvironment< CharType >::ExecBinary ( const TExpressionToken< CharType > &  Operator,
const TExpressionToken< CharType > &  L,
const TExpressionToken< CharType > &  R 
) const
pure virtual

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

Implemented in TOperatorEvaluationEnvironment< ContextType, CharType >.

◆ ExecPostUnary()

template<typename CharType >
virtual FExpressionResult TIOperatorEvaluationEnvironment< CharType >::ExecPostUnary ( const TExpressionToken< CharType > &  Operator,
const TExpressionToken< CharType > &  L 
) const
pure virtual

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

Implemented in TOperatorEvaluationEnvironment< ContextType, CharType >.

◆ ExecPreUnary()

template<typename CharType >
virtual FExpressionResult TIOperatorEvaluationEnvironment< CharType >::ExecPreUnary ( const TExpressionToken< CharType > &  Operator,
const TExpressionToken< CharType > &  R 
) const
pure virtual

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

Implemented in TOperatorEvaluationEnvironment< ContextType, CharType >.

◆ ShouldShortCircuit()

template<typename CharType >
virtual bool TIOperatorEvaluationEnvironment< CharType >::ShouldShortCircuit ( const TExpressionToken< CharType > &  Operator,
const TExpressionToken< CharType > &  L 
) const
pure virtual

Check whether we should short circuit the specified operator

Implemented in TOperatorEvaluationEnvironment< ContextType, CharType >.


The documentation for this struct was generated from the following file: