Problems At Position
An aggregate of problems at a specific token. It also includes the String used to mark the location of the problem in the source text.
Author
Mark van Gulik
Parameters
lexing State
The LexingState where the problems occurred.
lexing State After Token
The LexingState right after the token where the problems occurred. Use the longest token if the lexing is ambiguous. This ensures the source code that gets output with an error doesn't cut off a multi-line token.
indicator
The String that marks the problems in the source.