Package eu.bandm.tools.formattext
The overall architecture is
+-----------------+ +----------------+
|CommonCodeGenerator | CustomCodeGener|
+-----------------+ +----------------+
/_\ /_\
| | -------+
| --- | --------+|
+-----------------+ +----------------+|
| (CodeGenerator)| | |
+-----------------+ +----------------+
(=invisible) (=outside this package)
The "parser" phase translates small entities of source text into a
Model.Expr each.
The "code generator" phase translates those models into formats, which
contain the Java source text to build these formats at runtime.
The top-level code of the code generation (which outside this package, on custom level) must arrange those code fragments into dedicated methods of a format generating class (FGC). To fill an FGC is the main target of this package. Each FGC must provide the correct execution environment (methods and fields) so that the code fragments can execute.
An FGC msut be provided by the caller as an instance of
GeneratedClass; filling it with code
is the raison d'ĂȘtre of this package.
-
ClassDescriptionServices to be called by the custom code generator for the generic cases of Java code generation.Specifies the methods which are implemented by the common parser to be called-back by the custom parser.Specifies the methods which must be implemented by a custom code generator to be called-back by the common code generator.Specifies the methods which must be implemented by a custom parser to be called-back by the common parser.The lexer which accepts the terminal symbols which are common to all application cases.Umod main model class: This is a model for the format frontend language.Ancillary class providing Paisley compound patterns.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.(Ancillary class as basis for all visitors).Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Visitor generated by umod according to field selection #1.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Visitor generated by umod according to field selection #0.Generated by umod; model author's documentation MISSING.Application to translate a format description for elements of a tdom model into format-generating code.The token types generated by the
Lexer.