Package | Description |
---|---|
eu.bandm.tools.option |
Command line parser and graphical user input generated from
one abstract description of programming options, incl data types
and multi-lingual descriptions.
|
eu.bandm.tools.option.absy |
Meaning: Source format for the Option
compiler, for command line parsing, GUI input,
generation of documentation, etc.
|
Modifier and Type | Class and Description |
---|---|
protected class |
Compiler.Phase
Base class for compiler phases.
|
protected class |
Compiler.Phase_enum
Zeroth phase, collect and generate code for enumerations.
|
protected class |
Compiler.Phase_gui
Compile code for the gui class.
|
protected class |
Compiler.Phase_parser
Create a parsing method for each option, and two "switch" methods calling these,
one for short and one for long names.
|
protected class |
Compiler.Phase_pre_enum
Minus-first phase, make crossref in which arguments an enum occurs.
|
protected class |
Compiler.Phase_usage
Common superclass for
Compiler.Phase_usage_enumerations and
Compiler.Phase_usage_options . |
protected class |
Compiler.Phase_usage_enumerations
Deliver the documentation text table for all enumeration types.
|
protected class |
Compiler.Phase_usage_options
Make one default
usage() function and many specials for
each language appearing at least once in the collection of descriptions. |
protected class |
Compiler.Phase1
First and main code generation phase.
Creates code for (1) checks uniqueness and correctness of names and abbrevs. (2) collects documentation into 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. |
Modifier and Type | Class and Description |
---|---|
class |
Dumper
Serializes the model instance into a sequence of SAX events.
|
class |
VisitorTemplate
Copy-and-edit "boilerplate" source for user defined visitor code.
|
Modifier and Type | Method and Description |
---|---|
void |
Element.UnmixedContent.host(Visitor visitor) |
void |
Element_noGui.host(Visitor visitor) |
void |
Element_or.host(Visitor visitor) |
void |
Element_or.Choice_1.host(Visitor visitor) |
void |
Element_or.Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_or.Choice_1_Alt_1_Choice_1.host(Visitor visitor) |
void |
Element_or.Choice_1_Alt_1_Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_or.Choice_1_Alt_1_Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_or.Choice_1_Alt_1_Choice_1_Alt_3.host(Visitor visitor) |
void |
Element_or.Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_or.Choice_1_Alt_3.host(Visitor visitor) |
void |
Element_or.Choice_1_Alt_4.host(Visitor visitor) |
void |
Element_text.host(Visitor visitor) |
void |
Element_text.Attr_lang.host(Visitor visitor) |
void |
Element_uri.host(Visitor visitor) |
void |
Element_uri.Attr_default.host(Visitor visitor) |
void |
Element_uri.Choice_1.host(Visitor visitor) |
void |
Element_uri.Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_uri.Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_enumeration.host(Visitor visitor) |
void |
Element_enumeration.Attr_name.host(Visitor visitor) |
void |
Element_writable.host(Visitor visitor) |
void |
Element_condition.host(Visitor visitor) |
void |
Element_condition.Choice_1.host(Visitor visitor) |
void |
Element_condition.Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_condition.Choice_1_Alt_1_Choice_1.host(Visitor visitor) |
void |
Element_condition.Choice_1_Alt_1_Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_condition.Choice_1_Alt_1_Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_condition.Choice_1_Alt_1_Choice_1_Alt_3.host(Visitor visitor) |
void |
Element_condition.Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_condition.Choice_1_Alt_3.host(Visitor visitor) |
void |
Element_condition.Choice_1_Alt_4.host(Visitor visitor) |
void |
Element_enum.host(Visitor visitor) |
void |
Element_enum.Attr_default.host(Visitor visitor) |
void |
Element_enum.Attr_name.host(Visitor visitor) |
void |
Element_enumset.host(Visitor visitor) |
void |
Element_enumset.Attr_default.host(Visitor visitor) |
void |
Element_enumset.Attr_name.host(Visitor visitor) |
void |
Element_simpletypes.host(Visitor visitor) |
void |
Element_simpletypes.Choice_1.host(Visitor visitor) |
void |
Element_simpletypes.Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_simpletypes.Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_simpletypes.Choice_1_Alt_3.host(Visitor visitor) |
void |
Element_simpletypes.Choice_1_Alt_4.host(Visitor visitor) |
void |
Element_simpletypes.Choice_1_Alt_5.host(Visitor visitor) |
void |
Element_simpletypes.Choice_1_Alt_6.host(Visitor visitor) |
void |
Element_simpletypes.Choice_1_Alt_7.host(Visitor visitor) |
void |
Element_simpletypes.Choice_1_Alt_8.host(Visitor visitor) |
void |
Element_optionlist.host(Visitor visitor) |
void |
Element_optionlist.Attr_defaultSorting.host(Visitor visitor) |
void |
Element_optionlist.Attr_fragmentedLists.host(Visitor visitor) |
void |
Element_optionlist.Attr_hexadecimalIntegers.host(Visitor visitor) |
void |
Element_optionlist.Attr_setterFunctions.host(Visitor visitor) |
void |
Element_optionlist.Choice_1.host(Visitor visitor) |
void |
Element_optionlist.Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_optionlist.Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_optionlist.Choice_1_Alt_3.host(Visitor visitor) |
void |
Element_dirOnly.host(Visitor visitor) |
void |
Document_optionlist.host(Visitor visitor) |
void |
Element_v.host(Visitor visitor) |
void |
Element_enumitem.host(Visitor visitor) |
void |
Element_enumitem.Attr_compilable.host(Visitor visitor) |
void |
Element_enumitem.Attr_value.host(Visitor visitor) |
void |
Element_testgreater.host(Visitor visitor) |
void |
Element_testgreater.Choice_1.host(Visitor visitor) |
void |
Element_testgreater.Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_testgreater.Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_testgreater.Choice_2.host(Visitor visitor) |
void |
Element_testgreater.Choice_2_Alt_1.host(Visitor visitor) |
void |
Element_testgreater.Choice_2_Alt_2.host(Visitor visitor) |
void |
Element_defaults.host(Visitor visitor) |
void |
Element_string.host(Visitor visitor) |
void |
Element_string.Attr_default.host(Visitor visitor) |
void |
Element_constant.host(Visitor visitor) |
void |
Element_constant.Attr_value.host(Visitor visitor) |
void |
Element_desc.host(Visitor visitor) |
void |
Element_not.host(Visitor visitor) |
void |
Element_not.Choice_1.host(Visitor visitor) |
void |
Element_not.Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_not.Choice_1_Alt_1_Choice_1.host(Visitor visitor) |
void |
Element_not.Choice_1_Alt_1_Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_not.Choice_1_Alt_1_Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_not.Choice_1_Alt_1_Choice_1_Alt_3.host(Visitor visitor) |
void |
Element_not.Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_not.Choice_1_Alt_3.host(Visitor visitor) |
void |
Element_not.Choice_1_Alt_4.host(Visitor visitor) |
void |
Element_float.host(Visitor visitor) |
void |
Element_float.Attr_default.host(Visitor visitor) |
void |
Element_optarg.host(Visitor visitor) |
void |
Element_optarg.Attr_number.host(Visitor visitor) |
void |
Element_optarg.Attr_option.host(Visitor visitor) |
void |
Element_rep.host(Visitor visitor) |
void |
Element_rep.Attr_kind.host(Visitor visitor) |
void |
Element_rep.Choice_1.host(Visitor visitor) |
void |
Element_rep.Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_rep.Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_rep.Choice_1_Alt_3.host(Visitor visitor) |
void |
Element_rep.Choice_1_Alt_4.host(Visitor visitor) |
void |
Element_rep.Choice_1_Alt_5.host(Visitor visitor) |
void |
Element_rep.Choice_1_Alt_6.host(Visitor visitor) |
void |
Element_rep.Choice_1_Alt_7.host(Visitor visitor) |
void |
Element_rep.Choice_1_Alt_8.host(Visitor visitor) |
void |
Element_rat.host(Visitor visitor) |
void |
Element_rat.Attr_default.host(Visitor visitor) |
void |
Element_int.host(Visitor visitor) |
void |
Element_int.Attr_default.host(Visitor visitor) |
void |
Element_bool.host(Visitor visitor) |
void |
Element_bool.Attr_default.host(Visitor visitor) |
void |
Element_testequal.host(Visitor visitor) |
void |
Element_testequal.Choice_1.host(Visitor visitor) |
void |
Element_testequal.Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_testequal.Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_testequal.Choice_2.host(Visitor visitor) |
void |
Element_testequal.Choice_2_Alt_1.host(Visitor visitor) |
void |
Element_testequal.Choice_2_Alt_2.host(Visitor visitor) |
void |
Element_option.host(Visitor visitor) |
void |
Element_option.Attr_abbrev.host(Visitor visitor) |
void |
Element_option.Attr_name.host(Visitor visitor) |
void |
Element_option.Attr_required.host(Visitor visitor) |
void |
Element_isMeta.host(Visitor visitor) |
void |
Element_and.host(Visitor visitor) |
void |
Element_and.Choice_1.host(Visitor visitor) |
void |
Element_and.Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_and.Choice_1_Alt_1_Choice_1.host(Visitor visitor) |
void |
Element_and.Choice_1_Alt_1_Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_and.Choice_1_Alt_1_Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_and.Choice_1_Alt_1_Choice_1_Alt_3.host(Visitor visitor) |
void |
Element_and.Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_and.Choice_1_Alt_3.host(Visitor visitor) |
void |
Element_and.Choice_1_Alt_4.host(Visitor visitor) |
void |
Element_notDir.host(Visitor visitor) |
void |
Element_type.host(Visitor visitor) |
void |
Element_type.Choice_1.host(Visitor visitor) |
void |
Element_type.Choice_1_Alt_1.host(Visitor visitor) |
void |
Element_type.Choice_1_Alt_2.host(Visitor visitor) |
void |
Element_type.Choice_1_Alt_3.host(Visitor visitor) |
void |
Element_type.Choice_1_Alt_4.host(Visitor visitor) |
void |
Element_type.Choice_1_Alt_5.host(Visitor visitor) |
void |
Element_type.Choice_1_Alt_6.host(Visitor visitor) |
void |
Element_type.Choice_1_Alt_7.host(Visitor visitor) |
void |
Element_type.Choice_1_Alt_8.host(Visitor visitor) |
void |
Element_comment.host(Visitor visitor) |
void |
Element_comment.Attr_name.host(Visitor visitor) |
void |
Element_printout_title.host(Visitor visitor) |
void |
Element_or.visitChoices_1(Visitor visitor)
Sends the visitor to all items currently contained in the 1st appearance
of
Element_or.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
of
Element_optionlist.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
of
Element_rep.Choice_1 in the content
model of this. |
void |
Element_and.visitChoices_1(Visitor visitor)
Sends the visitor to all items currently contained in the 1st appearance
of
Element_and.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
of
Element_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
of
Element_enumitem 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
of
Element_text 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
of
Element_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
of
Element_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
of
Element_v in the content model of
this. |
Modifier and Type | Method and Description |
---|---|
void |
Visitor.visit(Visitable<? super Visitor> visitable) |
see also the complete user documentation .