|
||||||||||
| 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.QuoteState
A quoteState returns a quoted string token from a reader.
This state will collect characters until it sees a match
to the character that the tokenizer used to switch to
this state. For example, if a tokenizer uses a double-
quote character to enter this state, then
nextToken() will search for another double-quote
until it finds one or finds the end of the reader.
| Field Summary | |
protected char[] |
charbuf
|
| Constructor Summary | |
QuoteState()
|
|
| Method Summary | |
protected void |
checkBufLength(int i)
|
Token |
nextToken(java.io.PushbackReader r,
int cin,
Tokenizer t)
Return a quoted string token from a reader. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected char[] charbuf
| Constructor Detail |
public QuoteState()
| Method Detail |
protected void checkBufLength(int i)
public Token nextToken(java.io.PushbackReader r,
int cin,
Tokenizer t)
throws java.io.IOException
nextToken in class TokenizerState
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||