|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectkoala.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 token| Method Detail |
public Token getToken()
public java.lang.String image()
image in interface IdentifierTokenpublic int beginLine()
beginLine in interface IdentifierTokenpublic int endLine()
endLine in interface IdentifierTokenpublic int beginColumn()
beginColumn in interface IdentifierTokenpublic int endColumn()
endColumn in interface IdentifierToken
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||