|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.pmdesigns.jvc.tools.JVCParser
public class JVCParser
Machine generated view template parser. See JVCParser.jj for actual source code (parser generated with javacc).
Field Summary | |
---|---|
int |
debugColumn
|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
JVCParserTokenManager |
token_source
Generated Token Manager. |
Fields inherited from interface com.pmdesigns.jvc.tools.JVCParserConstants |
---|
ALPHA, DEFAULT, DIGIT, END_CACHE_BLOCK, END_TAG, EOF, EOL, ESCAPED_CHAR, ID, IMPORT, IN_CODE, IN_COMMENT, IN_EXPR, IN_EXPR2, IN_LOAD, OTHER, START_CACHE_BLOCK, START_CODE_TAG, START_COMMENT_TAG, START_EXPR_TAG, START_EXPR2_TAG, START_LOAD_TAG, tokenImage, WS |
Constructor Summary | |
---|---|
JVCParser(java.io.InputStream stream)
Constructor with InputStream. |
|
JVCParser(java.io.InputStream stream,
java.lang.String encoding)
Constructor with InputStream and supplied encoding |
|
JVCParser(JVCParserTokenManager tm)
Constructor with generated Token Manager. |
|
JVCParser(java.io.Reader stream)
Constructor. |
|
JVCParser(java.lang.String path,
java.util.Set<java.lang.String> imports)
Constructor. |
|
JVCParser(java.lang.String path,
java.util.Set<java.lang.String> imports,
boolean debug)
|
Method Summary | |
---|---|
void |
disable_tracing()
Disable tracing. |
void |
enable_tracing()
Enable tracing. |
ParseException |
generateParseException()
Generate ParseException. |
Token |
getNextToken()
Get the next Token. |
Token |
getToken(int index)
Get the specific Token. |
static void |
main(java.lang.String[] args)
Entry point for stand alone testing. |
java.lang.String |
parse()
Root production. |
void |
ReInit(java.io.InputStream stream)
Reinitialise. |
void |
ReInit(java.io.InputStream stream,
java.lang.String encoding)
Reinitialise. |
void |
ReInit(JVCParserTokenManager tm)
Reinitialise. |
void |
ReInit(java.io.Reader stream)
Reinitialise. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int debugColumn
public JVCParserTokenManager token_source
public Token token
public Token jj_nt
Constructor Detail |
---|
public JVCParser(java.lang.String path, java.util.Set<java.lang.String> imports) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public JVCParser(java.lang.String path, java.util.Set<java.lang.String> imports, boolean debug) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public JVCParser(java.io.InputStream stream)
public JVCParser(java.io.InputStream stream, java.lang.String encoding)
public JVCParser(java.io.Reader stream)
public JVCParser(JVCParserTokenManager tm)
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.FileNotFoundException, ParseException
java.io.FileNotFoundException
ParseException
public final java.lang.String parse() throws ParseException, ParseException, java.io.FileNotFoundException
ParseException
java.io.FileNotFoundException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.InputStream stream, java.lang.String encoding)
public void ReInit(java.io.Reader stream)
public void ReInit(JVCParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |