GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
|
Go through the nodes and check if the given object is being used in the expression. More...
Inherits gd::ExpressionParser2NodeWorker.
Public Member Functions | |
ExpressionObjectFinder (const gd::Platform &platform_, const gd::ProjectScopedContainers &projectScopedContainers_, const gd::String &rootType_, const gd::String &searchedObjectName_) | |
bool | HasFoundObject () const |
Static Public Member Functions | |
static bool | CheckIfHasObject (const gd::Platform &platform, const gd::ProjectScopedContainers &projectScopedContainers, const gd::String &rootType, gd::ExpressionNode &node, const gd::String &objectName) |
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 |
Go through the nodes and check if the given object is being used in the expression.