net.cscott.sinjdoc.parser

Class Java15

public class Java15 extends lr_parser

CUP v0.10k generated parser.

Version: Sat Jan 24 18:21:46 EST 2004

Field Summary
protected static short[][]_action_table
Parse-action table.
protected static short[][]_production_table
Production table.
protected static short[][]_reduce_table
reduce_goto table.
protected CUP$Java15$actionsaction_obj
Instance of action encapsulation class.
Constructor Summary
Java15()
Default constructor.
Java15(Scanner s)
Constructor which sets the default scanner.
Java15(PRootDoc rootDoc, File file, PPackageDoc expectedPackage)
Method Summary
short[][]action_table()
Access to parse-action table.
Symboldo_action(int act_num, lr_parser parser, Stack stack, int top)
Invoke a user supplied parse action.
intEOF_sym()
EOF Symbol index.
interror_sym()
error Symbol index.
protected voidinit_actions()
Action encapsulation object initializer.
short[][]production_table()
Access to production table.
short[][]reduce_table()
Access to reduce_goto table.
Symbolscan()
Scan to get the next Symbol.
PSourcePositionsp(int leftPos)
intstart_production()
Indicates start production.
intstart_state()
Indicates start state.
voidsyntax_error(Symbol current)

Field Detail

_action_table

protected static final short[][] _action_table
Parse-action table.

_production_table

protected static final short[][] _production_table
Production table.

_reduce_table

protected static final short[][] _reduce_table
reduce_goto table.

action_obj

protected CUP$Java15$actions action_obj
Instance of action encapsulation class.

Constructor Detail

Java15

public Java15()
Default constructor.

Java15

public Java15(Scanner s)
Constructor which sets the default scanner.

Java15

public Java15(PRootDoc rootDoc, File file, PPackageDoc expectedPackage)

Method Detail

action_table

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

do_action

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

EOF_sym

public int EOF_sym()
EOF Symbol index.

error_sym

public int error_sym()
error Symbol index.

init_actions

protected void init_actions()
Action encapsulation object initializer.

production_table

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

reduce_table

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

scan

public Symbol scan()
Scan to get the next Symbol.

sp

public PSourcePosition sp(int leftPos)

start_production

public int start_production()
Indicates start production.

start_state

public int start_state()
Indicates start state.

syntax_error

public void syntax_error(Symbol current)
Copyright © 2003 C. Scott Ananian