public static class Types.JavaMapper extends UMod.Visitor
+--------------+
| Umod.Type |
+--------------+
| javaDecl:MetaClass for generating all decl.s of java instances of this type.
== null only if type resolution FAILED!
| javaImpl:MetaClass for calling a constructor for this type.
+--------------+
+--------------+
|Umod.TypeBasic|
+--------------+
| boxed:MetaClass if javaDecl=javaImpl=(some prime, scalar class)
then this field is !=null and
| contains the boxed class.
+--------------+
+--------------+
| Umod.T_reference
+--------------+
| isExternal:boolean iff the reference is to an ExtDeclaration
+--------------+
| Modifier and Type | Class and Description |
|---|---|
protected class |
Types.JavaMapper.GiveName |
| Modifier and Type | Field and Description |
|---|---|
protected UMod.Forest |
curmodel |
protected boolean |
floatNotDouble |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
msg |
result| Constructor and Description |
|---|
JavaMapper(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg,
UMod.Forest model,
boolean floatNotDouble) |
| Modifier and Type | Method and Description |
|---|---|
void |
action(UMod.T_bool t) |
void |
action(UMod.T_char t) |
void |
action(UMod.T_copair t) |
void |
action(UMod.T_dsum t) |
void |
action(UMod.T_float t) |
void |
action(UMod.T_int t) |
void |
action(UMod.T_map t) |
void |
action(UMod.T_opt t) |
void |
action(UMod.T_pair t) |
void |
action(UMod.T_power t) |
void |
action(UMod.T_reference t) |
void |
action(UMod.T_rel t) |
void |
action(UMod.T_seq t) |
void |
action(UMod.T_string t) |
protected void |
ERROR(Location<XMLDocumentIdentifier> loc,
String txt) |
protected boolean |
erroroccured(UMod.Type t) |
protected boolean |
resolveboth(UMod.T_2 t) |
protected void |
simple(UMod.TypeBasic t,
EnvironmentClass scalar,
EnvironmentClass boxed) |
protected void |
WARNING(Location<XMLDocumentIdentifier> loc,
String txt) |
protected UMod.Forest curmodel
protected boolean floatNotDouble
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg
public JavaMapper(MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg, UMod.Forest model, boolean floatNotDouble)
protected boolean erroroccured(UMod.Type t)
protected boolean resolveboth(UMod.T_2 t)
protected void WARNING(Location<XMLDocumentIdentifier> loc, String txt)
protected void ERROR(Location<XMLDocumentIdentifier> loc, String txt)
public void action(UMod.T_reference t)
action in class UMod.Visitorprotected void simple(UMod.TypeBasic t, EnvironmentClass scalar, EnvironmentClass boxed)
public void action(UMod.T_int t)
action in class UMod.Visitorpublic void action(UMod.T_float t)
action in class UMod.Visitorpublic void action(UMod.T_char t)
action in class UMod.Visitorpublic void action(UMod.T_string t)
action in class UMod.Visitorpublic void action(UMod.T_bool t)
action in class UMod.Visitorpublic void action(UMod.T_opt t)
action in class UMod.Visitorpublic void action(UMod.T_seq t)
action in class UMod.Visitorpublic void action(UMod.T_power t)
action in class UMod.Visitorpublic void action(UMod.T_map t)
action in class UMod.Visitorpublic void action(UMod.T_rel t)
action in class UMod.Visitorpublic void action(UMod.T_pair t)
action in class UMod.Visitorpublic void action(UMod.T_copair t)
action in class UMod.Visitorpublic void action(UMod.T_dsum t)
action in class UMod.Visitorsee also the complete user documentation .