org.graffiti.plugins.ios.gml.gmlReader.parser
Class parser

java.lang.Object
  extended by java_cup.runtime.lr_parser
      extended by org.graffiti.plugins.ios.gml.gmlReader.parser.parser

public class parser
extends java_cup.runtime.lr_parser

CUP v0.10k generated parser.

Version:
Fri May 07 19:01:27 CEST 2010

Constructor Summary
parser()
          Default constructor.
parser(java_cup.runtime.Scanner s)
          Constructor which sets the default scanner.
 
Method Summary
 short[][] action_table()
          Access to parse-action table.
 java_cup.runtime.Symbol do_action(int act_num, java_cup.runtime.lr_parser parser, Stack stack, int top)
          Invoke a user supplied parse action.
 int EOF_sym()
          EOF Symbol index.
 int error_sym()
          error Symbol index.
 GmlEdgeStyle getEdgeStyle()
          Returns the read in edge style.
 Gml getGraph()
          Returns the read in graph.
 GmlNodeStyle getNodeStyle()
          Returns the read in node style.
 short[][] production_table()
          Access to production table.
 short[][] reduce_table()
          Access to reduce_goto table.
 void report_error(String message, java_cup.runtime.Symbol info)
           
 int start_production()
          Indicates start production.
 int start_state()
          Indicates start state.
 void syntax_error(java_cup.runtime.Symbol current)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

parser

public parser()
Default constructor.


parser

public parser(java_cup.runtime.Scanner s)
Constructor which sets the default scanner.

Method Detail

production_table

public short[][] production_table()
Access to production table.


action_table

public short[][] action_table()
Access to parse-action table.


reduce_table

public short[][] reduce_table()
Access to reduce_goto table.


do_action

public java_cup.runtime.Symbol do_action(int act_num,
                                         java_cup.runtime.lr_parser parser,
                                         Stack stack,
                                         int top)
                                  throws Exception
Invoke a user supplied parse action.

Throws:
Exception

start_state

public int start_state()
Indicates start state.


start_production

public int start_production()
Indicates start production.


EOF_sym

public int EOF_sym()
EOF Symbol index.


error_sym

public int error_sym()
error Symbol index.


syntax_error

public void syntax_error(java_cup.runtime.Symbol current)

report_error

public void report_error(String message,
                         java_cup.runtime.Symbol info)

getGraph

public Gml getGraph()
Returns the read in graph.

Returns:
the read in graph.

getNodeStyle

public GmlNodeStyle getNodeStyle()
Returns the read in node style.

Returns:
the read in node style.

getEdgeStyle

public GmlEdgeStyle getEdgeStyle()
Returns the read in edge style.

Returns:
the read in edge style.


Generated at 2012-05-30 11:01:25 PM CEST