|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.parsec.PositionedToken
Tok instead.
public class PositionedToken
This class carries the position information of a token.
| Constructor Summary | |
|---|---|
PositionedToken(int i,
int l,
java.lang.Object tok)
Deprecated. Create a PositionedToken object. |
|
| Method Summary | |
|---|---|
int |
getIndex()
Deprecated. gets the index of the token in the orginal CharSequence. |
int |
getLength()
Deprecated. Gets the length of the token. |
java.lang.Object |
getToken()
Deprecated. gets the token. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PositionedToken(int i,
int l,
java.lang.Object tok)
i - the starting index.l - the length of the token.tok - the token.| Method Detail |
|---|
public int getLength()
public int getIndex()
public java.lang.Object getToken()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||