Package | Description |
---|---|
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.umod |
Compiler for data models, from a concise mathematical oriented language into
Java.
|
Modifier and Type | Class and Description |
---|---|
class |
AnonymousClass |
class |
GeneratedClass |
class |
GeneratedEnum |
class |
GeneratedEnumConstant |
class |
GeneratedPackage |
Modifier and Type | Method and Description |
---|---|
GeneratedContext |
GeneratedContext.getParentContext() |
GeneratedContext |
GeneratedPackage.getParentContext() |
GeneratedContext |
GeneratedClass.getParentContext() |
Modifier and Type | Method and Description |
---|---|
protected void |
Visitor.action(GeneratedContext context) |
void |
Visitor.match(GeneratedContext context) |
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 GeneratedContext |
UMod2visitors.context |
protected GeneratedContext |
UMod2java.V_compileClassDefs.gencontext |
protected GeneratedContext |
UMod2java.V_compileOrdered.toplevel_context |
Modifier and Type | Method and Description |
---|---|
protected void |
UMod2java.compileEnumDef(UMod.EnumDef td,
GeneratedContext context)
An
UMod.EnumDef is a simple UMod expression which is translated to a
java enumeration type. |
protected void |
UMod2java.compileIfaceDef(UMod.IfaceDef td,
GeneratedContext context)
An UMod
INTERFACE A | B || C construct is a lean notation which is
translated into the definition of new java interfaces in the generated context
(package or class). |
protected void |
UMod2java.compilePatterns(GeneratedContext context) |
protected void |
UMod2java.compileTypeDef(UMod.TypeDef td,
GeneratedContext context)
FIXME assert that type expression is COMPLEX (not just T_reference or primitive!)
Typedefs are CURRENTLY NOT YET USED NOR TESTED !
|
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) |
void |
UMod2Tsoap.ParserGenerator.make_XMLParser(String parsername,
GeneratedContext context) |
protected void |
UMod2java.makeswingtree(UMod.Forest forest,
GeneratedContext context,
GeneratedClass basematcher,
boolean visitoroptimize) |
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! |
static int |
UMod2java.toplevelModif(GeneratedContext context)
If context is not a GeneratedClass, then it is a GeneratedPACKAGE
and "static" is not allowed!
|
void |
UMod2Tsoap.translate(String parsername,
String writername,
UMod.Forest model0,
GeneratedContext context,
MetaClass basevisitor,
boolean visitoroptimize,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg0) |
Constructor and Description |
---|
V__compileSwingTree(GeneratedContext context,
GeneratedClass basematcher,
boolean visitoroptimize) |
V_compileOrdered(GeneratedContext toplevel_context) |
see also the complete user documentation .