|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--koala.dynamicjava.parser.wrapper.TreeToken
This class represents the token managed by the syntax tree
Constructor Summary | |
TreeToken(Token t)
Creates a new tree token |
Method Summary | |
int |
beginColumn()
Returns the column number where the beginning of the token was found in the source file |
int |
beginLine()
Returns the line number where the beginning of the token was found in the source file |
int |
endColumn()
Returns the column number where the end of the token was found in the source file |
int |
endLine()
Returns the line number where the end of the token was found in the source file |
Token |
getToken()
Returns the underlying token |
java.lang.String |
image()
Returns the representation of the identifier |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TreeToken(Token t)
t
- the parser tokenMethod Detail |
public Token getToken()
public java.lang.String image()
image
in interface IdentifierToken
public int beginLine()
beginLine
in interface IdentifierToken
public int endLine()
endLine
in interface IdentifierToken
public int beginColumn()
beginColumn
in interface IdentifierToken
public int endColumn()
endColumn
in interface IdentifierToken
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |