antlr
public class CommonToken extends Token
| Field Summary | |
|---|---|
| protected int | col |
| protected int | line |
| protected String | text |
| Constructor Summary | |
|---|---|
| CommonToken() | |
| CommonToken(int t, String txt) | |
| CommonToken(String s) | |
| Method Summary | |
|---|---|
| int | getColumn() Return token's start column |
| int | getLine() |
| String | getText() |
| void | setColumn(int c) |
| void | setLine(int l) |
| void | setText(String s) |
| String | toString() |