Package org.eclipse.wst.xml.xpath2.processor.internal
public class XPathCup extends java_cup.runtime.lr_parserCUP 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$actions | action_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.Symbol | do_action(int act_num
,
java_cup.runtime.lr_parser parser
,
java.util.Stack stack
,
int top) Invoke a user supplied parse action. |
public int | EOF_sym() EOF Symbol index. |
public int | error_sym() error Symbol index. |
protected void | init_actions() Action encapsulation object initializer. |
public short[][] | production_table() Access to production table. |
public short[][] | reduce_table() Access to reduce_goto table. |
public void | report_error(java.lang.String message
,
java.lang.Object info) |
public int | start_production() Indicates start production. |
public int | start_state() Indicates start state. |
Field Detail |
protected static short[][] _action_table
Parse-action table. |
protected static short[][] _production_table
Production table. |
protected static short[][] _reduce_table
reduce_goto table. |
protected org.eclipse.wst.xml.xpath2.processor.internal.CUP$XPathCup$actions action_obj
Instance of action encapsulation class. |
Constructor Detail |
public XPathCup()
Default constructor.
public XPathCup(java_cup.runtime.Scanner s)
Constructor which sets the default scanner.
Methods Detail |
public short[][] action_table()
Access to parse-action table.
short[][]
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.
act_num
parser
stack
top
java_cup.runtime.Symbol
java.lang.Exception
public int EOF_sym()
EOF
Symbol index.
int
public int error_sym()
error
Symbol index.
int
protected void init_actions()
Action encapsulation object initializer.
public short[][] production_table()
Access to production table.
short[][]
public short[][] reduce_table()
Access to reduce_goto
table.
short[][]
public void report_error(java.lang.String message
,
java.lang.Object info)
message
info
public int start_production()
Indicates start production.
int
public int start_state()
Indicates start state.
int