Package | Description |
---|---|
eu.bandm.tools.umod |
Compiler for data models, from a concise mathematical oriented language into
Java.
|
Modifier and Type | Class and Description |
---|---|
static class |
UMod.T_2 |
static class |
UMod.T_bool |
static class |
UMod.T_char |
static class |
UMod.T_copair |
static class |
UMod.T_dsum |
static class |
UMod.T_float |
static class |
UMod.T_int |
static class |
UMod.T_map |
static class |
UMod.T_opt |
static class |
UMod.T_pair |
static class |
UMod.T_power |
static class |
UMod.T_reference |
static class |
UMod.T_rel |
static class |
UMod.T_seq |
static class |
UMod.T_string |
static class |
UMod.TypeBasic |
static class |
UMod.TypeConstructed |
static class |
UMod.TypePrime |
Modifier and Type | Field and Description |
---|---|
protected UMod.Type |
UMod2format.Compiler.curtype
The aggregate type, if current "modelname" is a Mapoid, else the
type of the current model (even if it is an item of a Listoid).
|
protected UMod.Type |
UMod.TypeConstructed.from |
protected UMod.Type |
UMod.T_2.into |
protected UMod.Type |
UMod2format.Compiler.subtypefound
set by
UMod2format.Compiler.visit(Element_ref) and read only by
#Subformat.visit(Elemetn_child and visit(Element_switch) |
protected UMod.Type |
UMod.ClassLike.type |
protected UMod.Type |
UMod.FieldDef.type |
protected UMod.Type |
Reducer.typeresult |
Modifier and Type | Field and Description |
---|---|
protected List<UMod.Type> |
UMod.T_dsum.combined |
static Map<String,UMod.Type> |
Reducer.predefinedTypes |
Modifier and Type | Method and Description |
---|---|
UMod.Type |
UMod.TypeConstructed.get_from() |
UMod.Type |
UMod.T_2.get_into() |
UMod.Type |
UMod.FieldDef.get_type() |
static UMod.Type |
Types.nonOpt(UMod.Type t)
Strips off all top-level "OPT" operators, delivering the highest non-opt
part of type expression.
|
Modifier and Type | Method and Description |
---|---|
List<UMod.Type> |
UMod.T_dsum.get_combined() |
Modifier and Type | Method and Description |
---|---|
protected void |
UMod.Visitor.action(UMod.Type i) |
protected void |
UMod.Printer.action(UMod.Type i) |
protected void |
UMod2java.V_importFieldTypes.add(UMod.Type t) |
UMod.FieldDef |
Factory.addFieldDef(UMod.ClassDef cls,
String name,
UMod.Type fieldType,
@Opt Location<XMLDocumentIdentifier> loc,
@Opt String doc)
Add a field definition to a class definition.
|
String |
Types.HtmlDocText.convert(UMod.Type t) |
static boolean |
Types.defaultIsEmptyCollection(UMod.Type t)
Indicates if type is a collection (set, seq or map).
|
protected boolean |
Types.JavaMapper.erroroccured(UMod.Type t) |
static UMod.ClassDef |
Types.getUmodClassDef(UMod.Forest f,
UMod.Type t)
NEU 20150419, MUSS ES irrngxwo schon geben !?!?!? FIXME
|
static boolean |
Types.hasCanonicalOrder(UMod.Type t,
UMod.Forest f,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
For basic types a canonical order is always defined;
for internal defs depends on generated code;
for external types ask the environment.
|
static boolean |
Types.hasVariableLength(UMod.Type t)
Indicates if type is a map, multimap, list or a set
|
static Format |
Types.implementationFlagFormat(UMod.Type t,
UMod.Forest f,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
selects between tree and hash implementations for maps and sets
|
static boolean |
Types.isBasic(UMod.Type t)
Indicates if type is a basic type (umod int, float, string, char or bool).
|
static boolean |
Types.isEnumSetType(UMod.Type t) |
static boolean |
Types.isExternalReferenceType(UMod.Type t)
AFTER JavaMapper HAS MATCHED:
indicates whether type is an imported, external class reference
|
static boolean |
Types.isListoid(UMod.Type t)
Indicates if type is a list or a set
|
static boolean |
Types.isMapoid(UMod.Type t)
Indicates if type is a map or a multi-map
|
static boolean |
Types.isOpt(UMod.Type t)
Indicates if there is a top-level "OPT" operator.
|
static boolean |
Types.isPrimitive(UMod.Type t)
AFTER JavaMapper HAS MATCHED:
indicates whether type is a primitive scalar java type.
|
static boolean |
Types.isTypedefReferenceType(UMod.Type t)
AFTER JavaMapper HAS MATCHED:
indicates whether type is a typedef reference
|
static UMod.Type |
Types.nonOpt(UMod.Type t)
Strips off all top-level "OPT" operators, delivering the highest non-opt
part of type expression.
|
protected String |
Types.HtmlDocText.optText(UMod.Type t) |
protected void |
UMod2visitors.V_makeDescend.setOrList(UMod.Type t) |
Modifier and Type | Method and Description |
---|---|
protected void |
UMod2java.V_compileFieldDefs.makePrefixMultipleContainsKey(String fieldname,
List<UMod.Type> types) |
protected void |
UMod2java.V_compileFieldDefs.makePrefixMultiplePut(String fieldname,
List<UMod.Type> types,
boolean topIsOpt,
boolean lastIsListoid,
boolean lastIsMultimap)
For a field declaration ...
|
Constructor and Description |
---|
T_2(UMod.Type f,
UMod.Type g) |
T_copair(UMod.Type f,
UMod.Type g) |
T_dsum(UMod.Type... c) |
T_map(UMod.Type f,
UMod.Type g) |
T_opt(UMod.Type f) |
T_pair(UMod.Type f,
UMod.Type g) |
T_power(UMod.Type f) |
T_rel(UMod.Type f,
UMod.Type g) |
T_seq(UMod.Type f) |
TypeConstructed(UMod.Type f) |
Constructor and Description |
---|
T_dsum(List<UMod.Type> t) |
see also the complete user documentation .