/* This file was generated by SableCC (http://www.sablecc.org/). */ package net.sf.jame.contextfree.cfdg.parser; import net.sf.jame.contextfree.cfdg.lexer.*; import net.sf.jame.contextfree.cfdg.node.*; import net.sf.jame.contextfree.cfdg.analysis.*; import java.util.*; import java.io.DataInputStream; import java.io.BufferedInputStream; import java.io.IOException; @SuppressWarnings("nls") public class Parser { public final Analysis ignoredTokens = new AnalysisAdapter(); protected ArrayList nodeList; private final Lexer lexer; private final ListIterator stack = new LinkedList().listIterator(); private int last_pos; private int last_line; private Token last_token; private final TokenIndex converter = new TokenIndex(); private final int[] action = new int[2]; private final static int SHIFT = 0; private final static int REDUCE = 1; private final static int ACCEPT = 2; private final static int ERROR = 3; public Parser(@SuppressWarnings("hiding") Lexer lexer) { this.lexer = lexer; } protected void filter() throws ParserException, LexerException, IOException { // Empty body } private void push(int numstate, ArrayList listNode, boolean hidden) throws ParserException, LexerException, IOException { this.nodeList = listNode; if(!hidden) { filter(); } if(!this.stack.hasNext()) { this.stack.add(new State(numstate, this.nodeList)); return; } State s = (State) this.stack.next(); s.state = numstate; s.nodes = this.nodeList; } private int goTo(int index) { int state = state(); int low = 1; int high = gotoTable[index].length - 1; int value = gotoTable[index][0][1]; while(low <= high) { int middle = (low + high) / 2; if(state < gotoTable[index][middle][0]) { high = middle - 1; } else if(state > gotoTable[index][middle][0]) { low = middle + 1; } else { value = gotoTable[index][middle][1]; break; } } return value; } private int state() { State s = (State) this.stack.previous(); this.stack.next(); return s.state; } private ArrayList pop() { return ((State) this.stack.previous()).nodes; } private int index(Switchable token) { this.converter.index = -1; token.apply(this.converter); return this.converter.index; } @SuppressWarnings("unchecked") public Start parse() throws ParserException, LexerException, IOException { push(0, null, true); List<Node> ign = null; while(true) { while(index(this.lexer.peek()) == -1) { if(ign == null) { ign = new LinkedList<Node>(); } ign.add(this.lexer.next()); } if(ign != null) { this.ignoredTokens.setIn(this.lexer.peek(), ign); ign = null; } this.last_pos = this.lexer.peek().getPos(); this.last_line = this.lexer.peek().getLine(); this.last_token = this.lexer.peek(); int index = index(this.lexer.peek()); this.action[0] = Parser.actionTable[state()][0][1]; this.action[1] = Parser.actionTable[state()][0][2]; int low = 1; int high = Parser.actionTable[state()].length - 1; while(low <= high) { int middle = (low + high) / 2; if(index < Parser.actionTable[state()][middle][0]) { high = middle - 1; } else if(index > Parser.actionTable[state()][middle][0]) { low = middle + 1; } else { this.action[0] = Parser.actionTable[state()][middle][1]; this.action[1] = Parser.actionTable[state()][middle][2]; break; } } switch(this.action[0]) { case SHIFT: { ArrayList list = new ArrayList(); list.add(this.lexer.next()); push(this.action[1], list, false); } break; case REDUCE: switch(this.action[1]) { case 0: /* reduce ACfdg */ { ArrayList list = new0(); push(goTo(0), list, false); } break; case 1: /* reduce ASizeSizeToken2 */ { ArrayList list = new1(); push(goTo(1), list, false); } break; case 2: /* reduce ASizeTokenSizeToken2 */ { ArrayList list = new2(); push(goTo(1), list, false); } break; case 3: /* reduce AStartshapeCfdgDeclaration */ { ArrayList list = new3(); push(goTo(2), list, false); } break; case 4: /* reduce AIncludeCfdgDeclaration */ { ArrayList list = new4(); push(goTo(2), list, false); } break; case 5: /* reduce ABackgroundCfdgDeclaration */ { ArrayList list = new5(); push(goTo(2), list, false); } break; case 6: /* reduce ATileCfdgDeclaration */ { ArrayList list = new6(); push(goTo(2), list, false); } break; case 7: /* reduce ASizeCfdgDeclaration */ { ArrayList list = new7(); push(goTo(2), list, false); } break; case 8: /* reduce ARuleCfdgDeclaration */ { ArrayList list = new8(); push(goTo(2), list, false); } break; case 9: /* reduce APathCfdgDeclaration */ { ArrayList list = new9(); push(goTo(2), list, false); } break; case 10: /* reduce AStartshapeDeclaration */ { ArrayList list = new10(); push(goTo(3), list, false); } break; case 11: /* reduce AIncludeDeclaration */ { ArrayList list = new11(); push(goTo(4), list, false); } break; case 12: /* reduce AAbackgrounddeclaration1BackgroundDeclaration */ { ArrayList list = new12(); push(goTo(5), list, false); } break; case 13: /* reduce AAbackgrounddeclaration2BackgroundDeclaration */ { ArrayList list = new13(); push(goTo(5), list, false); } break; case 14: /* reduce AAtiledeclaration1TileDeclaration */ { ArrayList list = new14(); push(goTo(6), list, false); } break; case 15: /* reduce AAtiledeclaration2TileDeclaration */ { ArrayList list = new15(); push(goTo(6), list, false); } break; case 16: /* reduce AAsizedeclaration1SizeDeclaration */ { ArrayList list = new16(); push(goTo(7), list, false); } break; case 17: /* reduce AAsizedeclaration2SizeDeclaration */ { ArrayList list = new17(); push(goTo(7), list, false); } break; case 18: /* reduce AAruledeclaration1RuleDeclaration */ { ArrayList list = new18(); push(goTo(8), list, false); } break; case 19: /* reduce AAruledeclaration2RuleDeclaration */ { ArrayList list = new19(); push(goTo(8), list, false); } break; case 20: /* reduce AAruledeclaration3RuleDeclaration */ { ArrayList list = new20(); push(goTo(8), list, false); } break; case 21: /* reduce AAruledeclaration4RuleDeclaration */ { ArrayList list = new21(); push(goTo(8), list, false); } break; case 22: /* reduce AAunorderedshapereplacementdeclaration1ShapeReplacementDeclaration */ { ArrayList list = new22(); push(goTo(9), list, false); } break; case 23: /* reduce AAunorderedshapereplacementdeclaration2ShapeReplacementDeclaration */ { ArrayList list = new23(); push(goTo(9), list, false); } break; case 24: /* reduce AAorderedshapereplacementdeclaration1ShapeReplacementDeclaration */ { ArrayList list = new24(); push(goTo(9), list, false); } break; case 25: /* reduce AAorderedshapereplacementdeclaration2ShapeReplacementDeclaration */ { ArrayList list = new25(); push(goTo(9), list, false); } break; case 26: /* reduce ASingleShapeReplacementDeclaration */ { ArrayList list = new26(); push(goTo(9), list, false); } break; case 27: /* reduce AAunorderedshapereplacement1ShapeReplacement */ { ArrayList list = new27(); push(goTo(10), list, false); } break; case 28: /* reduce AAunorderedshapereplacement2ShapeReplacement */ { ArrayList list = new28(); push(goTo(10), list, false); } break; case 29: /* reduce AAorderedshapereplacement1ShapeReplacement */ { ArrayList list = new29(); push(goTo(10), list, false); } break; case 30: /* reduce AAorderedshapereplacement2ShapeReplacement */ { ArrayList list = new30(); push(goTo(10), list, false); } break; case 31: /* reduce ABasicShapeReplacementBlock */ { ArrayList list = new31(); push(goTo(11), list, false); } break; case 32: /* reduce AAlistshapereplacementblock1ShapeReplacementBlock */ { ArrayList list = new32(); push(goTo(11), list, false); } break; case 33: /* reduce AAlistshapereplacementblock2ShapeReplacementBlock */ { ArrayList list = new33(); push(goTo(11), list, false); } break; case 34: /* reduce AStarOperator */ { ArrayList list = new34(); push(goTo(12), list, false); } break; case 35: /* reduce APlusOperator */ { ArrayList list = new35(); push(goTo(12), list, false); } break; case 36: /* reduce AMinusOperator */ { ArrayList list = new36(); push(goTo(12), list, false); } break; case 37: /* reduce ASlashOperator */ { ArrayList list = new37(); push(goTo(12), list, false); } break; case 38: /* reduce AArrowOperator */ { ArrayList list = new38(); push(goTo(12), list, false); } break; case 39: /* reduce AApathoperation1PathOperation */ { ArrayList list = new39(); push(goTo(13), list, false); } break; case 40: /* reduce AApathoperation2PathOperation */ { ArrayList list = new40(); push(goTo(13), list, false); } break; case 41: /* reduce AAunorderedpathcommand1PathCommand */ { ArrayList list = new41(); push(goTo(14), list, false); } break; case 42: /* reduce AAunorderedpathcommand2PathCommand */ { ArrayList list = new42(); push(goTo(14), list, false); } break; case 43: /* reduce AAorderedpathcommand1PathCommand */ { ArrayList list = new43(); push(goTo(14), list, false); } break; case 44: /* reduce AAorderedpathcommand2PathCommand */ { ArrayList list = new44(); push(goTo(14), list, false); } break; case 45: /* reduce AApathdeclaration1PathDeclaration */ { ArrayList list = new45(); push(goTo(15), list, false); } break; case 46: /* reduce AApathdeclaration2PathDeclaration */ { ArrayList list = new46(); push(goTo(15), list, false); } break; case 47: /* reduce AAunorderedpathreplacementdeclaration1PathReplacementDeclaration */ { ArrayList list = new47(); push(goTo(16), list, false); } break; case 48: /* reduce AAunorderedpathreplacementdeclaration2PathReplacementDeclaration */ { ArrayList list = new48(); push(goTo(16), list, false); } break; case 49: /* reduce AAorderedpathreplacementdeclaration1PathReplacementDeclaration */ { ArrayList list = new49(); push(goTo(16), list, false); } break; case 50: /* reduce AAorderedpathreplacementdeclaration2PathReplacementDeclaration */ { ArrayList list = new50(); push(goTo(16), list, false); } break; case 51: /* reduce ASinglePathReplacementDeclaration */ { ArrayList list = new51(); push(goTo(16), list, false); } break; case 52: /* reduce AOperationPathReplacement */ { ArrayList list = new52(); push(goTo(17), list, false); } break; case 53: /* reduce ACommandPathReplacement */ { ArrayList list = new53(); push(goTo(17), list, false); } break; case 54: /* reduce ABasicPathReplacementBlock */ { ArrayList list = new54(); push(goTo(18), list, false); } break; case 55: /* reduce AAlistpathreplacementblock1PathReplacementBlock */ { ArrayList list = new55(); push(goTo(18), list, false); } break; case 56: /* reduce AAlistpathreplacementblock2PathReplacementBlock */ { ArrayList list = new56(); push(goTo(18), list, false); } break; case 57: /* reduce AXOperationParameter */ { ArrayList list = new57(); push(goTo(19), list, false); } break; case 58: /* reduce AYOperationParameter */ { ArrayList list = new58(); push(goTo(19), list, false); } break; case 59: /* reduce AX1OperationParameter */ { ArrayList list = new59(); push(goTo(19), list, false); } break; case 60: /* reduce AY1OperationParameter */ { ArrayList list = new60(); push(goTo(19), list, false); } break; case 61: /* reduce AX2OperationParameter */ { ArrayList list = new61(); push(goTo(19), list, false); } break; case 62: /* reduce AY2OperationParameter */ { ArrayList list = new62(); push(goTo(19), list, false); } break; case 63: /* reduce ARxOperationParameter */ { ArrayList list = new63(); push(goTo(19), list, false); } break; case 64: /* reduce ARyOperationParameter */ { ArrayList list = new64(); push(goTo(19), list, false); } break; case 65: /* reduce ARotateOperationParameter */ { ArrayList list = new65(); push(goTo(19), list, false); } break; case 66: /* reduce AParametersOperationParameter */ { ArrayList list = new66(); push(goTo(19), list, false); } break; case 67: /* reduce AColorCommandParameter */ { ArrayList list = new67(); push(goTo(20), list, false); } break; case 68: /* reduce AGeometryCommandParameter */ { ArrayList list = new68(); push(goTo(20), list, false); } break; case 69: /* reduce AStrokeCommandParameter */ { ArrayList list = new69(); push(goTo(20), list, false); } break; case 70: /* reduce AParametersCommandParameter */ { ArrayList list = new70(); push(goTo(20), list, false); } break; case 71: /* reduce AHueBackgroundAdjustment */ { ArrayList list = new71(); push(goTo(21), list, false); } break; case 72: /* reduce ABrightnessBackgroundAdjustment */ { ArrayList list = new72(); push(goTo(21), list, false); } break; case 73: /* reduce ASaturationBackgroundAdjustment */ { ArrayList list = new73(); push(goTo(21), list, false); } break; case 74: /* reduce AAlphaBackgroundAdjustment */ { ArrayList list = new74(); push(goTo(21), list, false); } break; case 75: /* reduce AXTileAdjustment */ { ArrayList list = new75(); push(goTo(22), list, false); } break; case 76: /* reduce AYTileAdjustment */ { ArrayList list = new76(); push(goTo(22), list, false); } break; case 77: /* reduce AAtileadjustment1TileAdjustment */ { ArrayList list = new77(); push(goTo(22), list, false); } break; case 78: /* reduce AAtileadjustment2TileAdjustment */ { ArrayList list = new78(); push(goTo(22), list, false); } break; case 79: /* reduce AXSizeAdjustment */ { ArrayList list = new79(); push(goTo(23), list, false); } break; case 80: /* reduce AYSizeAdjustment */ { ArrayList list = new80(); push(goTo(23), list, false); } break; case 81: /* reduce AAsizesizeadjustment1SizeAdjustment */ { ArrayList list = new81(); push(goTo(23), list, false); } break; case 82: /* reduce AAsizesizeadjustment2SizeAdjustment */ { ArrayList list = new82(); push(goTo(23), list, false); } break; case 83: /* reduce AColorShapeAdjustment */ { ArrayList list = new83(); push(goTo(24), list, false); } break; case 84: /* reduce AGeometryShapeAdjustment */ { ArrayList list = new84(); push(goTo(24), list, false); } break; case 85: /* reduce ACurrentColorAdjustment */ { ArrayList list = new85(); push(goTo(25), list, false); } break; case 86: /* reduce ATargetColorAdjustment */ { ArrayList list = new86(); push(goTo(25), list, false); } break; case 87: /* reduce AAhuecurrentcoloradjustment1CurrentColorAdjustment */ { ArrayList list = new87(); push(goTo(26), list, false); } break; case 88: /* reduce AAhuecurrentcoloradjustment2CurrentColorAdjustment */ { ArrayList list = new88(); push(goTo(26), list, false); } break; case 89: /* reduce AAbrightnesscurrentcoloradjustment1CurrentColorAdjustment */ { ArrayList list = new89(); push(goTo(26), list, false); } break; case 90: /* reduce AAbrightnesscurrentcoloradjustment2CurrentColorAdjustment */ { ArrayList list = new90(); push(goTo(26), list, false); } break; case 91: /* reduce AAsaturationcurrentcoloradjustment1CurrentColorAdjustment */ { ArrayList list = new91(); push(goTo(26), list, false); } break; case 92: /* reduce AAsaturationcurrentcoloradjustment2CurrentColorAdjustment */ { ArrayList list = new92(); push(goTo(26), list, false); } break; case 93: /* reduce AAalphacurrentcoloradjustment1CurrentColorAdjustment */ { ArrayList list = new93(); push(goTo(26), list, false); } break; case 94: /* reduce AAalphacurrentcoloradjustment2CurrentColorAdjustment */ { ArrayList list = new94(); push(goTo(26), list, false); } break; case 95: /* reduce AHueTargetColorAdjustment */ { ArrayList list = new95(); push(goTo(27), list, false); } break; case 96: /* reduce ABrightnessTargetColorAdjustment */ { ArrayList list = new96(); push(goTo(27), list, false); } break; case 97: /* reduce ASaturationTargetColorAdjustment */ { ArrayList list = new97(); push(goTo(27), list, false); } break; case 98: /* reduce AAlphaTargetColorAdjustment */ { ArrayList list = new98(); push(goTo(27), list, false); } break; case 99: /* reduce AXPathAdjustment */ { ArrayList list = new99(); push(goTo(28), list, false); } break; case 100: /* reduce AYPathAdjustment */ { ArrayList list = new100(); push(goTo(28), list, false); } break; case 101: /* reduce ASizePathAdjustment */ { ArrayList list = new101(); push(goTo(28), list, false); } break; case 102: /* reduce ASize2PathAdjustment */ { ArrayList list = new102(); push(goTo(28), list, false); } break; case 103: /* reduce AFlipPathAdjustment */ { ArrayList list = new103(); push(goTo(28), list, false); } break; case 104: /* reduce ASkewPathAdjustment */ { ArrayList list = new104(); push(goTo(28), list, false); } break; case 105: /* reduce ARotatePathAdjustment */ { ArrayList list = new105(); push(goTo(28), list, false); } break; case 106: /* reduce AXGeometryAdjustment */ { ArrayList list = new106(); push(goTo(29), list, false); } break; case 107: /* reduce AYGeometryAdjustment */ { ArrayList list = new107(); push(goTo(29), list, false); } break; case 108: /* reduce AZGeometryAdjustment */ { ArrayList list = new108(); push(goTo(29), list, false); } break; case 109: /* reduce ASizeGeometryAdjustment */ { ArrayList list = new109(); push(goTo(29), list, false); } break; case 110: /* reduce ASize2GeometryAdjustment */ { ArrayList list = new110(); push(goTo(29), list, false); } break; case 111: /* reduce ASize3GeometryAdjustment */ { ArrayList list = new111(); push(goTo(29), list, false); } break; case 112: /* reduce AFlipGeometryAdjustment */ { ArrayList list = new112(); push(goTo(29), list, false); } break; case 113: /* reduce ASkewGeometryAdjustment */ { ArrayList list = new113(); push(goTo(29), list, false); } break; case 114: /* reduce ARotateGeometryAdjustment */ { ArrayList list = new114(); push(goTo(29), list, false); } break; case 115: /* reduce ANumberExpression */ { ArrayList list = new115(); push(goTo(30), list, false); } break; case 116: /* reduce ANestedExpression */ { ArrayList list = new116(); push(goTo(30), list, false); } break; case 117: /* reduce AFunctionExpression */ { ArrayList list = new117(); push(goTo(30), list, false); } break; case 118: /* reduce ANumberExtendedExpression */ { ArrayList list = new118(); push(goTo(31), list, false); } break; case 119: /* reduce AFunctionExtendedExpression */ { ArrayList list = new119(); push(goTo(31), list, false); } break; case 120: /* reduce ANestedExtendedExpression */ { ArrayList list = new120(); push(goTo(31), list, false); } break; case 121: /* reduce AComposedExtendedExpression */ { ArrayList list = new121(); push(goTo(31), list, false); } break; case 122: /* reduce AArg0Function */ { ArrayList list = new122(); push(goTo(32), list, false); } break; case 123: /* reduce AArg1Function */ { ArrayList list = new123(); push(goTo(32), list, false); } break; case 124: /* reduce AArg2Function */ { ArrayList list = new124(); push(goTo(32), list, false); } break; case 125: /* reduce AFirstExpression */ { ArrayList list = new125(); push(goTo(33), list, false); } break; case 126: /* reduce ASecondExpression */ { ArrayList list = new126(); push(goTo(34), list, false); } break; case 127: /* reduce AThirdExpression */ { ArrayList list = new127(); push(goTo(35), list, false); } break; case 128: /* reduce ATerminal$CfdgDeclaration */ { ArrayList list = new128(); push(goTo(36), list, true); } break; case 129: /* reduce ANonTerminal$CfdgDeclaration */ { ArrayList list = new129(); push(goTo(36), list, true); } break; case 130: /* reduce ATerminal$BackgroundAdjustment */ { ArrayList list = new130(); push(goTo(37), list, true); } break; case 131: /* reduce ANonTerminal$BackgroundAdjustment */ { ArrayList list = new131(); push(goTo(37), list, true); } break; case 132: /* reduce ATerminal$TileAdjustment */ { ArrayList list = new132(); push(goTo(38), list, true); } break; case 133: /* reduce ANonTerminal$TileAdjustment */ { ArrayList list = new133(); push(goTo(38), list, true); } break; case 134: /* reduce ATerminal$SizeAdjustment */ { ArrayList list = new134(); push(goTo(39), list, true); } break; case 135: /* reduce ANonTerminal$SizeAdjustment */ { ArrayList list = new135(); push(goTo(39), list, true); } break; case 136: /* reduce ATerminal$ShapeReplacementDeclaration */ { ArrayList list = new136(); push(goTo(40), list, true); } break; case 137: /* reduce ANonTerminal$ShapeReplacementDeclaration */ { ArrayList list = new137(); push(goTo(40), list, true); } break; case 138: /* reduce ATerminal$ShapeAdjustment */ { ArrayList list = new138(); push(goTo(41), list, true); } break; case 139: /* reduce ANonTerminal$ShapeAdjustment */ { ArrayList list = new139(); push(goTo(41), list, true); } break; case 140: /* reduce ATerminal$OperationParameter */ { ArrayList list = new140(); push(goTo(42), list, true); } break; case 141: /* reduce ANonTerminal$OperationParameter */ { ArrayList list = new141(); push(goTo(42), list, true); } break; case 142: /* reduce ATerminal$CommandParameter */ { ArrayList list = new142(); push(goTo(43), list, true); } break; case 143: /* reduce ANonTerminal$CommandParameter */ { ArrayList list = new143(); push(goTo(43), list, true); } break; case 144: /* reduce ATerminal$PathReplacementDeclaration */ { ArrayList list = new144(); push(goTo(44), list, true); } break; case 145: /* reduce ANonTerminal$PathReplacementDeclaration */ { ArrayList list = new145(); push(goTo(44), list, true); } break; case 146: /* reduce ATerminal$PathAdjustment */ { ArrayList list = new146(); push(goTo(45), list, true); } break; case 147: /* reduce ANonTerminal$PathAdjustment */ { ArrayList list = new147(); push(goTo(45), list, true); } break; } break; case ACCEPT: { EOF node2 = (EOF) this.lexer.next(); PCfdg node1 = (PCfdg) pop().get(0); Start node = new Start(node1, node2); return node; } case ERROR: throw new ParserException(this.last_token, "[" + this.last_line + "," + this.last_pos + "] " + Parser.errorMessages[Parser.errors[this.action[1]]]); } } } @SuppressWarnings("unchecked") ArrayList new0() /* reduce ACfdg */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCfdg pcfdgNode1; { // Block LinkedList listNode3 = new LinkedList(); { // Block LinkedList listNode2 = new LinkedList(); listNode2 = (LinkedList)nodeArrayList1.get(0); if(listNode2 != null) { listNode3.addAll(listNode2); } } pcfdgNode1 = new ACfdg(listNode3); } nodeList.add(pcfdgNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new1() /* reduce ASizeSizeToken2 */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PSizeToken2 psizetoken2Node1; { // Block TSize tsizeNode2; tsizeNode2 = (TSize)nodeArrayList1.get(0); psizetoken2Node1 = new ASizeSizeToken2(tsizeNode2); } nodeList.add(psizetoken2Node1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new2() /* reduce ASizeTokenSizeToken2 */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PSizeToken2 psizetoken2Node1; { // Block TSizeToken tsizetokenNode2; tsizetokenNode2 = (TSizeToken)nodeArrayList1.get(0); psizetoken2Node1 = new ASizeTokenSizeToken2(tsizetokenNode2); } nodeList.add(psizetoken2Node1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new3() /* reduce AStartshapeCfdgDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCfdgDeclaration pcfdgdeclarationNode1; { // Block PStartshapeDeclaration pstartshapedeclarationNode2; pstartshapedeclarationNode2 = (PStartshapeDeclaration)nodeArrayList1.get(0); pcfdgdeclarationNode1 = new AStartshapeCfdgDeclaration(pstartshapedeclarationNode2); } nodeList.add(pcfdgdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new4() /* reduce AIncludeCfdgDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCfdgDeclaration pcfdgdeclarationNode1; { // Block PIncludeDeclaration pincludedeclarationNode2; pincludedeclarationNode2 = (PIncludeDeclaration)nodeArrayList1.get(0); pcfdgdeclarationNode1 = new AIncludeCfdgDeclaration(pincludedeclarationNode2); } nodeList.add(pcfdgdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new5() /* reduce ABackgroundCfdgDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCfdgDeclaration pcfdgdeclarationNode1; { // Block PBackgroundDeclaration pbackgrounddeclarationNode2; pbackgrounddeclarationNode2 = (PBackgroundDeclaration)nodeArrayList1.get(0); pcfdgdeclarationNode1 = new ABackgroundCfdgDeclaration(pbackgrounddeclarationNode2); } nodeList.add(pcfdgdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new6() /* reduce ATileCfdgDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCfdgDeclaration pcfdgdeclarationNode1; { // Block PTileDeclaration ptiledeclarationNode2; ptiledeclarationNode2 = (PTileDeclaration)nodeArrayList1.get(0); pcfdgdeclarationNode1 = new ATileCfdgDeclaration(ptiledeclarationNode2); } nodeList.add(pcfdgdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new7() /* reduce ASizeCfdgDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCfdgDeclaration pcfdgdeclarationNode1; { // Block PSizeDeclaration psizedeclarationNode2; psizedeclarationNode2 = (PSizeDeclaration)nodeArrayList1.get(0); pcfdgdeclarationNode1 = new ASizeCfdgDeclaration(psizedeclarationNode2); } nodeList.add(pcfdgdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new8() /* reduce ARuleCfdgDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCfdgDeclaration pcfdgdeclarationNode1; { // Block PRuleDeclaration pruledeclarationNode2; pruledeclarationNode2 = (PRuleDeclaration)nodeArrayList1.get(0); pcfdgdeclarationNode1 = new ARuleCfdgDeclaration(pruledeclarationNode2); } nodeList.add(pcfdgdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new9() /* reduce APathCfdgDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCfdgDeclaration pcfdgdeclarationNode1; { // Block PPathDeclaration ppathdeclarationNode2; ppathdeclarationNode2 = (PPathDeclaration)nodeArrayList1.get(0); pcfdgdeclarationNode1 = new APathCfdgDeclaration(ppathdeclarationNode2); } nodeList.add(pcfdgdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new10() /* reduce AStartshapeDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PStartshapeDeclaration pstartshapedeclarationNode1; { // Block TStartshape tstartshapeNode2; TString tstringNode3; tstartshapeNode2 = (TStartshape)nodeArrayList1.get(0); tstringNode3 = (TString)nodeArrayList2.get(0); pstartshapedeclarationNode1 = new AStartshapeDeclaration(tstartshapeNode2, tstringNode3); } nodeList.add(pstartshapedeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new11() /* reduce AIncludeDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PIncludeDeclaration pincludedeclarationNode1; { // Block TInclude tincludeNode2; TFilename tfilenameNode3; tincludeNode2 = (TInclude)nodeArrayList1.get(0); tfilenameNode3 = (TFilename)nodeArrayList2.get(0); pincludedeclarationNode1 = new AIncludeDeclaration(tincludeNode2, tfilenameNode3); } nodeList.add(pincludedeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new12() /* reduce AAbackgrounddeclaration1BackgroundDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PBackgroundDeclaration pbackgrounddeclarationNode1; { // Block TBackground tbackgroundNode2; TLCbkt tlcbktNode3; LinkedList listNode4 = new LinkedList(); TRCbkt trcbktNode5; tbackgroundNode2 = (TBackground)nodeArrayList1.get(0); tlcbktNode3 = (TLCbkt)nodeArrayList2.get(0); { // Block } trcbktNode5 = (TRCbkt)nodeArrayList3.get(0); pbackgrounddeclarationNode1 = new ABackgroundDeclaration(tbackgroundNode2, tlcbktNode3, listNode4, trcbktNode5); } nodeList.add(pbackgrounddeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new13() /* reduce AAbackgrounddeclaration2BackgroundDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PBackgroundDeclaration pbackgrounddeclarationNode1; { // Block TBackground tbackgroundNode2; TLCbkt tlcbktNode3; LinkedList listNode5 = new LinkedList(); TRCbkt trcbktNode6; tbackgroundNode2 = (TBackground)nodeArrayList1.get(0); tlcbktNode3 = (TLCbkt)nodeArrayList2.get(0); { // Block LinkedList listNode4 = new LinkedList(); listNode4 = (LinkedList)nodeArrayList3.get(0); if(listNode4 != null) { listNode5.addAll(listNode4); } } trcbktNode6 = (TRCbkt)nodeArrayList4.get(0); pbackgrounddeclarationNode1 = new ABackgroundDeclaration(tbackgroundNode2, tlcbktNode3, listNode5, trcbktNode6); } nodeList.add(pbackgrounddeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new14() /* reduce AAtiledeclaration1TileDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PTileDeclaration ptiledeclarationNode1; { // Block TTile ttileNode2; TLCbkt tlcbktNode3; LinkedList listNode4 = new LinkedList(); TRCbkt trcbktNode5; ttileNode2 = (TTile)nodeArrayList1.get(0); tlcbktNode3 = (TLCbkt)nodeArrayList2.get(0); { // Block } trcbktNode5 = (TRCbkt)nodeArrayList3.get(0); ptiledeclarationNode1 = new ATileDeclaration(ttileNode2, tlcbktNode3, listNode4, trcbktNode5); } nodeList.add(ptiledeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new15() /* reduce AAtiledeclaration2TileDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PTileDeclaration ptiledeclarationNode1; { // Block TTile ttileNode2; TLCbkt tlcbktNode3; LinkedList listNode5 = new LinkedList(); TRCbkt trcbktNode6; ttileNode2 = (TTile)nodeArrayList1.get(0); tlcbktNode3 = (TLCbkt)nodeArrayList2.get(0); { // Block LinkedList listNode4 = new LinkedList(); listNode4 = (LinkedList)nodeArrayList3.get(0); if(listNode4 != null) { listNode5.addAll(listNode4); } } trcbktNode6 = (TRCbkt)nodeArrayList4.get(0); ptiledeclarationNode1 = new ATileDeclaration(ttileNode2, tlcbktNode3, listNode5, trcbktNode6); } nodeList.add(ptiledeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new16() /* reduce AAsizedeclaration1SizeDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PSizeDeclaration psizedeclarationNode1; { // Block TSize tsizeNode2; TLCbkt tlcbktNode3; LinkedList listNode4 = new LinkedList(); TRCbkt trcbktNode5; tsizeNode2 = (TSize)nodeArrayList1.get(0); tlcbktNode3 = (TLCbkt)nodeArrayList2.get(0); { // Block } trcbktNode5 = (TRCbkt)nodeArrayList3.get(0); psizedeclarationNode1 = new ASizeDeclaration(tsizeNode2, tlcbktNode3, listNode4, trcbktNode5); } nodeList.add(psizedeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new17() /* reduce AAsizedeclaration2SizeDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PSizeDeclaration psizedeclarationNode1; { // Block TSize tsizeNode2; TLCbkt tlcbktNode3; LinkedList listNode5 = new LinkedList(); TRCbkt trcbktNode6; tsizeNode2 = (TSize)nodeArrayList1.get(0); tlcbktNode3 = (TLCbkt)nodeArrayList2.get(0); { // Block LinkedList listNode4 = new LinkedList(); listNode4 = (LinkedList)nodeArrayList3.get(0); if(listNode4 != null) { listNode5.addAll(listNode4); } } trcbktNode6 = (TRCbkt)nodeArrayList4.get(0); psizedeclarationNode1 = new ASizeDeclaration(tsizeNode2, tlcbktNode3, listNode5, trcbktNode6); } nodeList.add(psizedeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new18() /* reduce AAruledeclaration1RuleDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PRuleDeclaration pruledeclarationNode1; { // Block TRule truleNode2; TString tstringNode3; @SuppressWarnings("unused") Object nullNode4 = null; TLCbkt tlcbktNode5; LinkedList listNode6 = new LinkedList(); TRCbkt trcbktNode7; truleNode2 = (TRule)nodeArrayList1.get(0); tstringNode3 = (TString)nodeArrayList2.get(0); tlcbktNode5 = (TLCbkt)nodeArrayList3.get(0); { // Block } trcbktNode7 = (TRCbkt)nodeArrayList4.get(0); pruledeclarationNode1 = new ARuleDeclaration(truleNode2, tstringNode3, null, tlcbktNode5, listNode6, trcbktNode7); } nodeList.add(pruledeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new19() /* reduce AAruledeclaration2RuleDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PRuleDeclaration pruledeclarationNode1; { // Block TRule truleNode2; TString tstringNode3; TNumber tnumberNode4; TLCbkt tlcbktNode5; LinkedList listNode6 = new LinkedList(); TRCbkt trcbktNode7; truleNode2 = (TRule)nodeArrayList1.get(0); tstringNode3 = (TString)nodeArrayList2.get(0); tnumberNode4 = (TNumber)nodeArrayList3.get(0); tlcbktNode5 = (TLCbkt)nodeArrayList4.get(0); { // Block } trcbktNode7 = (TRCbkt)nodeArrayList5.get(0); pruledeclarationNode1 = new ARuleDeclaration(truleNode2, tstringNode3, tnumberNode4, tlcbktNode5, listNode6, trcbktNode7); } nodeList.add(pruledeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new20() /* reduce AAruledeclaration3RuleDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PRuleDeclaration pruledeclarationNode1; { // Block TRule truleNode2; TString tstringNode3; @SuppressWarnings("unused") Object nullNode4 = null; TLCbkt tlcbktNode5; LinkedList listNode7 = new LinkedList(); TRCbkt trcbktNode8; truleNode2 = (TRule)nodeArrayList1.get(0); tstringNode3 = (TString)nodeArrayList2.get(0); tlcbktNode5 = (TLCbkt)nodeArrayList3.get(0); { // Block LinkedList listNode6 = new LinkedList(); listNode6 = (LinkedList)nodeArrayList4.get(0); if(listNode6 != null) { listNode7.addAll(listNode6); } } trcbktNode8 = (TRCbkt)nodeArrayList5.get(0); pruledeclarationNode1 = new ARuleDeclaration(truleNode2, tstringNode3, null, tlcbktNode5, listNode7, trcbktNode8); } nodeList.add(pruledeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new21() /* reduce AAruledeclaration4RuleDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList6 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PRuleDeclaration pruledeclarationNode1; { // Block TRule truleNode2; TString tstringNode3; TNumber tnumberNode4; TLCbkt tlcbktNode5; LinkedList listNode7 = new LinkedList(); TRCbkt trcbktNode8; truleNode2 = (TRule)nodeArrayList1.get(0); tstringNode3 = (TString)nodeArrayList2.get(0); tnumberNode4 = (TNumber)nodeArrayList3.get(0); tlcbktNode5 = (TLCbkt)nodeArrayList4.get(0); { // Block LinkedList listNode6 = new LinkedList(); listNode6 = (LinkedList)nodeArrayList5.get(0); if(listNode6 != null) { listNode7.addAll(listNode6); } } trcbktNode8 = (TRCbkt)nodeArrayList6.get(0); pruledeclarationNode1 = new ARuleDeclaration(truleNode2, tstringNode3, tnumberNode4, tlcbktNode5, listNode7, trcbktNode8); } nodeList.add(pruledeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new22() /* reduce AAunorderedshapereplacementdeclaration1ShapeReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeReplacementDeclaration pshapereplacementdeclarationNode1; { // Block TNumber tnumberNode2; TStar tstarNode3; TLSbkt tlsbktNode4; LinkedList listNode5 = new LinkedList(); TRSbkt trsbktNode6; PShapeReplacementBlock pshapereplacementblockNode7; tnumberNode2 = (TNumber)nodeArrayList1.get(0); tstarNode3 = (TStar)nodeArrayList2.get(0); tlsbktNode4 = (TLSbkt)nodeArrayList3.get(0); { // Block } trsbktNode6 = (TRSbkt)nodeArrayList4.get(0); pshapereplacementblockNode7 = (PShapeReplacementBlock)nodeArrayList5.get(0); pshapereplacementdeclarationNode1 = new AUnorderedShapeReplacementDeclaration(tnumberNode2, tstarNode3, tlsbktNode4, listNode5, trsbktNode6, pshapereplacementblockNode7); } nodeList.add(pshapereplacementdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new23() /* reduce AAunorderedshapereplacementdeclaration2ShapeReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList6 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeReplacementDeclaration pshapereplacementdeclarationNode1; { // Block TNumber tnumberNode2; TStar tstarNode3; TLSbkt tlsbktNode4; LinkedList listNode6 = new LinkedList(); TRSbkt trsbktNode7; PShapeReplacementBlock pshapereplacementblockNode8; tnumberNode2 = (TNumber)nodeArrayList1.get(0); tstarNode3 = (TStar)nodeArrayList2.get(0); tlsbktNode4 = (TLSbkt)nodeArrayList3.get(0); { // Block LinkedList listNode5 = new LinkedList(); listNode5 = (LinkedList)nodeArrayList4.get(0); if(listNode5 != null) { listNode6.addAll(listNode5); } } trsbktNode7 = (TRSbkt)nodeArrayList5.get(0); pshapereplacementblockNode8 = (PShapeReplacementBlock)nodeArrayList6.get(0); pshapereplacementdeclarationNode1 = new AUnorderedShapeReplacementDeclaration(tnumberNode2, tstarNode3, tlsbktNode4, listNode6, trsbktNode7, pshapereplacementblockNode8); } nodeList.add(pshapereplacementdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new24() /* reduce AAorderedshapereplacementdeclaration1ShapeReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeReplacementDeclaration pshapereplacementdeclarationNode1; { // Block TNumber tnumberNode2; TStar tstarNode3; TLCbkt tlcbktNode4; LinkedList listNode5 = new LinkedList(); TRCbkt trcbktNode6; PShapeReplacementBlock pshapereplacementblockNode7; tnumberNode2 = (TNumber)nodeArrayList1.get(0); tstarNode3 = (TStar)nodeArrayList2.get(0); tlcbktNode4 = (TLCbkt)nodeArrayList3.get(0); { // Block } trcbktNode6 = (TRCbkt)nodeArrayList4.get(0); pshapereplacementblockNode7 = (PShapeReplacementBlock)nodeArrayList5.get(0); pshapereplacementdeclarationNode1 = new AOrderedShapeReplacementDeclaration(tnumberNode2, tstarNode3, tlcbktNode4, listNode5, trcbktNode6, pshapereplacementblockNode7); } nodeList.add(pshapereplacementdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new25() /* reduce AAorderedshapereplacementdeclaration2ShapeReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList6 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeReplacementDeclaration pshapereplacementdeclarationNode1; { // Block TNumber tnumberNode2; TStar tstarNode3; TLCbkt tlcbktNode4; LinkedList listNode6 = new LinkedList(); TRCbkt trcbktNode7; PShapeReplacementBlock pshapereplacementblockNode8; tnumberNode2 = (TNumber)nodeArrayList1.get(0); tstarNode3 = (TStar)nodeArrayList2.get(0); tlcbktNode4 = (TLCbkt)nodeArrayList3.get(0); { // Block LinkedList listNode5 = new LinkedList(); listNode5 = (LinkedList)nodeArrayList4.get(0); if(listNode5 != null) { listNode6.addAll(listNode5); } } trcbktNode7 = (TRCbkt)nodeArrayList5.get(0); pshapereplacementblockNode8 = (PShapeReplacementBlock)nodeArrayList6.get(0); pshapereplacementdeclarationNode1 = new AOrderedShapeReplacementDeclaration(tnumberNode2, tstarNode3, tlcbktNode4, listNode6, trcbktNode7, pshapereplacementblockNode8); } nodeList.add(pshapereplacementdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new26() /* reduce ASingleShapeReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeReplacementDeclaration pshapereplacementdeclarationNode1; { // Block PShapeReplacement pshapereplacementNode2; pshapereplacementNode2 = (PShapeReplacement)nodeArrayList1.get(0); pshapereplacementdeclarationNode1 = new ASingleShapeReplacementDeclaration(pshapereplacementNode2); } nodeList.add(pshapereplacementdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new27() /* reduce AAunorderedshapereplacement1ShapeReplacement */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeReplacement pshapereplacementNode1; { // Block TString tstringNode2; TLSbkt tlsbktNode3; LinkedList listNode4 = new LinkedList(); TRSbkt trsbktNode5; tstringNode2 = (TString)nodeArrayList1.get(0); tlsbktNode3 = (TLSbkt)nodeArrayList2.get(0); { // Block } trsbktNode5 = (TRSbkt)nodeArrayList3.get(0); pshapereplacementNode1 = new AUnorderedShapeReplacement(tstringNode2, tlsbktNode3, listNode4, trsbktNode5); } nodeList.add(pshapereplacementNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new28() /* reduce AAunorderedshapereplacement2ShapeReplacement */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeReplacement pshapereplacementNode1; { // Block TString tstringNode2; TLSbkt tlsbktNode3; LinkedList listNode5 = new LinkedList(); TRSbkt trsbktNode6; tstringNode2 = (TString)nodeArrayList1.get(0); tlsbktNode3 = (TLSbkt)nodeArrayList2.get(0); { // Block LinkedList listNode4 = new LinkedList(); listNode4 = (LinkedList)nodeArrayList3.get(0); if(listNode4 != null) { listNode5.addAll(listNode4); } } trsbktNode6 = (TRSbkt)nodeArrayList4.get(0); pshapereplacementNode1 = new AUnorderedShapeReplacement(tstringNode2, tlsbktNode3, listNode5, trsbktNode6); } nodeList.add(pshapereplacementNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new29() /* reduce AAorderedshapereplacement1ShapeReplacement */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeReplacement pshapereplacementNode1; { // Block TString tstringNode2; TLCbkt tlcbktNode3; LinkedList listNode4 = new LinkedList(); TRCbkt trcbktNode5; tstringNode2 = (TString)nodeArrayList1.get(0); tlcbktNode3 = (TLCbkt)nodeArrayList2.get(0); { // Block } trcbktNode5 = (TRCbkt)nodeArrayList3.get(0); pshapereplacementNode1 = new AOrderedShapeReplacement(tstringNode2, tlcbktNode3, listNode4, trcbktNode5); } nodeList.add(pshapereplacementNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new30() /* reduce AAorderedshapereplacement2ShapeReplacement */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeReplacement pshapereplacementNode1; { // Block TString tstringNode2; TLCbkt tlcbktNode3; LinkedList listNode5 = new LinkedList(); TRCbkt trcbktNode6; tstringNode2 = (TString)nodeArrayList1.get(0); tlcbktNode3 = (TLCbkt)nodeArrayList2.get(0); { // Block LinkedList listNode4 = new LinkedList(); listNode4 = (LinkedList)nodeArrayList3.get(0); if(listNode4 != null) { listNode5.addAll(listNode4); } } trcbktNode6 = (TRCbkt)nodeArrayList4.get(0); pshapereplacementNode1 = new AOrderedShapeReplacement(tstringNode2, tlcbktNode3, listNode5, trcbktNode6); } nodeList.add(pshapereplacementNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new31() /* reduce ABasicShapeReplacementBlock */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeReplacementBlock pshapereplacementblockNode1; { // Block PShapeReplacement pshapereplacementNode2; pshapereplacementNode2 = (PShapeReplacement)nodeArrayList1.get(0); pshapereplacementblockNode1 = new ABasicShapeReplacementBlock(pshapereplacementNode2); } nodeList.add(pshapereplacementblockNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new32() /* reduce AAlistshapereplacementblock1ShapeReplacementBlock */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeReplacementBlock pshapereplacementblockNode1; { // Block TLCbkt tlcbktNode2; LinkedList listNode3 = new LinkedList(); TRCbkt trcbktNode4; tlcbktNode2 = (TLCbkt)nodeArrayList1.get(0); { // Block } trcbktNode4 = (TRCbkt)nodeArrayList2.get(0); pshapereplacementblockNode1 = new AListShapeReplacementBlock(tlcbktNode2, listNode3, trcbktNode4); } nodeList.add(pshapereplacementblockNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new33() /* reduce AAlistshapereplacementblock2ShapeReplacementBlock */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeReplacementBlock pshapereplacementblockNode1; { // Block TLCbkt tlcbktNode2; LinkedList listNode4 = new LinkedList(); TRCbkt trcbktNode5; tlcbktNode2 = (TLCbkt)nodeArrayList1.get(0); { // Block LinkedList listNode3 = new LinkedList(); listNode3 = (LinkedList)nodeArrayList2.get(0); if(listNode3 != null) { listNode4.addAll(listNode3); } } trcbktNode5 = (TRCbkt)nodeArrayList3.get(0); pshapereplacementblockNode1 = new AListShapeReplacementBlock(tlcbktNode2, listNode4, trcbktNode5); } nodeList.add(pshapereplacementblockNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new34() /* reduce AStarOperator */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperator poperatorNode1; { // Block TStar tstarNode2; tstarNode2 = (TStar)nodeArrayList1.get(0); poperatorNode1 = new AStarOperator(tstarNode2); } nodeList.add(poperatorNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new35() /* reduce APlusOperator */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperator poperatorNode1; { // Block TPlus tplusNode2; tplusNode2 = (TPlus)nodeArrayList1.get(0); poperatorNode1 = new APlusOperator(tplusNode2); } nodeList.add(poperatorNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new36() /* reduce AMinusOperator */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperator poperatorNode1; { // Block TMinus tminusNode2; tminusNode2 = (TMinus)nodeArrayList1.get(0); poperatorNode1 = new AMinusOperator(tminusNode2); } nodeList.add(poperatorNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new37() /* reduce ASlashOperator */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperator poperatorNode1; { // Block TSlash tslashNode2; tslashNode2 = (TSlash)nodeArrayList1.get(0); poperatorNode1 = new ASlashOperator(tslashNode2); } nodeList.add(poperatorNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new38() /* reduce AArrowOperator */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperator poperatorNode1; { // Block TArrow tarrowNode2; tarrowNode2 = (TArrow)nodeArrayList1.get(0); poperatorNode1 = new AArrowOperator(tarrowNode2); } nodeList.add(poperatorNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new39() /* reduce AApathoperation1PathOperation */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathOperation ppathoperationNode1; { // Block TOperation toperationNode2; TLCbkt tlcbktNode3; LinkedList listNode4 = new LinkedList(); TRCbkt trcbktNode5; toperationNode2 = (TOperation)nodeArrayList1.get(0); tlcbktNode3 = (TLCbkt)nodeArrayList2.get(0); { // Block } trcbktNode5 = (TRCbkt)nodeArrayList3.get(0); ppathoperationNode1 = new APathOperation(toperationNode2, tlcbktNode3, listNode4, trcbktNode5); } nodeList.add(ppathoperationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new40() /* reduce AApathoperation2PathOperation */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathOperation ppathoperationNode1; { // Block TOperation toperationNode2; TLCbkt tlcbktNode3; LinkedList listNode5 = new LinkedList(); TRCbkt trcbktNode6; toperationNode2 = (TOperation)nodeArrayList1.get(0); tlcbktNode3 = (TLCbkt)nodeArrayList2.get(0); { // Block LinkedList listNode4 = new LinkedList(); listNode4 = (LinkedList)nodeArrayList3.get(0); if(listNode4 != null) { listNode5.addAll(listNode4); } } trcbktNode6 = (TRCbkt)nodeArrayList4.get(0); ppathoperationNode1 = new APathOperation(toperationNode2, tlcbktNode3, listNode5, trcbktNode6); } nodeList.add(ppathoperationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new41() /* reduce AAunorderedpathcommand1PathCommand */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathCommand ppathcommandNode1; { // Block TCommand tcommandNode2; TLSbkt tlsbktNode3; LinkedList listNode4 = new LinkedList(); TRSbkt trsbktNode5; tcommandNode2 = (TCommand)nodeArrayList1.get(0); tlsbktNode3 = (TLSbkt)nodeArrayList2.get(0); { // Block } trsbktNode5 = (TRSbkt)nodeArrayList3.get(0); ppathcommandNode1 = new AUnorderedPathCommand(tcommandNode2, tlsbktNode3, listNode4, trsbktNode5); } nodeList.add(ppathcommandNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new42() /* reduce AAunorderedpathcommand2PathCommand */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathCommand ppathcommandNode1; { // Block TCommand tcommandNode2; TLSbkt tlsbktNode3; LinkedList listNode5 = new LinkedList(); TRSbkt trsbktNode6; tcommandNode2 = (TCommand)nodeArrayList1.get(0); tlsbktNode3 = (TLSbkt)nodeArrayList2.get(0); { // Block LinkedList listNode4 = new LinkedList(); listNode4 = (LinkedList)nodeArrayList3.get(0); if(listNode4 != null) { listNode5.addAll(listNode4); } } trsbktNode6 = (TRSbkt)nodeArrayList4.get(0); ppathcommandNode1 = new AUnorderedPathCommand(tcommandNode2, tlsbktNode3, listNode5, trsbktNode6); } nodeList.add(ppathcommandNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new43() /* reduce AAorderedpathcommand1PathCommand */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathCommand ppathcommandNode1; { // Block TCommand tcommandNode2; TLCbkt tlcbktNode3; LinkedList listNode4 = new LinkedList(); TRCbkt trcbktNode5; tcommandNode2 = (TCommand)nodeArrayList1.get(0); tlcbktNode3 = (TLCbkt)nodeArrayList2.get(0); { // Block } trcbktNode5 = (TRCbkt)nodeArrayList3.get(0); ppathcommandNode1 = new AOrderedPathCommand(tcommandNode2, tlcbktNode3, listNode4, trcbktNode5); } nodeList.add(ppathcommandNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new44() /* reduce AAorderedpathcommand2PathCommand */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathCommand ppathcommandNode1; { // Block TCommand tcommandNode2; TLCbkt tlcbktNode3; LinkedList listNode5 = new LinkedList(); TRCbkt trcbktNode6; tcommandNode2 = (TCommand)nodeArrayList1.get(0); tlcbktNode3 = (TLCbkt)nodeArrayList2.get(0); { // Block LinkedList listNode4 = new LinkedList(); listNode4 = (LinkedList)nodeArrayList3.get(0); if(listNode4 != null) { listNode5.addAll(listNode4); } } trcbktNode6 = (TRCbkt)nodeArrayList4.get(0); ppathcommandNode1 = new AOrderedPathCommand(tcommandNode2, tlcbktNode3, listNode5, trcbktNode6); } nodeList.add(ppathcommandNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new45() /* reduce AApathdeclaration1PathDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathDeclaration ppathdeclarationNode1; { // Block TPath tpathNode2; TString tstringNode3; TLCbkt tlcbktNode4; LinkedList listNode5 = new LinkedList(); TRCbkt trcbktNode6; tpathNode2 = (TPath)nodeArrayList1.get(0); tstringNode3 = (TString)nodeArrayList2.get(0); tlcbktNode4 = (TLCbkt)nodeArrayList3.get(0); { // Block } trcbktNode6 = (TRCbkt)nodeArrayList4.get(0); ppathdeclarationNode1 = new APathDeclaration(tpathNode2, tstringNode3, tlcbktNode4, listNode5, trcbktNode6); } nodeList.add(ppathdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new46() /* reduce AApathdeclaration2PathDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathDeclaration ppathdeclarationNode1; { // Block TPath tpathNode2; TString tstringNode3; TLCbkt tlcbktNode4; LinkedList listNode6 = new LinkedList(); TRCbkt trcbktNode7; tpathNode2 = (TPath)nodeArrayList1.get(0); tstringNode3 = (TString)nodeArrayList2.get(0); tlcbktNode4 = (TLCbkt)nodeArrayList3.get(0); { // Block LinkedList listNode5 = new LinkedList(); listNode5 = (LinkedList)nodeArrayList4.get(0); if(listNode5 != null) { listNode6.addAll(listNode5); } } trcbktNode7 = (TRCbkt)nodeArrayList5.get(0); ppathdeclarationNode1 = new APathDeclaration(tpathNode2, tstringNode3, tlcbktNode4, listNode6, trcbktNode7); } nodeList.add(ppathdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new47() /* reduce AAunorderedpathreplacementdeclaration1PathReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathReplacementDeclaration ppathreplacementdeclarationNode1; { // Block TNumber tnumberNode2; TStar tstarNode3; TLSbkt tlsbktNode4; LinkedList listNode5 = new LinkedList(); TRSbkt trsbktNode6; PPathReplacementBlock ppathreplacementblockNode7; tnumberNode2 = (TNumber)nodeArrayList1.get(0); tstarNode3 = (TStar)nodeArrayList2.get(0); tlsbktNode4 = (TLSbkt)nodeArrayList3.get(0); { // Block } trsbktNode6 = (TRSbkt)nodeArrayList4.get(0); ppathreplacementblockNode7 = (PPathReplacementBlock)nodeArrayList5.get(0); ppathreplacementdeclarationNode1 = new AUnorderedPathReplacementDeclaration(tnumberNode2, tstarNode3, tlsbktNode4, listNode5, trsbktNode6, ppathreplacementblockNode7); } nodeList.add(ppathreplacementdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new48() /* reduce AAunorderedpathreplacementdeclaration2PathReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList6 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathReplacementDeclaration ppathreplacementdeclarationNode1; { // Block TNumber tnumberNode2; TStar tstarNode3; TLSbkt tlsbktNode4; LinkedList listNode6 = new LinkedList(); TRSbkt trsbktNode7; PPathReplacementBlock ppathreplacementblockNode8; tnumberNode2 = (TNumber)nodeArrayList1.get(0); tstarNode3 = (TStar)nodeArrayList2.get(0); tlsbktNode4 = (TLSbkt)nodeArrayList3.get(0); { // Block LinkedList listNode5 = new LinkedList(); listNode5 = (LinkedList)nodeArrayList4.get(0); if(listNode5 != null) { listNode6.addAll(listNode5); } } trsbktNode7 = (TRSbkt)nodeArrayList5.get(0); ppathreplacementblockNode8 = (PPathReplacementBlock)nodeArrayList6.get(0); ppathreplacementdeclarationNode1 = new AUnorderedPathReplacementDeclaration(tnumberNode2, tstarNode3, tlsbktNode4, listNode6, trsbktNode7, ppathreplacementblockNode8); } nodeList.add(ppathreplacementdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new49() /* reduce AAorderedpathreplacementdeclaration1PathReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathReplacementDeclaration ppathreplacementdeclarationNode1; { // Block TNumber tnumberNode2; TStar tstarNode3; TLCbkt tlcbktNode4; LinkedList listNode5 = new LinkedList(); TRCbkt trcbktNode6; PPathReplacementBlock ppathreplacementblockNode7; tnumberNode2 = (TNumber)nodeArrayList1.get(0); tstarNode3 = (TStar)nodeArrayList2.get(0); tlcbktNode4 = (TLCbkt)nodeArrayList3.get(0); { // Block } trcbktNode6 = (TRCbkt)nodeArrayList4.get(0); ppathreplacementblockNode7 = (PPathReplacementBlock)nodeArrayList5.get(0); ppathreplacementdeclarationNode1 = new AOrderedPathReplacementDeclaration(tnumberNode2, tstarNode3, tlcbktNode4, listNode5, trcbktNode6, ppathreplacementblockNode7); } nodeList.add(ppathreplacementdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new50() /* reduce AAorderedpathreplacementdeclaration2PathReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList6 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathReplacementDeclaration ppathreplacementdeclarationNode1; { // Block TNumber tnumberNode2; TStar tstarNode3; TLCbkt tlcbktNode4; LinkedList listNode6 = new LinkedList(); TRCbkt trcbktNode7; PPathReplacementBlock ppathreplacementblockNode8; tnumberNode2 = (TNumber)nodeArrayList1.get(0); tstarNode3 = (TStar)nodeArrayList2.get(0); tlcbktNode4 = (TLCbkt)nodeArrayList3.get(0); { // Block LinkedList listNode5 = new LinkedList(); listNode5 = (LinkedList)nodeArrayList4.get(0); if(listNode5 != null) { listNode6.addAll(listNode5); } } trcbktNode7 = (TRCbkt)nodeArrayList5.get(0); ppathreplacementblockNode8 = (PPathReplacementBlock)nodeArrayList6.get(0); ppathreplacementdeclarationNode1 = new AOrderedPathReplacementDeclaration(tnumberNode2, tstarNode3, tlcbktNode4, listNode6, trcbktNode7, ppathreplacementblockNode8); } nodeList.add(ppathreplacementdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new51() /* reduce ASinglePathReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathReplacementDeclaration ppathreplacementdeclarationNode1; { // Block PPathReplacement ppathreplacementNode2; ppathreplacementNode2 = (PPathReplacement)nodeArrayList1.get(0); ppathreplacementdeclarationNode1 = new ASinglePathReplacementDeclaration(ppathreplacementNode2); } nodeList.add(ppathreplacementdeclarationNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new52() /* reduce AOperationPathReplacement */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathReplacement ppathreplacementNode1; { // Block PPathOperation ppathoperationNode2; ppathoperationNode2 = (PPathOperation)nodeArrayList1.get(0); ppathreplacementNode1 = new AOperationPathReplacement(ppathoperationNode2); } nodeList.add(ppathreplacementNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new53() /* reduce ACommandPathReplacement */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathReplacement ppathreplacementNode1; { // Block PPathCommand ppathcommandNode2; ppathcommandNode2 = (PPathCommand)nodeArrayList1.get(0); ppathreplacementNode1 = new ACommandPathReplacement(ppathcommandNode2); } nodeList.add(ppathreplacementNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new54() /* reduce ABasicPathReplacementBlock */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathReplacementBlock ppathreplacementblockNode1; { // Block PPathReplacement ppathreplacementNode2; ppathreplacementNode2 = (PPathReplacement)nodeArrayList1.get(0); ppathreplacementblockNode1 = new ABasicPathReplacementBlock(ppathreplacementNode2); } nodeList.add(ppathreplacementblockNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new55() /* reduce AAlistpathreplacementblock1PathReplacementBlock */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathReplacementBlock ppathreplacementblockNode1; { // Block TLCbkt tlcbktNode2; LinkedList listNode3 = new LinkedList(); TRCbkt trcbktNode4; tlcbktNode2 = (TLCbkt)nodeArrayList1.get(0); { // Block } trcbktNode4 = (TRCbkt)nodeArrayList2.get(0); ppathreplacementblockNode1 = new AListPathReplacementBlock(tlcbktNode2, listNode3, trcbktNode4); } nodeList.add(ppathreplacementblockNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new56() /* reduce AAlistpathreplacementblock2PathReplacementBlock */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathReplacementBlock ppathreplacementblockNode1; { // Block TLCbkt tlcbktNode2; LinkedList listNode4 = new LinkedList(); TRCbkt trcbktNode5; tlcbktNode2 = (TLCbkt)nodeArrayList1.get(0); { // Block LinkedList listNode3 = new LinkedList(); listNode3 = (LinkedList)nodeArrayList2.get(0); if(listNode3 != null) { listNode4.addAll(listNode3); } } trcbktNode5 = (TRCbkt)nodeArrayList3.get(0); ppathreplacementblockNode1 = new AListPathReplacementBlock(tlcbktNode2, listNode4, trcbktNode5); } nodeList.add(ppathreplacementblockNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new57() /* reduce AXOperationParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperationParameter poperationparameterNode1; { // Block TXToken txtokenNode2; PExpression pexpressionNode3; txtokenNode2 = (TXToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); poperationparameterNode1 = new AXOperationParameter(txtokenNode2, pexpressionNode3); } nodeList.add(poperationparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new58() /* reduce AYOperationParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperationParameter poperationparameterNode1; { // Block TYToken tytokenNode2; PExpression pexpressionNode3; tytokenNode2 = (TYToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); poperationparameterNode1 = new AYOperationParameter(tytokenNode2, pexpressionNode3); } nodeList.add(poperationparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new59() /* reduce AX1OperationParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperationParameter poperationparameterNode1; { // Block TX1Token tx1tokenNode2; PExpression pexpressionNode3; tx1tokenNode2 = (TX1Token)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); poperationparameterNode1 = new AX1OperationParameter(tx1tokenNode2, pexpressionNode3); } nodeList.add(poperationparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new60() /* reduce AY1OperationParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperationParameter poperationparameterNode1; { // Block TY1Token ty1tokenNode2; PExpression pexpressionNode3; ty1tokenNode2 = (TY1Token)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); poperationparameterNode1 = new AY1OperationParameter(ty1tokenNode2, pexpressionNode3); } nodeList.add(poperationparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new61() /* reduce AX2OperationParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperationParameter poperationparameterNode1; { // Block TX2Token tx2tokenNode2; PExpression pexpressionNode3; tx2tokenNode2 = (TX2Token)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); poperationparameterNode1 = new AX2OperationParameter(tx2tokenNode2, pexpressionNode3); } nodeList.add(poperationparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new62() /* reduce AY2OperationParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperationParameter poperationparameterNode1; { // Block TY2Token ty2tokenNode2; PExpression pexpressionNode3; ty2tokenNode2 = (TY2Token)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); poperationparameterNode1 = new AY2OperationParameter(ty2tokenNode2, pexpressionNode3); } nodeList.add(poperationparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new63() /* reduce ARxOperationParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperationParameter poperationparameterNode1; { // Block TRxToken trxtokenNode2; PExpression pexpressionNode3; trxtokenNode2 = (TRxToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); poperationparameterNode1 = new ARxOperationParameter(trxtokenNode2, pexpressionNode3); } nodeList.add(poperationparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new64() /* reduce ARyOperationParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperationParameter poperationparameterNode1; { // Block TRyToken trytokenNode2; PExpression pexpressionNode3; trytokenNode2 = (TRyToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); poperationparameterNode1 = new ARyOperationParameter(trytokenNode2, pexpressionNode3); } nodeList.add(poperationparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new65() /* reduce ARotateOperationParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperationParameter poperationparameterNode1; { // Block TRotateToken trotatetokenNode2; PExpression pexpressionNode3; trotatetokenNode2 = (TRotateToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); poperationparameterNode1 = new ARotateOperationParameter(trotatetokenNode2, pexpressionNode3); } nodeList.add(poperationparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new66() /* reduce AParametersOperationParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); POperationParameter poperationparameterNode1; { // Block TParametersToken tparameterstokenNode2; TString tstringNode3; tparameterstokenNode2 = (TParametersToken)nodeArrayList1.get(0); tstringNode3 = (TString)nodeArrayList2.get(0); poperationparameterNode1 = new AParametersOperationParameter(tparameterstokenNode2, tstringNode3); } nodeList.add(poperationparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new67() /* reduce AColorCommandParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCommandParameter pcommandparameterNode1; { // Block PColorAdjustment pcoloradjustmentNode2; pcoloradjustmentNode2 = (PColorAdjustment)nodeArrayList1.get(0); pcommandparameterNode1 = new AColorCommandParameter(pcoloradjustmentNode2); } nodeList.add(pcommandparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new68() /* reduce AGeometryCommandParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCommandParameter pcommandparameterNode1; { // Block PPathAdjustment ppathadjustmentNode2; ppathadjustmentNode2 = (PPathAdjustment)nodeArrayList1.get(0); pcommandparameterNode1 = new AGeometryCommandParameter(ppathadjustmentNode2); } nodeList.add(pcommandparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new69() /* reduce AStrokeCommandParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCommandParameter pcommandparameterNode1; { // Block TStrokewidthToken tstrokewidthtokenNode2; PExpression pexpressionNode3; tstrokewidthtokenNode2 = (TStrokewidthToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pcommandparameterNode1 = new AStrokeCommandParameter(tstrokewidthtokenNode2, pexpressionNode3); } nodeList.add(pcommandparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new70() /* reduce AParametersCommandParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCommandParameter pcommandparameterNode1; { // Block TParametersToken tparameterstokenNode2; TString tstringNode3; tparameterstokenNode2 = (TParametersToken)nodeArrayList1.get(0); tstringNode3 = (TString)nodeArrayList2.get(0); pcommandparameterNode1 = new AParametersCommandParameter(tparameterstokenNode2, tstringNode3); } nodeList.add(pcommandparameterNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new71() /* reduce AHueBackgroundAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PBackgroundAdjustment pbackgroundadjustmentNode1; { // Block THueToken thuetokenNode2; PExpression pexpressionNode3; thuetokenNode2 = (THueToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pbackgroundadjustmentNode1 = new AHueBackgroundAdjustment(thuetokenNode2, pexpressionNode3); } nodeList.add(pbackgroundadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new72() /* reduce ABrightnessBackgroundAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PBackgroundAdjustment pbackgroundadjustmentNode1; { // Block TBrightnessToken tbrightnesstokenNode2; PExpression pexpressionNode3; tbrightnesstokenNode2 = (TBrightnessToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pbackgroundadjustmentNode1 = new ABrightnessBackgroundAdjustment(tbrightnesstokenNode2, pexpressionNode3); } nodeList.add(pbackgroundadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new73() /* reduce ASaturationBackgroundAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PBackgroundAdjustment pbackgroundadjustmentNode1; { // Block TSaturationToken tsaturationtokenNode2; PExpression pexpressionNode3; tsaturationtokenNode2 = (TSaturationToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pbackgroundadjustmentNode1 = new ASaturationBackgroundAdjustment(tsaturationtokenNode2, pexpressionNode3); } nodeList.add(pbackgroundadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new74() /* reduce AAlphaBackgroundAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PBackgroundAdjustment pbackgroundadjustmentNode1; { // Block TAlphaToken talphatokenNode2; PExpression pexpressionNode3; talphatokenNode2 = (TAlphaToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pbackgroundadjustmentNode1 = new AAlphaBackgroundAdjustment(talphatokenNode2, pexpressionNode3); } nodeList.add(pbackgroundadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new75() /* reduce AXTileAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PTileAdjustment ptileadjustmentNode1; { // Block TXToken txtokenNode2; PExpression pexpressionNode3; txtokenNode2 = (TXToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); ptileadjustmentNode1 = new AXTileAdjustment(txtokenNode2, pexpressionNode3); } nodeList.add(ptileadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new76() /* reduce AYTileAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PTileAdjustment ptileadjustmentNode1; { // Block TYToken tytokenNode2; PExpression pexpressionNode3; tytokenNode2 = (TYToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); ptileadjustmentNode1 = new AYTileAdjustment(tytokenNode2, pexpressionNode3); } nodeList.add(ptileadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new77() /* reduce AAtileadjustment1TileAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PTileAdjustment ptileadjustmentNode1; { // Block PSizeToken2 psizetoken2Node2; PFirstExpression pfirstexpressionNode3; @SuppressWarnings("unused") Object nullNode4 = null; psizetoken2Node2 = (PSizeToken2)nodeArrayList1.get(0); pfirstexpressionNode3 = (PFirstExpression)nodeArrayList2.get(0); ptileadjustmentNode1 = new ATileAdjustment(psizetoken2Node2, pfirstexpressionNode3, null); } nodeList.add(ptileadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new78() /* reduce AAtileadjustment2TileAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PTileAdjustment ptileadjustmentNode1; { // Block PSizeToken2 psizetoken2Node2; PFirstExpression pfirstexpressionNode3; PSecondExpression psecondexpressionNode4; psizetoken2Node2 = (PSizeToken2)nodeArrayList1.get(0); pfirstexpressionNode3 = (PFirstExpression)nodeArrayList2.get(0); psecondexpressionNode4 = (PSecondExpression)nodeArrayList3.get(0); ptileadjustmentNode1 = new ATileAdjustment(psizetoken2Node2, pfirstexpressionNode3, psecondexpressionNode4); } nodeList.add(ptileadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new79() /* reduce AXSizeAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PSizeAdjustment psizeadjustmentNode1; { // Block TXToken txtokenNode2; PExpression pexpressionNode3; txtokenNode2 = (TXToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); psizeadjustmentNode1 = new AXSizeAdjustment(txtokenNode2, pexpressionNode3); } nodeList.add(psizeadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new80() /* reduce AYSizeAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PSizeAdjustment psizeadjustmentNode1; { // Block TYToken tytokenNode2; PExpression pexpressionNode3; tytokenNode2 = (TYToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); psizeadjustmentNode1 = new AYSizeAdjustment(tytokenNode2, pexpressionNode3); } nodeList.add(psizeadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new81() /* reduce AAsizesizeadjustment1SizeAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PSizeAdjustment psizeadjustmentNode1; { // Block PSizeToken2 psizetoken2Node2; PFirstExpression pfirstexpressionNode3; @SuppressWarnings("unused") Object nullNode4 = null; psizetoken2Node2 = (PSizeToken2)nodeArrayList1.get(0); pfirstexpressionNode3 = (PFirstExpression)nodeArrayList2.get(0); psizeadjustmentNode1 = new ASizeSizeAdjustment(psizetoken2Node2, pfirstexpressionNode3, null); } nodeList.add(psizeadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new82() /* reduce AAsizesizeadjustment2SizeAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PSizeAdjustment psizeadjustmentNode1; { // Block PSizeToken2 psizetoken2Node2; PFirstExpression pfirstexpressionNode3; PSecondExpression psecondexpressionNode4; psizetoken2Node2 = (PSizeToken2)nodeArrayList1.get(0); pfirstexpressionNode3 = (PFirstExpression)nodeArrayList2.get(0); psecondexpressionNode4 = (PSecondExpression)nodeArrayList3.get(0); psizeadjustmentNode1 = new ASizeSizeAdjustment(psizetoken2Node2, pfirstexpressionNode3, psecondexpressionNode4); } nodeList.add(psizeadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new83() /* reduce AColorShapeAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeAdjustment pshapeadjustmentNode1; { // Block PColorAdjustment pcoloradjustmentNode2; pcoloradjustmentNode2 = (PColorAdjustment)nodeArrayList1.get(0); pshapeadjustmentNode1 = new AColorShapeAdjustment(pcoloradjustmentNode2); } nodeList.add(pshapeadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new84() /* reduce AGeometryShapeAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PShapeAdjustment pshapeadjustmentNode1; { // Block PGeometryAdjustment pgeometryadjustmentNode2; pgeometryadjustmentNode2 = (PGeometryAdjustment)nodeArrayList1.get(0); pshapeadjustmentNode1 = new AGeometryShapeAdjustment(pgeometryadjustmentNode2); } nodeList.add(pshapeadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new85() /* reduce ACurrentColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PColorAdjustment pcoloradjustmentNode1; { // Block PCurrentColorAdjustment pcurrentcoloradjustmentNode2; pcurrentcoloradjustmentNode2 = (PCurrentColorAdjustment)nodeArrayList1.get(0); pcoloradjustmentNode1 = new ACurrentColorAdjustment(pcurrentcoloradjustmentNode2); } nodeList.add(pcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new86() /* reduce ATargetColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PColorAdjustment pcoloradjustmentNode1; { // Block PTargetColorAdjustment ptargetcoloradjustmentNode2; ptargetcoloradjustmentNode2 = (PTargetColorAdjustment)nodeArrayList1.get(0); pcoloradjustmentNode1 = new ATargetColorAdjustment(ptargetcoloradjustmentNode2); } nodeList.add(pcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new87() /* reduce AAhuecurrentcoloradjustment1CurrentColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCurrentColorAdjustment pcurrentcoloradjustmentNode1; { // Block THueToken thuetokenNode2; PExpression pexpressionNode3; @SuppressWarnings("unused") Object nullNode4 = null; thuetokenNode2 = (THueToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pcurrentcoloradjustmentNode1 = new AHueCurrentColorAdjustment(thuetokenNode2, pexpressionNode3, null); } nodeList.add(pcurrentcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new88() /* reduce AAhuecurrentcoloradjustment2CurrentColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCurrentColorAdjustment pcurrentcoloradjustmentNode1; { // Block THueToken thuetokenNode2; PExpression pexpressionNode3; TBar tbarNode4; thuetokenNode2 = (THueToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); tbarNode4 = (TBar)nodeArrayList3.get(0); pcurrentcoloradjustmentNode1 = new AHueCurrentColorAdjustment(thuetokenNode2, pexpressionNode3, tbarNode4); } nodeList.add(pcurrentcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new89() /* reduce AAbrightnesscurrentcoloradjustment1CurrentColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCurrentColorAdjustment pcurrentcoloradjustmentNode1; { // Block TBrightnessToken tbrightnesstokenNode2; PExpression pexpressionNode3; @SuppressWarnings("unused") Object nullNode4 = null; tbrightnesstokenNode2 = (TBrightnessToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pcurrentcoloradjustmentNode1 = new ABrightnessCurrentColorAdjustment(tbrightnesstokenNode2, pexpressionNode3, null); } nodeList.add(pcurrentcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new90() /* reduce AAbrightnesscurrentcoloradjustment2CurrentColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCurrentColorAdjustment pcurrentcoloradjustmentNode1; { // Block TBrightnessToken tbrightnesstokenNode2; PExpression pexpressionNode3; TBar tbarNode4; tbrightnesstokenNode2 = (TBrightnessToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); tbarNode4 = (TBar)nodeArrayList3.get(0); pcurrentcoloradjustmentNode1 = new ABrightnessCurrentColorAdjustment(tbrightnesstokenNode2, pexpressionNode3, tbarNode4); } nodeList.add(pcurrentcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new91() /* reduce AAsaturationcurrentcoloradjustment1CurrentColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCurrentColorAdjustment pcurrentcoloradjustmentNode1; { // Block TSaturationToken tsaturationtokenNode2; PExpression pexpressionNode3; @SuppressWarnings("unused") Object nullNode4 = null; tsaturationtokenNode2 = (TSaturationToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pcurrentcoloradjustmentNode1 = new ASaturationCurrentColorAdjustment(tsaturationtokenNode2, pexpressionNode3, null); } nodeList.add(pcurrentcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new92() /* reduce AAsaturationcurrentcoloradjustment2CurrentColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCurrentColorAdjustment pcurrentcoloradjustmentNode1; { // Block TSaturationToken tsaturationtokenNode2; PExpression pexpressionNode3; TBar tbarNode4; tsaturationtokenNode2 = (TSaturationToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); tbarNode4 = (TBar)nodeArrayList3.get(0); pcurrentcoloradjustmentNode1 = new ASaturationCurrentColorAdjustment(tsaturationtokenNode2, pexpressionNode3, tbarNode4); } nodeList.add(pcurrentcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new93() /* reduce AAalphacurrentcoloradjustment1CurrentColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCurrentColorAdjustment pcurrentcoloradjustmentNode1; { // Block TAlphaToken talphatokenNode2; PExpression pexpressionNode3; @SuppressWarnings("unused") Object nullNode4 = null; talphatokenNode2 = (TAlphaToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pcurrentcoloradjustmentNode1 = new AAlphaCurrentColorAdjustment(talphatokenNode2, pexpressionNode3, null); } nodeList.add(pcurrentcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new94() /* reduce AAalphacurrentcoloradjustment2CurrentColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PCurrentColorAdjustment pcurrentcoloradjustmentNode1; { // Block TAlphaToken talphatokenNode2; PExpression pexpressionNode3; TBar tbarNode4; talphatokenNode2 = (TAlphaToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); tbarNode4 = (TBar)nodeArrayList3.get(0); pcurrentcoloradjustmentNode1 = new AAlphaCurrentColorAdjustment(talphatokenNode2, pexpressionNode3, tbarNode4); } nodeList.add(pcurrentcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new95() /* reduce AHueTargetColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PTargetColorAdjustment ptargetcoloradjustmentNode1; { // Block TTargetHueToken ttargethuetokenNode2; PExpression pexpressionNode3; ttargethuetokenNode2 = (TTargetHueToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); ptargetcoloradjustmentNode1 = new AHueTargetColorAdjustment(ttargethuetokenNode2, pexpressionNode3); } nodeList.add(ptargetcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new96() /* reduce ABrightnessTargetColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PTargetColorAdjustment ptargetcoloradjustmentNode1; { // Block TTargetBrightnessToken ttargetbrightnesstokenNode2; PExpression pexpressionNode3; ttargetbrightnesstokenNode2 = (TTargetBrightnessToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); ptargetcoloradjustmentNode1 = new ABrightnessTargetColorAdjustment(ttargetbrightnesstokenNode2, pexpressionNode3); } nodeList.add(ptargetcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new97() /* reduce ASaturationTargetColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PTargetColorAdjustment ptargetcoloradjustmentNode1; { // Block TTargetSaturationToken ttargetsaturationtokenNode2; PExpression pexpressionNode3; ttargetsaturationtokenNode2 = (TTargetSaturationToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); ptargetcoloradjustmentNode1 = new ASaturationTargetColorAdjustment(ttargetsaturationtokenNode2, pexpressionNode3); } nodeList.add(ptargetcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new98() /* reduce AAlphaTargetColorAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PTargetColorAdjustment ptargetcoloradjustmentNode1; { // Block TTargetAlphaToken ttargetalphatokenNode2; PExpression pexpressionNode3; ttargetalphatokenNode2 = (TTargetAlphaToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); ptargetcoloradjustmentNode1 = new AAlphaTargetColorAdjustment(ttargetalphatokenNode2, pexpressionNode3); } nodeList.add(ptargetcoloradjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new99() /* reduce AXPathAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathAdjustment ppathadjustmentNode1; { // Block TXToken txtokenNode2; PExpression pexpressionNode3; txtokenNode2 = (TXToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); ppathadjustmentNode1 = new AXPathAdjustment(txtokenNode2, pexpressionNode3); } nodeList.add(ppathadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new100() /* reduce AYPathAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathAdjustment ppathadjustmentNode1; { // Block TYToken tytokenNode2; PExpression pexpressionNode3; tytokenNode2 = (TYToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); ppathadjustmentNode1 = new AYPathAdjustment(tytokenNode2, pexpressionNode3); } nodeList.add(ppathadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new101() /* reduce ASizePathAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathAdjustment ppathadjustmentNode1; { // Block PSizeToken2 psizetoken2Node2; PExpression pexpressionNode3; psizetoken2Node2 = (PSizeToken2)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); ppathadjustmentNode1 = new ASizePathAdjustment(psizetoken2Node2, pexpressionNode3); } nodeList.add(ppathadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new102() /* reduce ASize2PathAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathAdjustment ppathadjustmentNode1; { // Block PSizeToken2 psizetoken2Node2; PFirstExpression pfirstexpressionNode3; PSecondExpression psecondexpressionNode4; psizetoken2Node2 = (PSizeToken2)nodeArrayList1.get(0); pfirstexpressionNode3 = (PFirstExpression)nodeArrayList2.get(0); psecondexpressionNode4 = (PSecondExpression)nodeArrayList3.get(0); ppathadjustmentNode1 = new ASize2PathAdjustment(psizetoken2Node2, pfirstexpressionNode3, psecondexpressionNode4); } nodeList.add(ppathadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new103() /* reduce AFlipPathAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathAdjustment ppathadjustmentNode1; { // Block TFlipToken tfliptokenNode2; PExpression pexpressionNode3; tfliptokenNode2 = (TFlipToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); ppathadjustmentNode1 = new AFlipPathAdjustment(tfliptokenNode2, pexpressionNode3); } nodeList.add(ppathadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new104() /* reduce ASkewPathAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathAdjustment ppathadjustmentNode1; { // Block TSkewToken tskewtokenNode2; PFirstExpression pfirstexpressionNode3; PSecondExpression psecondexpressionNode4; tskewtokenNode2 = (TSkewToken)nodeArrayList1.get(0); pfirstexpressionNode3 = (PFirstExpression)nodeArrayList2.get(0); psecondexpressionNode4 = (PSecondExpression)nodeArrayList3.get(0); ppathadjustmentNode1 = new ASkewPathAdjustment(tskewtokenNode2, pfirstexpressionNode3, psecondexpressionNode4); } nodeList.add(ppathadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new105() /* reduce ARotatePathAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PPathAdjustment ppathadjustmentNode1; { // Block TRotateToken trotatetokenNode2; PExpression pexpressionNode3; trotatetokenNode2 = (TRotateToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); ppathadjustmentNode1 = new ARotatePathAdjustment(trotatetokenNode2, pexpressionNode3); } nodeList.add(ppathadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new106() /* reduce AXGeometryAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PGeometryAdjustment pgeometryadjustmentNode1; { // Block TXToken txtokenNode2; PExpression pexpressionNode3; txtokenNode2 = (TXToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pgeometryadjustmentNode1 = new AXGeometryAdjustment(txtokenNode2, pexpressionNode3); } nodeList.add(pgeometryadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new107() /* reduce AYGeometryAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PGeometryAdjustment pgeometryadjustmentNode1; { // Block TYToken tytokenNode2; PExpression pexpressionNode3; tytokenNode2 = (TYToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pgeometryadjustmentNode1 = new AYGeometryAdjustment(tytokenNode2, pexpressionNode3); } nodeList.add(pgeometryadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new108() /* reduce AZGeometryAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PGeometryAdjustment pgeometryadjustmentNode1; { // Block TZToken tztokenNode2; PExpression pexpressionNode3; tztokenNode2 = (TZToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pgeometryadjustmentNode1 = new AZGeometryAdjustment(tztokenNode2, pexpressionNode3); } nodeList.add(pgeometryadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new109() /* reduce ASizeGeometryAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PGeometryAdjustment pgeometryadjustmentNode1; { // Block PSizeToken2 psizetoken2Node2; PExpression pexpressionNode3; psizetoken2Node2 = (PSizeToken2)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pgeometryadjustmentNode1 = new ASizeGeometryAdjustment(psizetoken2Node2, pexpressionNode3); } nodeList.add(pgeometryadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new110() /* reduce ASize2GeometryAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PGeometryAdjustment pgeometryadjustmentNode1; { // Block PSizeToken2 psizetoken2Node2; PFirstExpression pfirstexpressionNode3; PSecondExpression psecondexpressionNode4; psizetoken2Node2 = (PSizeToken2)nodeArrayList1.get(0); pfirstexpressionNode3 = (PFirstExpression)nodeArrayList2.get(0); psecondexpressionNode4 = (PSecondExpression)nodeArrayList3.get(0); pgeometryadjustmentNode1 = new ASize2GeometryAdjustment(psizetoken2Node2, pfirstexpressionNode3, psecondexpressionNode4); } nodeList.add(pgeometryadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new111() /* reduce ASize3GeometryAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PGeometryAdjustment pgeometryadjustmentNode1; { // Block PSizeToken2 psizetoken2Node2; PFirstExpression pfirstexpressionNode3; PSecondExpression psecondexpressionNode4; PThirdExpression pthirdexpressionNode5; psizetoken2Node2 = (PSizeToken2)nodeArrayList1.get(0); pfirstexpressionNode3 = (PFirstExpression)nodeArrayList2.get(0); psecondexpressionNode4 = (PSecondExpression)nodeArrayList3.get(0); pthirdexpressionNode5 = (PThirdExpression)nodeArrayList4.get(0); pgeometryadjustmentNode1 = new ASize3GeometryAdjustment(psizetoken2Node2, pfirstexpressionNode3, psecondexpressionNode4, pthirdexpressionNode5); } nodeList.add(pgeometryadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new112() /* reduce AFlipGeometryAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PGeometryAdjustment pgeometryadjustmentNode1; { // Block TFlipToken tfliptokenNode2; PExpression pexpressionNode3; tfliptokenNode2 = (TFlipToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pgeometryadjustmentNode1 = new AFlipGeometryAdjustment(tfliptokenNode2, pexpressionNode3); } nodeList.add(pgeometryadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new113() /* reduce ASkewGeometryAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PGeometryAdjustment pgeometryadjustmentNode1; { // Block TSkewToken tskewtokenNode2; PFirstExpression pfirstexpressionNode3; PSecondExpression psecondexpressionNode4; tskewtokenNode2 = (TSkewToken)nodeArrayList1.get(0); pfirstexpressionNode3 = (PFirstExpression)nodeArrayList2.get(0); psecondexpressionNode4 = (PSecondExpression)nodeArrayList3.get(0); pgeometryadjustmentNode1 = new ASkewGeometryAdjustment(tskewtokenNode2, pfirstexpressionNode3, psecondexpressionNode4); } nodeList.add(pgeometryadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new114() /* reduce ARotateGeometryAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PGeometryAdjustment pgeometryadjustmentNode1; { // Block TRotateToken trotatetokenNode2; PExpression pexpressionNode3; trotatetokenNode2 = (TRotateToken)nodeArrayList1.get(0); pexpressionNode3 = (PExpression)nodeArrayList2.get(0); pgeometryadjustmentNode1 = new ARotateGeometryAdjustment(trotatetokenNode2, pexpressionNode3); } nodeList.add(pgeometryadjustmentNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new115() /* reduce ANumberExpression */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PExpression pexpressionNode1; { // Block TNumber tnumberNode2; tnumberNode2 = (TNumber)nodeArrayList1.get(0); pexpressionNode1 = new ANumberExpression(tnumberNode2); } nodeList.add(pexpressionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new116() /* reduce ANestedExpression */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PExpression pexpressionNode1; { // Block TLRbkt tlrbktNode2; PExtendedExpression pextendedexpressionNode3; TRRbkt trrbktNode4; tlrbktNode2 = (TLRbkt)nodeArrayList1.get(0); pextendedexpressionNode3 = (PExtendedExpression)nodeArrayList2.get(0); trrbktNode4 = (TRRbkt)nodeArrayList3.get(0); pexpressionNode1 = new ANestedExpression(tlrbktNode2, pextendedexpressionNode3, trrbktNode4); } nodeList.add(pexpressionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new117() /* reduce AFunctionExpression */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PExpression pexpressionNode1; { // Block PFunction pfunctionNode2; pfunctionNode2 = (PFunction)nodeArrayList1.get(0); pexpressionNode1 = new AFunctionExpression(pfunctionNode2); } nodeList.add(pexpressionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new118() /* reduce ANumberExtendedExpression */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PExtendedExpression pextendedexpressionNode1; { // Block TNumber tnumberNode2; tnumberNode2 = (TNumber)nodeArrayList1.get(0); pextendedexpressionNode1 = new ANumberExtendedExpression(tnumberNode2); } nodeList.add(pextendedexpressionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new119() /* reduce AFunctionExtendedExpression */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PExtendedExpression pextendedexpressionNode1; { // Block PFunction pfunctionNode2; pfunctionNode2 = (PFunction)nodeArrayList1.get(0); pextendedexpressionNode1 = new AFunctionExtendedExpression(pfunctionNode2); } nodeList.add(pextendedexpressionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new120() /* reduce ANestedExtendedExpression */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PExtendedExpression pextendedexpressionNode1; { // Block TLRbkt tlrbktNode2; PExtendedExpression pextendedexpressionNode3; TRRbkt trrbktNode4; tlrbktNode2 = (TLRbkt)nodeArrayList1.get(0); pextendedexpressionNode3 = (PExtendedExpression)nodeArrayList2.get(0); trrbktNode4 = (TRRbkt)nodeArrayList3.get(0); pextendedexpressionNode1 = new ANestedExtendedExpression(tlrbktNode2, pextendedexpressionNode3, trrbktNode4); } nodeList.add(pextendedexpressionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new121() /* reduce AComposedExtendedExpression */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PExtendedExpression pextendedexpressionNode1; { // Block PExtendedExpression pextendedexpressionNode2; POperator poperatorNode3; PExpression pexpressionNode4; pextendedexpressionNode2 = (PExtendedExpression)nodeArrayList1.get(0); poperatorNode3 = (POperator)nodeArrayList2.get(0); pexpressionNode4 = (PExpression)nodeArrayList3.get(0); pextendedexpressionNode1 = new AComposedExtendedExpression(pextendedexpressionNode2, poperatorNode3, pexpressionNode4); } nodeList.add(pextendedexpressionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new122() /* reduce AArg0Function */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PFunction pfunctionNode1; { // Block TFunctionArg0 tfunctionarg0Node2; TLRbkt tlrbktNode3; TRRbkt trrbktNode4; tfunctionarg0Node2 = (TFunctionArg0)nodeArrayList1.get(0); tlrbktNode3 = (TLRbkt)nodeArrayList2.get(0); trrbktNode4 = (TRRbkt)nodeArrayList3.get(0); pfunctionNode1 = new AArg0Function(tfunctionarg0Node2, tlrbktNode3, trrbktNode4); } nodeList.add(pfunctionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new123() /* reduce AArg1Function */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PFunction pfunctionNode1; { // Block TFunctionArg1 tfunctionarg1Node2; TLRbkt tlrbktNode3; PFirstExpression pfirstexpressionNode4; TRRbkt trrbktNode5; tfunctionarg1Node2 = (TFunctionArg1)nodeArrayList1.get(0); tlrbktNode3 = (TLRbkt)nodeArrayList2.get(0); pfirstexpressionNode4 = (PFirstExpression)nodeArrayList3.get(0); trrbktNode5 = (TRRbkt)nodeArrayList4.get(0); pfunctionNode1 = new AArg1Function(tfunctionarg1Node2, tlrbktNode3, pfirstexpressionNode4, trrbktNode5); } nodeList.add(pfunctionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new124() /* reduce AArg2Function */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList6 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList5 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList4 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList3 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PFunction pfunctionNode1; { // Block TFunctionArg2 tfunctionarg2Node2; TLRbkt tlrbktNode3; PFirstExpression pfirstexpressionNode4; TComma tcommaNode5; PSecondExpression psecondexpressionNode6; TRRbkt trrbktNode7; tfunctionarg2Node2 = (TFunctionArg2)nodeArrayList1.get(0); tlrbktNode3 = (TLRbkt)nodeArrayList2.get(0); pfirstexpressionNode4 = (PFirstExpression)nodeArrayList3.get(0); tcommaNode5 = (TComma)nodeArrayList4.get(0); psecondexpressionNode6 = (PSecondExpression)nodeArrayList5.get(0); trrbktNode7 = (TRRbkt)nodeArrayList6.get(0); pfunctionNode1 = new AArg2Function(tfunctionarg2Node2, tlrbktNode3, pfirstexpressionNode4, tcommaNode5, psecondexpressionNode6, trrbktNode7); } nodeList.add(pfunctionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new125() /* reduce AFirstExpression */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PFirstExpression pfirstexpressionNode1; { // Block PExtendedExpression pextendedexpressionNode2; pextendedexpressionNode2 = (PExtendedExpression)nodeArrayList1.get(0); pfirstexpressionNode1 = new AFirstExpression(pextendedexpressionNode2); } nodeList.add(pfirstexpressionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new126() /* reduce ASecondExpression */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PSecondExpression psecondexpressionNode1; { // Block PExtendedExpression pextendedexpressionNode2; pextendedexpressionNode2 = (PExtendedExpression)nodeArrayList1.get(0); psecondexpressionNode1 = new ASecondExpression(pextendedexpressionNode2); } nodeList.add(psecondexpressionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new127() /* reduce AThirdExpression */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); PThirdExpression pthirdexpressionNode1; { // Block PExtendedExpression pextendedexpressionNode2; pextendedexpressionNode2 = (PExtendedExpression)nodeArrayList1.get(0); pthirdexpressionNode1 = new AThirdExpression(pextendedexpressionNode2); } nodeList.add(pthirdexpressionNode1); return nodeList; } @SuppressWarnings("unchecked") ArrayList new128() /* reduce ATerminal$CfdgDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode2 = new LinkedList(); { // Block PCfdgDeclaration pcfdgdeclarationNode1; pcfdgdeclarationNode1 = (PCfdgDeclaration)nodeArrayList1.get(0); if(pcfdgdeclarationNode1 != null) { listNode2.add(pcfdgdeclarationNode1); } } nodeList.add(listNode2); return nodeList; } @SuppressWarnings("unchecked") ArrayList new129() /* reduce ANonTerminal$CfdgDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode3 = new LinkedList(); { // Block LinkedList listNode1 = new LinkedList(); PCfdgDeclaration pcfdgdeclarationNode2; listNode1 = (LinkedList)nodeArrayList1.get(0); pcfdgdeclarationNode2 = (PCfdgDeclaration)nodeArrayList2.get(0); if(listNode1 != null) { listNode3.addAll(listNode1); } if(pcfdgdeclarationNode2 != null) { listNode3.add(pcfdgdeclarationNode2); } } nodeList.add(listNode3); return nodeList; } @SuppressWarnings("unchecked") ArrayList new130() /* reduce ATerminal$BackgroundAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode2 = new LinkedList(); { // Block PBackgroundAdjustment pbackgroundadjustmentNode1; pbackgroundadjustmentNode1 = (PBackgroundAdjustment)nodeArrayList1.get(0); if(pbackgroundadjustmentNode1 != null) { listNode2.add(pbackgroundadjustmentNode1); } } nodeList.add(listNode2); return nodeList; } @SuppressWarnings("unchecked") ArrayList new131() /* reduce ANonTerminal$BackgroundAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode3 = new LinkedList(); { // Block LinkedList listNode1 = new LinkedList(); PBackgroundAdjustment pbackgroundadjustmentNode2; listNode1 = (LinkedList)nodeArrayList1.get(0); pbackgroundadjustmentNode2 = (PBackgroundAdjustment)nodeArrayList2.get(0); if(listNode1 != null) { listNode3.addAll(listNode1); } if(pbackgroundadjustmentNode2 != null) { listNode3.add(pbackgroundadjustmentNode2); } } nodeList.add(listNode3); return nodeList; } @SuppressWarnings("unchecked") ArrayList new132() /* reduce ATerminal$TileAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode2 = new LinkedList(); { // Block PTileAdjustment ptileadjustmentNode1; ptileadjustmentNode1 = (PTileAdjustment)nodeArrayList1.get(0); if(ptileadjustmentNode1 != null) { listNode2.add(ptileadjustmentNode1); } } nodeList.add(listNode2); return nodeList; } @SuppressWarnings("unchecked") ArrayList new133() /* reduce ANonTerminal$TileAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode3 = new LinkedList(); { // Block LinkedList listNode1 = new LinkedList(); PTileAdjustment ptileadjustmentNode2; listNode1 = (LinkedList)nodeArrayList1.get(0); ptileadjustmentNode2 = (PTileAdjustment)nodeArrayList2.get(0); if(listNode1 != null) { listNode3.addAll(listNode1); } if(ptileadjustmentNode2 != null) { listNode3.add(ptileadjustmentNode2); } } nodeList.add(listNode3); return nodeList; } @SuppressWarnings("unchecked") ArrayList new134() /* reduce ATerminal$SizeAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode2 = new LinkedList(); { // Block PSizeAdjustment psizeadjustmentNode1; psizeadjustmentNode1 = (PSizeAdjustment)nodeArrayList1.get(0); if(psizeadjustmentNode1 != null) { listNode2.add(psizeadjustmentNode1); } } nodeList.add(listNode2); return nodeList; } @SuppressWarnings("unchecked") ArrayList new135() /* reduce ANonTerminal$SizeAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode3 = new LinkedList(); { // Block LinkedList listNode1 = new LinkedList(); PSizeAdjustment psizeadjustmentNode2; listNode1 = (LinkedList)nodeArrayList1.get(0); psizeadjustmentNode2 = (PSizeAdjustment)nodeArrayList2.get(0); if(listNode1 != null) { listNode3.addAll(listNode1); } if(psizeadjustmentNode2 != null) { listNode3.add(psizeadjustmentNode2); } } nodeList.add(listNode3); return nodeList; } @SuppressWarnings("unchecked") ArrayList new136() /* reduce ATerminal$ShapeReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode2 = new LinkedList(); { // Block PShapeReplacementDeclaration pshapereplacementdeclarationNode1; pshapereplacementdeclarationNode1 = (PShapeReplacementDeclaration)nodeArrayList1.get(0); if(pshapereplacementdeclarationNode1 != null) { listNode2.add(pshapereplacementdeclarationNode1); } } nodeList.add(listNode2); return nodeList; } @SuppressWarnings("unchecked") ArrayList new137() /* reduce ANonTerminal$ShapeReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode3 = new LinkedList(); { // Block LinkedList listNode1 = new LinkedList(); PShapeReplacementDeclaration pshapereplacementdeclarationNode2; listNode1 = (LinkedList)nodeArrayList1.get(0); pshapereplacementdeclarationNode2 = (PShapeReplacementDeclaration)nodeArrayList2.get(0); if(listNode1 != null) { listNode3.addAll(listNode1); } if(pshapereplacementdeclarationNode2 != null) { listNode3.add(pshapereplacementdeclarationNode2); } } nodeList.add(listNode3); return nodeList; } @SuppressWarnings("unchecked") ArrayList new138() /* reduce ATerminal$ShapeAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode2 = new LinkedList(); { // Block PShapeAdjustment pshapeadjustmentNode1; pshapeadjustmentNode1 = (PShapeAdjustment)nodeArrayList1.get(0); if(pshapeadjustmentNode1 != null) { listNode2.add(pshapeadjustmentNode1); } } nodeList.add(listNode2); return nodeList; } @SuppressWarnings("unchecked") ArrayList new139() /* reduce ANonTerminal$ShapeAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode3 = new LinkedList(); { // Block LinkedList listNode1 = new LinkedList(); PShapeAdjustment pshapeadjustmentNode2; listNode1 = (LinkedList)nodeArrayList1.get(0); pshapeadjustmentNode2 = (PShapeAdjustment)nodeArrayList2.get(0); if(listNode1 != null) { listNode3.addAll(listNode1); } if(pshapeadjustmentNode2 != null) { listNode3.add(pshapeadjustmentNode2); } } nodeList.add(listNode3); return nodeList; } @SuppressWarnings("unchecked") ArrayList new140() /* reduce ATerminal$OperationParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode2 = new LinkedList(); { // Block POperationParameter poperationparameterNode1; poperationparameterNode1 = (POperationParameter)nodeArrayList1.get(0); if(poperationparameterNode1 != null) { listNode2.add(poperationparameterNode1); } } nodeList.add(listNode2); return nodeList; } @SuppressWarnings("unchecked") ArrayList new141() /* reduce ANonTerminal$OperationParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode3 = new LinkedList(); { // Block LinkedList listNode1 = new LinkedList(); POperationParameter poperationparameterNode2; listNode1 = (LinkedList)nodeArrayList1.get(0); poperationparameterNode2 = (POperationParameter)nodeArrayList2.get(0); if(listNode1 != null) { listNode3.addAll(listNode1); } if(poperationparameterNode2 != null) { listNode3.add(poperationparameterNode2); } } nodeList.add(listNode3); return nodeList; } @SuppressWarnings("unchecked") ArrayList new142() /* reduce ATerminal$CommandParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode2 = new LinkedList(); { // Block PCommandParameter pcommandparameterNode1; pcommandparameterNode1 = (PCommandParameter)nodeArrayList1.get(0); if(pcommandparameterNode1 != null) { listNode2.add(pcommandparameterNode1); } } nodeList.add(listNode2); return nodeList; } @SuppressWarnings("unchecked") ArrayList new143() /* reduce ANonTerminal$CommandParameter */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode3 = new LinkedList(); { // Block LinkedList listNode1 = new LinkedList(); PCommandParameter pcommandparameterNode2; listNode1 = (LinkedList)nodeArrayList1.get(0); pcommandparameterNode2 = (PCommandParameter)nodeArrayList2.get(0); if(listNode1 != null) { listNode3.addAll(listNode1); } if(pcommandparameterNode2 != null) { listNode3.add(pcommandparameterNode2); } } nodeList.add(listNode3); return nodeList; } @SuppressWarnings("unchecked") ArrayList new144() /* reduce ATerminal$PathReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode2 = new LinkedList(); { // Block PPathReplacementDeclaration ppathreplacementdeclarationNode1; ppathreplacementdeclarationNode1 = (PPathReplacementDeclaration)nodeArrayList1.get(0); if(ppathreplacementdeclarationNode1 != null) { listNode2.add(ppathreplacementdeclarationNode1); } } nodeList.add(listNode2); return nodeList; } @SuppressWarnings("unchecked") ArrayList new145() /* reduce ANonTerminal$PathReplacementDeclaration */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode3 = new LinkedList(); { // Block LinkedList listNode1 = new LinkedList(); PPathReplacementDeclaration ppathreplacementdeclarationNode2; listNode1 = (LinkedList)nodeArrayList1.get(0); ppathreplacementdeclarationNode2 = (PPathReplacementDeclaration)nodeArrayList2.get(0); if(listNode1 != null) { listNode3.addAll(listNode1); } if(ppathreplacementdeclarationNode2 != null) { listNode3.add(ppathreplacementdeclarationNode2); } } nodeList.add(listNode3); return nodeList; } @SuppressWarnings("unchecked") ArrayList new146() /* reduce ATerminal$PathAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode2 = new LinkedList(); { // Block PPathAdjustment ppathadjustmentNode1; ppathadjustmentNode1 = (PPathAdjustment)nodeArrayList1.get(0); if(ppathadjustmentNode1 != null) { listNode2.add(ppathadjustmentNode1); } } nodeList.add(listNode2); return nodeList; } @SuppressWarnings("unchecked") ArrayList new147() /* reduce ANonTerminal$PathAdjustment */ { @SuppressWarnings("hiding") ArrayList nodeList = new ArrayList(); @SuppressWarnings("unused") ArrayList nodeArrayList2 = pop(); @SuppressWarnings("unused") ArrayList nodeArrayList1 = pop(); LinkedList listNode3 = new LinkedList(); { // Block LinkedList listNode1 = new LinkedList(); PPathAdjustment ppathadjustmentNode2; listNode1 = (LinkedList)nodeArrayList1.get(0); ppathadjustmentNode2 = (PPathAdjustment)nodeArrayList2.get(0); if(listNode1 != null) { listNode3.addAll(listNode1); } if(ppathadjustmentNode2 != null) { listNode3.add(ppathadjustmentNode2); } } nodeList.add(listNode3); return nodeList; } private static int[][][] actionTable; /* { {{-1, ERROR, 0}, {41, SHIFT, 1}, {42, SHIFT, 2}, {43, SHIFT, 3}, {44, SHIFT, 4}, {45, SHIFT, 5}, {46, SHIFT, 6}, {47, SHIFT, 7}, }, {{-1, ERROR, 1}, {49, SHIFT, 18}, }, {{-1, ERROR, 2}, {7, SHIFT, 19}, }, {{-1, ERROR, 3}, {48, SHIFT, 20}, }, {{-1, ERROR, 4}, {7, SHIFT, 21}, }, {{-1, ERROR, 5}, {7, SHIFT, 22}, }, {{-1, ERROR, 6}, {49, SHIFT, 23}, }, {{-1, ERROR, 7}, {49, SHIFT, 24}, }, {{-1, ERROR, 8}, {51, ACCEPT, -1}, }, {{-1, REDUCE, 128}, }, {{-1, REDUCE, 3}, }, {{-1, REDUCE, 4}, }, {{-1, REDUCE, 5}, }, {{-1, REDUCE, 6}, }, {{-1, REDUCE, 7}, }, {{-1, REDUCE, 8}, }, {{-1, REDUCE, 9}, }, {{-1, REDUCE, 0}, {41, SHIFT, 1}, {42, SHIFT, 2}, {43, SHIFT, 3}, {44, SHIFT, 4}, {45, SHIFT, 5}, {46, SHIFT, 6}, {47, SHIFT, 7}, }, {{-1, REDUCE, 10}, }, {{-1, ERROR, 19}, {8, SHIFT, 26}, {13, SHIFT, 27}, {14, SHIFT, 28}, {15, SHIFT, 29}, {16, SHIFT, 30}, }, {{-1, REDUCE, 11}, }, {{-1, ERROR, 21}, {8, SHIFT, 33}, {21, SHIFT, 34}, {22, SHIFT, 35}, {25, SHIFT, 36}, {45, SHIFT, 37}, }, {{-1, ERROR, 22}, {8, SHIFT, 41}, {21, SHIFT, 42}, {22, SHIFT, 43}, {25, SHIFT, 36}, {45, SHIFT, 37}, }, {{-1, ERROR, 23}, {7, SHIFT, 47}, {50, SHIFT, 48}, }, {{-1, ERROR, 24}, {7, SHIFT, 49}, }, {{-1, REDUCE, 129}, }, {{-1, REDUCE, 12}, }, {{-1, ERROR, 27}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 28}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 29}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 30}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, REDUCE, 130}, }, {{-1, ERROR, 32}, {8, SHIFT, 60}, {13, SHIFT, 27}, {14, SHIFT, 28}, {15, SHIFT, 29}, {16, SHIFT, 30}, }, {{-1, REDUCE, 14}, }, {{-1, ERROR, 34}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 35}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, REDUCE, 2}, }, {{-1, REDUCE, 1}, }, {{-1, ERROR, 38}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, REDUCE, 132}, }, {{-1, ERROR, 40}, {8, SHIFT, 69}, {21, SHIFT, 34}, {22, SHIFT, 35}, {25, SHIFT, 36}, {45, SHIFT, 37}, }, {{-1, REDUCE, 16}, }, {{-1, ERROR, 42}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 43}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 44}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, REDUCE, 134}, }, {{-1, ERROR, 46}, {8, SHIFT, 74}, {21, SHIFT, 42}, {22, SHIFT, 43}, {25, SHIFT, 36}, {45, SHIFT, 37}, }, {{-1, ERROR, 47}, {8, SHIFT, 76}, {49, SHIFT, 77}, {50, SHIFT, 78}, }, {{-1, ERROR, 48}, {7, SHIFT, 82}, }, {{-1, ERROR, 49}, {8, SHIFT, 83}, {36, SHIFT, 84}, {37, SHIFT, 85}, {50, SHIFT, 86}, }, {{-1, ERROR, 50}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, ERROR, 51}, {9, SHIFT, 93}, }, {{-1, ERROR, 52}, {9, SHIFT, 94}, }, {{-1, ERROR, 53}, {9, SHIFT, 95}, }, {{-1, REDUCE, 115}, }, {{-1, REDUCE, 71}, }, {{-1, REDUCE, 117}, }, {{-1, REDUCE, 73}, }, {{-1, REDUCE, 72}, }, {{-1, REDUCE, 74}, }, {{-1, REDUCE, 13}, }, {{-1, REDUCE, 131}, }, {{-1, REDUCE, 75}, }, {{-1, REDUCE, 76}, }, {{-1, ERROR, 64}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, REDUCE, 118}, }, {{-1, REDUCE, 125}, {1, SHIFT, 97}, {2, SHIFT, 98}, {3, SHIFT, 99}, {4, SHIFT, 100}, {5, SHIFT, 101}, }, {{-1, REDUCE, 119}, }, {{-1, REDUCE, 77}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, REDUCE, 15}, }, {{-1, REDUCE, 133}, }, {{-1, REDUCE, 79}, }, {{-1, REDUCE, 80}, }, {{-1, REDUCE, 81}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, REDUCE, 17}, }, {{-1, REDUCE, 135}, }, {{-1, REDUCE, 18}, }, {{-1, ERROR, 77}, {7, SHIFT, 106}, {11, SHIFT, 107}, }, {{-1, ERROR, 78}, {1, SHIFT, 108}, }, {{-1, REDUCE, 136}, }, {{-1, REDUCE, 26}, }, {{-1, ERROR, 81}, {8, SHIFT, 109}, {49, SHIFT, 77}, {50, SHIFT, 78}, }, {{-1, ERROR, 82}, {8, SHIFT, 111}, {49, SHIFT, 77}, {50, SHIFT, 78}, }, {{-1, REDUCE, 45}, }, {{-1, ERROR, 84}, {7, SHIFT, 113}, {11, SHIFT, 114}, }, {{-1, ERROR, 85}, {7, SHIFT, 115}, }, {{-1, ERROR, 86}, {1, SHIFT, 116}, }, {{-1, REDUCE, 52}, }, {{-1, REDUCE, 53}, }, {{-1, REDUCE, 144}, }, {{-1, REDUCE, 51}, }, {{-1, ERROR, 91}, {8, SHIFT, 117}, {36, SHIFT, 84}, {37, SHIFT, 85}, {50, SHIFT, 86}, }, {{-1, ERROR, 92}, {1, SHIFT, 97}, {2, SHIFT, 98}, {3, SHIFT, 99}, {4, SHIFT, 100}, {5, SHIFT, 101}, {10, SHIFT, 119}, }, {{-1, ERROR, 93}, {10, SHIFT, 120}, }, {{-1, ERROR, 94}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, ERROR, 95}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, ERROR, 96}, {1, SHIFT, 97}, {2, SHIFT, 98}, {3, SHIFT, 99}, {4, SHIFT, 100}, {5, SHIFT, 101}, {10, SHIFT, 123}, }, {{-1, REDUCE, 34}, }, {{-1, REDUCE, 35}, }, {{-1, REDUCE, 36}, }, {{-1, REDUCE, 37}, }, {{-1, REDUCE, 38}, }, {{-1, ERROR, 102}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, REDUCE, 126}, {1, SHIFT, 97}, {2, SHIFT, 98}, {3, SHIFT, 99}, {4, SHIFT, 100}, {5, SHIFT, 101}, }, {{-1, REDUCE, 78}, }, {{-1, REDUCE, 82}, }, {{-1, ERROR, 106}, {8, SHIFT, 125}, {13, SHIFT, 126}, {14, SHIFT, 127}, {15, SHIFT, 128}, {16, SHIFT, 129}, {17, SHIFT, 130}, {18, SHIFT, 131}, {19, SHIFT, 132}, {20, SHIFT, 133}, {21, SHIFT, 134}, {22, SHIFT, 135}, {23, SHIFT, 136}, {24, SHIFT, 137}, {25, SHIFT, 36}, {26, SHIFT, 138}, {27, SHIFT, 139}, {45, SHIFT, 37}, }, {{-1, ERROR, 107}, {12, SHIFT, 147}, {13, SHIFT, 126}, {14, SHIFT, 127}, {15, SHIFT, 128}, {16, SHIFT, 129}, {17, SHIFT, 130}, {18, SHIFT, 131}, {19, SHIFT, 132}, {20, SHIFT, 133}, {21, SHIFT, 134}, {22, SHIFT, 135}, {23, SHIFT, 136}, {24, SHIFT, 137}, {25, SHIFT, 36}, {26, SHIFT, 138}, {27, SHIFT, 139}, {45, SHIFT, 37}, }, {{-1, ERROR, 108}, {7, SHIFT, 149}, {11, SHIFT, 150}, }, {{-1, REDUCE, 20}, }, {{-1, REDUCE, 137}, }, {{-1, REDUCE, 19}, }, {{-1, ERROR, 112}, {8, SHIFT, 151}, {49, SHIFT, 77}, {50, SHIFT, 78}, }, {{-1, ERROR, 113}, {8, SHIFT, 152}, {13, SHIFT, 126}, {14, SHIFT, 127}, {15, SHIFT, 128}, {16, SHIFT, 129}, {17, SHIFT, 130}, {18, SHIFT, 131}, {19, SHIFT, 132}, {20, SHIFT, 133}, {21, SHIFT, 153}, {22, SHIFT, 154}, {24, SHIFT, 155}, {25, SHIFT, 36}, {26, SHIFT, 156}, {27, SHIFT, 157}, {28, SHIFT, 158}, {29, SHIFT, 159}, {45, SHIFT, 37}, }, {{-1, ERROR, 114}, {12, SHIFT, 165}, {13, SHIFT, 126}, {14, SHIFT, 127}, {15, SHIFT, 128}, {16, SHIFT, 129}, {17, SHIFT, 130}, {18, SHIFT, 131}, {19, SHIFT, 132}, {20, SHIFT, 133}, {21, SHIFT, 153}, {22, SHIFT, 154}, {24, SHIFT, 155}, {25, SHIFT, 36}, {26, SHIFT, 156}, {27, SHIFT, 157}, {28, SHIFT, 158}, {29, SHIFT, 159}, {45, SHIFT, 37}, }, {{-1, ERROR, 115}, {8, SHIFT, 167}, {21, SHIFT, 168}, {22, SHIFT, 169}, {24, SHIFT, 170}, {28, SHIFT, 171}, {30, SHIFT, 172}, {31, SHIFT, 173}, {32, SHIFT, 174}, {33, SHIFT, 175}, {34, SHIFT, 176}, {35, SHIFT, 177}, }, {{-1, ERROR, 116}, {7, SHIFT, 180}, {11, SHIFT, 181}, }, {{-1, REDUCE, 46}, }, {{-1, REDUCE, 145}, }, {{-1, REDUCE, 116}, }, {{-1, REDUCE, 122}, }, {{-1, ERROR, 121}, {10, SHIFT, 182}, }, {{-1, ERROR, 122}, {6, SHIFT, 183}, }, {{-1, REDUCE, 120}, }, {{-1, REDUCE, 121}, }, {{-1, REDUCE, 29}, }, {{-1, ERROR, 126}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 127}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 128}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 129}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 130}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 131}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 132}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 133}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 134}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 135}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 136}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 137}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 138}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 139}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, ERROR, 140}, {9, SHIFT, 198}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 199}, }, {{-1, REDUCE, 138}, }, {{-1, REDUCE, 83}, }, {{-1, REDUCE, 85}, }, {{-1, REDUCE, 86}, }, {{-1, REDUCE, 84}, }, {{-1, ERROR, 146}, {8, SHIFT, 203}, {13, SHIFT, 126}, {14, SHIFT, 127}, {15, SHIFT, 128}, {16, SHIFT, 129}, {17, SHIFT, 130}, {18, SHIFT, 131}, {19, SHIFT, 132}, {20, SHIFT, 133}, {21, SHIFT, 134}, {22, SHIFT, 135}, {23, SHIFT, 136}, {24, SHIFT, 137}, {25, SHIFT, 36}, {26, SHIFT, 138}, {27, SHIFT, 139}, {45, SHIFT, 37}, }, {{-1, REDUCE, 27}, }, {{-1, ERROR, 148}, {12, SHIFT, 205}, {13, SHIFT, 126}, {14, SHIFT, 127}, {15, SHIFT, 128}, {16, SHIFT, 129}, {17, SHIFT, 130}, {18, SHIFT, 131}, {19, SHIFT, 132}, {20, SHIFT, 133}, {21, SHIFT, 134}, {22, SHIFT, 135}, {23, SHIFT, 136}, {24, SHIFT, 137}, {25, SHIFT, 36}, {26, SHIFT, 138}, {27, SHIFT, 139}, {45, SHIFT, 37}, }, {{-1, ERROR, 149}, {8, SHIFT, 206}, {13, SHIFT, 126}, {14, SHIFT, 127}, {15, SHIFT, 128}, {16, SHIFT, 129}, {17, SHIFT, 130}, {18, SHIFT, 131}, {19, SHIFT, 132}, {20, SHIFT, 133}, {21, SHIFT, 134}, {22, SHIFT, 135}, {23, SHIFT, 136}, {24, SHIFT, 137}, {25, SHIFT, 36}, {26, SHIFT, 138}, {27, SHIFT, 139}, {45, SHIFT, 37}, }, {{-1, ERROR, 150}, {12, SHIFT, 208}, {13, SHIFT, 126}, {14, SHIFT, 127}, {15, SHIFT, 128}, {16, SHIFT, 129}, {17, SHIFT, 130}, {18, SHIFT, 131}, {19, SHIFT, 132}, {20, SHIFT, 133}, {21, SHIFT, 134}, {22, SHIFT, 135}, {23, SHIFT, 136}, {24, SHIFT, 137}, {25, SHIFT, 36}, {26, SHIFT, 138}, {27, SHIFT, 139}, {45, SHIFT, 37}, }, {{-1, REDUCE, 21}, }, {{-1, REDUCE, 43}, }, {{-1, ERROR, 153}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 154}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 155}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 156}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 157}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, ERROR, 158}, {49, SHIFT, 215}, }, {{-1, ERROR, 159}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 160}, {9, SHIFT, 198}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 199}, }, {{-1, REDUCE, 142}, }, {{-1, REDUCE, 67}, }, {{-1, REDUCE, 68}, }, {{-1, ERROR, 164}, {8, SHIFT, 219}, {13, SHIFT, 126}, {14, SHIFT, 127}, {15, SHIFT, 128}, {16, SHIFT, 129}, {17, SHIFT, 130}, {18, SHIFT, 131}, {19, SHIFT, 132}, {20, SHIFT, 133}, {21, SHIFT, 153}, {22, SHIFT, 154}, {24, SHIFT, 155}, {25, SHIFT, 36}, {26, SHIFT, 156}, {27, SHIFT, 157}, {28, SHIFT, 158}, {29, SHIFT, 159}, {45, SHIFT, 37}, }, {{-1, REDUCE, 41}, }, {{-1, ERROR, 166}, {12, SHIFT, 221}, {13, SHIFT, 126}, {14, SHIFT, 127}, {15, SHIFT, 128}, {16, SHIFT, 129}, {17, SHIFT, 130}, {18, SHIFT, 131}, {19, SHIFT, 132}, {20, SHIFT, 133}, {21, SHIFT, 153}, {22, SHIFT, 154}, {24, SHIFT, 155}, {25, SHIFT, 36}, {26, SHIFT, 156}, {27, SHIFT, 157}, {28, SHIFT, 158}, {29, SHIFT, 159}, {45, SHIFT, 37}, }, {{-1, REDUCE, 39}, }, {{-1, ERROR, 168}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 169}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 170}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 171}, {49, SHIFT, 225}, }, {{-1, ERROR, 172}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 173}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 174}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 175}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 176}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, ERROR, 177}, {9, SHIFT, 50}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 54}, }, {{-1, REDUCE, 140}, }, {{-1, ERROR, 179}, {8, SHIFT, 232}, {21, SHIFT, 168}, {22, SHIFT, 169}, {24, SHIFT, 170}, {28, SHIFT, 171}, {30, SHIFT, 172}, {31, SHIFT, 173}, {32, SHIFT, 174}, {33, SHIFT, 175}, {34, SHIFT, 176}, {35, SHIFT, 177}, }, {{-1, ERROR, 180}, {8, SHIFT, 234}, {21, SHIFT, 153}, {22, SHIFT, 154}, {24, SHIFT, 155}, {25, SHIFT, 36}, {26, SHIFT, 156}, {27, SHIFT, 157}, {45, SHIFT, 37}, }, {{-1, ERROR, 181}, {12, SHIFT, 237}, {21, SHIFT, 153}, {22, SHIFT, 154}, {24, SHIFT, 155}, {25, SHIFT, 36}, {26, SHIFT, 156}, {27, SHIFT, 157}, {45, SHIFT, 37}, }, {{-1, REDUCE, 123}, }, {{-1, ERROR, 183}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, REDUCE, 87}, {0, SHIFT, 240}, }, {{-1, REDUCE, 91}, {0, SHIFT, 241}, }, {{-1, REDUCE, 89}, {0, SHIFT, 242}, }, {{-1, REDUCE, 93}, {0, SHIFT, 243}, }, {{-1, REDUCE, 95}, }, {{-1, REDUCE, 97}, }, {{-1, REDUCE, 96}, }, {{-1, REDUCE, 98}, }, {{-1, REDUCE, 106}, }, {{-1, REDUCE, 107}, }, {{-1, REDUCE, 108}, }, {{-1, REDUCE, 114}, }, {{-1, REDUCE, 112}, }, {{-1, ERROR, 197}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, ERROR, 198}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, REDUCE, 115}, {1, REDUCE, 118}, {2, REDUCE, 118}, {3, REDUCE, 118}, {4, REDUCE, 118}, {5, REDUCE, 118}, {9, REDUCE, 118}, {38, REDUCE, 118}, {39, REDUCE, 118}, {40, REDUCE, 118}, {50, REDUCE, 118}, }, {{-1, REDUCE, 109}, }, {{-1, REDUCE, 117}, {1, REDUCE, 119}, {2, REDUCE, 119}, {3, REDUCE, 119}, {4, REDUCE, 119}, {5, REDUCE, 119}, {9, REDUCE, 119}, {38, REDUCE, 119}, {39, REDUCE, 119}, {40, REDUCE, 119}, {50, REDUCE, 119}, }, {{-1, ERROR, 202}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, REDUCE, 30}, }, {{-1, REDUCE, 139}, }, {{-1, REDUCE, 28}, }, {{-1, ERROR, 206}, {7, SHIFT, 247}, {49, SHIFT, 77}, }, {{-1, ERROR, 207}, {8, SHIFT, 250}, {13, SHIFT, 126}, {14, SHIFT, 127}, {15, SHIFT, 128}, {16, SHIFT, 129}, {17, SHIFT, 130}, {18, SHIFT, 131}, {19, SHIFT, 132}, {20, SHIFT, 133}, {21, SHIFT, 134}, {22, SHIFT, 135}, {23, SHIFT, 136}, {24, SHIFT, 137}, {25, SHIFT, 36}, {26, SHIFT, 138}, {27, SHIFT, 139}, {45, SHIFT, 37}, }, {{-1, ERROR, 208}, {7, SHIFT, 247}, {49, SHIFT, 77}, }, {{-1, ERROR, 209}, {12, SHIFT, 252}, {13, SHIFT, 126}, {14, SHIFT, 127}, {15, SHIFT, 128}, {16, SHIFT, 129}, {17, SHIFT, 130}, {18, SHIFT, 131}, {19, SHIFT, 132}, {20, SHIFT, 133}, {21, SHIFT, 134}, {22, SHIFT, 135}, {23, SHIFT, 136}, {24, SHIFT, 137}, {25, SHIFT, 36}, {26, SHIFT, 138}, {27, SHIFT, 139}, {45, SHIFT, 37}, }, {{-1, REDUCE, 99}, }, {{-1, REDUCE, 100}, }, {{-1, REDUCE, 105}, }, {{-1, REDUCE, 103}, }, {{-1, ERROR, 214}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, REDUCE, 70}, }, {{-1, REDUCE, 69}, }, {{-1, REDUCE, 101}, }, {{-1, ERROR, 218}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, REDUCE, 44}, }, {{-1, REDUCE, 143}, }, {{-1, REDUCE, 42}, }, {{-1, REDUCE, 57}, }, {{-1, REDUCE, 58}, }, {{-1, REDUCE, 65}, }, {{-1, REDUCE, 66}, }, {{-1, REDUCE, 59}, }, {{-1, REDUCE, 60}, }, {{-1, REDUCE, 61}, }, {{-1, REDUCE, 62}, }, {{-1, REDUCE, 63}, }, {{-1, REDUCE, 64}, }, {{-1, REDUCE, 40}, }, {{-1, REDUCE, 141}, }, {{-1, ERROR, 234}, {7, SHIFT, 255}, {36, SHIFT, 84}, {37, SHIFT, 85}, }, {{-1, REDUCE, 146}, }, {{-1, ERROR, 236}, {8, SHIFT, 258}, {21, SHIFT, 153}, {22, SHIFT, 154}, {24, SHIFT, 155}, {25, SHIFT, 36}, {26, SHIFT, 156}, {27, SHIFT, 157}, {45, SHIFT, 37}, }, {{-1, ERROR, 237}, {7, SHIFT, 255}, {36, SHIFT, 84}, {37, SHIFT, 85}, }, {{-1, ERROR, 238}, {12, SHIFT, 261}, {21, SHIFT, 153}, {22, SHIFT, 154}, {24, SHIFT, 155}, {25, SHIFT, 36}, {26, SHIFT, 156}, {27, SHIFT, 157}, {45, SHIFT, 37}, }, {{-1, ERROR, 239}, {10, SHIFT, 262}, }, {{-1, REDUCE, 88}, }, {{-1, REDUCE, 92}, }, {{-1, REDUCE, 90}, }, {{-1, REDUCE, 94}, }, {{-1, REDUCE, 113}, }, {{-1, ERROR, 245}, {1, SHIFT, 97}, {2, SHIFT, 98}, {3, SHIFT, 99}, {4, SHIFT, 100}, {5, SHIFT, 101}, {10, SHIFT, 263}, }, {{-1, REDUCE, 110}, {9, SHIFT, 64}, {38, SHIFT, 51}, {39, SHIFT, 52}, {40, SHIFT, 53}, {50, SHIFT, 65}, }, {{-1, ERROR, 247}, {8, SHIFT, 266}, {49, SHIFT, 77}, {50, SHIFT, 78}, }, {{-1, REDUCE, 31}, }, {{-1, REDUCE, 24}, }, {{-1, ERROR, 250}, {7, SHIFT, 247}, {49, SHIFT, 77}, }, {{-1, REDUCE, 22}, }, {{-1, ERROR, 252}, {7, SHIFT, 247}, {49, SHIFT, 77}, }, {{-1, REDUCE, 104}, }, {{-1, REDUCE, 102}, }, {{-1, ERROR, 255}, {8, SHIFT, 270}, {36, SHIFT, 84}, {37, SHIFT, 85}, {50, SHIFT, 86}, }, {{-1, REDUCE, 54}, }, {{-1, REDUCE, 49}, }, {{-1, ERROR, 258}, {7, SHIFT, 255}, {36, SHIFT, 84}, {37, SHIFT, 85}, }, {{-1, REDUCE, 147}, }, {{-1, REDUCE, 47}, }, {{-1, ERROR, 261}, {7, SHIFT, 255}, {36, SHIFT, 84}, {37, SHIFT, 85}, }, {{-1, REDUCE, 124}, }, {{-1, REDUCE, 116}, {1, REDUCE, 120}, {2, REDUCE, 120}, {3, REDUCE, 120}, {4, REDUCE, 120}, {5, REDUCE, 120}, {9, REDUCE, 120}, {38, REDUCE, 120}, {39, REDUCE, 120}, {40, REDUCE, 120}, {50, REDUCE, 120}, }, {{-1, REDUCE, 127}, {1, SHIFT, 97}, {2, SHIFT, 98}, {3, SHIFT, 99}, {4, SHIFT, 100}, {5, SHIFT, 101}, }, {{-1, REDUCE, 111}, }, {{-1, REDUCE, 32}, }, {{-1, ERROR, 267}, {8, SHIFT, 274}, {49, SHIFT, 77}, {50, SHIFT, 78}, }, {{-1, REDUCE, 25}, }, {{-1, REDUCE, 23}, }, {{-1, REDUCE, 55}, }, {{-1, ERROR, 271}, {8, SHIFT, 275}, {36, SHIFT, 84}, {37, SHIFT, 85}, {50, SHIFT, 86}, }, {{-1, REDUCE, 50}, }, {{-1, REDUCE, 48}, }, {{-1, REDUCE, 33}, }, {{-1, REDUCE, 56}, }, };*/ private static int[][][] gotoTable; /* { {{-1, 8}, }, {{-1, 140}, {21, 38}, {22, 44}, {40, 38}, {46, 44}, {113, 160}, {114, 160}, {164, 160}, {166, 160}, {180, 160}, {181, 160}, {236, 160}, {238, 160}, }, {{-1, 9}, {17, 25}, }, {{-1, 10}, }, {{-1, 11}, }, {{-1, 12}, }, {{-1, 13}, }, {{-1, 14}, }, {{-1, 15}, }, {{-1, 79}, {81, 110}, {112, 110}, {267, 110}, }, {{-1, 80}, {206, 248}, {208, 248}, {250, 248}, {252, 248}, }, {{-1, 249}, {208, 251}, {250, 268}, {252, 269}, }, {{-1, 102}, }, {{-1, 87}, }, {{-1, 88}, }, {{-1, 16}, }, {{-1, 89}, {91, 118}, {271, 118}, }, {{-1, 256}, {49, 90}, {91, 90}, {255, 90}, {271, 90}, }, {{-1, 257}, {237, 260}, {258, 272}, {261, 273}, }, {{-1, 178}, {179, 233}, }, {{-1, 161}, {164, 220}, {166, 220}, }, {{-1, 31}, {32, 61}, }, {{-1, 39}, {40, 70}, }, {{-1, 45}, {46, 75}, }, {{-1, 141}, {146, 204}, {148, 204}, {207, 204}, {209, 204}, }, {{-1, 142}, {113, 162}, {114, 162}, {164, 162}, {166, 162}, }, {{-1, 143}, }, {{-1, 144}, }, {{-1, 163}, {180, 235}, {181, 235}, {236, 259}, {238, 259}, }, {{-1, 145}, }, {{-1, 55}, {28, 57}, {29, 58}, {30, 59}, {34, 62}, {35, 63}, {42, 71}, {43, 72}, {102, 124}, {126, 184}, {127, 185}, {128, 186}, {129, 187}, {130, 188}, {131, 189}, {132, 190}, {133, 191}, {134, 192}, {135, 193}, {136, 194}, {137, 195}, {138, 196}, {140, 200}, {153, 210}, {154, 211}, {155, 212}, {156, 213}, {159, 216}, {160, 217}, {168, 222}, {169, 223}, {170, 224}, {172, 226}, {173, 227}, {174, 228}, {175, 229}, {176, 230}, {177, 231}, }, {{-1, 66}, {50, 92}, {64, 96}, {68, 103}, {73, 103}, {183, 103}, {197, 103}, {198, 245}, {202, 103}, {214, 103}, {218, 103}, {246, 264}, }, {{-1, 56}, {38, 67}, {44, 67}, {50, 67}, {64, 67}, {68, 67}, {73, 67}, {94, 67}, {95, 67}, {139, 67}, {140, 201}, {157, 67}, {160, 201}, {183, 67}, {197, 67}, {198, 67}, {202, 67}, {214, 67}, {218, 67}, {246, 67}, }, {{-1, 68}, {44, 73}, {94, 121}, {95, 122}, {139, 197}, {140, 202}, {157, 214}, {160, 218}, }, {{-1, 104}, {73, 105}, {183, 239}, {197, 244}, {202, 246}, {214, 253}, {218, 254}, }, {{-1, 265}, }, {{-1, 17}, }, {{-1, 32}, }, {{-1, 40}, }, {{-1, 46}, }, {{-1, 81}, {82, 112}, {247, 267}, }, {{-1, 146}, {107, 148}, {149, 207}, {150, 209}, }, {{-1, 179}, }, {{-1, 164}, {114, 166}, }, {{-1, 91}, {255, 271}, }, {{-1, 236}, {181, 238}, }, };*/ private static String[] errorMessages; /* { "expecting: 'startshape', 'background', 'include', 'tile', 'size', 'rule', 'path'", "expecting: string", "expecting: '{'", "expecting: filename", "expecting: EOF", "expecting: 'startshape', 'background', 'include', 'tile', 'size', 'rule', 'path', EOF", "expecting: '}', hue token, saturation token, brightness token, alpha token", "expecting: '}', 'x', 'y', 's', 'size'", "expecting: '{', number", "expecting: '(', 'rnd', function arg1, function arg2, number", "expecting: '}', string, number", "expecting: '}', command, operation, number", "expecting: '('", "expecting: '|', '*', '+', '-', '/', '^', ',', '}', '(', ')', ']', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', 'z', rotate token, 's', flip token, 'skew', parameters token, 'width', 'x1', 'y1', 'x2', 'y2', 'rx', 'ry', 'rnd', function arg1, function arg2, 'size', number", "expecting: '*', '+', '-', '/', '^', ',', '}', '(', ')', ']', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', 'z', rotate token, 's', flip token, 'skew', parameters token, 'width', 'rnd', function arg1, function arg2, 'size', number", "expecting: '*', '+', '-', '/', '^', ',', '}', '(', ')', 'x', 'y', 's', 'rnd', function arg1, function arg2, 'size', number", "expecting: '}', '(', 'x', 'y', 's', 'rnd', function arg1, function arg2, 'size', number", "expecting: '{', '['", "expecting: '*'", "expecting: '*', '+', '-', '/', '^', ')'", "expecting: ')'", "expecting: '*', '+', '-', '/', '^', '}', '(', ')', ']', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', 'z', rotate token, 's', flip token, 'skew', parameters token, 'width', 'rnd', function arg1, function arg2, 'size', number", "expecting: '}', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', 'z', rotate token, 's', flip token, 'skew', 'size'", "expecting: ']', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', 'z', rotate token, 's', flip token, 'skew', 'size'", "expecting: '}', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', rotate token, 's', flip token, 'skew', parameters token, 'width', 'size'", "expecting: ']', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', rotate token, 's', flip token, 'skew', parameters token, 'width', 'size'", "expecting: '}', 'x', 'y', rotate token, parameters token, 'x1', 'y1', 'x2', 'y2', 'rx', 'ry'", "expecting: ','", "expecting: '}', ']', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', 'z', rotate token, 's', flip token, 'skew', 'size'", "expecting: '}', ']', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', 'z', rotate token, 's', flip token, 'skew', parameters token, 'width', 'size'", "expecting: '}', ']', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', rotate token, 's', flip token, 'skew', parameters token, 'width', 'size'", "expecting: '}', 'x', 'y', rotate token, 's', flip token, 'skew', 'size'", "expecting: ']', 'x', 'y', rotate token, 's', flip token, 'skew', 'size'", "expecting: '|', '}', ']', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', 'z', rotate token, 's', flip token, 'skew', parameters token, 'width', 'size'", "expecting: '*', '+', '-', '/', '^', '}', '(', ']', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', 'z', rotate token, 's', flip token, 'skew', parameters token, 'width', 'rnd', function arg1, function arg2, 'size', number", "expecting: '{', string", "expecting: '{', command, operation", "expecting: '}', ']', 'x', 'y', rotate token, 's', flip token, 'skew', 'size'", "expecting: '}', '(', ']', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', 'z', rotate token, 's', flip token, 'skew', 'rnd', function arg1, function arg2, 'size', number", "expecting: '*', '+', '-', '/', '^', '}', ']', hue token, saturation token, brightness token, alpha token, target hue token, target saturation token, target brightness token, target alpha token, 'x', 'y', 'z', rotate token, 's', flip token, 'skew', 'size'", };*/ private static int[] errors; /* { 0, 1, 2, 3, 2, 2, 1, 1, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 5, 7, 7, 8, 2, 5, 5, 9, 9, 9, 9, 6, 6, 5, 9, 9, 9, 9, 9, 7, 7, 5, 9, 9, 9, 7, 7, 10, 2, 11, 9, 12, 12, 12, 13, 6, 13, 6, 6, 6, 5, 6, 7, 7, 9, 14, 15, 14, 16, 5, 7, 7, 7, 16, 5, 7, 5, 17, 18, 10, 10, 10, 10, 5, 17, 2, 18, 11, 11, 11, 11, 11, 19, 20, 9, 9, 19, 9, 9, 9, 9, 9, 9, 21, 7, 7, 22, 23, 17, 5, 10, 5, 10, 24, 25, 26, 17, 5, 11, 13, 13, 20, 27, 14, 14, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 28, 28, 29, 29, 28, 22, 10, 23, 22, 23, 5, 11, 9, 9, 9, 9, 9, 1, 9, 9, 30, 30, 30, 24, 11, 25, 11, 9, 9, 9, 1, 9, 9, 9, 9, 9, 9, 26, 26, 31, 32, 13, 9, 33, 33, 33, 33, 29, 29, 29, 29, 28, 28, 28, 28, 28, 9, 9, 34, 28, 34, 9, 10, 28, 10, 35, 22, 35, 23, 30, 30, 30, 30, 9, 30, 30, 30, 9, 11, 30, 11, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 11, 26, 36, 37, 31, 36, 32, 20, 29, 29, 29, 29, 28, 19, 38, 10, 10, 10, 35, 10, 35, 30, 30, 11, 11, 11, 36, 37, 11, 36, 13, 34, 39, 28, 10, 10, 10, 10, 11, 11, 11, 11, 10, 11, };*/ static { try { DataInputStream s = new DataInputStream( new BufferedInputStream( Parser.class.getResourceAsStream("parser.dat"))); // read actionTable int length = s.readInt(); Parser.actionTable = new int[length][][]; for(int i = 0; i < Parser.actionTable.length; i++) { length = s.readInt(); Parser.actionTable[i] = new int[length][3]; for(int j = 0; j < Parser.actionTable[i].length; j++) { for(int k = 0; k < 3; k++) { Parser.actionTable[i][j][k] = s.readInt(); } } } // read gotoTable length = s.readInt(); gotoTable = new int[length][][]; for(int i = 0; i < gotoTable.length; i++) { length = s.readInt(); gotoTable[i] = new int[length][2]; for(int j = 0; j < gotoTable[i].length; j++) { for(int k = 0; k < 2; k++) { gotoTable[i][j][k] = s.readInt(); } } } // read errorMessages length = s.readInt(); errorMessages = new String[length]; for(int i = 0; i < errorMessages.length; i++) { length = s.readInt(); StringBuffer buffer = new StringBuffer(); for(int j = 0; j < length; j++) { buffer.append(s.readChar()); } errorMessages[i] = buffer.toString(); } // read errors length = s.readInt(); errors = new int[length]; for(int i = 0; i < errors.length; i++) { errors[i] = s.readInt(); } s.close(); } catch(Exception e) { throw new RuntimeException("The file \"parser.dat\" is either missing or corrupted."); } } }