Class ErrorCodeOf
java.lang.Object
org.ek9lang.compiler.access.ErrorCodeOf
- All Implemented Interfaces:
Function<ErrorListener.ErrorDetails, String>
public final class ErrorCodeOf
extends Object
implements Function<ErrorListener.ErrorDetails, String>
THE error code of a diagnostic as a consumer shows it: the code of its semantic classification (
"E08020"),
or "" when it has none (a parser error). CompilerAccessDiagnostic and the MCP
DiagnosticsExtractor use it; never a private copy.
Stateless: hold one.
-
Constructor Details
-
ErrorCodeOf
public ErrorCodeOf()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<ErrorListener.ErrorDetails, String>
-