GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Protected Member Functions | Friends | List of all members
gd::ExpressionParser2NodeWorker Class Referenceabstract

The interface for any worker class ("visitor" pattern) that want to interact with the nodes of a parsed expression. More...

#include <ExpressionParser2NodeWorker.h>

Inherited by gd::ExpressionBehaviorRenamer, gd::ExpressionCodeGenerator, gd::ExpressionCompletionFinder, gd::ExpressionFunctionRenamer, gd::ExpressionIdentifierStringFinder, gd::ExpressionLeftSideTypeFinder, gd::ExpressionLiteralFinder, gd::ExpressionNodeLocationFinder, gd::ExpressionObjectFinder, gd::ExpressionObjectRenamer, gd::ExpressionObjectsAnalyzer, gd::ExpressionParameterMover, gd::ExpressionParameterReplacer, gd::ExpressionParser2NodePrinter, gd::ExpressionPropertyReplacer, gd::ExpressionTypeFinder, gd::ExpressionValidator, gd::ExpressionVariableContextFinder, gd::ExpressionVariableNameFinder, gd::ExpressionVariableOwnerFinder, gd::ExpressionVariablePathFinder, gd::ExpressionVariableReplacer, gd::FirstActionExpressionTypeChecker [private], and gd::UsedExtensionsFinder.

Protected Member Functions

virtual void OnVisitSubExpressionNode (SubExpressionNode &node)=0
 
virtual void OnVisitOperatorNode (OperatorNode &node)=0
 
virtual void OnVisitUnaryOperatorNode (UnaryOperatorNode &node)=0
 
virtual void OnVisitNumberNode (NumberNode &node)=0
 
virtual void OnVisitTextNode (TextNode &node)=0
 
virtual void OnVisitVariableNode (VariableNode &node)=0
 
virtual void OnVisitVariableAccessorNode (VariableAccessorNode &node)=0
 
virtual void OnVisitVariableBracketAccessorNode (VariableBracketAccessorNode &node)=0
 
virtual void OnVisitIdentifierNode (IdentifierNode &node)=0
 
virtual void OnVisitObjectFunctionNameNode (ObjectFunctionNameNode &node)=0
 
virtual void OnVisitFunctionCallNode (FunctionCallNode &node)=0
 
virtual void OnVisitEmptyNode (EmptyNode &node)=0
 

Friends

struct ExpressionNode
 
struct SubExpressionNode
 
struct OperatorNode
 
struct UnaryOperatorNode
 
struct NumberNode
 
struct TextNode
 
struct VariableNode
 
struct VariableAccessorNode
 
struct VariableBracketAccessorNode
 
struct IdentifierOrFunctionCallOrObjectFunctionNameOrEmptyNode
 
struct IdentifierNode
 
struct FunctionCallOrObjectFunctionNameOrEmptyNode
 
struct ObjectFunctionNameNode
 
struct FunctionCallNode
 
struct EmptyNode
 

Detailed Description

The interface for any worker class ("visitor" pattern) that want to interact with the nodes of a parsed expression.

See also
gd::ExpressionParser2
gd::ExpressionNode

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