org.wilmascope.dotparser
Class DotParser

java.lang.Object
  extended by org.wilmascope.dotparser.DotParser
All Implemented Interfaces:
DotParserConstants

public class DotParser
extends java.lang.Object
implements DotParserConstants


Field Summary
static Token jj_nt
           
static Token token
           
static DotParserTokenManager token_source
           
 
Fields inherited from interface org.wilmascope.dotparser.DotParserConstants
BB, CONCENTRATE, CTLSTRING, DEC, DEFAULT, DIGRAPH, EOF, FORMAL_COMMENT, GRAPH, HEIGHT, ID, IGNOREPARAMETERS, LABEL, LAYER, LAYERS, MINLEN, MULTI_LINE_COMMENT, NODE, NODEPARAMETERS, NUM, POS, RATIO, SHAPE, SINGLE_LINE_COMMENT, tokenImage, WEIGHT, WIDTH
 
Constructor Summary
DotParser(DotParserTokenManager tm)
           
DotParser(java.io.InputStream stream)
           
DotParser(java.io.Reader stream)
           
 
Method Summary
static void disable_tracing()
           
static void edgeAtts(EdgeClient e)
           
static EdgeClient edgeRHS(GraphClient g, NodeClient start)
           
static void enable_tracing()
           
static ParseException generateParseException()
           
static Token getNextToken()
           
static Token getToken(int index)
           
static void graph(GraphClient g)
           
static void graphAtts(GraphClient g)
           
static NodeClient node(GraphClient g)
           
static void nodeAtts(NodeClient n)
           
 void ReInit(DotParserTokenManager tm)
           
static void ReInit(java.io.InputStream stream)
           
static void ReInit(java.io.Reader stream)
           
static void stmt(GraphClient g)
           
static void stmtList(GraphClient g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public static DotParserTokenManager token_source

token

public static Token token

jj_nt

public static Token jj_nt
Constructor Detail

DotParser

public DotParser(java.io.InputStream stream)

DotParser

public DotParser(java.io.Reader stream)

DotParser

public DotParser(DotParserTokenManager tm)
Method Detail

graph

public static final void graph(GraphClient g)
                        throws ParseException
Throws:
ParseException

stmtList

public static final void stmtList(GraphClient g)
                           throws ParseException
Throws:
ParseException

stmt

public static final void stmt(GraphClient g)
                       throws ParseException
Throws:
ParseException

graphAtts

public static final void graphAtts(GraphClient g)
                            throws ParseException
Throws:
ParseException

nodeAtts

public static final void nodeAtts(NodeClient n)
                           throws ParseException
Throws:
ParseException

edgeRHS

public static final EdgeClient edgeRHS(GraphClient g,
                                       NodeClient start)
                                throws ParseException
Throws:
ParseException

edgeAtts

public static final void edgeAtts(EdgeClient e)
                           throws ParseException
Throws:
ParseException

node

public static final NodeClient node(GraphClient g)
                             throws ParseException
Throws:
ParseException

ReInit

public static void ReInit(java.io.InputStream stream)

ReInit

public static void ReInit(java.io.Reader stream)

ReInit

public void ReInit(DotParserTokenManager tm)

getNextToken

public static final Token getNextToken()

getToken

public static final Token getToken(int index)

generateParseException

public static ParseException generateParseException()

enable_tracing

public static final void enable_tracing()

disable_tracing

public static final void disable_tracing()