Uses of Class
eu.bandm.tools.option.absy.Visitor
Package
Description
Command line parser and graphical user input generated from
one abstract description of programming options, incl data types
and multi-lingual descriptions.
Meaning: Source format for the Option
compiler, for command line parsing, GUI input,
generation of documentation, etc.
-
Uses of Visitor in eu.bandm.tools.option
Modifier and TypeClassDescriptionprotected class
Base class for compiler phases.protected class
Zeroth phase, collect and generate code for enumerations.protected class
Compile code for the gui class.protected class
Create a parsing method for each option, and two "switch" methods calling these, one for short and one for long names.protected class
Minus-first phase, make crossref in which arguments an enum occurs.protected class
Common superclass forCompiler.Phase_usage_enumerations
andCompiler.Phase_usage_options
.protected class
Deliver the documentation text table for all enumeration types.protected class
Make one defaultusage()
function and many specials for each language appearing at least once in the collection of descriptions.protected class
First and main code generation phase.
Creates code for
(1) checks uniqueness and correctness of names and abbrevs.
(2) collects documentation intoCompiler.desrcibes_argument_types
.
(3) makes value fields and getter methods for all option arguments
(4) generates code for enabling conditions.
(currently only simple "equal()" have been tested. -
Uses of Visitor in eu.bandm.tools.option.absy
Modifier and TypeClassDescriptionclass
Serializes the model instance into a sequence of SAX events.final class
Copy-and-edit "boilerplate" source for user defined visitor code.Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Element_and.visitChoices_1
(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_and.Choice_1
in the content model of this.void
Element_optionlist.visitChoices_1
(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_optionlist.Choice_1
in the content model of this.void
Element_or.visitChoices_1
(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_or.Choice_1
in the content model of this.void
Element_rep.visitChoices_1
(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_rep.Choice_1
in the content model of this.void
Element_type.visitChoices_1
(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_type.Choice_1
in the content model of this.void
Element_enumeration.visitElems_1_enumitem
(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_enumitem
in the content model of this.void
Element_comment.visitElems_1_text
(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_text
in the content model of this.void
Element_desc.visitElems_1_text
(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_text
in the content model of this.void
Element_printout_title.visitElems_1_text
(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_text
in the content model of this.void
Element_defaults.visitElems_1_v
(Visitor visitor) Sends the visitor to all items currently contained in the 1st appearance ofElement_v
in the content model of this.