![]() |
Gorgon Game Engine
|
This error will be thrown if a parsing function encounters with an illegal token. More...
Public Member Functions | |
IllegalTokenError (size_t location=0, int code=1000, const std::string &what="Illegal token") | |
Constructor. More... | |
![]() | |
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... | |
![]() | |
int | Code |
Error code. More... | |
This error will be thrown if a parsing function encounters with an illegal token.
IllegalTokenError | ( | size_t | location = 0 , |
int | code = 1000 , |
||
const std::string & | what = "Illegal token" |
||
) |
Constructor.
size_t Location |
Location of the illegal token in the string.