Package | Description |
---|---|
eu.bandm.tools.d2d2.base |
D2d allows to write valid XML documents directly in the creative flow of authoring,
with minimum typographic noise.
|
eu.bandm.tools.umod |
Compiler for data models, from a concise mathematical oriented language into
Java.
|
Modifier and Type | Field and Description |
---|---|
protected UMod.Forest |
UMod2Def.currentforest |
Modifier and Type | Method and Description |
---|---|
Module |
UMod2Def.convert(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
UMod.Forest f) |
Modifier and Type | Field and Description |
---|---|
protected UMod.Forest |
UMod2java.curforest
GLO variable for the resolution of identifiers (local or exernal)
|
protected UMod.Forest |
ReflectiveVisitor.curforest |
protected UMod.Forest |
Reducer.curforest |
protected UMod.Forest |
Types.JavaMapper.curmodel |
protected UMod.Forest |
Types.HtmlDocText.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 |
UMod2Tsoap.model |
protected UMod.Forest |
UMod2visitors.model |
UMod.Forest |
Factory.model |
protected UMod.Forest |
Checker.model |
Modifier and Type | Method and Description |
---|---|
static 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<XMLDocumentIdentifier>> msg)
Main worker method, can be called from other classes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
UMod2java.V_compileVerbatimJava.action(UMod.Forest f) |
protected void |
UMod.Visitor.action(UMod.Forest i) |
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) |
static UMod.ClassDef |
Types.getUmodClassDef(UMod.Forest f,
UMod.Type t)
NEU 20150419, MUSS ES irrngxwo schon geben !?!?!? FIXME
|
static 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 sets
|
protected 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) |
Element_pre |
UMod2Html.prettyPrint(UMod.Forest forest,
String dateAndTime)
Generates HTML output like
|
protected void |
UMod2java.CompileConstructors_20181214.process(UMod.Forest model) |
protected void |
UMod2java.CompileConstructors.process(UMod.Forest model) |
void |
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 from formatfrontends.GeneriCompiler
creates some fields and sets initializerscalls compilation method for each umod class definition flushes accumulated const declarations to class code. Assumes that the code of "error()" is volatile! |
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<XMLDocumentIdentifier>> msg)
Main worker method, can be called from other classes.
|
void |
UMod2Tsoap.translate(String parsername,
String writername,
UMod.Forest model0,
GeneratedContext context,
MetaClass basevisitor,
boolean visitoroptimize,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg0) |
GeneratedPackage |
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 allrewriterwarnings,
boolean monolithic,
boolean floatNotDouble,
boolean constructorsPre20181214)
Main class for translating a UMod model into Java source code.
|
void |
UMod2Html.writeToFile(UMod.Forest forest,
String dateAndTime,
int linewidth,
boolean monolithic,
File outputDir,
String fname) |
Constructor and Description |
---|
Compiler(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) |
ReflectiveVisitor(UMod.Forest f) |
see also the complete user documentation .