Class PreprocessIssueMessageSimplifier

java.lang.Object
processing.mode.java.preproc.PreprocessIssueMessageSimplifier

public class PreprocessIssueMessageSimplifier extends Object
Utility class that generates localized error messages for incorrect sketch syntax.

Utility that interprets error messages from ANTLR in an attempt to generate an improved error message when describing grammatically incorrect input. This is distinct from compiler errors caused after generating an AST. This is required to produce the localized error messages.

Note that this is distinct from the {CompileErrorMessageSimplifier}. This operates on issues caused in parsing and services all users whereas the {CompileErrorMessageSimplifier} only operates on issues generated after preprocessing has been successful.