ParsingError

fun ParsingError(location: SourceLocation, actualToken: String, expectedTokens: List<String>)

Parameters

location

Source location of the unexpected token.

actualToken

Token that was encountered.

expectedTokens

Tokens that would have been valid.