UnexpectedTokenException
class UnexpectedTokenException(source: Source, token: Token, offendingText: String, expected: Set<SyntaxExpectation>, rulePath: List<String>) : PrologParsingException
Reports a non-EOF token that is not accepted by the active grammar rule.