|
Eclipse Platform Release 3.1 |
|||||||||||
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()
true
if this token is undefinedpublic boolean isWhitespace()
true
if this token represents a whitespacepublic boolean isEOF()
true
if this token represents EOFpublic boolean isOther()
true
if this token is not undefined, not a whitespace, and not EOFpublic Object getData()
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.