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 | Field and Description |
---|---|
protected Element_option |
Compiler.Phase.currentOptionElement
The currently visited Element_option
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Element_option> |
Compiler.Phase1.abbrev2el
Lists option definitions by their short naes.
|
Map<Element_option,String> |
Compiler.desrcibes_argument_types
Human readable documentation text describing the option.
|
Map<Element_option,String> |
Compiler.element_conditionUsage |
protected Map<String,Element_option> |
Compiler.Phase1.name2el
Lists option definitions by their long naes.
|
protected Map<Element_option,GeneratedClass> |
Compiler.option2tailClass
The class generated to represent the repeting group of arguments.
|
protected Map<Integer,Element_option> |
Compiler.Phase1.pos
Lists option definitions iff their short name is a decimal digit.
|
protected Map<Integer,Element_option> |
Compiler.positionals
All options which are positional, sorted by their index (short name).
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Compiler.argnumberRedundant(Element_option el)
For recognizing an option with at most one argument.
|
protected boolean |
Compiler.typeNotEmpty(Element_option el)
For recognizing totally empty type (no types nor rep group).
|
void |
Compiler.Phase.visit(Element_option element)
Set all local fields as representing this option, --- will be called
from derived classes for field initialization.
|
void |
Compiler.Phase_pre_enum.visit(Element_option el) |
void |
Compiler.Phase_enum.visit(Element_option element)
Do NOT descend!
|
void |
Compiler.Phase1.visit(Element_option element)
See description of containing class
Compiler.Phase1 |
void |
Compiler.Phase_usage_options.visit(Element_option element)
Appends the usage() text of this option to the global buffer
by calling
|
void |
Compiler.Phase_usage_enumerations.visit(Element_option element)
Do nothing and DO NOT descend!
|
void |
Compiler.Phase_parser.visit(Element_option element)
Create a parsing method for the option under visitation.
|
void |
Compiler.Phase_gui.visit(Element_option element)
Generate all GUI elements and auxiliary methods for the visited option.
|
Modifier and Type | Method and Description |
---|---|
Element_option |
Element_option.checkRequiredAttrs() |
Element_option |
Element_optionlist.Choice_1_Alt_2.getElem_1_option() |
static Element_option |
Element_option.parse(SAXEventStream in,
Extension ext,
TypedNode.ParseListener<Element> listener) |
Element_option |
Element_optionlist.Choice_1_Alt_2.setElem_1_option(Element_option newElem_1_option) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseMatcher.action(Element_option element) |
protected void |
Matcher.action(Element_option element) |
static Element_optionlist.Choice_1 |
Element_optionlist.Choice_1.alt(Element_option elem_1_option)
Wrap the content sequence into an instance of the corresponding
subtype.
|
protected void |
Matcher.phase(int phase,
boolean generalizing,
boolean descending,
Element_option element) |
void |
Element_optionlist.Choice_1_Alt_2.set(Element_option elem_1_option) |
Element_option |
Element_optionlist.Choice_1_Alt_2.setElem_1_option(Element_option newElem_1_option) |
void |
Dumper.visit(Element_option element) |
void |
VisitorTemplate.visit(Element_option element)
(Superclass implementation descends into
<!ELEMENT option (noGui?, isMeta?, desc, type, condition?) >
.) |
void |
Visitor.visit(Element_option element)
Can be overridden by the user to define particular semantic operations.
|
Constructor and Description |
---|
Choice_1_Alt_2(Element_option elem_1_option) |
see also the complete user documentation .