A Parser error, when the next token does not start the expected construction. It produces a different error message if the tokenFound is at the end of document.

Hierarchy (view full)

Constructors

Accessors

Constructors

Accessors

  • get token(): Token
  • The token that was found when expecting another one.

    Returns Token