|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Token
An input token (a lexical symbol in the input stream).
|
This code may be used freely by yourself with the following restrictions:
|
| Method Summary | |
|---|---|
String |
lexeme()
Returns the input string that matched the token specification. |
boolean |
match(String input,
int offset)
Returns true if the sequence at the indicated offset from the beginning of the indicated input string matches the current token. |
| Method Detail |
|---|
boolean match(String input,
int offset)
String lexeme()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||