Package org.eclipse.birt.core.template
Class ParserTokenManager
java.lang.Object
org.eclipse.birt.core.template.ParserTokenManager
- All Implemented Interfaces:
ParserConstants
Token Manager.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected charDebug output.protected SimpleCharStreamstatic final int[]Lex State array.static final String[]Token literal values.static final String[]Lexer state names.Fields inherited from interface org.eclipse.birt.core.template.ParserConstants
A_EQ, A_NAME, ALPHA, ALPHANUM, ATTLIST, ATTRVAL, CDATA, DEFAULT, ELEMENTC, END_IMAGE, END_VALUEOF, END_VIEWTIMEVALUEOF, EOF, NUM, START_IMAGE, START_VALUEOF, START_VIEWTIMEVALUEOF, TAGC, TEXT, tokenImage -
Constructor Summary
ConstructorsConstructorDescriptionParserTokenManager(SimpleCharStream stream) Constructor.ParserTokenManager(SimpleCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the next Token.protected TokenvoidReInit(SimpleCharStream stream) Reinitialise parser.voidReInit(SimpleCharStream stream, int lexState) Reinitialise parser.voidSet debug output.voidSwitchTo(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.
-