GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Public Member Functions | Public Attributes | List of all members
gd::IdentifierNode Struct Reference

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< ExpressionParserDiagnosticdiagnostic
 
ExpressionParserLocation location
 
ExpressionNodeparent
 

Detailed Description

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

Member Data Documentation

◆ childIdentifierNameLocation

ExpressionParserLocation gd::IdentifierNode::childIdentifierNameLocation

Location of object function, behavior or child variable name.


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