Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
IOperatorEvaluationEnvironment Struct Referenceabstract

#include <ExpressionParserTypes.h>

+ Inheritance diagram for IOperatorEvaluationEnvironment:

Public Member Functions

virtual FExpressionResult ExecPreUnary (const FExpressionToken &Operator, const FExpressionToken &R) const =0
 
virtual FExpressionResult ExecPostUnary (const FExpressionToken &Operator, const FExpressionToken &L) const =0
 
virtual FExpressionResult ExecBinary (const FExpressionToken &Operator, const FExpressionToken &L, const FExpressionToken &R) const =0
 
virtual bool ShouldShortCircuit (const FExpressionToken &Operator, const FExpressionToken &L) const =0
 

Detailed Description

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

Definition at line 378 of file ExpressionParserTypes.h.

Member Function Documentation

◆ ExecBinary()

virtual FExpressionResult IOperatorEvaluationEnvironment::ExecBinary ( const FExpressionToken & Operator,
const FExpressionToken & L,
const FExpressionToken & R ) const
pure virtual

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

Implemented in TOperatorEvaluationEnvironment< ContextType >.

◆ ExecPostUnary()

virtual FExpressionResult IOperatorEvaluationEnvironment::ExecPostUnary ( const FExpressionToken & Operator,
const FExpressionToken & L ) const
pure virtual

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

Implemented in TOperatorEvaluationEnvironment< ContextType >.

◆ ExecPreUnary()

virtual FExpressionResult IOperatorEvaluationEnvironment::ExecPreUnary ( const FExpressionToken & Operator,
const FExpressionToken & R ) const
pure virtual

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

Implemented in TOperatorEvaluationEnvironment< ContextType >.

◆ ShouldShortCircuit()

virtual bool IOperatorEvaluationEnvironment::ShouldShortCircuit ( const FExpressionToken & Operator,
const FExpressionToken & L ) const
pure virtual

Check whether we should short circuit the specified operator

Implemented in TOperatorEvaluationEnvironment< ContextType >.


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