Package eu.bandm.tools.option
Class Compiler.Phase_usage_enumerations
java.lang.Object
eu.bandm.tools.tdom.runtime.BaseVisitor
eu.bandm.tools.option.absy.Visitor
eu.bandm.tools.option.Compiler.Phase
eu.bandm.tools.option.Compiler.Phase_usage
eu.bandm.tools.option.Compiler.Phase_usage_enumerations
- All Implemented Interfaces:
PCDataVisitor
- Enclosing class:
- Compiler
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 Summary
Modifier and TypeFieldDescriptionFor generating error messages.(package private) String
For generating error messages.(package private) boolean
Flag to output an empty line before all Enumeration descriptions but the first.Fields inherited from class eu.bandm.tools.option.Compiler.Phase_usage
besttext, defaultLanguage, gm, langhit, textfound, usage_lang
Fields inherited from class eu.bandm.tools.option.Compiler.Phase
abbrev, currentOptionElement, name, option_qualifier
Fields inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
validating
-
Constructor Summary
ConstructorDescriptionPhase_usage_enumerations
(@Opt GeneratedMethod gm, String usage_lang, String defaultLanguage) Evident -
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(Element_comment element) Do nothing and DO NOT descend!void
visit
(Element_enumeration element) Appends the usage() text of this enumeration definition to the global buffer by callingvoid
visit
(Element_option element) Do nothing and DO NOT descend!protected void
WARNING
(Location<XMLDocumentIdentifier> loc, String text, Object... args) Send warning to central message receiverCompiler.msgr
after adding the name of the current option as the context info of the warning.Methods inherited from class eu.bandm.tools.option.Compiler.Phase_usage
deliver, resetTextFound, visit, visit
Methods inherited from class eu.bandm.tools.option.Compiler.Phase
bothtags, bothtags_formatted, ERROR, longestname, longesttag, shortestname, shortesttag, WARNING
Methods inherited from class eu.bandm.tools.option.absy.Visitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
Methods inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
visit
-
Field Details
-
first
boolean firstFlag to output an empty line before all Enumeration descriptions but the first. -
enumname
String enumnameFor generating error messages. -
enumItem
For generating error messages.
-
-
Constructor Details
-
Phase_usage_enumerations
Phase_usage_enumerations(@Opt @Opt GeneratedMethod gm, String usage_lang, String defaultLanguage) Evident
-
-
Method Details
-
WARNING
Description copied from class:Compiler.Phase
Send warning to central message receiverCompiler.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 classCompiler.Phase
-
visit
Do nothing and DO NOT descend! -
visit
Do nothing and DO NOT descend!- Overrides:
visit
in classCompiler.Phase
-
visit
Appends the usage() text of this enumeration definition to the global buffer by calling
-