|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object scale.alias.steensgaard.AliasType scale.alias.shapirohorowitz.ValueTypeCat
public class ValueTypeCat
A class which implements the non-standard type describing values.
$Id: ValueTypeCat.java,v 1.10 2005-06-15 04:17:05 asmith Exp $
Copyright 2008 by the
Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.
In Steensgaard's paper, he refers to this as alpha types. A ValueType contains a location (tau) and function (lamda) type.
LocationTypeCat
,
FunctionTypeCat
Field Summary |
---|
Fields inherited from class scale.alias.steensgaard.AliasType |
---|
BOT |
Constructor Summary | |
---|---|
ValueTypeCat(int categories)
Create a new value type. |
|
ValueTypeCat(Vector<ECR> l,
Vector<ECR> f)
Create a value type with a given location and function type. |
Method Summary | |
---|---|
void |
cleanup()
Remove any un-needed stuff after analysis has been performed. |
ECR |
getFunction(int index)
Return the function type of the value. |
Vector<ECR> |
getFunctions()
return the function vector |
ECR |
getLocation(int index)
Return the location type of the value. |
Vector<ECR> |
getLocations()
return the location vector |
java.lang.String |
toStringSpecial()
Return a string representing of a value type. |
Methods inherited from class scale.alias.steensgaard.AliasType |
---|
getNodeID, pointsTo, pointsToSize, toString, toStringClass, toStringShort, unify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValueTypeCat(int categories)
public ValueTypeCat(Vector<ECR> l, Vector<ECR> f)
l
- the ECR representing the location type.f
- the ECR representing the function type.Method Detail |
---|
public final ECR getLocation(int index)
public final ECR getFunction(int index)
public Vector<ECR> getLocations()
public Vector<ECR> getFunctions()
public java.lang.String toStringSpecial()
toStringSpecial
in class AliasType
public void cleanup()
cleanup
in class AliasType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |