ParsingError
class ParsingError(location: SourceLocation, actualToken: String, expectedTokens: List<String>) : CompilationError
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
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard