|
Building Parsers with Java | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--sjm.parse.tokens.TokenizerState
|
+--sjm.parse.tokens.SlashState
This state will either delegate to a comment-handling state, or return a token with just a slash in it.
| Field Summary | |
protected SlashSlashState |
slashSlashState
|
protected SlashStarState |
slashStarState
|
| Constructor Summary | |
SlashState()
|
|
| Method Summary | |
Token |
nextToken(java.io.PushbackReader r,
int theSlash,
Tokenizer t)
Either delegate to a comment-handling state, or return a token with just a slash in it. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected SlashStarState slashStarState
protected SlashSlashState slashSlashState
| Constructor Detail |
public SlashState()
| Method Detail |
public Token nextToken(java.io.PushbackReader r,
int theSlash,
Tokenizer t)
throws java.io.IOException
|
by Steve Metsker | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||