Class Compiler.Phase_usage_enumerations

All Implemented Interfaces:
PCDataVisitor
Enclosing class:
Compiler

protected class Compiler.Phase_usage_enumerations extends Compiler.Phase_usage
Deliver the documentation text table for all enumeration types. This is the doc text for each enum type, plus the list of all enum values, possibly with own doc texts.
  • Field Details

    • first

      boolean first
      Flag to output an empty line before all Enumeration descriptions but the first.
    • enumname

      String enumname
      For generating error messages.
    • enumItem

      @Opt @Opt String enumItem
      For generating error messages.
  • Constructor Details

  • Method Details

    • WARNING

      protected void WARNING(Location<XMLDocumentIdentifier> loc, String text, Object... args)
      Description copied from class: Compiler.Phase
      Send warning to central message receiver Compiler.msgr after adding the name of the current option as the context info of the warning.

      This text manipulaton is NOT COMPATIBLE with translation, but assume that this programming tool is operatored only in the "lingua franca = English.

      Overrides:
      WARNING in class Compiler.Phase
    • visit

      public void visit(Element_comment element)
      Do nothing and DO NOT descend!
      Overrides:
      visit in class Visitor
    • visit

      public void visit(Element_option element)
      Do nothing and DO NOT descend!
      Overrides:
      visit in class Compiler.Phase
    • visit

      public void visit(Element_enumeration element)
      Appends the usage() text of this enumeration definition to the global buffer by calling
      Overrides:
      visit in class Visitor