Uses of Interface
eu.bandm.tools.metajava.GeneratedContext
Package
Description
Support *MU*lti *LI*ngual user interfaces by advanced translation look-up,
incremental deserialization, etc.
Compiler for data models, from a concise mathematical oriented language into
Java.
-
Uses of GeneratedContext in eu.bandm.tools.metajava
Modifier and TypeClassDescriptionclass
class
class
class
class
Modifier and TypeMethodDescriptionfinal GeneratedContext
GeneratedClass.getParentContext()
GeneratedContext.getParentContext()
final GeneratedContext
GeneratedPackage.getParentContext()
Modifier and TypeMethodDescriptionprotected void
Visitor.action
(GeneratedContext context) void
Visitor.match
(GeneratedContext context) -
Uses of GeneratedContext in eu.bandm.tools.muli
Modifier and TypeMethodDescriptionCatalogToJava.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. -
Uses of GeneratedContext in eu.bandm.tools.umod
Modifier and TypeFieldDescriptionprotected final GeneratedContext
UMod2visitors.context
protected GeneratedContext
UMod2java.V_compileClassDefs.gencontext
protected final GeneratedContext
UMod2java.V_compileOrdered.toplevel_context
Modifier and TypeMethodDescriptionprotected void
UMod2java.compileEnumDef
(UMod.EnumDef td, GeneratedContext context) AnUMod.EnumDef
is a simple UMod expression which is translated to a java enumeration type.protected void
UMod2java.compileIfaceDef
(UMod.IfaceDef td, GeneratedContext context) An UModINTERFACE 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) 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 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!static int
Types.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) ModifierConstructorDescription(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.V__compileSwingTree
(GeneratedContext context, GeneratedClass basematcher, boolean visitoroptimize) V_compileOrdered
(GeneratedContext toplevel_context)