|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.template.TypeMap
public class TypeMap
| Constructor Summary | |
|---|---|
TypeMap()
|
|
| Method Summary | |
|---|---|
FullType |
get(java.lang.String name)
Return the type associated with the given name or null if it doesn't exist. |
void |
put(java.lang.String name,
FullType fullType,
Template template,
SourceRange sourceRange)
Associate the given type with the given name within this ObjectContext. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeMap()
| Method Detail |
|---|
public FullType get(java.lang.String name)
name - name of the type to retrieve
public void put(java.lang.String name,
FullType fullType,
Template template,
SourceRange sourceRange)
throws EvaluationException
name - name to associate to the typefullType - data type to use for the definitiontemplate - template where the type is defined (used for error handling)sourceRange - location in the template where the type is defined (used for
error handling)
EvaluationException - if there is already a type associated with the given name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||