public final class Reducer
extends eu.bandm.tools.d2d2.absy.Visitor
Document_module
into an umod Module
and its sub-structures (= contained sub-modules and definitions).
Only entry point after construction is reduce(MessageReceiver,Document_module)
.
Global statements in the source (w.r.t. trimming, namespaces, local name mangling ruies,
etc) are distributed to definitions, and applied there, or stored for later
context-free inquiry.
Reference
objects.Modifier and Type | Class and Description |
---|---|
protected class |
Reducer.DocuDistrib
Distributes documentation text to defintions in the current module,
descending into local definitions when required.
|
protected static class |
Reducer.manglingMode |
Modifier and Type | Field and Description |
---|---|
protected Reducer.manglingMode |
currentManglingMode |
protected String |
currentManglingString |
protected SourceItem |
currentScope |
protected XRegExp |
firstDef |
protected boolean |
globaltrim |
protected Module |
growingModule |
protected int |
intValue |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
msg |
protected String |
namespaceDefault
Valid namespace default prefix, may be inherited.
|
protected boolean |
namespaceDefault_elOnly
Whether the default prefix is only for elements:
|
protected String |
namespaceDefault_local
Locally set namespace default prefix, not inherited.
|
protected CheckedMap_RD<String,String> |
namespaces
All namespace decls, including the inherited.
|
protected Set<String> |
namespaces_local
The locally defined ones, which must be free of double prefix use.
|
protected static String |
prototypeName
<!ELEMENT nodetypedecl (cPUBLIC?, (cTAGS | cCHARS), identlist,
(hGENERIC | hDISTRIBUTED | hEMPTY | grammarexpr),
modifiers?)> |
protected String |
stringValue |
protected Module |
toplevelmodule |
protected Location<XMLDocumentIdentifier> |
xmlspec_loc |
validating
Constructor and Description |
---|
Reducer() |
Modifier and Type | Method and Description |
---|---|
protected void |
_addToModule(Module host,
SourceItem item,
String kind) |
protected void |
addToContext(Definition newdef,
String kind)
Add
Definition (Enum or Tags or Chars Parser) to currentscope
(either to Module or (as a local definition) to a definition). |
static void |
addToModule(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
Module host,
SourceItem item,
String kind)
Store a definition to the given module.
|
protected boolean |
checkEnumItemValid(String s) |
protected void |
checkNumberMode(boolean hasNumber,
Location<XMLDocumentIdentifier> loc) |
protected void |
constructMangledXmlTag(Location<XMLDocumentIdentifier> loc,
Definition def)
Is called for any definition: Local definitions first apply
name mangling.
|
protected void |
defineXmlNamespaceTag(Location<XMLDocumentIdentifier> loc,
Definition def,
String qname)
D2d only knows the combination "non-empty prefix and non-empty uri",
or "empty prefix and empty uri".
|
protected void |
error(Location<XMLDocumentIdentifier> loc,
String s) |
protected boolean |
isNonTightSeq(Expression expr) |
protected boolean |
isTightSeq(Expression expr) |
protected void |
putDocu(Enumeration e,
String item) |
protected void |
putDocu(SourceItem item)
Docu text and key have been stored in GLO variables by visit(El.._documentation).
|
protected String |
recompose(eu.bandm.tools.d2d2.absy.Element_reference element)
|
Module |
reduce(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
eu.bandm.tools.d2d2.absy.Document_module input) |
protected void |
splitdoctext(String text,
Location<XMLDocumentIdentifier> startloc) |
void |
visit(eu.bandm.tools.d2d2.absy.Element_atom.Choice_1_Alt_1 alt)
<!ELEMENT atom ((hIMPLICIT?, reference) | insertion
// IST RAUS | (hORDERED?, grammarexpr)
| (hGT?, grammarexpr)
| gwrapper | stringconst
| deznum | hexnum | charset | (hCHARS, trimming?)) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_atom.Choice_1_Alt_9 alt)
<!ELEMENT hCHARS EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_cAS element)
<!ELEMENT cAS EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_cDATA element)
<!ELEMENT cDATA EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_cEMPTY element)
<!ELEMENT cEMPTY EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_cFIRST element)
<!ELEMENT cFIRST EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_charset element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_cNONE element)
<!ELEMENT cNONE EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_cNUMERIC element)
<!ELEMENT cNUMERIC EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_cPUBLIC element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_cTRIMMED element)
<!ELEMENT cTRIMMED EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_cUNTRIMMED element)
<!ELEMENT cUNTRIMMED EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_cVERBATIM element)
<!ELEMENT cVERBATIM EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_defaultGroup element)
<!ELEMENT defaultGroup ((%defaultDef;)*,
(module | modline | defaultGroup)*
) >
Default Groups allow to distribute modifiers (mangling mode, text trimming) to sub-ranges of definitions of a module. |
void |
visit(eu.bandm.tools.d2d2.absy.Element_deznum element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_doctext element) |
void |
visit(eu.bandm.tools.d2d2.absy.Element_documentation element)
<!ELEMENT documentation (ident, localreflist?, (doctext|longdoctext)
) > The identifier is the "key" for the documentation, like "user_en" or "to_xhtml_1_0". |
void |
visit(eu.bandm.tools.d2d2.absy.Element_editspec element)
<!ELEMENT editspec (id_or_string) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_enum_modif el)
private enum_modif: "with" "xmlrep" (cEMPTY)? (xmlrep_att|xmlrep_el)
(EQUALS! stringconst)? (cNUMERIC | cFIRST "name" |cAS "is" ) ?;
<!ELEMENT enum_modif (cEMPTY?,
(xmlrep_att | xmlrep_el),
stringconst?,
(cNUMERIC | cFIRST | cAS)?) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_enumdecl element)
<!ELEMENT enumdecl (ident, (hGENERIC | enumlist), enum_modif?) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_enumitem element)
<!ELEMENT enumitem ((ident | stringconst), deznum?) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_exklam el)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_galt el)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_gc_cut el)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_gc_minus el)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_gc_or el)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_gc_range el)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_globaltrimming element)
<!ELEMENT globaltrimming (trimming) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_gperm el)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_gprim el)
<!ELEMENT gprim (substituted, (star | plus | tstar | tplus | quest)?, exklam?)> |
void |
visit(eu.bandm.tools.d2d2.absy.Element_greedyAtom sa)
<!ELEMENT greedyAtom (greedy, atom) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_gseq el)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_gtight el)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_gwrapper element)
<!ELEMENT gwrapper (ident, grammarexpr) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_hDISTRIBUTED element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_hEMPTY element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_hexnum element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_hGENERIC element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_hIMPLICIT element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_hNONE element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_ident element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_identlist element)
<!ELEMENT identlist (ident+) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_importcmd element)
<!ELEMENT importcmd (ident, (hGENERIC | modadress), modsubsts) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_insertion element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_joinstring element)
<!ELEMENT joinstring (stringconst) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_localnodes element)
<!ELEMENT localnodes (nodetypedecl*) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_longdoctext element) |
void |
visit(eu.bandm.tools.d2d2.absy.Element_modsubst element)
<!ELEMENT modsubst (reference?, substitution) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_module element)
Save and reset global registers; create and store new
growingModule ;
descend into definitions in the source text; finally restore global registers. |
void |
visit(eu.bandm.tools.d2d2.absy.Element_namespacedecl element)
<!ELEMENT namespacedecl (ident, stringconst,
(namespacedefault | namespaceelementonlydefault
)?) >
namespaces contains also the inherited namespace maplets. |
void |
visit(eu.bandm.tools.d2d2.absy.Element_nodetypedecl element)
Descend into source text for the grammar expression, setting registers
(
isgeneric , expr , ...).On return build one new XRegExp accordingly,
store it to growingDef and visit further modifiers, which
store directly into this ("xmlSpec", "inputMode", "postProcessor").Clone it for all identifiers in the and calculate its XML tag. Finally parse local definitions recursively. |
void |
visit(eu.bandm.tools.d2d2.absy.Element_nomangling element)
<!ELEMENT nomangling EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_plus element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_postprocessor element)
<!ELEMENT postprocessor (stringconst) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_quest element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_reference element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_star el)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_stringconst element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_substituted el)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_substitution el)
<!ELEMENT substitution ((grammarexpr | hNONE), ident) > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_tplus element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_tstar element)
|
void |
visit(eu.bandm.tools.d2d2.absy.Element_upcase element)
<!ELEMENT upcase EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_xmlrep_att element)
<!ELEMENT xmlrep_att EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_xmlrep_el element)
<!ELEMENT xmlrep_el EMPTY > |
void |
visit(eu.bandm.tools.d2d2.absy.Element_xmlspec.Seq_1 seq) |
void |
visit(eu.bandm.tools.d2d2.absy.Element_xmlspec element) |
protected void |
warning(Location<XMLDocumentIdentifier> loc,
String s) |
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
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg
protected Module toplevelmodule
protected Module growingModule
protected CheckedMap_RD<String,String> namespaces
protected Set<String> namespaces_local
protected boolean namespaceDefault_elOnly
protected String namespaceDefault
protected String namespaceDefault_local
protected boolean globaltrim
protected SourceItem currentScope
protected Reducer.manglingMode currentManglingMode
protected String currentManglingString
protected static final String prototypeName
<!ELEMENT nodetypedecl (cPUBLIC?, (cTAGS | cCHARS), identlist,
(hGENERIC | hDISTRIBUTED | hEMPTY | grammarexpr),
modifiers?)>
protected XRegExp firstDef
protected Location<XMLDocumentIdentifier> xmlspec_loc
protected String stringValue
protected int intValue
public Module reduce(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, eu.bandm.tools.d2d2.absy.Document_module input)
protected void error(Location<XMLDocumentIdentifier> loc, String s)
protected void warning(Location<XMLDocumentIdentifier> loc, String s)
public static void addToModule(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, Module host, SourceItem item, String kind)
protected void _addToModule(Module host, SourceItem item, String kind)
protected void addToContext(Definition newdef, String kind)
Definition
(Enum or Tags or Chars Parser) to currentscope
(either to Module or (as a local definition) to a definition).public void visit(eu.bandm.tools.d2d2.absy.Element_module element)
growingModule
;
descend into definitions in the source text; finally restore global registers.
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_importcmd element)
<!ELEMENT importcmd (ident, (hGENERIC | modadress), modsubsts) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_modsubst element)
<!ELEMENT modsubst (reference?, substitution) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_namespacedecl element)
<!ELEMENT namespacedecl (ident, stringconst,
(namespacedefault | namespaceelementonlydefault
)?) >
namespaces
contains also the inherited namespace maplets.
namespaces_local
only those explicitly defined on this module level,
which must not have double defs.
visit
in class eu.bandm.tools.d2d2.absy.Visitor
protected void defineXmlNamespaceTag(Location<XMLDocumentIdentifier> loc, Definition def, String qname)
protected void constructMangledXmlTag(Location<XMLDocumentIdentifier> loc, Definition def)
public void visit(eu.bandm.tools.d2d2.absy.Element_nodetypedecl element)
isgeneric
, expr
, ...).XRegExp
accordingly,
store it to growingDef
and visit further modifiers, which
store directly into this ("xmlSpec", "inputMode", "postProcessor").visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_hGENERIC element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_hDISTRIBUTED element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_cPUBLIC element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_hEMPTY element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_identlist element)
<!ELEMENT identlist (ident+) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_xmlrep_att element)
<!ELEMENT xmlrep_att EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_xmlrep_el element)
<!ELEMENT xmlrep_el EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_cNONE element)
<!ELEMENT cNONE EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_cDATA element)
<!ELEMENT cDATA EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_xmlspec element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_xmlspec.Seq_1 seq)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_editspec element)
<!ELEMENT editspec (id_or_string) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_cVERBATIM element)
<!ELEMENT cVERBATIM EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_postprocessor element)
<!ELEMENT postprocessor (stringconst) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_localnodes element)
<!ELEMENT localnodes (nodetypedecl*) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
protected void checkNumberMode(boolean hasNumber, Location<XMLDocumentIdentifier> loc)
public void visit(eu.bandm.tools.d2d2.absy.Element_enumdecl element)
<!ELEMENT enumdecl (ident, (hGENERIC | enumlist), enum_modif?) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
protected boolean checkEnumItemValid(String s)
public void visit(eu.bandm.tools.d2d2.absy.Element_enumitem element)
<!ELEMENT enumitem ((ident | stringconst), deznum?) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_enum_modif el)
<!ELEMENT enum_modif (cEMPTY?,
(xmlrep_att | xmlrep_el),
stringconst?,
(cNUMERIC | cFIRST | cAS)?) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_cNUMERIC element)
<!ELEMENT cNUMERIC EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_cFIRST element)
<!ELEMENT cFIRST EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_cAS element)
<!ELEMENT cAS EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_cEMPTY element)
<!ELEMENT cEMPTY EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_galt el)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
protected boolean isNonTightSeq(Expression expr)
protected boolean isTightSeq(Expression expr)
public void visit(eu.bandm.tools.d2d2.absy.Element_gseq el)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_gperm el)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_gtight el)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_gc_or el)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_gc_cut el)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_gc_minus el)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_gc_range el)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_gprim el)
<!ELEMENT gprim (substituted, (star | plus | tstar | tplus | quest)?, exklam?)>
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_exklam el)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_star el)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_plus element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_tstar element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_tplus element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_quest element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_substituted el)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_substitution el)
<!ELEMENT substitution ((grammarexpr | hNONE), ident) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_hNONE element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_atom.Choice_1_Alt_1 alt)
<!ELEMENT atom ((hIMPLICIT?, reference) | insertion
// IST RAUS | (hORDERED?, grammarexpr)
| (hGT?, grammarexpr)
| gwrapper | stringconst
| deznum | hexnum | charset | (hCHARS, trimming?)) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_greedyAtom sa)
<!ELEMENT greedyAtom (greedy, atom) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_hIMPLICIT element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_insertion element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_gwrapper element)
<!ELEMENT gwrapper (ident, grammarexpr) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_stringconst element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_deznum element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_hexnum element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_charset element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_atom.Choice_1_Alt_9 alt)
<!ELEMENT hCHARS EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_ident element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
protected String recompose(eu.bandm.tools.d2d2.absy.Element_reference element)
public void visit(eu.bandm.tools.d2d2.absy.Element_reference element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_defaultGroup element)
<!ELEMENT defaultGroup ((%defaultDef;)*,
(module | modline | defaultGroup)*
) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_joinstring element)
<!ELEMENT joinstring (stringconst) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_upcase element)
<!ELEMENT upcase EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_nomangling element)
<!ELEMENT nomangling EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_globaltrimming element)
<!ELEMENT globaltrimming (trimming) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_cTRIMMED element)
<!ELEMENT cTRIMMED EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_cUNTRIMMED element)
<!ELEMENT cUNTRIMMED EMPTY >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
protected void putDocu(SourceItem item)
protected void putDocu(Enumeration e, String item)
protected void splitdoctext(String text, Location<XMLDocumentIdentifier> startloc)
public void visit(eu.bandm.tools.d2d2.absy.Element_doctext element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_longdoctext element)
visit
in class eu.bandm.tools.d2d2.absy.Visitor
public void visit(eu.bandm.tools.d2d2.absy.Element_documentation element)
<!ELEMENT documentation (ident, localreflist?, (doctext|longdoctext)
) >
visit
in class eu.bandm.tools.d2d2.absy.Visitor
see also the complete user documentation .