Tok
instead.public class PositionedToken
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PositionedToken(int i,
int l,
java.lang.Object tok)
Deprecated.
Create a PositionedToken object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public PositionedToken(int i, int l, java.lang.Object tok)
i
- the starting index.l
- the length of the token.tok
- the token.public int getLength()
public int getIndex()
public java.lang.Object getToken()
public java.lang.String toString()
toString
in class java.lang.Object