|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.caja.lexer.JsLexer.WordClassifier
static class JsLexer.WordClassifier
Field Summary | |
---|---|
private TokenStream<JsTokenType> |
stream
|
Constructor Summary | |
---|---|
JsLexer.WordClassifier(TokenStream<JsTokenType> stream)
|
Method Summary | |
---|---|
boolean |
hasNext()
True if TokenStream.next() is safe to call. |
Token<JsTokenType> |
next()
Returns the next value, and moves the stream position forward. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private TokenStream<JsTokenType> stream
Constructor Detail |
---|
public JsLexer.WordClassifier(TokenStream<JsTokenType> stream)
Method Detail |
---|
public boolean hasNext() throws ParseException
TokenStream
TokenStream.next()
is safe to call.
hasNext
in interface TokenStream<JsTokenType>
ParseException
public Token<JsTokenType> next() throws ParseException
TokenStream
next
in interface TokenStream<JsTokenType>
ParseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |