Package nz.org.riskscape.dsl
Interface LexerProblems
- All Superinterfaces:
ProblemFactory
-
Method Summary
Modifier and TypeMethodDescriptioneofInString(SourceLocation startQuote, String quote) Reached EOF while parsing a quoted string.static LexerProblemsget()unexpectedCharacter(SourceLocation position, char character) Unexpected character - this is when the lexer sees a character that isn't part of any token.unexpectedEof(SourceLocation position) Unexpectedly reached EOF.
-
Method Details
-
get
-
unexpectedEof
Unexpectedly reached EOF.
-
eofInString
Reached EOF while parsing a quoted string. Special case of
unexpectedEof.- Parameters:
startQuote- the source location of the quote that starts the stringquote- the quote character(s) that were used
-
unexpectedCharacter
Unexpected character - this is when the lexer sees a character that isn't part of any token.
-