Package avail. compiler. problems
Types
This tracks the problems encountered while compiling a single module.
A Problem is produced when encountering an unexpected or less than ideal situation during compilation. Within an interactive system, the problem is presumably presented to the user in some manner, whereas in batch usage multiple problems may simply be collected and later presented in aggregate.
A Problem has a ProblemType, indicating its basic nature and severity. This helps a ProblemHandler decide how best to respond to the Problem, such as deciding whether to continue parsing to discover subsequent problems or to give up building the modules.
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.
A Problem has a ProblemType, indicating its basic nature and severity. This helps a ProblemHandler decide how best to respond to the Problem, such as deciding whether to proceed and look for subsequent problems or to give up building the modules.
A SimpleProblemHandler is a ProblemHandler that handles all Problems the same way, via its handleGeneric method.