Gorgon Game Engine
IllegalTokenError Class Reference

This error will be thrown if a parsing function encounters with an illegal token. More...

Inheritance diagram for IllegalTokenError:
[legend]

Public Member Functions

 IllegalTokenError (size_t location=0, int code=1000, const std::string &what="Illegal token")
 Constructor. More...
 
- Public Member Functions inherited from ParseError
 ParseError (int code=0, const std::string &what="Parse error")
 Constructs a new parse error. More...
 

Public Attributes

size_t Location
 Location of the illegal token in the string. More...
 
- Public Attributes inherited from ParseError
int Code
 Error code. More...
 

Detailed Description

This error will be thrown if a parsing function encounters with an illegal token.

Constructor & Destructor Documentation

◆ IllegalTokenError()

IllegalTokenError ( size_t  location = 0,
int  code = 1000,
const std::string &  what = "Illegal token" 
)

Constructor.

Member Data Documentation

◆ Location

size_t Location

Location of the illegal token in the string.


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