|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--ponderToolkit.compiler.semantics.objects.PonderObject
Function: Models a PonderObject. This is an abstract class.
| Field Summary | |
protected Table |
env
Fields |
protected boolean |
isType
|
protected java.lang.String |
location
|
protected java.lang.String |
name
|
protected PonderObject |
parent
|
protected TokenPosition |
pos
|
| Constructor Summary | |
PonderObject()
Constructor which builds a PonderObject with no associated environment |
|
PonderObject(Table newEnv)
Constructor which accepts an environment only |
|
PonderObject(Table newEnv,
PonderObject newParent,
TokenPosition newPos)
Constructor which accepts an environment, the parent PonderObject and the TokenPosition for this PonderObject |
|
| Method Summary | |
Table |
getEnv()
Returns the Environment of the Ponder Object |
boolean |
getIsType()
Returns true if the PonderObject is a Type. |
java.lang.String |
getLocation()
Returns the location (domain path) of the Ponder Object |
java.lang.String |
getName()
Returns the Name of the Ponder Object |
PonderObject |
getParent()
Returns the parent of the Ponder Object |
TokenPosition |
getPosition()
Returns the TokenPosition of the Ponder Object |
java.lang.String |
getSourceText()
Returns the SourceText of the Ponder Object |
void |
setEnv(Table newEnv)
Sets the Environment of the Ponder Object |
void |
setIsType(boolean newIsType)
Sets the isType attribute of the Ponder Object |
void |
setLocation(java.lang.String newLocation)
Sets the location (domain path) of the Ponder Object |
void |
setName(java.lang.String newName)
Sets the Name of the Ponder Object |
void |
setParent(PonderObject newParent)
Sets the parent of the Ponder Object |
void |
setPosition(TokenPosition newPos)
Sets the TokenPosition of the Ponder Object |
void |
setSourceText(java.lang.String newSourceText)
Sets the SourceText of the Ponder Object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Table env
protected java.lang.String name
protected boolean isType
protected PonderObject parent
protected TokenPosition pos
protected java.lang.String location
| Constructor Detail |
public PonderObject(Table newEnv,
PonderObject newParent,
TokenPosition newPos)
public PonderObject(Table newEnv)
public PonderObject()
| Method Detail |
public void setName(java.lang.String newName)
public java.lang.String getName()
public void setEnv(Table newEnv)
public Table getEnv()
public void setParent(PonderObject newParent)
public PonderObject getParent()
public void setPosition(TokenPosition newPos)
public TokenPosition getPosition()
public void setLocation(java.lang.String newLocation)
public java.lang.String getLocation()
public void setIsType(boolean newIsType)
public boolean getIsType()
public void setSourceText(java.lang.String newSourceText)
public java.lang.String getSourceText()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||