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 JJTParserState
Current 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, tokenImage
Fields 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 void
final void
Disable tracing.final void
final void
Enable tracing.Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.final void
Image()
void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.void
Reinitialise.final void
Template()
final void
Text()
final void
ValueOf()
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.
-