![]()  | 
  
    GDevelop Core
    
   Core library for developing platforms and tools compatible with GDevelop. 
   | 
 
A variable, or object variable, with bracket accessor or at least 2 "dot" accessors. More...
#include <ExpressionParser2Node.h>
Inherits gd::FunctionCallOrObjectFunctionNameOrEmptyNode.
Public Member Functions | |
| VariableNode (const gd::String &name_) | |
| virtual void | Visit (ExpressionParser2NodeWorker &worker) | 
Public Attributes | |
| gd::String | name | 
| std::unique_ptr< VariableAccessorOrVariableBracketAccessorNode > | child | 
| ExpressionParserLocation | nameLocation | 
  Public Attributes inherited from gd::ExpressionNode | |
| std::unique_ptr< ExpressionParserError > | diagnostic | 
| ExpressionParserLocation | location | 
| ExpressionNode * | parent | 
A variable, or object variable, with bracket accessor or at least 2 "dot" accessors.
Example: MyVariable["MyChildren"] or MyVariable.MyChildren.MyGrandChildren. Example: MyObject["MyVariable"] or MyObject.MyVariable.MyChildren.
Other cases like "MyVariable" or "MyVariable.MyChildren" are IdentifierNode to allow handling ambiguities.