GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
|
An identifier node, usually representing an object or a variable with an optional function name or child variable name respectively. More...
#include <ExpressionParser2Node.h>
Inherits gd::IdentifierOrFunctionCallOrObjectFunctionNameOrEmptyNode.
Public Member Functions | |
IdentifierNode (const gd::String &identifierName_) | |
IdentifierNode (const gd::String &identifierName_, const gd::String &childIdentifierName_) | |
virtual void | Visit (ExpressionParser2NodeWorker &worker) |
Public Attributes | |
gd::String | identifierName |
The object or variable name. | |
gd::String | childIdentifierName |
The object function or variable child name. | |
ExpressionParserLocation | identifierNameLocation |
Location of the object or variable name. | |
ExpressionParserLocation | identifierNameDotLocation |
Location of the "." after the object or variable name. | |
ExpressionParserLocation | childIdentifierNameLocation |
Public Attributes inherited from gd::ExpressionNode | |
std::unique_ptr< ExpressionParserError > | diagnostic |
ExpressionParserLocation | location |
ExpressionNode * | parent |
An identifier node, usually representing an object or a variable with an optional function name or child variable name respectively.
The name of a function to call on an object or the behavior, for example: "MyObject.Function" or "MyObject.Physics".
A variable, potentially with accessor to its child, for example: MyVariable or MyVariable.MyChild
ExpressionParserLocation gd::IdentifierNode::childIdentifierNameLocation |
Location of object function, behavior or child variable name.