Open 3D Engine ExpressionEvaluation Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ExpressionEvaluation::VariableParser Class Reference

Inherits ExpressionEvaluation::ExpressionElementParser.

Public Member Functions

 AZ_CLASS_ALLOCATOR (VariableParser, AZ::SystemAllocator)
 
ExpressionParserId GetParserId () const override
 
ParseResult ParseElement (const AZStd::string &inputText, size_t offset) const override
 
void EvaluateToken (const ElementInformation &parseResult, ExpressionResultStack &evaluationStack) const override
 
- Public Member Functions inherited from ExpressionEvaluation::ExpressionElementParser
 AZ_CLASS_ALLOCATOR (ExpressionElementParser, AZ::SystemAllocator)
 
virtual ExpressionParserId GetParserId () const =0
 
virtual ParseResult ParseElement (const AZStd::string &inputText, size_t offset) const =0
 
virtual void EvaluateToken (const ElementInformation &parseResult, ExpressionResultStack &evaluationStack) const =0
 

Static Public Member Functions

static int GetVariableOperatorId ()
 
static ElementInformation GetVariableInformation (const AZStd::string &displayName)
 

Member Function Documentation

◆ EvaluateToken()

void ExpressionEvaluation::VariableParser::EvaluateToken ( const ElementInformation parseResult,
ExpressionResultStack evaluationStack 
) const
overridevirtual

◆ GetParserId()

ExpressionParserId ExpressionEvaluation::VariableParser::GetParserId ( ) const
inlineoverridevirtual

◆ ParseElement()

ParseResult ExpressionEvaluation::VariableParser::ParseElement ( const AZStd::string &  inputText,
size_t  offset 
) const
overridevirtual

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