Package | Description |
---|---|
eu.bandm.tools.formatfrontends |
Generate format generating code (or formats dynamically) controlled by the
format description language.
|
eu.bandm.tools.metajava | |
eu.bandm.tools.muli |
Support *MU*lti *LI*ngual user interfaces by advanced translation look-up,
incremental deserialization, etc.
|
eu.bandm.tools.option |
Command line parser and graphical user input generated from
one abstract description of programming options, incl data types
and multi-lingual descriptions.
|
eu.bandm.tools.umod |
Compiler for data models, from a concise mathematical oriented language into
Java.
|
Modifier and Type | Field and Description |
---|---|
protected GeneratedClass |
GenericCompiler.targetclass
class into which to generate all const field definitions.
|
Modifier and Type | Method and Description |
---|---|
GeneratedClass |
Tdom2format.compile(GeneratedPackage targetpackage,
MetaClass basevisitor,
String classname,
eu.bandm.tools.formatfrontends.absy.Element_tdomRules rules) |
Modifier and Type | Method and Description |
---|---|
void |
GenericCompiler.create_resultfield(GeneratedClass gc)
creates a field "
Format result=Format.empty; "
for formatting wisitors which
need such a temp storage (ie. |
void |
GenericCompiler.initTransformerClass(GeneratedClass gc)
Creates standard fields for the generated format generating class.
|
Modifier and Type | Class and Description |
---|---|
class |
AnonymousClass |
class |
GeneratedEnum |
class |
GeneratedEnumConstant |
Modifier and Type | Field and Description |
---|---|
protected GeneratedClass |
GeneratedMember.enclosing |
Modifier and Type | Field and Description |
---|---|
protected Map<String,GeneratedClass> |
GeneratedClass.innerClasses |
Modifier and Type | Method and Description |
---|---|
GeneratedClass |
GeneratedPackage.addClass(int modifiers,
String name) |
GeneratedClass |
GeneratedPackage.addClass(int modifiers,
String name,
Class superClass) |
GeneratedClass |
GeneratedContext.addClass(int modifiers,
String name,
MetaType superClass) |
GeneratedClass |
GeneratedSourceFile.addClass(int modifier,
String name,
MetaType baseClass) |
GeneratedClass |
GeneratedPackage.addClass(int modifiers,
String name,
MetaType superClass) |
GeneratedClass |
GeneratedClass.addClass(int modifiers,
String name,
MetaType superClass) |
GeneratedClass |
GeneratedClass.addInnerClass(int modifiers,
String name) |
GeneratedClass |
GeneratedClass.addInnerClass(int modifiers,
String name,
Class superClass) |
GeneratedClass |
GeneratedClass.addInnerClass(int modifiers,
String name,
MetaType superClass) |
GeneratedClass |
GeneratedPackage.addInterface(int modifiers,
String name,
MetaType... superIfaces) |
GeneratedClass |
GeneratedSourceFile.getClass(String name) |
GeneratedClass |
GeneratedPackage.getClass(String name) |
GeneratedClass |
GeneratedMember.getEnclosingClass() |
GeneratedClass |
GeneratedClass.getEnclosingClass() |
GeneratedClass |
GeneratedClass.getInnerClass(Iterable<? extends String> name) |
GeneratedClass |
GeneratedClass.getInnerClass(String name) |
Modifier and Type | Method and Description |
---|---|
Collection<GeneratedClass> |
GeneratedContext.getClasses() |
Collection<GeneratedClass> |
GeneratedSourceFile.getClasses() |
Collection<GeneratedClass> |
GeneratedPackage.getClasses() |
Collection<GeneratedClass> |
GeneratedClass.getClasses() |
Collection<GeneratedClass> |
GeneratedClass.getInnerClasses() |
Modifier and Type | Method and Description |
---|---|
protected void |
FormattingVisitor.action(GeneratedClass metaClass)
Deprecated.
|
protected void |
Visitor.action(GeneratedClass metaClass) |
void |
Visitor.match(GeneratedClass metaClass) |
Constructor and Description |
---|
GeneratedMember(GeneratedClass enclosing,
int modifiers,
String name) |
GeneratedProcedure(GeneratedClass enclosing,
int modifiers,
String name) |
Modifier and Type | Method and Description |
---|---|
GeneratedClass |
CatalogToJava.makeClassCode(CatalogByString data,
String classname,
GeneratedContext container,
@Opt String[] args)
Generates code for a java class derived from CatalogByString from
the current state of a Catalog.
|
Modifier and Type | Field and Description |
---|---|
protected GeneratedClass |
Compiler.guiclass
Inter-phase information transfer: the currently defined gui class.
|
protected GeneratedClass |
Compiler.modelclass
Inter-phase information transfer: the currently defined model class.
|
Modifier and Type | Field and Description |
---|---|
Map<String,GeneratedClass> |
Compiler.enumClasses |
protected Map<Element_option,GeneratedClass> |
Compiler.option2tailClass
The class generated to represent the repeting group of arguments.
|
Modifier and Type | Field and Description |
---|---|
protected GeneratedClass |
UMod2visitors.basematcher |
protected GeneratedClass |
UMod2visitors.V_compileSimpleActionMethods.basematcher |
protected GeneratedClass |
UMod2visitors.V_compileMatchCascade.basematcher |
protected GeneratedClass |
UMod2java.V_compileFieldDefs.basevisitor |
protected GeneratedClass |
UMod2java.class_term_patterns |
protected GeneratedClass |
UMod.ClassLike.compiled |
protected GeneratedClass |
UMod.ClassDef.compiled |
protected GeneratedClass |
UMod2Tsoap.dumperclass |
protected GeneratedClass |
UMod2java.V_compileVerbatimJava.modelclass |
protected GeneratedClass |
UMod2java.V_compileClassDefs.modelclass |
protected GeneratedClass |
UMod2visitors.modelclass |
protected GeneratedClass |
UMod2Tsoap.parserclass |
protected GeneratedClass |
UMod2format.targetcls |
protected GeneratedClass |
UMod2visitors.V_makeRewriterCoRewriter.visitor |
Modifier and Type | Field and Description |
---|---|
protected Map<UMod.ClassDef,GeneratedClass> |
UMod2Tsoap.classdef2parserclass |
Modifier and Type | Method and Description |
---|---|
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) |
GeneratedClass |
UMod2Tsoap.WriterGenerator.make_XMLDumper(String classname,
GeneratedContext context,
MetaClass basevisitorclass) |
protected GeneratedClass |
UMod2visitors.makeVisitorClass(GeneratedContext context,
GeneratedClass basematcher,
String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
UMod2Tsoap.ParserGenerator.collectfield(UMod.FieldDef fd,
GeneratedClass ownparserclass) |
protected void |
UMod2visitors.collectRegisters(GeneratedClass basevisitor)
The algorithm is basically as follows:
+
|
void |
UMod2visitors.V_compileSimpleActionMethods.compile(GeneratedClass bv,
UMod.Forest f) |
void |
UMod2format.Compiler.initTransformerClass(GeneratedClass gc)
A specialization of
GenericCompiler.initTransformerClass() ,
because a local field must be accesssed. |
protected void |
UMod2visitors.make_actionprepost(UMod.ClassDef cd,
GeneratedClass visitor,
UMod.ClassDef superclass) |
static void |
UMod2visitors.make_all_abstracts(GeneratedClass visitor,
int key)
Iff visitor optimization is switched on, then the base visitor is derived
from
umod.runtime.OptimizingVisitor , and this method
"makes all abstract" methods which are required by this base class. |
protected void |
UMod2visitors.make_breakLoop_method(UMod.Forest model,
GeneratedClass visitor) |
protected void |
UMod2visitors.make_dumpcode(GeneratedClass visitor,
UMod.ClassDef cd,
int keynum) |
protected void |
UMod2visitors.make_prepost(GeneratedClass visitor,
String methname,
UMod.ClassDef cd,
UMod.ClassDef superclass) |
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 |
UMod2visitors.makeCallDescend(GeneratedClass visitor,
UMod.ClassDef cd,
String methodname,
int keynum,
boolean optimizing)
Compiles the method which recursively calls "match()" on all selected
fields, either directly or by calling "descend_
The name of the generated method is "action" in the simple visitor case, or "descend" in the multiphase case. |
void |
UMod2visitors.makeSCCfields(GeneratedClass basevisitor,
MetaType maptype,
String fieldname,
String methodname) |
protected void |
UMod2java.makeswingtree(UMod.Forest forest,
GeneratedContext context,
GeneratedClass basematcher,
boolean visitoroptimize) |
protected void |
UMod2java.makeTConstructor(GeneratedClass gc,
MetaType[] args) |
protected GeneratedClass |
UMod2visitors.makeVisitorClass(GeneratedContext context,
GeneratedClass basematcher,
String name) |
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! |
Constructor and Description |
---|
V__compileSwingTree(GeneratedContext context,
GeneratedClass basematcher,
boolean visitoroptimize) |
V_compileClassDefs(boolean monolithic,
GeneratedClass modelclass) |
V_compileFieldDefs(GeneratedClass bv,
UMod2visitors vc,
boolean getterfunctions,
boolean setterfunctions,
boolean monolithic) |
V_compileMatchCascade(GeneratedClass bv) |
V_compileVerbatimJava(GeneratedClass toplevel) |
V_makeRewriterCoRewriter(int k,
GeneratedClass v,
UMod.ClassDef s,
boolean iscorew,
boolean ms) |
see also the complete user documentation .