|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norecess.citkit.tir.lvalues.FieldTIR
public class FieldTIR
The AST for a field. This is used in the
RecordType class to represent the
fields of the record.
| Constructor Summary | |
|---|---|
FieldTIR(IPosition position,
java.lang.String name,
java.lang.String type)
Constructs a new field. |
|
FieldTIR(java.lang.String name,
java.lang.String type)
Basic constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getDeclaredType()
Returns the type of the field as declared in the code. |
java.lang.String |
getName()
Returns the name of the field. |
IPosition |
getPosition()
Retrieves the position of the code that generated the AST. |
ISymbol |
getSymbol()
Returns the name of the field as a symbol. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FieldTIR(IPosition position,
java.lang.String name,
java.lang.String type)
position - the position of the field in the source code.name - the name of the field.type - the data type of the field.
public FieldTIR(java.lang.String name,
java.lang.String type)
name - the name of the field.type - the type of the field.| Method Detail |
|---|
public java.lang.String getName()
getName in interface IFieldTIRpublic ISymbol getSymbol()
getSymbol in interface IFieldTIRpublic java.lang.String getDeclaredType()
getDeclaredType in interface IFieldTIRpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic IPosition getPosition()
getPosition in interface HobbesTIR
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||