GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Public Member Functions | Protected Member Functions | List of all members
gd::ExpressionFunctionRenamer Class Reference

Go through the nodes and change the given function name to a new name. More...

Inherits gd::ExpressionParser2NodeWorker.

Public Member Functions

 ExpressionFunctionRenamer (const gd::ProjectScopedContainers &projectScopedContainers_, const gd::String &behaviorType_, const gd::String &objectType_, const gd::String &oldFunctionName_, const gd::String &newFunctionName_)
 
bool HasDoneRenaming () const
 

Protected Member Functions

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

Detailed Description

Go through the nodes and change the given function name to a new name.

See also
gd::ExpressionParser2

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