Home | History | Annotate | Download | only in java_cup

Lines Matching defs:shift

29  *  of these states to parse.  The parser has two operations, shift and reduce.
30 * In a shift, it consumes one token and makes a transition to a new state.
347 new_items.add(itm.shift());
433 * out of the state (shift entries) or reductions from the state to some
440 * are resolved by always shifting for shift/reduce conflicts and choosing
494 /* if the other act was not a shift */
495 if (other_act.kind() != parse_action.SHIFT)
513 /* if its on an terminal add a shift entry */
530 /* shift always wins */
592 /* must be a shift on a terminal or non-terminal */
595 /* is it a shift on a terminal */
655 /** Produce a warning message for one shift/reduce conflict.
669 System.err.println("*** Shift/Reduce conflict found in state #"+index());
673 /* find and report on all items that shift under our conflict symbol */
681 /* is it a shift on our conflicting terminal */