+ public static void newResult(Forest f, Node pred, Pos reduction, GSS.Phase target) {
+ Result r = new Result(f, pred, reduction);
+ if (reduction == null) return;
+ Parser.Table.State state0 = (Parser.Table.State)pred.state().gotoSetNonTerminals.get(reduction);
+ target.newNodeFromReduction(r, state0, reduction);
+ }
+ public Result(Forest f, Node pred, Pos reduction) {