Class: ParseError

ParseError(message, token)

new ParseError(message, token)

Exception for parsing errors Thrown when the parser cannot associate a token with a grammar rule.
Parameters:
Name Type Description
message string A human-readable message explaining the kind of exception
token Parser.Token The relevant token that led to the exception
Source: