Package org.eclipse.wst.xml.xpath2.processor.internal


org.eclipse.wst.xml.xpath2.processor.internal
Class XPathCup



public class XPathCup
extends java_cup.runtime.lr_parser
CUP v0.10k generated parser.


Field Summary

protected static short[][]_action_table
     Parse-action table.
protected static short[][]_production_table
     Production table.
protected static short[][]_reduce_table
     <code>reduce_goto</code> table.
protected org.eclipse.wst.xml.xpath2.processor.internal.CUP$XPathCup$actionsaction_obj
     Instance of action encapsulation class.

Constructor Summary

XPathCup()
XPathCup(java_cup.runtime.Scanner s)

Method Summary

public short[][]action_table()
     Access to parse-action table.
public java_cup.runtime.Symboldo_action(int act_num , java_cup.runtime.lr_parser parser , java.util.Stack stack , int top)
     Invoke a user supplied parse action.
public intEOF_sym()
     EOF Symbol index.
public interror_sym()
     error Symbol index.
protected voidinit_actions()
     Action encapsulation object initializer.
public short[][]production_table()
     Access to production table.
public short[][]reduce_table()
     Access to reduce_goto table.
public voidreport_error(java.lang.String message , java.lang.Object info)
    
public intstart_production()
     Indicates start production.
public intstart_state()
     Indicates start state.

Field Detail

_action_table

protected static short[][] _action_table

Parse-action table.

_production_table

protected static short[][] _production_table

Production table.

_reduce_table

protected static short[][] _reduce_table

reduce_goto table.

action_obj

protected org.eclipse.wst.xml.xpath2.processor.internal.CUP$XPathCup$actions action_obj

Instance of action encapsulation class.

Constructor Detail

XPathCup

public XPathCup()

Default constructor.


XPathCup

public XPathCup(java_cup.runtime.Scanner s)

Constructor which sets the default scanner.


Methods Detail

action_table

public short[][] action_table()

Access to parse-action table.

Returns

short[][]


do_action

public java_cup.runtime.Symbol do_action(int act_num , java_cup.runtime.lr_parser parser , java.util.Stack stack , int top)

Invoke a user supplied parse action.

Parameters

act_num

parser

stack

top

Returns

java_cup.runtime.Symbol

Throws:

java.lang.Exception


EOF_sym

public int EOF_sym()

EOF Symbol index.

Returns

int


error_sym

public int error_sym()

error Symbol index.

Returns

int


init_actions

protected void init_actions()

Action encapsulation object initializer.


production_table

public short[][] production_table()

Access to production table.

Returns

short[][]


reduce_table

public short[][] reduce_table()

Access to reduce_goto table.

Returns

short[][]


report_error

public void report_error(java.lang.String message , java.lang.Object info)

Parameters

message

info


start_production

public int start_production()

Indicates start production.

Returns

int


start_state

public int start_state()

Indicates start state.

Returns

int