![]()  | 
  
    GDevelop Core
    
   Core library for developing platforms and tools compatible with GDevelop. 
   | 
 
Find the deepest node at the specified location in an expression. More...
#include <ExpressionNodeLocationFinder.h>
Inherits gd::ExpressionParser2NodeWorker.
Public Member Functions | |
| ExpressionNodeLocationFinder (size_t searchedPosition_) | |
| Initialize the finder to search at the specified position.  | |
| ExpressionNode * | GetNode () | 
| Return the deepest node found at the search position, if any.  | |
| ExpressionNode * | GetParentNode () | 
| Return the parent of deepest node found at the search position, if any.  | |
Static Public Member Functions | |
| static ExpressionNode * | GetNodeAtPosition (gd::ExpressionNode &node, size_t searchedPosition) | 
| Helper function to find the deepest node at the search position, if any.  | |
| static ExpressionNode * | GetParentNodeAtPosition (gd::ExpressionNode &node, size_t searchedPosition) | 
| Helper function to find the parent of the deepest node at the search position, if any.  More... | |
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 | 
Find the deepest node at the specified location in an expression.
      
  | 
  inlinestatic | 
Helper function to find the parent of the deepest node at the search position, if any.
GetParentNode.