Class CompilerDevelopmentCodes

java.lang.Object
org.ek9lang.compiler.common.CompilerDevelopmentCodes

public final class CompilerDevelopmentCodes extends Object
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Where a compiler developer is sent.
    static final int
    The first code of the range (E50200, unknown directive).
    static final int
    The last code of the range (E50390, a data-touch verdict mismatch) - the whole range ends below E50400.
    static final String
    Why these codes have no user example - shown wherever the exemption is stated.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    True for a code that concerns compiler-development directives.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • FIRST

      public static final int FIRST
      The first code of the range (E50200, unknown directive).
      See Also:
    • LAST

      public static final int LAST
      The last code of the range (E50390, a data-touch verdict mismatch) - the whole range ends below E50400.
      See Also:
    • REASON

      public static final String REASON
      Why these codes have no user example - shown wherever the exemption is stated.
      See Also:
    • DEVELOPER_GUIDE

      public static final String DEVELOPER_GUIDE
      Where a compiler developer is sent.
      See Also:
  • Method Details

    • isCompilerDevelopment

      public static boolean isCompilerDevelopment(String code)
      True for a code that concerns compiler-development directives.
      Parameters:
      code - an error code such as E50210