|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Type | |
|---|---|
| coursesolutions | |
| lab7 | |
| lab8 | |
| Uses of Type in coursesolutions |
|---|
| Methods in coursesolutions that return Type | |
|---|---|
Type |
CourseHierarchy.getSuperClass(Type t1)
Get the supplied type's superclass |
| Methods in coursesolutions with parameters of type Type | |
|---|---|
void |
CourseHierarchy.assertParentOf(Type a,
Type b)
Type a is the parent type of b |
Type |
CourseHierarchy.getSuperClass(Type t1)
Get the supplied type's superclass |
boolean |
CourseHierarchy.narrows(Type t1,
Type t2)
is t1 a direct or indirect subclass of t2? |
void |
CourseTypeSetVisitor.setType(java.lang.Object o,
Type t)
|
boolean |
CourseHierarchy.widens(Type t1,
Type t2)
Is t1 a direct or indirect superclass of t2? |
| Uses of Type in lab7 |
|---|
| Methods in lab7 that return Type | |
|---|---|
Type |
AbstractNode.getNodeType()
|
| Methods in lab7 with parameters of type Type | |
|---|---|
void |
AbstractNode.setNodeType(Type type)
|
| Uses of Type in lab8 |
|---|
| Subinterfaces of Type in lab8 | |
|---|---|
interface |
TypeAttrs
An interface for types, mine or yours, interchangeably. |
| Classes in lab8 that implement Type | |
|---|---|
class |
ConstructorType
|
class |
PrimType
|
class |
RefType
|
class |
TypeBridge
This class bridges the generic Type interface from the parser to actual types used in semantic analysis. |
| Methods in lab8 that return Type | |
|---|---|
Type |
InvokeReference.getClassType()
|
Type |
FieldReferencing.getResultingType()
The type of the resulting reference |
Type |
InvokeReference.getReturnType()
|
Type |
HierarchyInterface.getSuperClass(Type t1)
Return the parent of the supplied type, null if none |
Type |
TypeAsserting.getType()
|
Type |
NewIsh.getType()
|
| Methods in lab8 with parameters of type Type | |
|---|---|
void |
HierarchyInterface.assertParentOf(Type a,
Type b)
Type a is the parent type of b |
Type |
HierarchyInterface.getSuperClass(Type t1)
Return the parent of the supplied type, null if none |
boolean |
HierarchyInterface.narrows(Type t1,
Type t2)
is t1 a direct or indirect subclass of t2? |
boolean |
HierarchyInterface.widens(Type t1,
Type t2)
Is t1 a direct or indirect superclass of t2? |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||