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.
tokenFound
The constructor for Gobstones parser MissingConstructionError error.
The token that was found when expecting another one.
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.