ParsingError
class ParsingError(location: SourceLocation, actualToken: String, expectedTokens: List<String>) : CompilationError
Content copied to clipboard
Thrown when the parser runs into an unexpected token.
Parameters
location
Source location of the unexpected token.
actualToken
Token that was encountered.
expectedTokens
Tokens that would have been valid.
Constructors
ParsingError
Link copied to clipboard
fun ParsingError(location: SourceLocation, actualToken: String, expectedTokens: List<String>)
Content copied to clipboard
Functions
addSuppressed
Link copied to clipboard
fillInStackTrace
Link copied to clipboard
getLocalizedMessage
Link copied to clipboard
getStackTrace
Link copied to clipboard
getSuppressed
Link copied to clipboard
printStackTrace
Link copied to clipboard
setStackTrace
Link copied to clipboard
toDocument
Link copied to clipboard