Uses of Class
eu.bandm.tools.metajava.GeneratedClass
Package
Description
Generate format generating code (or formats dynamically) controlled by the
format description language.
Support *MU*lti *LI*ngual user interfaces by advanced translation look-up,
incremental deserialization, etc.
Command line parser and graphical user input generated from
one abstract description of programming options, incl data types
and multi-lingual descriptions.
Generates typed models of XML documents,
see
meta-tools TDOM user documentation.
Compiler for data models, from a concise mathematical oriented language into
Java.
-
Uses of GeneratedClass in eu.bandm.tools.formatfrontends
Modifier and TypeFieldDescriptionprotected GeneratedClass
GenericCompiler.targetclass
class into which to generate all const field definitions.Modifier and TypeMethodDescriptionTdom2format.compile
(GeneratedPackage targetpackage, MetaClass basevisitor, String classname, eu.bandm.tools.formatfrontends.absy.Element_tdomRules rules) Modifier and TypeMethodDescriptionvoid
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. -
Uses of GeneratedClass in eu.bandm.tools.metajava
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeFieldDescription(package private) final Map<String,
GeneratedClass> GeneratedSourceFile.classes
protected Map<String,
GeneratedClass> GeneratedClass.innerClasses
Modifier and TypeMethodDescriptionGeneratedClass.addInnerClass
(int modifiers, String name) GeneratedClass.addInnerClass
(int modifiers, String name, MetaType superClass) GeneratedClass.addInnerClass
(int modifiers, String name, Class superClass) GeneratedPackage.addInterface
(int modifiers, String name, MetaType... superIfaces) GeneratedClass.getEnclosingClass()
GeneratedMember.getEnclosingClass()
GeneratedClass.getInnerClass
(Iterable<? extends String> name) GeneratedClass.getInnerClass
(String name) Modifier and TypeMethodDescriptionfinal Collection<GeneratedClass>
GeneratedClass.getClasses()
GeneratedContext.getClasses()
GeneratedPackage.getClasses()
GeneratedSourceFile.getClasses()
GeneratedClass.getInnerClasses()
Modifier and TypeMethodDescriptionprotected void
FormattingVisitor.action
(GeneratedClass metaClass) Deprecated.protected void
ReferenceFormat.Referrer.action
(GeneratedClass c) protected void
Visitor.action
(GeneratedClass metaClass) void
Visitor.match
(GeneratedClass metaClass) ModifierConstructorDescription(package private)
AnonymousClass
(GeneratedClass enclosingClass, MetaType superClass) (package private)
GeneratedConstructor
(GeneratedClass enclosing, int modifiers) (package private)
GeneratedField
(GeneratedClass enclosing, int modifiers, MetaType type, String name) protected
GeneratedMember
(GeneratedClass enclosing, int modifiers, String name) (package private)
GeneratedMethod
(GeneratedClass enclosing, int modifiers, MetaType returnType, String name) protected
GeneratedProcedure
(GeneratedClass enclosing, int modifiers, String name) -
Uses of GeneratedClass 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 GeneratedClass in eu.bandm.tools.option
Modifier and TypeFieldDescription(package private) GeneratedClass
Compiler.Phase_gui.class_gui
The generated class of the gui under construction.(package private) GeneratedClass
Compiler.Phase_enum.currentEnum
Class generated for the enumeration currently under visit.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.(package private) @Opt GeneratedClass
Compiler.Phase1.repetingValueClass
Currently processed repeting group, or null when on top-level.(package private) GeneratedClass
Compiler.Phase_gui.tl_class_gui
The generated class of the top level gui, existing only once.Modifier and TypeFieldDescriptionCompiler.enumClasses
protected Map<Element_option,
GeneratedClass> Compiler.option2tailClass
The class generated to represent the repeting group of arguments. -
Uses of GeneratedClass in eu.bandm.tools.tdom
Modifier and TypeFieldDescription(package private) final GeneratedClass
VisitorTemplate.baseMatcherClass
(package private) GeneratedClass
DocumentTemplate.documentClass
(package private) final GeneratedClass
DTDTemplate.dtdClass
protected GeneratedClass
DumperTemplate.dumperClass
(package private) final GeneratedClass
VisitorTemplate.matcherClass
protected GeneratedClass
NodeTemplate.nodeClass
(package private) GeneratedClass
AbstractElementTemplate.unmixedContentClass
(package private) final GeneratedClass
VisitorTemplate.visitorClass
Modifier and TypeMethodDescriptionprotected GeneratedClass
AbstractElementTemplate.generateExtendedClass()
(package private) GeneratedClass
PackageTemplate.generateExtensionClass()
(package private) GeneratedClass
PackageTemplate.getExtensionClass()
AbstractElementTemplate.getToplevelClass()
ElementTemplate.getToplevelClass()
ToplevelTemplate.getToplevelClass()
protected GeneratedClass
TypedAttrsGenerator.makeSelectedIntegersAttr
(Location<XMLDocumentIdentifier> location, @Opt GeneratedClass elementClass, DTD.AttType type, String name) Generates the class which implements an Attribute of the SelectedIntegersAttribute type.Modifier and TypeMethodDescription(package private) static void
TypedDOMGenerator.createGetterFunction
(GeneratedClass parent, int modifiers, String name, MetaType domain, MetaType range, Format body) void
VisitorTemplate.generateHostMethod
(GeneratedClass c) void
VisitorTemplate.generateIdentifyMethod
(GeneratedClass c) protected void
NodeTemplate.generateMatchWithMethod
(GeneratedClass nodeClass) protected GeneratedClass
TypedAttrsGenerator.makeSelectedIntegersAttr
(Location<XMLDocumentIdentifier> location, @Opt GeneratedClass elementClass, DTD.AttType type, String name) Generates the class which implements an Attribute of the SelectedIntegersAttribute type.protected @Opt GeneratedField
TypedAttrsGenerator.reAdjustNormalEnum
(Location<XMLDocumentIdentifier> location, String piKey, GeneratedClass attrClass, GeneratedEnum valuesEnum, DTD.AttType type, boolean hasDefaultValue, DTD.DefaultDecl defaultValue) Creates additional source code for EnumerationAttribute-s. -
Uses of GeneratedClass in eu.bandm.tools.umod
Modifier and TypeFieldDescriptionprotected GeneratedClass
UMod2visitors.basematcher
The topmost generated visitor, one per umod model.protected GeneratedClass
UMod2visitors.V_compileMatchCascade.basematcher
protected GeneratedClass
UMod2visitors.V_compileSimpleActionMethods.basematcher
protected final GeneratedClass
UMod2java.V_compileFieldDefs.basevisitor
protected GeneratedClass
UMod2java.class_term_patterns
protected GeneratedClass
UMod.ClassDef.compiled
protected GeneratedClass
UMod.ClassLike.compiled
protected GeneratedClass
UMod2Tsoap.dumperclass
(package private) GeneratedClass
UMod2java.V__compileSwingTree.forester
(package private) GeneratedClass
UMod2java.V__compileSwingTree.inner1
(package private) GeneratedClass
UMod2java.V__compileSwingTree.inner2
protected GeneratedClass
UMod2java.V_compileClassDefs.modelclass
protected GeneratedClass
UMod2java.V_compileVerbatimJava.modelclass
protected final GeneratedClass
UMod2visitors.modelclass
The main Java class representing the complete umod model.protected GeneratedClass
UMod2Tsoap.parserclass
protected GeneratedClass
UMod2format.targetcls
protected GeneratedClass
UMod2visitors.V_makeRewriterCoRewriter.visitor
Modifier and TypeFieldDescriptionprotected Map<UMod.ClassDef,
GeneratedClass> UMod2Tsoap.classdef2parserclass
Modifier and TypeMethodDescriptionprotected 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) (package private) GeneratedClass
UMod2visitors.makebasevisitor()
Make and return the common parent of all generated visitor classes.protected GeneratedClass
UMod2visitors.makeVisitorClass
(GeneratedContext context, GeneratedClass basematcher, String name) Modifier and TypeMethodDescriptionprotected void
UMod2Tsoap.ParserGenerator.collectfield
(UMod.FieldDef fd, GeneratedClass ownparserclass) void
UMod2visitors.V_compileSimpleActionMethods.compile
(GeneratedClass bv, UMod.Forest f) void
UMod2format.Compiler.initTransformerClass
(GeneratedClass gc) A specialization ofGenericCompiler.initTransformerClass()
, because a local field must be accessed.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 fromOptimizingVisitor
, 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.(package private) void
UMod2visitors.makeLRCodeDescend
(UMod.FieldDef fd, GeneratedClass visitor, int register) void
UMod2visitors.makeSCCfields
(GeneratedClass basevisitor, MetaType maptype, String fieldname, String methodname) Generates in the generated base visitor class the field and the access method for one of the "scc data transfer" items.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 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!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_compileClassDefs
(boolean monolithic, GeneratedClass modelclass) V_compileFieldDefs
(GeneratedClass bv, UMod2visitors vc, boolean getterfunctions, boolean setterfunctions, boolean monolithic) Only constructor, sets all constant configuration values.V_compileVerbatimJava
(GeneratedClass toplevel) (package private)
V_importFieldTypes
(GeneratedClass target) V_makeRewriterCoRewriter
(int k, GeneratedClass v, UMod.ClassDef s, boolean iscorew, boolean ms)