Package org.eclipse.birt.core.template
Class Parser
java.lang.Object
org.eclipse.birt.core.template.Parser
- All Implemented Interfaces:
ParserConstants,ParserTreeConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.protected JJTParserStateCurrent token.Generated Token Manager.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, tokenImageFields inherited from interface org.eclipse.birt.core.template.ParserTreeConstants
JJTATTRIBUTE, JJTEBODY_CONTENT, JJTIMAGE, jjtNodeName, JJTTEMPLATE, JJTTEXT, JJTVALUEOF, JJTVIEWTIMEVALUEOF -
Constructor Summary
ConstructorsConstructorDescriptionParser()Parser(InputStream stream) Constructor with InputStream.Parser(InputStream stream, String encoding) Constructor with InputStream and supplied encodingConstructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfinal voidDisable tracing.final voidfinal voidEnable tracing.Generate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final voidImage()voidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final voidTemplate()final voidText()final voidValueOf()final void
-
Field Details
-
jjtree
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
Parser
public Parser() -
Parser
Constructor with InputStream. -
Parser
Constructor with InputStream and supplied encoding -
Parser
Constructor. -
Parser
Constructor with generated Token Manager.
-
-
Method Details
-
parse
- Throws:
ParseException
-
Attribute
- Throws:
ParseException
-
Ebody_content
- Throws:
ParseException
-
Image
- Throws:
ParseException
-
ValueOf
- Throws:
ParseException
-
ViewTimeValueOf
- Throws:
ParseException
-
Text
- Throws:
ParseException
-
Template
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-