|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IToken
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 |
|---|
boolean isUndefined()
trueif this token is undefinedboolean isWhitespace()
trueif this token represents a whitespaceboolean isEOF()
trueif this token represents EOFboolean isOther()
trueif this token is not undefined, not a whitespace, and not EOFObject getData()
|
Eclipse Platform Release 3.2 |
|||||||||
| 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, 2006. All rights reserved.