Uses of Class
eu.bandm.tools.d2d2.model.Module
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.
-
Uses of Module in eu.bandm.tools.d2d2.base
Modifier and TypeFieldDescriptionprotected Module
UMod2Def.currentmod
(package private) Module
Resolver4.ParseParticleGenerator.currentmodule
protected Module
Reducer.growingModule
protected Module
Def2Dtd.module
(package private) final Module
Resolver4.ImportContext.rawModule
protected Module
Dtd2Def.result
Evident.protected final Module
Resolver4.rootModule
protected Module
Reducer.toplevelmodule
protected Module
Def2Doc3.topModuleRaw
protected Module
Text2Udom.xslt_module
The loaded xslt module.Modifier and TypeFieldDescriptionDef2Doc3.allRawModules
Def2Doc3.allRawModulesSorted
ModuleRegistry.PrinterInstantiated.done
CharParserPrepare.ppName2rawModule
CharParserPrepare.reprKey
Modifier and TypeMethodDescriptionDtd2Def.convert()
Convert one DTD.Dtd to a d2d module.UMod2Def.convert
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, UMod.Forest f) static Module
Navigate.getModule
(SourceItem si) Find the module which contains a given definition, or the argument itself, if it is a module.static Module
Navigate.getTopmostModule
(SourceItem si) ModuleRegistry.load_uninstantiated
(String qName, boolean considerLocals) External entry point for loading an uninstantiated d2d definition module.ModuleRegistry.parseToplevelModuleFromReader
(Reader charstream, String filename) Loads a top-level d2d definition module (with all sub-modules, uninstantiaated), which has not yet been read in at all.
Is called (internally) for a top-level module, which (together with its sub-modules contained therein) makes up the whole stream content, --- or externally for local modules, which start at the current stream reading position of some text input file, which afterwards will be further consumed for the d2d text contents.protected Module
XsltInstance.prepareXsltMode
(XRegExp toplevelXRegExp) The insertion of the target language classes into the content-containing xslt elements is done by once modifying the (copy of the) xslt definition module.protected Module
XsltInstance.prepareXsltMode_text()
For text mode the xslt module can be used directly, no rewriting is necessary but eliminating "xslt:RESULT_ELEMENTS"protected Module
CharParserPrepare.rawMod
(Definition def) Reducer.reduce
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, int tracelevel, eu.bandm.tools.d2d2.absy.Document_module input) Translate the XML encoded parsing result into a d2d model structure.ModuleRegistry.storeLocalModule
(MemScanner mem, String filename) Feeds the prefix of a text document into the cache of uninstantiated modules, to retrieve it instantiated (a few processing steps later).Modifier and TypeMethodDescriptionNavigate.getAllModules
(SourceItem si) Delivers the ascending list of containing modules.Modifier and TypeMethodDescriptionprotected void
Reducer._addToModule
(Module host, SourceItem item, String kind) void
Service entry point for normalizing all references in an uninstantiated module.static void
Reducer.addToModule
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, Module host, SourceItem item, String kind) Store a definition to the given module.Navigate.allPublicXRegExp
(Module mod) Delivers all definitons in the given module which are of reg exp type and and have been defined as "public".Navigate.allXRegExp
(Module mod) Delivers all definitons in the given module which are of reg exp type.void
TypeCheck.check
(Module mod, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) Def2Dtd.convert
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, Module module, XMLDocumentIdentifier newId, boolean tdom_mode, @Opt String tdom_doc_language) Central working method for transformation to dtd.protected String
Def2Doc3.dyn_module2anchor
(Module mod, boolean isName) static @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.ModuleRegistry.instantiate
(Module topmod, String[] names) Finds a d2d definition sub-module in a top-level module and instantiates it.static boolean
Navigate.isLocalModule
(Module mod) protected void
FirstCalculator.makeGenericHints
(Module module, List<String> names) Emit a sequence of hints pointing to the sequence of import commands, when (erroneously) a definition is referred which is marked with "#GENERIC
".protected void
Def2Doc3.markRawModule
(Module mod) void
ModuleRegistry.PrinterInstantiated.printModule
(Module m) Print one instantiated module.void
ModuleRegistry.PrinterUninstantiated.printModule
(Module m) Print one un-instantiated module, already loaded.Process all definitions and expressions reachable from all definitions in the given module.Navigate.VisitReachable.processPublic
(Module mod) Process all definitions and expressions reachable from all public definitions in the given module.(package private) final String
CharParserPrepare.representingKey
(DefInstance defI, Module rawMod) ATTENTION ParseParticles are unified w.r.t.protected void
Def2Doc3.showModuleImports
(int indent, String prefix, Module rawModule, List<Element_tr> akku, Set<Module> done, Set<Module> active) Modifier and TypeMethodDescriptionprotected void
Def2Doc3.showModuleImports
(int indent, String prefix, Module rawModule, List<Element_tr> akku, Set<Module> done, Set<Module> active) ModifierConstructorDescription(package private)
ImportContext
(@Opt Resolver4.ImportContext predec, ImportItem importItem, String moduleAddress, Module rawModule, String key) Resolver4
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msgoutput, ModuleRegistry moduleRegistry, Module rootModule, int verbosity) -
Uses of Module in eu.bandm.tools.d2d2.model
Modifier and TypeClassDescriptionclass
Generated by umod; model author's documentation MISSING.Modifier and TypeFieldDescriptionprotected Module
ResolvedModule.raw
Generated by umod; model author's documentation MISSING.protected Module
ImportItem.resolved
Generated by umod; model author's documentation MISSING.Modifier and TypeFieldDescriptionprotected CheckedSet<Module>
ResolvedModule.allRawModules
Generated by umod; model author's documentation MISSING.static final Function<ResolvedModule,
CheckedSet<Module>> ResolvedModule.get_allRawModules
Deprecated.Use new '::' method reference instead.static final Function<Module,
NamespaceName> Module.get_defaultElNs
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<Module,
CheckedMap_RD<String, ImportItem>> Module.get_imports
Deprecated.Use new '::' method reference instead.Module.get_isLocal
Deprecated.Use new '::' method reference instead.static final Function<Module,
CheckedMap_RD<String, Module>> Module.get_modules
Deprecated.Use new '::' method reference instead.static final Function<Module,
CheckedMap_RD<String, Module>> Module.get_modules
Deprecated.Use new '::' method reference instead.static final Function<Module,
CheckedList<NamespaceDecl>> Module.get_namespaces
Deprecated.Use new '::' method reference instead.static final Function<ResolvedModule,
Module> ResolvedModule.get_raw
Deprecated.Use new '::' method reference instead.static final Function<ImportItem,
Module> ImportItem.get_resolved
Deprecated.Use new '::' method reference instead.protected CheckedMap_RD<String,
Module> Module.modules
Generated by umod; model author's documentation MISSING.Modifier and TypeMethodDescriptionModule.doclone()
Clones this object.ResolvedModule.get_raw()
Generated by umod; model author's documentation MISSING.ImportItem.get_resolved()
Generated by umod; model author's documentation MISSING.Copies values of all common fields from the argument.Modifier and TypeMethodDescriptionResolvedModule.get_allRawModules()
Generated by umod; model author's documentation MISSING.Module.get_defaultElNs
(Pattern<? super NamespaceName> p) Lifts a pattern which matches the field value to one which matches this whole object.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.Module.get_imports
(Pattern<? super CheckedMap_RD<String, ImportItem>> p) Lifts a pattern which matches the field value to one which matches this whole object.Module.get_isLocal
(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.Module.get_modules()
Generated by umod; model author's documentation MISSING.Module.get_modules
(Pattern<? super CheckedMap_RD<String, Module>> p) Lifts a pattern which matches the field value to one which matches this whole object.Module.get_namespaces
(Pattern<? super CheckedList<NamespaceDecl>> p) Lifts a pattern which matches the field value to one which matches this whole object.__Patterns.term_Module
(Pattern<? super SourceItem> superpattern, Pattern<? super CheckedMap_RD<String, Module>> p_modules, Pattern<? super CheckedMap_RD<String, ImportItem>> p_imports, Pattern<? super CheckedMap_RD<String, Definition>> p_definitions, Pattern<? super NamespaceName> p_defaultElNs, Pattern<? super CheckedList<NamespaceDecl>> p_namespaces, Pattern<? super Boolean> p_isLocal) Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
void
CoRewrite.follow_definitions
(Module element) void
Dump.follow_definitions
(Module element) void
Match.follow_definitions
(Module element) void
Rewrite.follow_definitions
(Module element) void
SinglePhase.follow_definitions
(Module element) void
CoRewrite.follow_imports
(Module element) void
Dump.follow_imports
(Module element) void
Match.follow_imports
(Module element) void
Rewrite.follow_imports
(Module element) void
SinglePhase.follow_imports
(Module element) void
CoRewrite.follow_modules
(Module element) void
Dump.follow_modules
(Module element) void
Match.follow_modules
(Module element) void
Rewrite.follow_modules
(Module element) void
SinglePhase.follow_modules
(Module element) void
CoRewrite.follow_namespaces
(Module element) void
Dump.follow_namespaces
(Module element) void
Match.follow_namespaces
(Module element) void
Rewrite.follow_namespaces
(Module element) void
SinglePhase.follow_namespaces
(Module element) void
MATCH_ONLY_00.followAll_definitions
(Module element) void
MATCH_ONLY_00.followAll_imports
(Module element) void
MATCH_ONLY_00.followAll_modules
(Module element) void
MATCH_ONLY_00.followAll_namespaces
(Module element) void
protected void
protected void
protected void
Dump.printscalars
(Module e0) void
Module.put_modules
(String key0, Module value) Convenience un-Currying method.protected void
CoRewrite.rewriteFields
(Module clone) protected void
Rewrite.rewriteFields
(Module clone) boolean
Generated by umod; model author's documentation MISSING.boolean
ImportItem.set_resolved
(Module val) Generated by umod; model author's documentation MISSING.protected Format
Modifier and TypeMethodDescription__Patterns.cast_Module
(Pattern<? super Module> p) static Pattern<ResolvedModule>
ResolvedModule.get_allRawModules
(Pattern<? super CheckedSet<Module>> p) Lifts a pattern which matches the field value to one which matches this whole object.Module.get_modules
(Pattern<? super CheckedMap_RD<String, Module>> p) Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<ResolvedModule>
Lifts a pattern which matches the field value to one which matches this whole object.static Pattern<ImportItem>
ImportItem.get_resolved
(Pattern<? super Module> p) Lifts a pattern which matches the field value to one which matches this whole object.boolean
ResolvedModule.set_allRawModules
(CheckedSet<Module> val) Generated by umod; model author's documentation MISSING.boolean
Module.set_modules
(CheckedMap_RD<String, Module> val) Generated by umod; model author's documentation MISSING.static Pattern<ResolvedModule>
__Patterns.term_ResolvedModule
(Pattern<? super Module> superpattern, Pattern<? super Module> p_raw, Pattern<? super CheckedMap_RD<Definition, DefInstance>> p_defInstances, Pattern<? super CheckedMap_RD<Reference, Definition>> p_sources, Pattern<? super CheckedMap_RD<Reference, Definition>> p_resolved, Pattern<? super CheckedSet<Module>> p_allRawModules) ModifierConstructorDescriptionResolvedModule
(SourceItem context, String name, Location<XMLDocumentIdentifier> location, Module raw) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".ResolvedModule
(String name, Location<XMLDocumentIdentifier> location, Module raw) Synthetic minimal constructor provided by the umod compiler. -
Uses of Module in eu.bandm.tools.d2d2.parser2
Modifier and TypeMethodDescriptionParser.module
(Expression<XMLDocumentIdentifier, Parser.TokenType, Module> p_module) Accepts and decodes a "module" declaration.Modifier and TypeMethodDescriptionvoid
static void
Parser.addToModule
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, Module host, SourceItem item, String kind) Store a definition to the given module.Parser.namespaceMapping
(Module module) protected void
Parser.postProcess
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, Module module) Modifier and TypeMethodDescriptionParser.module
(Expression<XMLDocumentIdentifier, Parser.TokenType, Module> p_module) Accepts and decodes a "module" declaration.ModifierConstructorDescriptionDocuDistrib
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, String key, Module module, List<LocString> docs)