org.eclipse.emf.codegen.jet
Class JETParser
java.lang.Object
org.eclipse.emf.codegen.jet.JETParser
- public class JETParser
- extends Object
This class and all those in this package is work derived from contributions of multiple authors as listed below.
Credit for all that is good is shared, responsibility for any problems lies solely with the latest authors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
protected JETReader reader
- The input source we read from...
listener
protected JETParseEventListener listener
- The backend that is notified of constructs recognized in the input...
writer
protected CharArrayWriter writer
coreElements
protected List coreElements
openDirective
protected String openDirective
closeDirective
protected String closeDirective
openScriptlet
protected String openScriptlet
closeScriptlet
protected String closeScriptlet
openExpr
protected String openExpr
closeExpr
protected String closeExpr
quotedStartTag
protected String quotedStartTag
quotedEndTag
protected String quotedEndTag
startTag
protected String startTag
endTag
protected String endTag
JETParser
public JETParser(JETReader reader,
JETParseEventListener parseEventListener,
JETCoreElement[] coreElements)
getReader
public JETReader getReader()
setStartTag
public void setStartTag(String tag)
setEndTag
public void setEndTag(String tag)
getOpenScriptlet
public String getOpenScriptlet()
getCloseScriptlet
public String getCloseScriptlet()
getOpenExpr
public String getOpenExpr()
getCloseExpr
public String getCloseExpr()
getOpenDirective
public String getOpenDirective()
getCloseDirective
public String getCloseDirective()
getQuotedStartTag
public String getQuotedStartTag()
getQuotedEndTag
public String getQuotedEndTag()
getStartTag
public String getStartTag()
getEndTag
public String getEndTag()
flushCharData
protected void flushCharData()
throws JETException
- Throws:
JETException
parse
public void parse()
throws JETException
- Throws:
JETException
parse
public void parse(String until)
throws JETException
- Throws:
JETException
parse
public void parse(String until,
Class[] accept)
throws JETException
- Throws:
JETException