|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is a Token sub class to track line information
Field Summary | |
---|---|
int |
col
|
int |
colLast
|
int |
line
|
int |
lineLast
|
String |
text
|
Constructor Summary | |
GroovySourceToken(int t)
Constructor using a token type |
Method Summary | |
---|---|
int |
getColumn()
|
int |
getColumnLast()
|
int |
getLine()
|
int |
getLineLast()
|
String |
getText()
get the source token text |
void |
setColumn(int c)
|
void |
setColumnLast(int colLast)
|
void |
setLine(int l)
|
void |
setLineLast(int lineLast)
|
void |
setText(String s)
set the source token text |
String |
toString()
|
Constructor Detail |
---|
public GroovySourceToken(int t)
Method Detail |
---|
public int getColumn()
public int getColumnLast()
public int getLine()
public int getLineLast()
public String getText()
public void setColumn(int c)
public void setColumnLast(int colLast)
public void setLine(int l)
public void setLineLast(int lineLast)
public void setText(String s)
public String toString()