GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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::ExpressionCodeGenerator, gd::ExpressionFunctionRenamer, gd::ExpressionNodeLocationFinder, gd::ExpressionObjectFinder, gd::ExpressionObjectRenamer, gd::ExpressionObjectsAnalyzer, gd::ExpressionParameterMover, gd::ExpressionParameterSearcher, gd::ExpressionParser2NodePrinter, and gd::ExpressionValidator.

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 OnVisitFunctionNode (FunctionNode &node)=0
 
virtual void OnVisitEmptyNode (EmptyNode &node)=0
 

Friends

class ExpressionNode
 
class SubExpressionNode
 
class OperatorNode
 
class UnaryOperatorNode
 
class NumberNode
 
class TextNode
 
class VariableNode
 
class VariableAccessorNode
 
class VariableBracketAccessorNode
 
class IdentifierOrFunctionOrEmptyNode
 
class IdentifierNode
 
class FunctionOrEmptyNode
 
class FunctionNode
 
class 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: