|
Eclipse Platform Release 3.4 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A token to be returned by a rule.
| Method Summary | |
Object |
getData()
Return a data attached to this token. |
boolean |
isEOF()
Return whether this token represents End Of File. |
boolean |
isOther()
Return whether this token is neither undefined, nor whitespace, nor EOF. |
boolean |
isUndefined()
Return whether this token is undefined. |
boolean |
isWhitespace()
Return whether this token represents a whitespace. |
| Method Detail |
public boolean isUndefined()
trueif this token is undefinedpublic boolean isWhitespace()
trueif this token represents a whitespacepublic boolean isEOF()
trueif this token represents EOFpublic boolean isOther()
trueif this token is not undefined, not a whitespace, and not EOFpublic Object getData()
|
Eclipse Platform Release 3.4 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.