com.alexmerz.simpleviz.parser
Class JJTParser

java.lang.Object
  extended by com.alexmerz.simpleviz.parser.JJTParser
All Implemented Interfaces:
JJTParserConstants, JJTParserTreeConstants

public class JJTParser
extends java.lang.Object
implements JJTParserTreeConstants, JJTParserConstants


Field Summary
 Token jj_nt
           
 boolean lookingAhead
           
 Token token
           
 JJTParserTokenManager token_source
           
 
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
 
Constructor Summary
JJTParser(java.io.InputStream stream)
           
JJTParser(java.io.InputStream stream, java.lang.String encoding)
           
JJTParser(JJTParserTokenManager tm)
           
JJTParser(java.io.Reader stream)
           
 
Method Summary
 void attrib_list()
           
 void attribute()
           
 void disable_tracing()
           
 void edge_op()
           
 void enable_tracing()
           
 ParseException generateParseException()
           
 void generic_attributes()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 void graph_attribute()
           
 void graph()
           
 java.lang.String id()
           
 void node_attribute()
           
 void node_port()
           
 void node()
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.InputStream stream, java.lang.String encoding)
           
 void ReInit(JJTParserTokenManager tm)
           
 void ReInit(java.io.Reader stream)
           
 ASTStart Start()
           
 void stmt()
           
 java.lang.String string()
           
 void subgraph()
           
 java.lang.String value()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public JJTParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt

lookingAhead

public boolean lookingAhead
Constructor Detail

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)
Method Detail

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()