diff --git a/src/main/java/org/sablecc/sablecc/parser/Parser.java b/src/main/java/org/sablecc/sablecc/parser/Parser.java index 06374151395117903ab63d52f4a95f09e3fd44e4..edc50fa39be5b66f252cca7824f27c791dae25d0 100644 --- a/src/main/java/org/sablecc/sablecc/parser/Parser.java +++ b/src/main/java/org/sablecc/sablecc/parser/Parser.java @@ -1955,12 +1955,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, null, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -1994,12 +1990,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, null, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2025,12 +2017,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, null, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2067,12 +2055,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, null, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2098,12 +2082,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, null, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2140,12 +2120,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, null, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2174,12 +2150,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, null, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2219,12 +2191,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, null, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2250,12 +2218,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, ptokensNode5, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2292,12 +2256,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, ptokensNode6, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2326,12 +2286,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, ptokensNode5, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2371,12 +2327,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, ptokensNode6, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2405,12 +2357,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, ptokensNode5, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2450,12 +2398,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, ptokensNode6, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2487,12 +2431,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, ptokensNode5, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2535,12 +2475,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, ptokensNode6, null, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2566,12 +2502,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, null, pigntokensNode6, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2608,12 +2540,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, null, pigntokensNode7, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2642,12 +2570,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, null, pigntokensNode6, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2687,12 +2611,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, null, pigntokensNode7, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2721,12 +2641,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, null, pigntokensNode6, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2766,12 +2682,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, null, pigntokensNode7, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2803,12 +2715,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, null, pigntokensNode6, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2851,12 +2759,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, null, pigntokensNode7, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2885,12 +2789,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, ptokensNode5, pigntokensNode6, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2930,12 +2830,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, ptokensNode6, pigntokensNode7, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -2967,12 +2863,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, ptokensNode5, pigntokensNode6, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3015,12 +2907,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, ptokensNode6, pigntokensNode7, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3052,12 +2940,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, ptokensNode5, pigntokensNode6, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3100,12 +2984,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, ptokensNode6, pigntokensNode7, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3140,12 +3020,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, ptokensNode5, pigntokensNode6, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3191,12 +3067,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, ptokensNode6, pigntokensNode7, null, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3222,12 +3094,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, null, null, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3264,12 +3132,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, null, null, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3298,12 +3162,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, null, null, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3343,12 +3203,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, null, null, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3377,12 +3233,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, null, null, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3422,12 +3274,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, null, null, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3459,12 +3307,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, null, null, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3507,12 +3351,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, null, null, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3541,12 +3381,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, ptokensNode5, null, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3586,12 +3422,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, ptokensNode6, null, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3623,12 +3455,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, ptokensNode5, null, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3671,12 +3499,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, ptokensNode6, null, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3708,12 +3532,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, ptokensNode5, null, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3756,12 +3576,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, ptokensNode6, null, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3796,12 +3612,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, ptokensNode5, null, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3847,12 +3659,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, ptokensNode6, null, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3881,12 +3689,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, null, pigntokensNode6, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3926,12 +3730,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, null, pigntokensNode7, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -3963,12 +3763,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, null, pigntokensNode6, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4011,12 +3807,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, null, pigntokensNode7, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4048,12 +3840,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, null, pigntokensNode6, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4096,12 +3884,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, null, pigntokensNode7, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4136,12 +3920,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, null, pigntokensNode6, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4187,12 +3967,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, null, pigntokensNode7, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4224,12 +4000,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, ptokensNode5, pigntokensNode6, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4272,12 +4044,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, ptokensNode6, pigntokensNode7, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4312,12 +4080,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, ptokensNode5, pigntokensNode6, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4363,12 +4127,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, ptokensNode6, pigntokensNode7, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4403,12 +4163,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, ptokensNode5, pigntokensNode6, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4454,12 +4210,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, ptokensNode6, pigntokensNode7, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4497,12 +4249,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, ptokensNode5, pigntokensNode6, pproductionsNode7, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4551,12 +4299,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, ptokensNode6, pigntokensNode7, pproductionsNode8, null); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4582,12 +4326,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, null, null, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4624,12 +4364,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, null, null, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4658,12 +4394,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, null, null, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4703,12 +4435,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, null, null, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4737,12 +4465,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, null, null, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4782,12 +4506,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, null, null, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4819,12 +4539,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, null, null, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4867,12 +4583,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, null, null, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4901,12 +4613,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, ptokensNode5, null, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4946,12 +4654,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, ptokensNode6, null, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -4983,12 +4687,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, ptokensNode5, null, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5031,12 +4731,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, ptokensNode6, null, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5068,12 +4764,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, ptokensNode5, null, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5116,12 +4808,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, ptokensNode6, null, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5156,12 +4844,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, ptokensNode5, null, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5207,12 +4891,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, ptokensNode6, null, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5241,12 +4921,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, null, pigntokensNode6, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5286,12 +4962,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, null, pigntokensNode7, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5323,12 +4995,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, null, pigntokensNode6, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5371,12 +5039,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, null, pigntokensNode7, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5408,12 +5072,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, null, pigntokensNode6, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5456,12 +5116,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, null, pigntokensNode7, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5496,12 +5152,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, null, pigntokensNode6, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5547,12 +5199,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, null, pigntokensNode7, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5584,12 +5232,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, ptokensNode5, pigntokensNode6, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5632,12 +5276,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, ptokensNode6, pigntokensNode7, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5672,12 +5312,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, ptokensNode5, pigntokensNode6, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5723,12 +5359,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, ptokensNode6, pigntokensNode7, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5763,12 +5395,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, ptokensNode5, pigntokensNode6, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5814,12 +5442,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, ptokensNode6, pigntokensNode7, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5857,12 +5481,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, ptokensNode5, pigntokensNode6, null, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5911,12 +5531,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, ptokensNode6, pigntokensNode7, null, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5945,12 +5561,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, null, null, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -5990,12 +5602,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, null, null, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6027,12 +5635,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, null, null, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6075,12 +5679,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, null, null, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6112,12 +5712,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, null, null, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6160,12 +5756,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, null, null, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6200,12 +5792,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, null, null, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6251,12 +5839,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, null, null, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6288,12 +5872,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, ptokensNode5, null, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6336,12 +5916,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, ptokensNode6, null, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6376,12 +5952,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, ptokensNode5, null, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6427,12 +5999,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, ptokensNode6, null, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6467,12 +6035,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, ptokensNode5, null, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6518,12 +6082,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, ptokensNode6, null, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6561,12 +6121,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, ptokensNode5, null, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6615,12 +6171,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, ptokensNode6, null, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6652,12 +6204,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, null, pigntokensNode6, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6700,12 +6248,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, null, pigntokensNode7, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6740,12 +6284,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, null, pigntokensNode6, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6791,12 +6331,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, null, pigntokensNode7, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6831,12 +6367,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, null, pigntokensNode6, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6882,12 +6414,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, null, pigntokensNode7, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6925,12 +6453,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, null, pigntokensNode6, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -6979,12 +6503,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, null, pigntokensNode7, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7019,12 +6539,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, null, ptokensNode5, pigntokensNode6, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7070,12 +6586,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, null, ptokensNode6, pigntokensNode7, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7113,12 +6625,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, null, ptokensNode5, pigntokensNode6, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7167,12 +6675,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, null, ptokensNode6, pigntokensNode7, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7210,12 +6714,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, null, pstatesNode4, ptokensNode5, pigntokensNode6, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7264,12 +6764,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, null, pstatesNode5, ptokensNode6, pigntokensNode7, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7310,12 +6806,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode2, phelpersNode3, pstatesNode4, ptokensNode5, pigntokensNode6, pproductionsNode7, pastNode8); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7367,12 +6859,8 @@ public class Parser implements IParser pgrammarNode1 = new AGrammar(listNode3, phelpersNode4, pstatesNode5, ptokensNode6, pigntokensNode7, pproductionsNode8, pastNode9); } nodeList.add(pgrammarNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7401,12 +6889,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7431,12 +6915,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7472,12 +6952,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7494,12 +6970,8 @@ public class Parser implements IParser TPkgId tpkgidNode1; tpkgidNode1 = (TPkgId)nodeArrayList2.get(0); nodeList.add(tpkgidNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7534,12 +7006,8 @@ public class Parser implements IParser phelpersNode1 = new AHelpers(listNode3); } nodeList.add(phelpersNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7566,12 +7034,8 @@ public class Parser implements IParser phelperdefNode1 = new AHelperDef(tidNode2, pregexpNode3); } nodeList.add(phelperdefNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7607,12 +7071,8 @@ public class Parser implements IParser pstatesNode1 = new AStates(listNode3); } nodeList.add(pstatesNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7636,12 +7096,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7676,12 +7132,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7698,12 +7150,8 @@ public class Parser implements IParser TId tidNode1; tidNode1 = (TId)nodeArrayList2.get(0); nodeList.add(tidNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7738,12 +7186,8 @@ public class Parser implements IParser ptokensNode1 = new ATokens(listNode3); } nodeList.add(ptokensNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7770,12 +7214,8 @@ public class Parser implements IParser ptokendefNode1 = new ATokenDef(null, tidNode3, pregexpNode4, null, null); } nodeList.add(ptokendefNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7805,12 +7245,8 @@ public class Parser implements IParser ptokendefNode1 = new ATokenDef(pstatelistNode2, tidNode3, pregexpNode4, null, null); } nodeList.add(ptokendefNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7842,12 +7278,8 @@ public class Parser implements IParser ptokendefNode1 = new ATokenDef(null, tidNode3, pregexpNode4, tslashNode5, pregexpNode6); } nodeList.add(ptokendefNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7882,12 +7314,8 @@ public class Parser implements IParser ptokendefNode1 = new ATokenDef(pstatelistNode2, tidNode3, pregexpNode4, tslashNode5, pregexpNode6); } nodeList.add(ptokendefNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7915,12 +7343,8 @@ public class Parser implements IParser pstatelistNode1 = new AStateList(tidNode2, null, listNode4); } nodeList.add(pstatelistNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7951,12 +7375,8 @@ public class Parser implements IParser pstatelistNode1 = new AStateList(tidNode2, ptransitionNode3, listNode4); } nodeList.add(pstatelistNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -7995,12 +7415,8 @@ public class Parser implements IParser pstatelistNode1 = new AStateList(tidNode2, null, listNode5); } nodeList.add(pstatelistNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8042,12 +7458,8 @@ public class Parser implements IParser pstatelistNode1 = new AStateList(tidNode2, ptransitionNode3, listNode5); } nodeList.add(pstatelistNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8070,12 +7482,8 @@ public class Parser implements IParser pstatelisttailNode1 = new AStateListTail(tidNode2, null); } nodeList.add(pstatelisttailNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8101,12 +7509,8 @@ public class Parser implements IParser pstatelisttailNode1 = new AStateListTail(tidNode2, ptransitionNode3); } nodeList.add(pstatelisttailNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8129,12 +7533,8 @@ public class Parser implements IParser ptransitionNode1 = new ATransition(tidNode2); } nodeList.add(ptransitionNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8160,12 +7560,8 @@ public class Parser implements IParser pigntokensNode1 = new AIgnTokens(listNode2); } nodeList.add(pigntokensNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8202,12 +7598,8 @@ public class Parser implements IParser pigntokensNode1 = new AIgnTokens(listNode3); } nodeList.add(pigntokensNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8227,12 +7619,8 @@ public class Parser implements IParser pregexpNode2 = (PRegExp)nodeArrayList2.get(0); nodeList.add(tslashNode1); nodeList.add(pregexpNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8262,12 +7650,8 @@ public class Parser implements IParser pregexpNode1 = new ARegExp(listNode3); } nodeList.add(pregexpNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8308,12 +7692,8 @@ public class Parser implements IParser pregexpNode1 = new ARegExp(listNode4); } nodeList.add(pregexpNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8330,12 +7710,8 @@ public class Parser implements IParser PConcat pconcatNode1; pconcatNode1 = (PConcat)nodeArrayList2.get(0); nodeList.add(pconcatNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8358,12 +7734,8 @@ public class Parser implements IParser pconcatNode1 = new AConcat(listNode2); } nodeList.add(pconcatNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8397,12 +7769,8 @@ public class Parser implements IParser pconcatNode1 = new AConcat(listNode3); } nodeList.add(pconcatNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8424,12 +7792,8 @@ public class Parser implements IParser punexpNode1 = new AUnExp(pbasicNode2, null); } nodeList.add(punexpNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8454,12 +7818,8 @@ public class Parser implements IParser punexpNode1 = new AUnExp(pbasicNode2, punopNode3); } nodeList.add(punexpNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8481,12 +7841,8 @@ public class Parser implements IParser pbasicNode1 = new ACharBasic(pcharNode2); } nodeList.add(pbasicNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8508,12 +7864,8 @@ public class Parser implements IParser pbasicNode1 = new ASetBasic(psetNode2); } nodeList.add(pbasicNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8535,12 +7887,8 @@ public class Parser implements IParser pbasicNode1 = new AStringBasic(tstringNode2); } nodeList.add(pbasicNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8562,12 +7910,8 @@ public class Parser implements IParser pbasicNode1 = new AIdBasic(tidNode2); } nodeList.add(pbasicNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8591,12 +7935,8 @@ public class Parser implements IParser pbasicNode1 = new ARegExpBasic(pregexpNode2); } nodeList.add(pbasicNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8618,12 +7958,8 @@ public class Parser implements IParser pcharNode1 = new ACharChar(tcharNode2); } nodeList.add(pcharNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8645,12 +7981,8 @@ public class Parser implements IParser pcharNode1 = new ADecChar(tdeccharNode2); } nodeList.add(pcharNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8672,12 +8004,8 @@ public class Parser implements IParser pcharNode1 = new AHexChar(thexcharNode2); } nodeList.add(pcharNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8707,12 +8035,8 @@ public class Parser implements IParser psetNode1 = new AOperationSet(pbasicNode2, pbinopNode3, pbasicNode4); } nodeList.add(psetNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8740,12 +8064,8 @@ public class Parser implements IParser psetNode1 = new AIntervalSet(pcharNode2, pcharNode3); } nodeList.add(psetNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8767,12 +8087,8 @@ public class Parser implements IParser punopNode1 = new AStarUnOp(tstarNode2); } nodeList.add(punopNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8794,12 +8110,8 @@ public class Parser implements IParser punopNode1 = new AQMarkUnOp(tqmarkNode2); } nodeList.add(punopNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8821,12 +8133,8 @@ public class Parser implements IParser punopNode1 = new APlusUnOp(tplusNode2); } nodeList.add(punopNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8846,12 +8154,8 @@ public class Parser implements IParser pbinopNode1 = new APlusBinOp(); } nodeList.add(pbinopNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8871,12 +8175,8 @@ public class Parser implements IParser pbinopNode1 = new AMinusBinOp(); } nodeList.add(pbinopNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8911,12 +8211,8 @@ public class Parser implements IParser pproductionsNode1 = new AProductions(listNode3); } nodeList.add(pproductionsNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -8959,12 +8255,8 @@ public class Parser implements IParser pprodNode1 = new AProd(tidNode2, null, listNode4, listNode6); } nodeList.add(pprodNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9020,12 +8312,8 @@ public class Parser implements IParser pprodNode1 = new AProd(tidNode2, tarrowNode3, listNode5, listNode7); } nodeList.add(pprodNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9048,12 +8336,8 @@ public class Parser implements IParser } nodeList.add(tarrowNode1); nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9087,12 +8371,8 @@ public class Parser implements IParser } nodeList.add(tarrowNode1); nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9116,12 +8396,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9156,12 +8432,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9178,12 +8450,8 @@ public class Parser implements IParser PAlt paltNode1; paltNode1 = (PAlt)nodeArrayList2.get(0); nodeList.add(paltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9206,12 +8474,8 @@ public class Parser implements IParser paltNode1 = new AAlt(null, listNode3, null); } nodeList.add(paltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9237,12 +8501,8 @@ public class Parser implements IParser paltNode1 = new AAlt(tidNode2, listNode3, null); } nodeList.add(paltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9276,12 +8536,8 @@ public class Parser implements IParser paltNode1 = new AAlt(null, listNode4, null); } nodeList.add(paltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9318,12 +8574,8 @@ public class Parser implements IParser paltNode1 = new AAlt(tidNode2, listNode4, null); } nodeList.add(paltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9349,12 +8601,8 @@ public class Parser implements IParser paltNode1 = new AAlt(null, listNode3, palttransformNode4); } nodeList.add(paltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9383,12 +8631,8 @@ public class Parser implements IParser paltNode1 = new AAlt(tidNode2, listNode3, palttransformNode4); } nodeList.add(paltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9425,12 +8669,8 @@ public class Parser implements IParser paltNode1 = new AAlt(null, listNode4, palttransformNode5); } nodeList.add(paltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9470,12 +8710,8 @@ public class Parser implements IParser paltNode1 = new AAlt(tidNode2, listNode4, palttransformNode5); } nodeList.add(paltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9505,12 +8741,8 @@ public class Parser implements IParser palttransformNode1 = new AAltTransform(tlbraceNode2, listNode3, trbraceNode4); } nodeList.add(palttransformNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9551,12 +8783,8 @@ public class Parser implements IParser palttransformNode1 = new AAltTransform(tlbraceNode2, listNode4, trbraceNode5); } nodeList.add(palttransformNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9587,12 +8815,8 @@ public class Parser implements IParser ptermNode1 = new ANewTerm(pprodnameNode2, tlparNode3, listNode4); } nodeList.add(ptermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9634,12 +8858,8 @@ public class Parser implements IParser ptermNode1 = new ANewTerm(pprodnameNode2, tlparNode3, listNode5); } nodeList.add(ptermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9666,12 +8886,8 @@ public class Parser implements IParser ptermNode1 = new AListTerm(tlbktNode2, listNode3); } nodeList.add(ptermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9709,12 +8925,8 @@ public class Parser implements IParser ptermNode1 = new AListTerm(tlbktNode2, listNode4); } nodeList.add(ptermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9736,12 +8948,8 @@ public class Parser implements IParser ptermNode1 = new ASimpleTerm(null, tidNode3, null); } nodeList.add(ptermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9766,12 +8974,8 @@ public class Parser implements IParser ptermNode1 = new ASimpleTerm(pspecifierNode2, tidNode3, null); } nodeList.add(ptermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9796,12 +9000,8 @@ public class Parser implements IParser ptermNode1 = new ASimpleTerm(null, tidNode3, tidNode4); } nodeList.add(ptermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9829,12 +9029,8 @@ public class Parser implements IParser ptermNode1 = new ASimpleTerm(pspecifierNode2, tidNode3, tidNode4); } nodeList.add(ptermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9854,12 +9050,8 @@ public class Parser implements IParser ptermNode1 = new ANullTerm(); } nodeList.add(ptermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9883,12 +9075,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9923,12 +9111,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -9959,12 +9143,8 @@ public class Parser implements IParser plisttermNode1 = new ANewListTerm(pprodnameNode2, tlparNode3, listNode4); } nodeList.add(plisttermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10006,12 +9186,8 @@ public class Parser implements IParser plisttermNode1 = new ANewListTerm(pprodnameNode2, tlparNode3, listNode5); } nodeList.add(plisttermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10033,12 +9209,8 @@ public class Parser implements IParser plisttermNode1 = new ASimpleListTerm(null, tidNode3, null); } nodeList.add(plisttermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10063,12 +9235,8 @@ public class Parser implements IParser plisttermNode1 = new ASimpleListTerm(pspecifierNode2, tidNode3, null); } nodeList.add(plisttermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10093,12 +9261,8 @@ public class Parser implements IParser plisttermNode1 = new ASimpleListTerm(null, tidNode3, tidNode4); } nodeList.add(plisttermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10126,12 +9290,8 @@ public class Parser implements IParser plisttermNode1 = new ASimpleListTerm(pspecifierNode2, tidNode3, tidNode4); } nodeList.add(plisttermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10148,12 +9308,8 @@ public class Parser implements IParser PListTerm plisttermNode1; plisttermNode1 = (PListTerm)nodeArrayList2.get(0); nodeList.add(plisttermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10170,12 +9326,8 @@ public class Parser implements IParser TId tidNode1; tidNode1 = (TId)nodeArrayList2.get(0); nodeList.add(tidNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10197,12 +9349,8 @@ public class Parser implements IParser pprodnameNode1 = new AProdName(tidNode2, null); } nodeList.add(pprodnameNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10227,12 +9375,8 @@ public class Parser implements IParser pprodnameNode1 = new AProdName(tidNode2, tidNode3); } nodeList.add(pprodnameNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10249,12 +9393,8 @@ public class Parser implements IParser TId tidNode1; tidNode1 = (TId)nodeArrayList2.get(0); nodeList.add(tidNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10278,12 +9418,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10318,12 +9454,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10340,12 +9472,8 @@ public class Parser implements IParser PTerm ptermNode1; ptermNode1 = (PTerm)nodeArrayList2.get(0); nodeList.add(ptermNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10363,12 +9491,8 @@ public class Parser implements IParser TId tidNode1; tidNode1 = (TId)nodeArrayList2.get(0); nodeList.add(tidNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10390,12 +9514,8 @@ public class Parser implements IParser pelemNode1 = new AElem(null, null, tidNode4, null); } nodeList.add(pelemNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10420,12 +9540,8 @@ public class Parser implements IParser pelemNode1 = new AElem(tidNode2, null, tidNode4, null); } nodeList.add(pelemNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10450,12 +9566,8 @@ public class Parser implements IParser pelemNode1 = new AElem(null, pspecifierNode3, tidNode4, null); } nodeList.add(pelemNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10483,12 +9595,8 @@ public class Parser implements IParser pelemNode1 = new AElem(tidNode2, pspecifierNode3, tidNode4, null); } nodeList.add(pelemNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10513,12 +9621,8 @@ public class Parser implements IParser pelemNode1 = new AElem(null, null, tidNode4, punopNode5); } nodeList.add(pelemNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10546,12 +9650,8 @@ public class Parser implements IParser pelemNode1 = new AElem(tidNode2, null, tidNode4, punopNode5); } nodeList.add(pelemNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10579,12 +9679,8 @@ public class Parser implements IParser pelemNode1 = new AElem(null, pspecifierNode3, tidNode4, punopNode5); } nodeList.add(pelemNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10615,12 +9711,8 @@ public class Parser implements IParser pelemNode1 = new AElem(tidNode2, pspecifierNode3, tidNode4, punopNode5); } nodeList.add(pelemNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10639,12 +9731,8 @@ public class Parser implements IParser TId tidNode1; tidNode1 = (TId)nodeArrayList2.get(0); nodeList.add(tidNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10665,12 +9753,8 @@ public class Parser implements IParser pspecifierNode1 = new ATokenSpecifier(); } nodeList.add(pspecifierNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10691,12 +9775,8 @@ public class Parser implements IParser pspecifierNode1 = new AProductionSpecifier(); } nodeList.add(pspecifierNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10733,12 +9813,8 @@ public class Parser implements IParser pastNode1 = new AAst(listNode3); } nodeList.add(pastNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10777,12 +9853,8 @@ public class Parser implements IParser pastprodNode1 = new AAstProd(tidNode2, listNode4); } nodeList.add(pastprodNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10806,12 +9878,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10846,12 +9914,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10868,12 +9932,8 @@ public class Parser implements IParser PAstAlt pastaltNode1; pastaltNode1 = (PAstAlt)nodeArrayList2.get(0); nodeList.add(pastaltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10896,12 +9956,8 @@ public class Parser implements IParser pastaltNode1 = new AAstAlt(null, listNode3); } nodeList.add(pastaltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10927,12 +9983,8 @@ public class Parser implements IParser pastaltNode1 = new AAstAlt(tidNode2, listNode3); } nodeList.add(pastaltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -10966,12 +10018,8 @@ public class Parser implements IParser pastaltNode1 = new AAstAlt(null, listNode4); } nodeList.add(pastaltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11008,12 +10056,8 @@ public class Parser implements IParser pastaltNode1 = new AAstAlt(tidNode2, listNode4); } nodeList.add(pastaltNode1); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11037,12 +10081,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11077,12 +10117,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11106,12 +10142,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11146,12 +10178,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11175,12 +10203,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11215,12 +10239,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11244,12 +10264,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11284,12 +10300,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11313,12 +10325,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11353,12 +10361,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11382,12 +10386,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11422,12 +10422,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11451,12 +10447,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11491,12 +10483,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11520,12 +10508,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11560,12 +10544,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11589,12 +10569,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11629,12 +10605,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11658,12 +10630,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11698,12 +10666,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11727,12 +10691,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11767,12 +10727,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11796,12 +10752,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11836,12 +10788,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11865,12 +10813,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11905,12 +10849,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11934,12 +10874,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -11974,12 +10910,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -12003,12 +10935,8 @@ public class Parser implements IParser } } nodeList.add(listNode2); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } @@ -12043,12 +10971,8 @@ public class Parser implements IParser } } nodeList.add(listNode3); - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } diff --git a/src/main/resources/org/sablecc/sablecc/parser.txt b/src/main/resources/org/sablecc/sablecc/parser.txt index 6ce4fd85491720e876f619ede27a4c5436a1abbc..e5596f940f82fdbd981c5d61424a8935c7587330 100644 --- a/src/main/resources/org/sablecc/sablecc/parser.txt +++ b/src/main/resources/org/sablecc/sablecc/parser.txt @@ -483,12 +483,8 @@ Macro:ParserNewBodyListAdd $ Macro:ParserNewTail - // return nodeList; - final ArrayList containerList = nodeList; - Object elementToCheck = containerList.get(0); - checkResult(elementToCheck); - - return containerList; + checkResult(nodeList.get(0)); + return nodeList; } $