Class ParserTokenManager
java.lang.Object
nablarch.test.tool.htmlcheck.parser.ParserTokenManager
- All Implemented Interfaces:
ParserConstants
Token Manager.
-
Field Summary
Modifier and TypeFieldDescriptionprotected char
Debug output.protected SimpleCharStream
static final int[]
Lex State array.static final String[]
Token literal values.static final String[]
Lexer state names.Fields inherited from interface nablarch.test.tool.htmlcheck.parser.ParserConstants
CHAR_WITHOUT_DQUOT, CHAR_WITHOUT_QUOT, DEFAULT, DIGIT, DOCTYPE, EOF, HEXDIGIT, HEXINT, HEXNUM, IN_COMMENT, INT, LCLETTER, LINE_TERMINATOR, PCDATA, STRING, tokenImage, WHITE_SPACE, WORD, WS
-
Constructor Summary
ConstructorDescriptionParserTokenManager
(SimpleCharStream stream) Constructor.ParserTokenManager
(SimpleCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the next Token.protected Token
void
ReInit
(SimpleCharStream stream) Reinitialise parser.void
ReInit
(SimpleCharStream stream, int lexState) Reinitialise parser.void
Set debug output.void
SwitchTo
(int lexState) Switch to specified lex state.
-
Field Details
-
debugStream
Debug output. -
jjstrLiteralImages
Token literal values. -
lexStateNames
Lexer state names. -
jjnewLexState
public static final int[] jjnewLexStateLex State array. -
input_stream
-
curChar
protected char curChar
-
-
Constructor Details
-
ParserTokenManager
Constructor. -
ParserTokenManager
Constructor.
-
-
Method Details
-
setDebugStream
Set debug output. -
ReInit
Reinitialise parser. -
ReInit
Reinitialise parser. -
SwitchTo
public void SwitchTo(int lexState) Switch to specified lex state. -
jjFillToken
-
getNextToken
Get the next Token.
-