com.alexmerz.simpleviz.parser
Class JJTParser
java.lang.Object
com.alexmerz.simpleviz.parser.JJTParser
- All Implemented Interfaces:
- JJTParserConstants, JJTParserTreeConstants
public class JJTParser
- extends java.lang.Object
- implements JJTParserTreeConstants, JJTParserConstants
Fields inherited from interface com.alexmerz.simpleviz.parser.JJTParserTreeConstants |
JJTATTRIBUTE, JJTATTRIBUTELIST, JJTEDGE, JJTGENERICATTRIBUTELIST, JJTGRAPH, JJTNODE, JJTNODEATTRIBUTE, jjtNodeName, JJTNODEPORT, JJTSTART, JJTSUBGRAPH, JJTVOID |
Fields inherited from interface com.alexmerz.simpleviz.parser.JJTParserConstants |
COMMA, DEFAULT, DIGRAPH, DIRECTED_EDGE, DOUBLE, EDGE, EOF, EQUAL, GRAPH, ID, LBRACE, LBRACKET, NODE, NUMBER, RBRACE, RBRACKET, SEMI, STRICT, STRING, SUBGRAPH, tokenImage, UNDIRECTED_EDGE |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public JJTParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
JJTParser
public JJTParser(java.io.InputStream stream)
JJTParser
public JJTParser(java.io.InputStream stream,
java.lang.String encoding)
JJTParser
public JJTParser(java.io.Reader stream)
JJTParser
public JJTParser(JJTParserTokenManager tm)
Start
public final ASTStart Start()
throws ParseException
- Throws:
ParseException
graph
public final void graph()
throws ParseException
- Throws:
ParseException
stmt
public final void stmt()
throws ParseException
- Throws:
ParseException
node_attribute
public final void node_attribute()
throws ParseException
- Throws:
ParseException
generic_attributes
public final void generic_attributes()
throws ParseException
- Throws:
ParseException
graph_attribute
public final void graph_attribute()
throws ParseException
- Throws:
ParseException
edge_op
public final void edge_op()
throws ParseException
- Throws:
ParseException
node_port
public final void node_port()
throws ParseException
- Throws:
ParseException
node
public final void node()
throws ParseException
- Throws:
ParseException
subgraph
public final void subgraph()
throws ParseException
- Throws:
ParseException
attrib_list
public final void attrib_list()
throws ParseException
- Throws:
ParseException
attribute
public final void attribute()
throws ParseException
- Throws:
ParseException
value
public final java.lang.String value()
throws ParseException
- Throws:
ParseException
string
public final java.lang.String string()
throws ParseException
- Throws:
ParseException
id
public final java.lang.String id()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.InputStream stream,
java.lang.String encoding)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(JJTParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()