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

An error that can be attached to a gd::ExpressionNode. More...

#include <ExpressionParser2Node.h>

Public Types

enum  ErrorType {
  SyntaxError , InvalidOperator , MismatchedType , UndeclaredVariable ,
  UnknownIdentifier , BracketsNotAllowedForObjects , TooFewParameters , TooManyParameters ,
  InvalidFunctionName , MalformedVariableParameter , MalformedObjectParameter , UnknownParameterType ,
  MissingBehavior , VariableNameCollision
}
 

Public Member Functions

 ExpressionParserError (gd::ExpressionParserError::ErrorType type_, const gd::String &message_, const ExpressionParserLocation &location_, const gd::String &actualValue_="", const gd::String &objectName_="")
 
 ExpressionParserError (gd::ExpressionParserError::ErrorType type_, const gd::String &message_, size_t position_)
 
 ExpressionParserError (gd::ExpressionParserError::ErrorType type_, const gd::String &message_, size_t startPosition_, size_t endPosition_)
 
gd::ExpressionParserError::ErrorType GetType ()
 
const gd::StringGetMessage ()
 
const gd::StringGetObjectName ()
 
const gd::StringGetActualValue ()
 
size_t GetStartPosition ()
 
size_t GetEndPosition ()
 

Detailed Description

An error that can be attached to a gd::ExpressionNode.


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