ScriptCompileException

This exception is thrown by the Lexer and Parser when an error occurs during tokenizing or parsing.

Constructors

this
this(string msg, Token tok, string file, size_t line)

Constructor. Token may be invalid when thrown by the Lexer.

Members

Functions

toString
string toString()

Returns a string that represents the error message and the token and the location of the token where the error occurred.

Variables

token
Token token;

The offending token. This may have an invalid position field depending on why the error was thrown.

Meta