GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Public Member Functions | List of all members

Class representing an expression used as a parameter of a gd::Instruction. This class is nothing more than a wrapper around a gd::String. More...

#include <Expression.h>

Public Member Functions

 Expression ()
 Construct an empty expression.
 
 Expression (gd::String plainString_)
 Construct an expression from a string.
 
 Expression (const char *plainString_)
 Construct an expression from a const char *.
 
 Expression (const Expression &copy)
 Copy construct an expression.
 
Expressionoperator= (const Expression &expression)
 Expression affectation overriding.
 
const gd::StringGetPlainString () const
 Get the plain string representing the expression.
 
gd::ExpressionNodeGetRootNode () const
 Get the expression node. More...
 
const char * c_str () const
 Mimics std::string::c_str.
 

Detailed Description

Class representing an expression used as a parameter of a gd::Instruction. This class is nothing more than a wrapper around a gd::String.

See also
gd::Instruction

Member Function Documentation

◆ GetRootNode()

ExpressionNode * gd::Expression::GetRootNode ( ) const

Get the expression node.

Returns
std::unique_ptr<gd::ExpressionNode>

The documentation for this class was generated from the following files: