Logo Search packages:      
Sourcecode: jflex version File versions

abstract short [][] java_cup::runtime::lr_parser::reduce_table (  )  [pure virtual]

The reduce-goto table (supplied by generated subclass). This table is indexed by state and non-terminal number and contains state numbers. States are indexed using the first dimension, however, the entries for a given state are compacted and stored in adjacent index, value pairs which are searched for rather than accessed directly (see get_reduce()). When a reduce occurs, the handle (corresponding to the RHS of the matched production) is popped off the stack. The new top of stack indicates a state. This table is then indexed by that state and the LHS of the reducing production to indicate where to "shift" to.

See also:
java_cup.runtime.lr_parser::get_reduce

Referenced by debug_parse(), and parse().


Generated by  Doxygen 1.6.0   Back to index