SingleParseException

Exception type used by parser and lexer.

Constructors

this
this(string msg, Location markStart, Location markEnd, string file, size_t line)

Construct exception.

Members

Functions

laterEnd
bool laterEnd(ParseException other)
Undocumented in source. Be warned that the author may not have intended to support it.
maxEndException
const(ParseException) maxEndException()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(void delegate(in char[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(string inputString, void delegate(in char[]) sink, ExceptionStringFlags flags)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

markEnd
Location markEnd;

End location for error.

markStart
Location markStart;

Start location for error.

Inherited Members

From ParseException

toString
alias toString = Exception.toString
void toString(string inputString, void delegate(in char[]) sink, ExceptionStringFlags flags)

Generate string for this exception.

simpleMsg
string simpleMsg()

Get message for this exception.

maxEndException
const(ParseException) maxEndException()

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

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.

Meta