Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TOperatorEvaluationEnvironment< ContextType > Struct Template Reference

#include <ExpressionParserTypes.h>

+ Inheritance diagram for TOperatorEvaluationEnvironment< ContextType >:
+ Collaboration diagram for TOperatorEvaluationEnvironment< ContextType >:

Public Member Functions

 TOperatorEvaluationEnvironment (const TOperatorJumpTable< ContextType > &InOperators, const ContextType *InContext)
 
virtual FExpressionResult ExecPreUnary (const FExpressionToken &Operator, const FExpressionToken &R) const override
 
virtual FExpressionResult ExecPostUnary (const FExpressionToken &Operator, const FExpressionToken &L) const override
 
virtual FExpressionResult ExecBinary (const FExpressionToken &Operator, const FExpressionToken &L, const FExpressionToken &R) const override
 
virtual bool ShouldShortCircuit (const FExpressionToken &Operator, const FExpressionToken &L) const override
 

Private Attributes

const TOperatorJumpTable< ContextType > & Operators
 
const ContextTypeContext
 

Detailed Description

template<typename ContextType = void>
struct TOperatorEvaluationEnvironment< ContextType >

Definition at line 390 of file ExpressionParserTypes.h.

Constructor & Destructor Documentation

◆ TOperatorEvaluationEnvironment()

Member Function Documentation

◆ ExecBinary()

template<typename ContextType = void>
virtual FExpressionResult TOperatorEvaluationEnvironment< ContextType >::ExecBinary ( const FExpressionToken & Operator,
const FExpressionToken & L,
const FExpressionToken & R ) const
inlineoverridevirtual

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

Implements IOperatorEvaluationEnvironment.

Definition at line 404 of file ExpressionParserTypes.h.

◆ ExecPostUnary()

template<typename ContextType = void>
virtual FExpressionResult TOperatorEvaluationEnvironment< ContextType >::ExecPostUnary ( const FExpressionToken & Operator,
const FExpressionToken & L ) const
inlineoverridevirtual

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

Implements IOperatorEvaluationEnvironment.

Definition at line 400 of file ExpressionParserTypes.h.

◆ ExecPreUnary()

template<typename ContextType = void>
virtual FExpressionResult TOperatorEvaluationEnvironment< ContextType >::ExecPreUnary ( const FExpressionToken & Operator,
const FExpressionToken & R ) const
inlineoverridevirtual

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

Implements IOperatorEvaluationEnvironment.

Definition at line 396 of file ExpressionParserTypes.h.

◆ ShouldShortCircuit()

template<typename ContextType = void>
virtual bool TOperatorEvaluationEnvironment< ContextType >::ShouldShortCircuit ( const FExpressionToken & Operator,
const FExpressionToken & L ) const
inlineoverridevirtual

Check whether we should short circuit the specified operator

Implements IOperatorEvaluationEnvironment.

Definition at line 408 of file ExpressionParserTypes.h.

Member Data Documentation

◆ Context

Definition at line 415 of file ExpressionParserTypes.h.

◆ Operators


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