Uses of Class
eu.bandm.tools.umod.UMod.Forest
Package
Description
D2d allows to write valid XML documents directly in the creative flow of authoring,
with minimum typographic noise.
Compiler for data models, from a concise mathematical oriented language into
Java.
-
Uses of UMod.Forest in eu.bandm.tools.d2d2.base
Modifier and TypeMethodDescriptionUMod2Def.convert
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, UMod.Forest f) -
Uses of UMod.Forest in eu.bandm.tools.umod
Modifier and TypeFieldDescriptionprotected UMod.Forest
Reducer.curforest
protected UMod.Forest
ReflectiveVisitor.curforest
protected UMod.Forest
UMod2java.curforest
GLO variable for the resolution of identifiers (local or exernal)protected UMod.Forest
Types.HtmlDocText.curmodel
protected UMod.Forest
Types.JavaMapper.curmodel
protected UMod.Forest
UMod2format.Compiler.currentumod
Needed for find the class definitions (/types) of fields referred to.protected UMod.Forest
UMod2Html.forest
protected UMod.Forest
Checker.model
final UMod.Forest
Factory.model
protected UMod.Forest
UMod2Tsoap.model
protected final UMod.Forest
UMod2visitors.model
Modifier and TypeMethodDescriptionstatic UMod.Forest
Reducer.reduce
(UMod.Forest in_forest, eu.bandm.tools.umod.absy.Document_modeltree el, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg0) static UMod.Forest
Main.stream2umod
(UMod.Forest forest, InputStream str, String sourcefilename, MessageReceiver<SimpleMessage<@Opt XMLDocumentIdentifier>> msg) Main worker method, can be called from other classes.Modifier and TypeMethodDescriptionprotected void
UMod.Visitor.action
(UMod.Forest i) protected void
UMod2java.V_compileVerbatimJava.action
(UMod.Forest f) protected void
UMod2java.addIfaceDeclarations
(UMod.Forest forest) void
Checker.check
(UMod.Forest model0, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg0) Checks currently ONLY that field names are unique (from class to root) and there is only one "KEY" field.void
UMod2visitors.V_compileSimpleActionMethods.compile
(GeneratedClass bv, UMod.Forest f) void
UMod.Visitor.descend_Forest$extBySequence
(UMod.Forest e) static UMod.ClassDef
Types.getUmodClassDef
(UMod.Forest f, UMod.Type t) NEU 20150419, MUSS ES irrngxwo schon geben !?!?!? FIXMEstatic boolean
Types.hasCanonicalOrder
(UMod.Type t, UMod.Forest f, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) For basic types a canonical order is always defined; for internal defs depends on generated code; for external types ask the environment.static Format
Types.implementationFlagFormat
(UMod.Type t, UMod.Forest f, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) selects between tree and hash implementations for maps and setsprotected void
UMod2visitors.make_breakLoop_method
(UMod.Forest model, GeneratedClass visitor) protected GeneratedClass
UMod2visitors.make_v_dumper
(UMod.Forest model, GeneratedContext context, GeneratedClass basematcher, int keynum, String name) protected GeneratedClass
UMod2visitors.make_v_multiphase
(UMod.Forest model, GeneratedContext context, GeneratedClass basematcher, int keynum, String name) protected GeneratedClass
UMod2visitors.make_v_rewritercorewriter
(UMod.Forest model, GeneratedContext context, GeneratedClass basematcher, int keynum, String name, UMod2visitors.rewriterType rtype, boolean supportMultiSubst) protected GeneratedClass
UMod2visitors.make_v_simple
(UMod.Forest model, GeneratedContext context, GeneratedClass basematcher, int keynum, String name) protected void
UMod2java.makeswingtree
(UMod.Forest forest, GeneratedContext context, GeneratedClass basematcher, boolean visitoroptimize) UMod2Html.prettyPrint
(UMod.Forest forest, String dateAndTime) Generates HTML output likevoid
UMod2format.process
(UMod.Forest code, GeneratedContext context, GeneratedClass modelclass, GeneratedClass basematcher, boolean getterfunctions, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> externalMsgDrain) generates formatter class, derived from visitor "basematcher"
as inner class in "forestclass"
global fields and constants in this class
entry methods ("toFormat()" etc)
creates a "Format Creator" class by deriving fromformatfrontends.GeneriCompiler
creates some fields and sets initializers
calls compilation method for each umod class definition
flushes accumulated const declarations to class code.
Assumes that the code of "error()" is volatile!protected void
UMod2java.CompileConstructors_20181214.process
(UMod.Forest model) protected void
UMod2java.CompileConstructors.process
(UMod.Forest model) static UMod.Forest
Reducer.reduce
(UMod.Forest in_forest, eu.bandm.tools.umod.absy.Document_modeltree el, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg0) protected void
UMod2java.resolveExternals
(UMod.Forest forest) <!ELEMENT extinstantiation (absoluteref, extinstantiation*) >
static UMod.Forest
Main.stream2umod
(UMod.Forest forest, InputStream str, String sourcefilename, MessageReceiver<SimpleMessage<@Opt XMLDocumentIdentifier>> msg) Main worker method, can be called from other classes.UMod2java.translate
(UMod.Forest code, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg0, String pkgname, Format generationDescription, boolean getterfunctions, boolean setterfunctions, boolean make_patterns, boolean saxgen, boolean swingtreegen, boolean visitordebug, boolean visitoroptimize, boolean visitorcompile, boolean allrewriterwarnings, boolean monolithic, boolean floatNotDouble, boolean constructorsPre20181214) Main class for translating a UMod model into Java source code.void
UMod2Tsoap.translate
(String parsername, String writername, UMod.Forest model0, GeneratedContext context, MetaClass basevisitor, boolean visitoroptimize, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg0) void
UMod2Html.writeToFile
(UMod.Forest forest, String dateAndTime, int linewidth, boolean monolithic, File outputDir, String fname) ModifierConstructorDescriptionCompiler
(UMod.Forest umod0, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) Derived consructor which additionally only sets the current umod model.HtmlDocText
(UMod.Forest model) JavaMapper
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, UMod.Forest model, boolean floatNotDouble) (package private)
UMod2visitors
(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg_, GeneratedContext context_, GeneratedClass modelclass_, UMod.Forest model_, boolean visitordebug_, boolean visitoroptimize_, boolean visitorcompile_, boolean allrewriterwarnings_) Only constructor, sets all constant configuration values.