protected static class AbstractTypeAwareCheck.Token
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
columnNo
Token's column number.
|
private int |
lineNo
Token's line number.
|
private java.lang.String |
text
Token's text.
|
| Constructor and Description |
|---|
Token(FullIdent fullIdent)
Converts FullIdent to Token.
|
Token(java.lang.String text,
int lineNo,
int columnNo)
Creates token.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnNo()
Gets column number of the token.
|
int |
getLineNo()
Gets line number of the token.
|
java.lang.String |
getText()
Gets text of the token.
|
java.lang.String |
toString() |
private final int columnNo
private final int lineNo
private final java.lang.String text
public Token(java.lang.String text,
int lineNo,
int columnNo)
text - token's textlineNo - token's line numbercolumnNo - token's column numberpublic Token(FullIdent fullIdent)
fullIdent - full ident to convert.public int getLineNo()
public int getColumnNo()
public java.lang.String getText()
public java.lang.String toString()
toString in class java.lang.Object