|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectitec.minicompiler.Token
itec.minicompiler.IdentToken
The IdentToken
implements an identifier found in the source code.
It contains the value of the identifier (it's character sequence) together with
the the kind.
Field Summary | |
private java.lang.String |
value
The value of the IdentToken |
Fields inherited from class itec.minicompiler.Token |
|
Constructor Summary | |
IdentToken(int k,
java.lang.String v)
Initialize the IdentToken with a kind k and
a value v . |
Method Summary | |
java.lang.String |
getValue()
Return the value of the actual IdentToken . |
void |
setValue(java.lang.String v)
Set the value of the actual IdentToken . |
java.lang.String |
toString()
Generate a String-representation of the IdentToken . |
Methods inherited from class itec.minicompiler.Token |
getKind, setKind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String value
IdentToken
Constructor Detail |
public IdentToken(int k, java.lang.String v)
IdentToken
with a kind k
and
a value v
.
k
- The kind of the IdentToken
v
- The value of the represented identifierMethod Detail |
public java.lang.String getValue()
IdentToken
.
public void setValue(java.lang.String v)
IdentToken
.
v
- The new value of the IdentToken
public java.lang.String toString()
IdentToken
.
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |