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 | Method and Description |
---|---|
void |
Compiler.compile(Element_optionlist data0,
String packagename0,
String classname_model,
@Opt String classname_gui,
String destdir,
Format genComment,
String inputfilename,
MessageReceiver<Message> msgr)
Create source text for a model, and for a gui, if required.
|
protected String |
Compiler.find_printout_title(Element_optionlist olist,
String lang)
Looks in the header of the option list for the title text of the usage() output.
|
protected void |
Compiler.make_usage(Element_optionlist olist)
Call
Visitor.visit(Element_optionlist) for all languages
appearing at least once in the collection of descriptions. |
void |
Compiler.Phase_parser.translate(Element_optionlist olist)
Entry method, reset registers and descend.
|
void |
Compiler.Phase_gui.translate(Element_optionlist olist)
Main entry point, generates the gui representatives and adds them to the
guiclass . |
void |
Compiler.Phase1.visit(Element_optionlist element)
Entry point; initialize the global data to collect and on return compiles
some of it into generated source.
|
Modifier and Type | Method and Description |
---|---|
Element_optionlist |
Element_optionlist.checkRequiredAttrs() |
Element_optionlist |
Document_optionlist.getDocumentElement()
Return the top level element.
|
static Element_optionlist |
Element_optionlist.parse(SAXEventStream in,
Extension ext,
TypedNode.ParseListener<Element> listener) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseMatcher.action(Element_optionlist element) |
protected void |
Matcher.action(Element_optionlist element) |
Document_optionlist |
DTD.createDocument_optionlist(Element_optionlist root) |
protected void |
Matcher.phase(int phase,
boolean generalizing,
boolean descending,
Element_optionlist element) |
void |
Dumper.visit(Element_optionlist element) |
void |
VisitorTemplate.visit(Element_optionlist element)
(Superclass implementation descends into
<!ELEMENT optionlist (printout_title?, (enumeration | option | comment)*)
>
.) |
void |
Visitor.visit(Element_optionlist element)
Can be overridden by the user to define particular semantic operations.
|
Constructor and Description |
---|
Document_optionlist(Element_optionlist root)
Create a document in a bottom-up fashion from its toplevel element.
|
see also the complete user documentation .