GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
gd::ExpressionObjectFinder Class Reference

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::String &objectName_)
 
bool HasFoundObject () const
 

Static Public Member Functions

static bool CheckIfHasObject (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 OnVisitFunctionNode (FunctionNode &node) override
 
void OnVisitEmptyNode (EmptyNode &node) override
 

Detailed Description

Go through the nodes and check if the given object is being used in the expression.

See also
gd::ExpressionParser2

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