ParseException

Base class for exceptions of parser and lexer.

Constructors

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

Construct exception.

Members

Aliases

toString
alias toString = Exception.toString

Generate string for this exception.

Functions

allowBacktrack
bool allowBacktrack()
Undocumented in source. Be warned that the author may not have intended to support it.
laterEnd
bool laterEnd(ParseException other)
Undocumented in source. Be warned that the author may not have intended to support it.
maxEndException
const(ParseException) maxEndException()

Get exception with maximum end location for exceptions representing multiple exceptions.

simpleMsg
string simpleMsg()

Get message for this exception.

toString
void toString(string inputString, void delegate(in char[]) sink, ExceptionStringFlags flags)

Generate string for this exception.

Meta