Home | History | Annotate | Download | only in java_cup

Lines Matching full:reduce

29  *  of these states to parse.  The parser has two operations, shift and reduce.
33 * the end of the transition). For a reduce operation, the parser is
430 * action table and a reduce-goto table. The rows in each table
434 * previous state saved on the stack (reduce entries). All entries in the
436 * reduce-goto table is indexed by non terminals and represents transitions
439 * action table (this cannot happen with the reduce-goto table). Conflicts
440 * are resolved by always shifting for shift/reduce conflicts and choosing
442 * the specification) in reduce/reduce conflicts. All conflicts are
447 * @param reduce_table the reduce-goto table to put entries in.
470 /* if its completed (dot at end) then reduce under the lookahead */
536 /* for non terminals add an entry to the reduce-goto table */
565 /* if it results in a reduce, it could be a conflict */
582 /* is it a reduce */
589 /* report a reduce/reduce conflict */
617 /** Produce a warning message for one reduce/reduce conflict.
627 System.err.println("*** Reduce/Reduce conflict found in state #"+index());
655 /** Produce a warning message for one shift/reduce conflict.
657 * @param red_itm the item with the reduce.
668 /* emit top part of message including the reduce item */
669 System.err.println("*** Shift/Reduce conflict found in state #"+index());
678 /* only look if its not the same item and not a reduce */