Class Compiler.Phase_usage_options

All Implemented Interfaces:
PCDataVisitor
Enclosing class:
Compiler

protected class Compiler.Phase_usage_options extends Compiler.Phase_usage
Make one default usage() function and many specials for each language appearing at least once in the collection of descriptions.
  • Constructor Details

  • Method Details

    • visit

      public void visit(Element_comment element)
      put the best fitting language version into the usage() output, as an optical and semantical separator.
      Overrides:
      visit in class Visitor
    • visit

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

      public void visit(Element_option element)
      Appends the usage() text of this option to the global buffer by calling
      Overrides:
      visit in class Compiler.Phase