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

The base node, from which all nodes in the tree of an expression inherits from. More...

#include <ExpressionParser2Node.h>

Inherited by gd::IdentifierOrFunctionCallOrObjectFunctionNameOrEmptyNode, gd::NumberNode, gd::OperatorNode, gd::SubExpressionNode, gd::TextNode, gd::UnaryOperatorNode, and gd::VariableAccessorOrVariableBracketAccessorNode.

Public Member Functions

virtual void Visit (ExpressionParser2NodeWorker &worker)
 

Public Attributes

std::unique_ptr< ExpressionParserDiagnosticdiagnostic
 
ExpressionParserLocation location
 
ExpressionNodeparent
 

Detailed Description

The base node, from which all nodes in the tree of an expression inherits from.

Member Data Documentation

◆ location

ExpressionParserLocation gd::ExpressionNode::location

The location of the entire node. Some nodes might have other locations stored inside them. For example, a function can store the position of the object name, the dot, the function name, etc...


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