Uses of Class
eu.bandm.tools.d2d2.model.Definition
Package
Description
D2d allows to write valid XML documents directly in the creative flow of authoring,
with minimum typographic noise.
Umod main model class: This is the internal
model for the d2d text type definitions.
Umod main model class: This is a model for the
results of d2d text parsing.
-
Uses of Definition in eu.bandm.tools.d2d2.base
Modifier and TypeFieldDescription(package private) Definition
CharParserPrepare.ReduceToCardinalities.currentDef
(package private) Definition
Reducer.growingDef
protected Definition
Def2Doc3.UsedIn_Collector.leftSide
protected Definition
Text2Udom.meta_assumedXsltOutput
protected Definition
Text2Udom.meta_expected
protected Definition
Text2Udom.meta_kind
protected Definition
Text2Udom.meta_location
protected Definition
Text2Udom.meta_messageText
protected Definition
Text2Udom.meta_parsingError
protected Definition
Text2Udom.meta_skipped
protected Definition
Text2Udom.meta_tag
protected Definition
Text2Udom.meta_warning
(package private) final Definition
Resolver4.Instance.raw
(package private) @Opt Definition
Resolver4.Instance.rewritten
Modifier and TypeFieldDescriptionprotected Set<Definition>
Udom2Sax.attributesDone
All those definitions the content of which (under the currently written node) have already been written out as attributes, and therefore do not need further processing.(package private) CheckedMap_RD<Definition,
Boolean> Navigate.AttributeCollector.atts
Result accumulator(package private) Set<Definition>
TypeCheck.AttributeCollector.atts
protected Map<DefInstance,
Definition> Def2Doc3.defi2rewritten
(package private) Set<Definition>
CharParserPrepare.ReduceToCardinalities.done
(package private) final Set<Definition>
Navigate.VisitReachable.done
Definitions already visited.protected final CheckedMap_RD<String,
Definition> Resolver4.emptyLocals
protected Map<String,
Definition> XsltInstance.CollectAllElements.found
All Definitions reachable from the entry definition given toXsltInstance.CollectAllElements.findTopLevel(eu.bandm.tools.d2d2.model.Definition)
and selected for direct notation.protected Map<Definition,
Map<Resolver4.ImportContext, Resolver4.Instance>> Resolver4.instances
static final Predicate<Definition>
Navigate.isPublicRegExp
Returns whether a definition is of reg exp type (tags or chars) and has been defined as "public".protected Map<Definition,
List<Resolver4.LocalInstance>> Resolver4.localInstances
protected Set<Definition>
Def2Dtd.needed
static final Set<Definition>
Udom2Sax.NO_ATTRIBUTES
protected Set<Definition>
XsltInstance.CollectAllElements.notAccessible
All Definitions reachable from the entry definition given toXsltInstance.CollectAllElements.findTopLevel(eu.bandm.tools.d2d2.model.Definition)
and not selected for direct notation.(package private) Set<Definition>
CharParserPrepare.ReduceToCardinalities.todo
(package private) final Set<Definition>
Navigate.VisitReachable.todo
Definitions still to visit.protected Multimap<Definition,
Definition> Def2Doc3.uses
Maps all definitions to points of usage.protected Multimap<Definition,
Definition> Def2Doc3.uses
Maps all definitions to points of usage.protected Set<Definition>
Def2Dtd.visited
protected Set<Definition>
XsltInstance.CollectAllElements.visited
For to visit each definitions only once.Modifier and TypeMethodDescriptionstatic @Opt Definition
Navigate.findInDefinitions
(Module mod, String name) Look for a definition in a module, including local defs.static @Opt Definition
Navigate.findInDefinitions
(Module mod, String[] names) Look for a definition in a module, including local defs.protected @Opt Definition
Dtd2Def.Phase1.globalDefForAtt
(String name, DTM.Attribute attdef) Construct a common d2d tag element definition for a given attribute.protected Definition
Text2Udom.loadMetaDefinition
(Map<String, Definition> defs, String name) Find the definition from the loaded metamodule.protected Definition
Dtd2Def.Phase1.makeAttribute
(SourceItem context, String name, DTM.Attribute att) Create a new d2d-definition for a dtd attribute value.protected Definition
CharParserPrepare.rawDef
(Definition def) (package private) Definition
Resolver4.Instance.validDefinition()
Modifier and TypeMethodDescriptionstatic Set<Definition>
TypeCheck.collectAttributes
(XRegExp host) Every XRegExp has a local cache with definitions which are realized as attributes.(package private) Map<String,
Definition> XsltInstance.CollectAllElements.findTopLevel
(Definition def) Starting from the given entry definition find all tags which can appear in an xslt template spontaneously.Modifier and TypeMethodDescriptionprotected boolean
Text2Udom.accept_superfluous_end_tag
(String tag, boolean defIsEmpty, Definition def, Location<String> startLoc) Lets the scanner accept and discard an end tag, either normal or forced or by a parenthesis character.void
Def2Xslt3.action
(Definition def) void
Navigate.CharSetCalc.action
(Definition x) All definitions which are not CharsRegExp are NOT a character set.void
XsltInstance.CollectAllElements.action
(Definition d) Is matched by definitions which are neither Tags- nor Chars-RegExps.protected void
Reducer.addToContext
(Definition newdef, String kind) AddDefinition
(Enum or Tags or Chars Parser) to currentscope (either to Module or (as a local definition) to a definition).protected void
XsltInstance.CollectAllElements.classify
(Definition t) Consider the tag of the Definition (with xml_kind==element) for being directly referrable in an xslt template.static Reference
Navigate.co_resolve
(Definition def) Delivers a resolved reference expression which points to the given definition.Resolver4.ImportContext.compoundKey
(Definition def) protected void
Reducer.constructMangledXmlTag
(Location<XMLDocumentIdentifier> loc, Definition def) Is called for any definition: Local definitions first apply name mangling.protected Resolver4.Instance
Resolver4.createNewInstance
(Resolver4.ImportContext ic, Definition raw) protected void
Reducer.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 String
Def2Doc3.defrw2minUniqueName
(Definition def) protected String
Def2Doc3.defrw2tooltip
(Definition defrw) protected void
Def2Doc3.UsedIn_Collector.dop
(Definition def) protected boolean
Resolver4.equivalent
(Definition def1, Definition def2) protected @Opt Resolver4.Instance
Resolver4.findInstance
(Definition raw, Resolver4.ImportContext ic) protected Map<Resolver4.ImportContext,
Resolver4.Instance> Resolver4.findInstances
(Definition raw) protected List<Resolver4.LocalInstance>
Resolver4.findLocalInstances
(Definition def) void
Udom2Sax.findPostProc
(Definition def) (package private) Map<String,
Definition> XsltInstance.CollectAllElements.findTopLevel
(Definition def) Starting from the given entry definition find all tags which can appear in an xslt template spontaneously.protected void
Text2Udom.ignore_superfluous_end_tag
(String tag, boolean defIsEmpty, Definition def, Location<String> startLoc) Called after an empty tag, a parser or an enum have been consumed.static void
Text2Udom.insertPlainChars
(ResultingStructure host, Definition tag, String chars) Aux function to insert synthesized character data in the output, which is NOT contained in the source, e.g.static boolean
Navigate.isEmptyXRegExp
(Definition def) Returns whether a definition is of reg exp type (tags or chars) and has empty contents.protected boolean
Text2Udom.isXsltDef
(Definition def) Whether a definition is an xslt element.protected void
Def2Doc3.listUsage
(Definition defrw) protected Element_a
Def2Doc3.makeJumpTo
(Definition def) protected void
Def2Dtd.markNeeded
(Definition def) protected void
Navigate.VisitReachable.markToDo
(Definition def) Enter the definition into the to-do-set, if not already visitedx.Navigate.VisitReachable.process
(Definition def) Process all definitions and expressions reachable from one particular definition.protected Definition
CharParserPrepare.rawDef
(Definition def) protected Module
CharParserPrepare.rawMod
(Definition def) static void
PostProcessor.remove_all
(ResultingStructure udom, Definition tag) Auxiliary function to remove all resulting sub-structures with the given tag.protected void
CharacterParser.subElement
(Definition def, Expression rule) Called when reaching a ParseParticle, a CharsRegExp or an Enumeration, which all lead to wrapping the parsing result into a Result object with this definition as its tag.protected void
XsltInstance.CollectAllElements.takeDiscard
(String tag, Definition take, Definition discard) Puts one argument into the found and the outer in the notAccessible set.protected void
Def2Dtd.translate
(Definition def) Treat tags regexp and chars regexp differently.Modifier and TypeMethodDescriptionprotected Definition
Text2Udom.loadMetaDefinition
(Map<String, Definition> defs, String name) Find the definition from the loaded metamodule.ModifierConstructorDescription(package private)
Instance
(Resolver4.ImportContext ic, Definition raw, @Opt Definition rewritten) (package private)
LocalInstance
(Resolver4.ImportContext ic, Definition raw, Resolver4.Binding<Expression> substs) ModifierConstructorDescriptionOnly constructor.AttributeCollector
(Set<Definition> atts) AttributeCollector
(Set<Definition> atts, Set<Expression> attrefs) -
Uses of Definition in eu.bandm.tools.d2d2.model
Modifier and TypeClassDescriptionclass
Generated by umod; model author's documentation MISSING.class
Generated by umod; model author's documentation MISSING.class
Generated by umod; model author's documentation MISSING.class
Generated by umod; model author's documentation MISSING.Modifier and TypeFieldDescriptionprotected Definition
DefInstance.raw
Generated by umod; model author's documentation MISSING.protected Definition
Reference.resolved
Generated by umod; model author's documentation MISSING.Modifier and TypeFieldDescriptionprotected CheckedMap_RD<String,
Definition> Module.definitions
Generated by umod; model author's documentation MISSING.protected CheckedMap_RD<Definition,
DefInstance> ResolvedModule.defInstances
Generated by umod; model author's documentation MISSING.static final Function<Definition,
Boolean> Definition.get_definedAsLocal
Deprecated.Use new '::' method reference instead.static final Function<Module,
CheckedMap_RD<String, Definition>> Module.get_definitions
Deprecated.Use new '::' method reference instead.static final Function<ResolvedModule,
CheckedMap_RD<Definition, DefInstance>> ResolvedModule.get_defInstances
Deprecated.Use new '::' method reference instead.static final Function<Definition,
String> Definition.get_editpragmas
Deprecated.Use new '::' method reference instead.static final Function<Definition,
Boolean> Definition.get_isgeneric
Deprecated.Use new '::' method reference instead.static final Function<Definition,
Boolean> Definition.get_ispublic
Deprecated.Use new '::' method reference instead.static final Function<TagsRegExp,
CheckedMap_RD<String, Definition>> TagsRegExp.get_localdefs
Deprecated.Use new '::' method reference instead.static final Function<Definition,
String> Definition.get_postproc
Deprecated.Use new '::' method reference instead.static final Function<DefInstance,
Definition> DefInstance.get_raw
Deprecated.Use new '::' method reference instead.static final Function<Reference,
Definition> Reference.get_resolved
Deprecated.Use new '::' method reference instead.static final Function<ResolvedModule,
CheckedMap_RD<Reference, Definition>> ResolvedModule.get_resolved
Deprecated.Use new '::' method reference instead.static final Function<ResolvedModule,
CheckedMap_RD<Reference, Definition>> ResolvedModule.get_sources
Deprecated.Use new '::' method reference instead.static final Function<XRegExp,
CheckedMap_RD<Definition, Boolean>> XRegExp.get_xattributes
Deprecated.Use new '::' method reference instead.static final Function<Definition,
XmlKind> Definition.get_xml_kind
Deprecated.Use new '::' method reference instead.static final Function<Definition,
String> Definition.get_xml_src_tag
Deprecated.Use new '::' method reference instead.static final Function<Definition,
NamespaceName> Definition.get_xml_tag
Deprecated.Use new '::' method reference instead.static final Function<Definition,
Boolean> Definition.get_xml_trimmed
Deprecated.Use new '::' method reference instead.static final Function<Definition,
String> Definition.get_xml_value
Deprecated.Use new '::' method reference instead.protected CheckedMap_RD<String,
Definition> TagsRegExp.localdefs
Generated by umod; model author's documentation MISSING.protected CheckedMap_RD<Reference,
Definition> ResolvedModule.resolved
NEU 20180822 Map all references in the rewritten defintions to the rewritten definitions.protected CheckedMap_RD<Reference,
Definition> ResolvedModule.sources
NEU 20180822 Map all references in the rewritten definitions to the raw definitions
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":216.9-217.25, see this pretty print.)
The type of this field isCheckedMap_RD
<Reference
(never null),Definition
(never null)>(never null)
Its value defaults to an empty collection.protected CheckedMap_RD<Definition,
Boolean> XRegExp.xattributes
Lists all sub-expressions to realize as XML attributes, and whether optional.(transient cache)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":250.9-251.9, see this pretty print.)
The type of this field isCheckedMap_RD
<Definition
(never null),java.lang.Boolean(never null)>(maybe null)
Its value defaults to null.Modifier and TypeMethodDescriptionDefinition.doclone()
Clones this object.DefInstance.get_raw()
Generated by umod; model author's documentation MISSING.Reference.get_resolved()
Generated by umod; model author's documentation MISSING.Copies values of all common fields from the argument.Modifier and TypeMethodDescriptionstatic Pattern<Definition>
Definition.get_definedAsLocal
(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.Module.get_definitions()
Generated by umod; model author's documentation MISSING.ResolvedModule.get_defInstances()
Generated by umod; model author's documentation MISSING.static Pattern<Definition>
Definition.get_editpragmas
(Pattern<? super String> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition>
Definition.get_isgeneric
(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition>
Definition.get_ispublic
(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.TagsRegExp.get_localdefs()
Generated by umod; model author's documentation MISSING.static Pattern<Definition>
Definition.get_postproc
(Pattern<? super String> p) Lifts a pattern which matches the field value to one which matches this whole object.ResolvedModule.get_resolved()
NEU 20180822 Map all references in the rewritten defintions to the rewritten definitions.ResolvedModule.get_sources()
NEU 20180822 Map all references in the rewritten definitions to the raw definitions
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":216.9-217.25, see this pretty print.)
Generated getter method.XRegExp.get_xattributes()
Lists all sub-expressions to realize as XML attributes, and whether optional.(transient cache)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":250.9-251.9, see this pretty print.)
Generated getter method.static Pattern<Definition>
Definition.get_xml_kind
(Pattern<? super XmlKind> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition>
Definition.get_xml_src_tag
(Pattern<? super String> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition>
Definition.get_xml_tag
(Pattern<? super NamespaceName> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition>
Definition.get_xml_trimmed
(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition>
Definition.get_xml_value
(Pattern<? super String> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<Definition>
__Patterns.term_Definition
(Pattern<? super SourceItem> superpattern, Pattern<? super Boolean> p_isgeneric, Pattern<? super Boolean> p_ispublic, Pattern<? super Boolean> p_definedAsLocal, Pattern<? super String> p_postproc, Pattern<? super XmlKind> p_xml_kind, Pattern<? super String> p_xml_src_tag, Pattern<? super NamespaceName> p_xml_tag, Pattern<? super String> p_xml_value, Pattern<? super Boolean> p_xml_trimmed, Pattern<? super String> p_editpragmas) Modifier and TypeMethodDescriptionprotected void
__Formatter.action
(Definition el) protected void
CoRewrite.action
(Definition e0) protected void
Dump.action
(Definition e0) protected void
MATCH_ONLY_00.action
(Definition e0) protected void
Match.action
(Definition e0) protected void
Rewrite.action
(Definition e0) protected void
SinglePhase.action
(Definition e0) boolean
ResolvedModule.containsKey_defInstances
(Definition key0) Convenience un-Currying method.protected void
Dump.descend
(Definition e0) protected void
Match.descend
(Definition e0) void
MATCH_ONLY_00.match
(Definition e0) (package private) static boolean
AuxFormat.needToPrintXmlLine
(Definition def) (package private) static boolean
AuxFormat.needToPrintXmlTag
(Definition def) protected void
Match.post
(Definition e0) protected void
Match.pre
(Definition e0) protected void
Dump.printscalars
(Definition e0) void
Module.put_definitions
(String key0, Definition value) Convenience un-Currying method.void
ResolvedModule.put_defInstances
(Definition key0, DefInstance value) Convenience un-Currying method.void
TagsRegExp.put_localdefs
(String key0, Definition value) Convenience un-Currying method.void
ResolvedModule.put_resolved
(Reference key0, Definition value) Convenience un-Currying method.void
ResolvedModule.put_sources
(Reference key0, Definition value) Convenience un-Currying method.protected void
CoRewrite.rewriteFields
(Definition clone) protected void
Rewrite.rewriteFields
(Definition clone) boolean
DefInstance.set_raw
(Definition val) Generated by umod; model author's documentation MISSING.boolean
Reference.set_resolved
(Definition val) Generated by umod; model author's documentation MISSING.protected Format
__Formatter.toFormat
(Definition el) Modifier and TypeMethodDescription__Patterns.cast_Definition
(Pattern<? super Definition> p) Module.get_definitions
(Pattern<? super CheckedMap_RD<String, Definition>> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<ResolvedModule>
ResolvedModule.get_defInstances
(Pattern<? super CheckedMap_RD<Definition, DefInstance>> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<TagsRegExp>
TagsRegExp.get_localdefs
(Pattern<? super CheckedMap_RD<String, Definition>> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<DefInstance>
DefInstance.get_raw
(Pattern<? super Definition> p) Lifts a pattern which matches the field value to one which matches this whole object.Reference.get_resolved
(Pattern<? super Definition> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<ResolvedModule>
ResolvedModule.get_resolved
(Pattern<? super CheckedMap_RD<Reference, Definition>> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<ResolvedModule>
ResolvedModule.get_sources
(Pattern<? super CheckedMap_RD<Reference, Definition>> p) Lifts a pattern which matches the field value to one which matches this whole object.XRegExp.get_xattributes
(Pattern<? super CheckedMap_RD<Definition, Boolean>> p) Lifts a pattern which matches the field value to one which matches this whole object.boolean
Module.set_definitions
(CheckedMap_RD<String, Definition> val) Generated by umod; model author's documentation MISSING.boolean
ResolvedModule.set_defInstances
(CheckedMap_RD<Definition, DefInstance> val) Generated by umod; model author's documentation MISSING.boolean
TagsRegExp.set_localdefs
(CheckedMap_RD<String, Definition> val) Generated by umod; model author's documentation MISSING.boolean
ResolvedModule.set_resolved
(CheckedMap_RD<Reference, Definition> val) NEU 20180822 Map all references in the rewritten defintions to the rewritten definitions.boolean
ResolvedModule.set_sources
(CheckedMap_RD<Reference, Definition> val) NEU 20180822 Map all references in the rewritten definitions to the raw definitions
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":216.9-217.25, see this pretty print.)
Updates the (mutable) instance destructively.boolean
XRegExp.set_xattributes
(CheckedMap_RD<Definition, Boolean> val) Lists all sub-expressions to realize as XML attributes, and whether optional.(transient cache)
(This definition has been created by UMod from the source at SYSTEM "D2d.umod":250.9-251.9, see this pretty print.)
Updates the (mutable) instance destructively.static Pattern<Enumeration>
__Patterns.term_Enumeration
(Pattern<? super Definition> superpattern, Pattern<? super CheckedList<String>> p_sourceOrder, Pattern<? super CheckedMap_RD<String, Integer>> p_items, Pattern<? super CheckedMap_RD<Integer, CheckedSet<String>>> p_reverse, Pattern<? super CheckedMap_RD<Integer, String>> p_repr, Pattern<? super EnumRep> p_xml_representation, Pattern<? super Boolean> p_xml_emptystructs, Pattern<? super CheckedMap_RD<Integer, CheckedMap_RD<String, CheckedList<LocString>>>> p_itemDocu) __Patterns.term_XRegExp
(Pattern<? super Definition> superpattern, Pattern<? super Expression> p_value, Pattern<? super CheckedMap_RD<Definition, Boolean>> p_xattributes) ModifierConstructorDescriptionDefInstance
(Definition raw, String representingKey) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Uses of Definition in eu.bandm.tools.d2d2.parser2
Modifier and TypeMethodDescriptionprotected void
Parser.addToContext
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, SourceItem currentScope, Definition newdef, String kind) AddDefinition
(Enum or Tags or Chars Parser) to currentscope (either to Module or (as a local definition) to a definition). -
Uses of Definition in eu.bandm.tools.d2d2.rt
Modifier and TypeFieldDescriptionprotected Definition
State_singleton.def
Generated by umod; model author's documentation MISSING.protected Definition
ResultingStructure.tag
Generated by umod; model author's documentation MISSING.Modifier and TypeFieldDescriptionprotected CheckedMultimap_RD<Definition,
ResultingStructure> ResultingStructure.assoc
Generated by umod; model author's documentation MISSING.static final Function<ResultingStructure,
CheckedMultimap_RD<Definition, ResultingStructure>> ResultingStructure.get_assoc
Deprecated.Use new '::' method reference instead.static final Function<State_singleton,
Definition> State_singleton.get_def
Deprecated.Use new '::' method reference instead.static final Function<ResultingStructure,
Definition> ResultingStructure.get_tag
Deprecated.Use new '::' method reference instead.Modifier and TypeMethodDescriptionState_singleton.get_def()
Generated by umod; model author's documentation MISSING.ResultingStructure.get_tag()
Generated by umod; model author's documentation MISSING.Modifier and TypeMethodDescriptionResultingStructure.get_assoc()
Generated by umod; model author's documentation MISSING.Modifier and TypeMethodDescriptionprotected void
MATCH_ONLY_00.action
(Definition e0) boolean
State_singleton.set_def
(Definition val) Generated by umod; model author's documentation MISSING.boolean
ResultingStructure.set_tag
(Definition val) Generated by umod; model author's documentation MISSING.Modifier and TypeMethodDescriptionstatic Pattern<ResultingStructure>
ResultingStructure.get_assoc
(Pattern<? super CheckedMultimap_RD<Definition, ResultingStructure>> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<State_singleton>
State_singleton.get_def
(Pattern<? super Definition> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<ResultingStructure>
ResultingStructure.get_tag
(Pattern<? super Definition> p) Lifts a pattern which matches the field value to one which matches this whole object.boolean
ResultingStructure.set_assoc
(CheckedMultimap_RD<Definition, ResultingStructure> val) Generated by umod; model author's documentation MISSING.ModifierConstructorDescriptionResultingStructure
(Location<String> location, Definition tag) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".State_singleton
(ResultContainer result, Reference ref, Definition def, Expression rule) Synthetic minimal constructor provided by the umod compiler.State_singleton
(State predec, ResultContainer result, boolean inxslt, Reference ref, Definition def, Expression rule) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".