GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
|
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< ExpressionParserError > | diagnostic |
ExpressionParserLocation | location |
ExpressionNode * | parent |
The base node, from which all nodes in the tree of an expression inherits from.
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...