HTMLParserConstants
public class HTMLParserTokenManager extends Object implements HTMLParserConstants
Modifier and Type | Field | Description |
---|---|---|
protected char |
curChar |
|
PrintStream |
debugStream |
Debug output.
|
protected SimpleCharStream |
input_stream |
|
static int[] |
jjnewLexState |
Lex State array.
|
static String[] |
jjstrLiteralImages |
Token literal values.
|
static String[] |
lexStateNames |
Lexer state names.
|
AfterEquals, ArgEquals, ArgName, ArgQuote1, ArgQuote2, ArgValue, CloseQuote1, CloseQuote2, Comment1, Comment2, CommentEnd1, CommentEnd2, CommentText1, CommentText2, DeclName, DEFAULT, Entity, EOF, HEX, LET, NUM, Punct, Quote1Text, Quote2Text, ScriptEnd, ScriptStart, ScriptText, SP, Space, TagEnd, TagName, tokenImage, WithinComment1, WithinComment2, WithinQuote1, WithinQuote2, WithinScript, WithinTag, Word
Constructor | Description |
---|---|
HTMLParserTokenManager(SimpleCharStream stream) |
Constructor.
|
HTMLParserTokenManager(SimpleCharStream stream,
int lexState) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
Token |
getNextToken() |
Get the next Token.
|
protected Token |
jjFillToken() |
|
void |
ReInit(SimpleCharStream stream) |
Reinitialise parser.
|
void |
ReInit(SimpleCharStream stream,
int lexState) |
Reinitialise parser.
|
void |
setDebugStream(PrintStream ds) |
Set debug output.
|
void |
SwitchTo(int lexState) |
Switch to specified lex state.
|
public PrintStream debugStream
public static final String[] jjstrLiteralImages
public static final String[] lexStateNames
public static final int[] jjnewLexState
protected SimpleCharStream input_stream
protected char curChar
public HTMLParserTokenManager(SimpleCharStream stream)
public HTMLParserTokenManager(SimpleCharStream stream, int lexState)
public void setDebugStream(PrintStream ds)
public void ReInit(SimpleCharStream stream)
public void ReInit(SimpleCharStream stream, int lexState)
public void SwitchTo(int lexState)
protected Token jjFillToken()
public Token getNextToken()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.