|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--antlr.Token | +--antlr.CommonToken
Untamed:
Field Summary | |
protected int |
col
|
protected int |
line
|
protected String |
text
|
Fields inherited from class antlr.Token |
badToken, EOF_TYPE, INVALID_TYPE, MIN_USER_TYPE, NULL_TREE_LOOKAHEAD, SKIP, type |
Constructor Summary | |
CommonToken()
Enabled: |
|
CommonToken(int t,
String txt)
Enabled: |
|
CommonToken(String s)
Enabled: |
Method Summary | |
int |
getColumn()
Enabled: Return token's start column |
int |
getLine()
Enabled: |
String |
getText()
Enabled: |
void |
setColumn(int c)
Enabled: |
void |
setLine(int l)
Enabled: |
void |
setText(String s)
Enabled: |
String |
toString()
Suppressed: |
Methods inherited from class antlr.Token |
getType, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int line
protected String text
protected int col
Constructor Detail |
public CommonToken()
public CommonToken(int t, String txt)
public CommonToken(String s)
Method Detail |
public int getLine()
getLine
in class Token
public String getText()
getText
in class Token
public void setLine(int l)
setLine
in class Token
public void setText(String s)
setText
in class Token
public String toString()
toString
in class Token
public int getColumn()
getColumn
in class Token
public void setColumn(int c)
setColumn
in class Token
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |