Class CompilerDevelopmentCodes
java.lang.Object
org.ek9lang.compiler.common.CompilerDevelopmentCodes
THE one statement of which error codes concern COMPILER DEVELOPMENT rather than writing a program (site-examples
spec ยง6, Steve 2026-10-11, Q5): E50200 to E50390, the codes the development directives report -
@Error,
@Resolved, @Complexity, @IR, @BYTECODE, @Probe, @Squirrelled,
@InputVariety, @Obligations and the rest. Steve: "Other than @Test all the other directives are
compiler development tooling and not designed for mainstream programs."
So these codes keep their page (and ek9 -h, which must still explain them), but they have no user
example - a user is never to write such a directive, and an example would teach it - and the site lists them in a
category of their own, at the end, titled for compiler development. The error catalogue's codes-without-example
ratchet exempts exactly this set, for exactly this reason, in this one place: never list them anywhere else.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringWhere a compiler developer is sent.static final intThe first code of the range (E50200, unknown directive).static final intThe last code of the range (E50390, a data-touch verdict mismatch) - the whole range ends below E50400.static final StringWhy these codes have no user example - shown wherever the exemption is stated. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisCompilerDevelopment(String code) True for a code that concerns compiler-development directives.
-
Field Details
-
FIRST
public static final int FIRSTThe first code of the range (E50200, unknown directive).- See Also:
-
LAST
public static final int LASTThe last code of the range (E50390, a data-touch verdict mismatch) - the whole range ends below E50400.- See Also:
-
REASON
Why these codes have no user example - shown wherever the exemption is stated.- See Also:
-
DEVELOPER_GUIDE
-
-
Method Details
-
isCompilerDevelopment
True for a code that concerns compiler-development directives.- Parameters:
code- an error code such asE50210
-