diff --git a/src/main/java/org/sablecc/sablecc/parser/Parser.java b/src/main/java/org/sablecc/sablecc/parser/Parser.java index 274457403a1e9b8b4014b1e16e8dea30c53e9414..e5579f04d09cef127e0264a8808c07b63cd5b8e7 100644 --- a/src/main/java/org/sablecc/sablecc/parser/Parser.java +++ b/src/main/java/org/sablecc/sablecc/parser/Parser.java @@ -31,8 +31,8 @@ public class Parser implements IParser private final static int ACCEPT = 2; private final static int ERROR = 3; - protected List<Object> firstPopped = null; - protected List<Object> lastPopped = null; + private List<Object> firstPopped = null; + private List<Object> lastPopped = null; public Parser(Lexer lexer) { @@ -44,7 +44,7 @@ public class Parser implements IParser @Override public Map<PositionedNode, SourcecodeRange> getMapping() { return this.mapping; } - protected void checkResult(Object elementToCheck) { + private void checkResult(Object elementToCheck) { // nodes with no tokens or sub nodes at all may exist if (this.firstPopped == null) { return; @@ -87,7 +87,7 @@ public class Parser implements IParser } - protected int findBeginPos(final List<Object> list, + private int findBeginPos(final List<Object> list, PositionedNode n) { Object first = list.get(0); if (!(first instanceof PositionedNode) && !(first instanceof IToken)) { @@ -118,7 +118,7 @@ public class Parser implements IParser } - protected int findEndPos(final List<Object> list) { + private int findEndPos(final List<Object> list) { Object last = list.get(list.size() - 1); if (!(last instanceof PositionedNode) && !(last instanceof IToken)) { final List<?> list2 = (List<?>) last; @@ -136,7 +136,7 @@ public class Parser implements IParser return item.getEndIndex(); } - protected int findIndex(final IToken token) { + private int findIndex(final IToken token) { final List<IToken> list = this.lexer.getTokenList(); for (int i = list.size() - 1; i >= 0; i--) { @@ -148,13 +148,13 @@ public class Parser implements IParser return -1; } - protected SourcePosition createBeginPos(final int index) { + private SourcePosition createBeginPos(final int index) { final List<IToken> list = this.lexer.getTokenList(); final IToken token = list.get(index); return new SourcePosition(token.getLine(), token.getPos()); } - protected SourcePosition createEndPos(final int index) { + private SourcePosition createEndPos(final int index) { final List<IToken> list = this.lexer.getTokenList(); final IToken token = list.get(index); return new SourcePosition(token.getLine(), token.getPos() @@ -216,7 +216,7 @@ public class Parser implements IParser return s.state; } - protected List<Object> pop() + private List<Object> pop() { List<Object> list = this.stack.previous().nodes; if (this.firstPopped == null) { @@ -1925,7 +1925,7 @@ public class Parser implements IParser - protected List<Object> new0() /* reduce AAgrammar1Grammar */ + private List<Object> new0() /* reduce AAgrammar1Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -1949,7 +1949,7 @@ public class Parser implements IParser - protected List<Object> new1() /* reduce AAgrammar2Grammar */ + private List<Object> new1() /* reduce AAgrammar2Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -1984,7 +1984,7 @@ public class Parser implements IParser - protected List<Object> new2() /* reduce AAgrammar3Grammar */ + private List<Object> new2() /* reduce AAgrammar3Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2011,7 +2011,7 @@ public class Parser implements IParser - protected List<Object> new3() /* reduce AAgrammar4Grammar */ + private List<Object> new3() /* reduce AAgrammar4Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2049,7 +2049,7 @@ public class Parser implements IParser - protected List<Object> new4() /* reduce AAgrammar5Grammar */ + private List<Object> new4() /* reduce AAgrammar5Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2076,7 +2076,7 @@ public class Parser implements IParser - protected List<Object> new5() /* reduce AAgrammar6Grammar */ + private List<Object> new5() /* reduce AAgrammar6Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2114,7 +2114,7 @@ public class Parser implements IParser - protected List<Object> new6() /* reduce AAgrammar7Grammar */ + private List<Object> new6() /* reduce AAgrammar7Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2144,7 +2144,7 @@ public class Parser implements IParser - protected List<Object> new7() /* reduce AAgrammar8Grammar */ + private List<Object> new7() /* reduce AAgrammar8Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2185,7 +2185,7 @@ public class Parser implements IParser - protected List<Object> new8() /* reduce AAgrammar9Grammar */ + private List<Object> new8() /* reduce AAgrammar9Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2212,7 +2212,7 @@ public class Parser implements IParser - protected List<Object> new9() /* reduce AAgrammar10Grammar */ + private List<Object> new9() /* reduce AAgrammar10Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2250,7 +2250,7 @@ public class Parser implements IParser - protected List<Object> new10() /* reduce AAgrammar11Grammar */ + private List<Object> new10() /* reduce AAgrammar11Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2280,7 +2280,7 @@ public class Parser implements IParser - protected List<Object> new11() /* reduce AAgrammar12Grammar */ + private List<Object> new11() /* reduce AAgrammar12Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2321,7 +2321,7 @@ public class Parser implements IParser - protected List<Object> new12() /* reduce AAgrammar13Grammar */ + private List<Object> new12() /* reduce AAgrammar13Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2351,7 +2351,7 @@ public class Parser implements IParser - protected List<Object> new13() /* reduce AAgrammar14Grammar */ + private List<Object> new13() /* reduce AAgrammar14Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2392,7 +2392,7 @@ public class Parser implements IParser - protected List<Object> new14() /* reduce AAgrammar15Grammar */ + private List<Object> new14() /* reduce AAgrammar15Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2425,7 +2425,7 @@ public class Parser implements IParser - protected List<Object> new15() /* reduce AAgrammar16Grammar */ + private List<Object> new15() /* reduce AAgrammar16Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2469,7 +2469,7 @@ public class Parser implements IParser - protected List<Object> new16() /* reduce AAgrammar17Grammar */ + private List<Object> new16() /* reduce AAgrammar17Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2496,7 +2496,7 @@ public class Parser implements IParser - protected List<Object> new17() /* reduce AAgrammar18Grammar */ + private List<Object> new17() /* reduce AAgrammar18Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2534,7 +2534,7 @@ public class Parser implements IParser - protected List<Object> new18() /* reduce AAgrammar19Grammar */ + private List<Object> new18() /* reduce AAgrammar19Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2564,7 +2564,7 @@ public class Parser implements IParser - protected List<Object> new19() /* reduce AAgrammar20Grammar */ + private List<Object> new19() /* reduce AAgrammar20Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2605,7 +2605,7 @@ public class Parser implements IParser - protected List<Object> new20() /* reduce AAgrammar21Grammar */ + private List<Object> new20() /* reduce AAgrammar21Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2635,7 +2635,7 @@ public class Parser implements IParser - protected List<Object> new21() /* reduce AAgrammar22Grammar */ + private List<Object> new21() /* reduce AAgrammar22Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2676,7 +2676,7 @@ public class Parser implements IParser - protected List<Object> new22() /* reduce AAgrammar23Grammar */ + private List<Object> new22() /* reduce AAgrammar23Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2709,7 +2709,7 @@ public class Parser implements IParser - protected List<Object> new23() /* reduce AAgrammar24Grammar */ + private List<Object> new23() /* reduce AAgrammar24Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2753,7 +2753,7 @@ public class Parser implements IParser - protected List<Object> new24() /* reduce AAgrammar25Grammar */ + private List<Object> new24() /* reduce AAgrammar25Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2783,7 +2783,7 @@ public class Parser implements IParser - protected List<Object> new25() /* reduce AAgrammar26Grammar */ + private List<Object> new25() /* reduce AAgrammar26Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2824,7 +2824,7 @@ public class Parser implements IParser - protected List<Object> new26() /* reduce AAgrammar27Grammar */ + private List<Object> new26() /* reduce AAgrammar27Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2857,7 +2857,7 @@ public class Parser implements IParser - protected List<Object> new27() /* reduce AAgrammar28Grammar */ + private List<Object> new27() /* reduce AAgrammar28Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2901,7 +2901,7 @@ public class Parser implements IParser - protected List<Object> new28() /* reduce AAgrammar29Grammar */ + private List<Object> new28() /* reduce AAgrammar29Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2934,7 +2934,7 @@ public class Parser implements IParser - protected List<Object> new29() /* reduce AAgrammar30Grammar */ + private List<Object> new29() /* reduce AAgrammar30Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -2978,7 +2978,7 @@ public class Parser implements IParser - protected List<Object> new30() /* reduce AAgrammar31Grammar */ + private List<Object> new30() /* reduce AAgrammar31Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3014,7 +3014,7 @@ public class Parser implements IParser - protected List<Object> new31() /* reduce AAgrammar32Grammar */ + private List<Object> new31() /* reduce AAgrammar32Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3061,7 +3061,7 @@ public class Parser implements IParser - protected List<Object> new32() /* reduce AAgrammar33Grammar */ + private List<Object> new32() /* reduce AAgrammar33Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3088,7 +3088,7 @@ public class Parser implements IParser - protected List<Object> new33() /* reduce AAgrammar34Grammar */ + private List<Object> new33() /* reduce AAgrammar34Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3126,7 +3126,7 @@ public class Parser implements IParser - protected List<Object> new34() /* reduce AAgrammar35Grammar */ + private List<Object> new34() /* reduce AAgrammar35Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3156,7 +3156,7 @@ public class Parser implements IParser - protected List<Object> new35() /* reduce AAgrammar36Grammar */ + private List<Object> new35() /* reduce AAgrammar36Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3197,7 +3197,7 @@ public class Parser implements IParser - protected List<Object> new36() /* reduce AAgrammar37Grammar */ + private List<Object> new36() /* reduce AAgrammar37Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3227,7 +3227,7 @@ public class Parser implements IParser - protected List<Object> new37() /* reduce AAgrammar38Grammar */ + private List<Object> new37() /* reduce AAgrammar38Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3268,7 +3268,7 @@ public class Parser implements IParser - protected List<Object> new38() /* reduce AAgrammar39Grammar */ + private List<Object> new38() /* reduce AAgrammar39Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3301,7 +3301,7 @@ public class Parser implements IParser - protected List<Object> new39() /* reduce AAgrammar40Grammar */ + private List<Object> new39() /* reduce AAgrammar40Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3345,7 +3345,7 @@ public class Parser implements IParser - protected List<Object> new40() /* reduce AAgrammar41Grammar */ + private List<Object> new40() /* reduce AAgrammar41Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3375,7 +3375,7 @@ public class Parser implements IParser - protected List<Object> new41() /* reduce AAgrammar42Grammar */ + private List<Object> new41() /* reduce AAgrammar42Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3416,7 +3416,7 @@ public class Parser implements IParser - protected List<Object> new42() /* reduce AAgrammar43Grammar */ + private List<Object> new42() /* reduce AAgrammar43Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3449,7 +3449,7 @@ public class Parser implements IParser - protected List<Object> new43() /* reduce AAgrammar44Grammar */ + private List<Object> new43() /* reduce AAgrammar44Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3493,7 +3493,7 @@ public class Parser implements IParser - protected List<Object> new44() /* reduce AAgrammar45Grammar */ + private List<Object> new44() /* reduce AAgrammar45Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3526,7 +3526,7 @@ public class Parser implements IParser - protected List<Object> new45() /* reduce AAgrammar46Grammar */ + private List<Object> new45() /* reduce AAgrammar46Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3570,7 +3570,7 @@ public class Parser implements IParser - protected List<Object> new46() /* reduce AAgrammar47Grammar */ + private List<Object> new46() /* reduce AAgrammar47Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3606,7 +3606,7 @@ public class Parser implements IParser - protected List<Object> new47() /* reduce AAgrammar48Grammar */ + private List<Object> new47() /* reduce AAgrammar48Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3653,7 +3653,7 @@ public class Parser implements IParser - protected List<Object> new48() /* reduce AAgrammar49Grammar */ + private List<Object> new48() /* reduce AAgrammar49Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3683,7 +3683,7 @@ public class Parser implements IParser - protected List<Object> new49() /* reduce AAgrammar50Grammar */ + private List<Object> new49() /* reduce AAgrammar50Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3724,7 +3724,7 @@ public class Parser implements IParser - protected List<Object> new50() /* reduce AAgrammar51Grammar */ + private List<Object> new50() /* reduce AAgrammar51Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3757,7 +3757,7 @@ public class Parser implements IParser - protected List<Object> new51() /* reduce AAgrammar52Grammar */ + private List<Object> new51() /* reduce AAgrammar52Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3801,7 +3801,7 @@ public class Parser implements IParser - protected List<Object> new52() /* reduce AAgrammar53Grammar */ + private List<Object> new52() /* reduce AAgrammar53Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3834,7 +3834,7 @@ public class Parser implements IParser - protected List<Object> new53() /* reduce AAgrammar54Grammar */ + private List<Object> new53() /* reduce AAgrammar54Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3878,7 +3878,7 @@ public class Parser implements IParser - protected List<Object> new54() /* reduce AAgrammar55Grammar */ + private List<Object> new54() /* reduce AAgrammar55Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3914,7 +3914,7 @@ public class Parser implements IParser - protected List<Object> new55() /* reduce AAgrammar56Grammar */ + private List<Object> new55() /* reduce AAgrammar56Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3961,7 +3961,7 @@ public class Parser implements IParser - protected List<Object> new56() /* reduce AAgrammar57Grammar */ + private List<Object> new56() /* reduce AAgrammar57Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -3994,7 +3994,7 @@ public class Parser implements IParser - protected List<Object> new57() /* reduce AAgrammar58Grammar */ + private List<Object> new57() /* reduce AAgrammar58Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4038,7 +4038,7 @@ public class Parser implements IParser - protected List<Object> new58() /* reduce AAgrammar59Grammar */ + private List<Object> new58() /* reduce AAgrammar59Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4074,7 +4074,7 @@ public class Parser implements IParser - protected List<Object> new59() /* reduce AAgrammar60Grammar */ + private List<Object> new59() /* reduce AAgrammar60Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4121,7 +4121,7 @@ public class Parser implements IParser - protected List<Object> new60() /* reduce AAgrammar61Grammar */ + private List<Object> new60() /* reduce AAgrammar61Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4157,7 +4157,7 @@ public class Parser implements IParser - protected List<Object> new61() /* reduce AAgrammar62Grammar */ + private List<Object> new61() /* reduce AAgrammar62Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4204,7 +4204,7 @@ public class Parser implements IParser - protected List<Object> new62() /* reduce AAgrammar63Grammar */ + private List<Object> new62() /* reduce AAgrammar63Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4243,7 +4243,7 @@ public class Parser implements IParser - protected List<Object> new63() /* reduce AAgrammar64Grammar */ + private List<Object> new63() /* reduce AAgrammar64Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4293,7 +4293,7 @@ public class Parser implements IParser - protected List<Object> new64() /* reduce AAgrammar65Grammar */ + private List<Object> new64() /* reduce AAgrammar65Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4320,7 +4320,7 @@ public class Parser implements IParser - protected List<Object> new65() /* reduce AAgrammar66Grammar */ + private List<Object> new65() /* reduce AAgrammar66Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4358,7 +4358,7 @@ public class Parser implements IParser - protected List<Object> new66() /* reduce AAgrammar67Grammar */ + private List<Object> new66() /* reduce AAgrammar67Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4388,7 +4388,7 @@ public class Parser implements IParser - protected List<Object> new67() /* reduce AAgrammar68Grammar */ + private List<Object> new67() /* reduce AAgrammar68Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4429,7 +4429,7 @@ public class Parser implements IParser - protected List<Object> new68() /* reduce AAgrammar69Grammar */ + private List<Object> new68() /* reduce AAgrammar69Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4459,7 +4459,7 @@ public class Parser implements IParser - protected List<Object> new69() /* reduce AAgrammar70Grammar */ + private List<Object> new69() /* reduce AAgrammar70Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4500,7 +4500,7 @@ public class Parser implements IParser - protected List<Object> new70() /* reduce AAgrammar71Grammar */ + private List<Object> new70() /* reduce AAgrammar71Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4533,7 +4533,7 @@ public class Parser implements IParser - protected List<Object> new71() /* reduce AAgrammar72Grammar */ + private List<Object> new71() /* reduce AAgrammar72Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4577,7 +4577,7 @@ public class Parser implements IParser - protected List<Object> new72() /* reduce AAgrammar73Grammar */ + private List<Object> new72() /* reduce AAgrammar73Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4607,7 +4607,7 @@ public class Parser implements IParser - protected List<Object> new73() /* reduce AAgrammar74Grammar */ + private List<Object> new73() /* reduce AAgrammar74Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4648,7 +4648,7 @@ public class Parser implements IParser - protected List<Object> new74() /* reduce AAgrammar75Grammar */ + private List<Object> new74() /* reduce AAgrammar75Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4681,7 +4681,7 @@ public class Parser implements IParser - protected List<Object> new75() /* reduce AAgrammar76Grammar */ + private List<Object> new75() /* reduce AAgrammar76Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4725,7 +4725,7 @@ public class Parser implements IParser - protected List<Object> new76() /* reduce AAgrammar77Grammar */ + private List<Object> new76() /* reduce AAgrammar77Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4758,7 +4758,7 @@ public class Parser implements IParser - protected List<Object> new77() /* reduce AAgrammar78Grammar */ + private List<Object> new77() /* reduce AAgrammar78Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4802,7 +4802,7 @@ public class Parser implements IParser - protected List<Object> new78() /* reduce AAgrammar79Grammar */ + private List<Object> new78() /* reduce AAgrammar79Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4838,7 +4838,7 @@ public class Parser implements IParser - protected List<Object> new79() /* reduce AAgrammar80Grammar */ + private List<Object> new79() /* reduce AAgrammar80Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4885,7 +4885,7 @@ public class Parser implements IParser - protected List<Object> new80() /* reduce AAgrammar81Grammar */ + private List<Object> new80() /* reduce AAgrammar81Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4915,7 +4915,7 @@ public class Parser implements IParser - protected List<Object> new81() /* reduce AAgrammar82Grammar */ + private List<Object> new81() /* reduce AAgrammar82Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4956,7 +4956,7 @@ public class Parser implements IParser - protected List<Object> new82() /* reduce AAgrammar83Grammar */ + private List<Object> new82() /* reduce AAgrammar83Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -4989,7 +4989,7 @@ public class Parser implements IParser - protected List<Object> new83() /* reduce AAgrammar84Grammar */ + private List<Object> new83() /* reduce AAgrammar84Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5033,7 +5033,7 @@ public class Parser implements IParser - protected List<Object> new84() /* reduce AAgrammar85Grammar */ + private List<Object> new84() /* reduce AAgrammar85Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5066,7 +5066,7 @@ public class Parser implements IParser - protected List<Object> new85() /* reduce AAgrammar86Grammar */ + private List<Object> new85() /* reduce AAgrammar86Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5110,7 +5110,7 @@ public class Parser implements IParser - protected List<Object> new86() /* reduce AAgrammar87Grammar */ + private List<Object> new86() /* reduce AAgrammar87Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5146,7 +5146,7 @@ public class Parser implements IParser - protected List<Object> new87() /* reduce AAgrammar88Grammar */ + private List<Object> new87() /* reduce AAgrammar88Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5193,7 +5193,7 @@ public class Parser implements IParser - protected List<Object> new88() /* reduce AAgrammar89Grammar */ + private List<Object> new88() /* reduce AAgrammar89Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5226,7 +5226,7 @@ public class Parser implements IParser - protected List<Object> new89() /* reduce AAgrammar90Grammar */ + private List<Object> new89() /* reduce AAgrammar90Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5270,7 +5270,7 @@ public class Parser implements IParser - protected List<Object> new90() /* reduce AAgrammar91Grammar */ + private List<Object> new90() /* reduce AAgrammar91Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5306,7 +5306,7 @@ public class Parser implements IParser - protected List<Object> new91() /* reduce AAgrammar92Grammar */ + private List<Object> new91() /* reduce AAgrammar92Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5353,7 +5353,7 @@ public class Parser implements IParser - protected List<Object> new92() /* reduce AAgrammar93Grammar */ + private List<Object> new92() /* reduce AAgrammar93Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5389,7 +5389,7 @@ public class Parser implements IParser - protected List<Object> new93() /* reduce AAgrammar94Grammar */ + private List<Object> new93() /* reduce AAgrammar94Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5436,7 +5436,7 @@ public class Parser implements IParser - protected List<Object> new94() /* reduce AAgrammar95Grammar */ + private List<Object> new94() /* reduce AAgrammar95Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5475,7 +5475,7 @@ public class Parser implements IParser - protected List<Object> new95() /* reduce AAgrammar96Grammar */ + private List<Object> new95() /* reduce AAgrammar96Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5525,7 +5525,7 @@ public class Parser implements IParser - protected List<Object> new96() /* reduce AAgrammar97Grammar */ + private List<Object> new96() /* reduce AAgrammar97Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5555,7 +5555,7 @@ public class Parser implements IParser - protected List<Object> new97() /* reduce AAgrammar98Grammar */ + private List<Object> new97() /* reduce AAgrammar98Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5596,7 +5596,7 @@ public class Parser implements IParser - protected List<Object> new98() /* reduce AAgrammar99Grammar */ + private List<Object> new98() /* reduce AAgrammar99Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5629,7 +5629,7 @@ public class Parser implements IParser - protected List<Object> new99() /* reduce AAgrammar100Grammar */ + private List<Object> new99() /* reduce AAgrammar100Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5673,7 +5673,7 @@ public class Parser implements IParser - protected List<Object> new100() /* reduce AAgrammar101Grammar */ + private List<Object> new100() /* reduce AAgrammar101Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5706,7 +5706,7 @@ public class Parser implements IParser - protected List<Object> new101() /* reduce AAgrammar102Grammar */ + private List<Object> new101() /* reduce AAgrammar102Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5750,7 +5750,7 @@ public class Parser implements IParser - protected List<Object> new102() /* reduce AAgrammar103Grammar */ + private List<Object> new102() /* reduce AAgrammar103Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5786,7 +5786,7 @@ public class Parser implements IParser - protected List<Object> new103() /* reduce AAgrammar104Grammar */ + private List<Object> new103() /* reduce AAgrammar104Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5833,7 +5833,7 @@ public class Parser implements IParser - protected List<Object> new104() /* reduce AAgrammar105Grammar */ + private List<Object> new104() /* reduce AAgrammar105Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5866,7 +5866,7 @@ public class Parser implements IParser - protected List<Object> new105() /* reduce AAgrammar106Grammar */ + private List<Object> new105() /* reduce AAgrammar106Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5910,7 +5910,7 @@ public class Parser implements IParser - protected List<Object> new106() /* reduce AAgrammar107Grammar */ + private List<Object> new106() /* reduce AAgrammar107Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5946,7 +5946,7 @@ public class Parser implements IParser - protected List<Object> new107() /* reduce AAgrammar108Grammar */ + private List<Object> new107() /* reduce AAgrammar108Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -5993,7 +5993,7 @@ public class Parser implements IParser - protected List<Object> new108() /* reduce AAgrammar109Grammar */ + private List<Object> new108() /* reduce AAgrammar109Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6029,7 +6029,7 @@ public class Parser implements IParser - protected List<Object> new109() /* reduce AAgrammar110Grammar */ + private List<Object> new109() /* reduce AAgrammar110Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6076,7 +6076,7 @@ public class Parser implements IParser - protected List<Object> new110() /* reduce AAgrammar111Grammar */ + private List<Object> new110() /* reduce AAgrammar111Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6115,7 +6115,7 @@ public class Parser implements IParser - protected List<Object> new111() /* reduce AAgrammar112Grammar */ + private List<Object> new111() /* reduce AAgrammar112Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6165,7 +6165,7 @@ public class Parser implements IParser - protected List<Object> new112() /* reduce AAgrammar113Grammar */ + private List<Object> new112() /* reduce AAgrammar113Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6198,7 +6198,7 @@ public class Parser implements IParser - protected List<Object> new113() /* reduce AAgrammar114Grammar */ + private List<Object> new113() /* reduce AAgrammar114Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6242,7 +6242,7 @@ public class Parser implements IParser - protected List<Object> new114() /* reduce AAgrammar115Grammar */ + private List<Object> new114() /* reduce AAgrammar115Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6278,7 +6278,7 @@ public class Parser implements IParser - protected List<Object> new115() /* reduce AAgrammar116Grammar */ + private List<Object> new115() /* reduce AAgrammar116Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6325,7 +6325,7 @@ public class Parser implements IParser - protected List<Object> new116() /* reduce AAgrammar117Grammar */ + private List<Object> new116() /* reduce AAgrammar117Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6361,7 +6361,7 @@ public class Parser implements IParser - protected List<Object> new117() /* reduce AAgrammar118Grammar */ + private List<Object> new117() /* reduce AAgrammar118Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6408,7 +6408,7 @@ public class Parser implements IParser - protected List<Object> new118() /* reduce AAgrammar119Grammar */ + private List<Object> new118() /* reduce AAgrammar119Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6447,7 +6447,7 @@ public class Parser implements IParser - protected List<Object> new119() /* reduce AAgrammar120Grammar */ + private List<Object> new119() /* reduce AAgrammar120Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6497,7 +6497,7 @@ public class Parser implements IParser - protected List<Object> new120() /* reduce AAgrammar121Grammar */ + private List<Object> new120() /* reduce AAgrammar121Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6533,7 +6533,7 @@ public class Parser implements IParser - protected List<Object> new121() /* reduce AAgrammar122Grammar */ + private List<Object> new121() /* reduce AAgrammar122Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6580,7 +6580,7 @@ public class Parser implements IParser - protected List<Object> new122() /* reduce AAgrammar123Grammar */ + private List<Object> new122() /* reduce AAgrammar123Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6619,7 +6619,7 @@ public class Parser implements IParser - protected List<Object> new123() /* reduce AAgrammar124Grammar */ + private List<Object> new123() /* reduce AAgrammar124Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6669,7 +6669,7 @@ public class Parser implements IParser - protected List<Object> new124() /* reduce AAgrammar125Grammar */ + private List<Object> new124() /* reduce AAgrammar125Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6708,7 +6708,7 @@ public class Parser implements IParser - protected List<Object> new125() /* reduce AAgrammar126Grammar */ + private List<Object> new125() /* reduce AAgrammar126Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6758,7 +6758,7 @@ public class Parser implements IParser - protected List<Object> new126() /* reduce AAgrammar127Grammar */ + private List<Object> new126() /* reduce AAgrammar127Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6800,7 +6800,7 @@ public class Parser implements IParser - protected List<Object> new127() /* reduce AAgrammar128Grammar */ + private List<Object> new127() /* reduce AAgrammar128Grammar */ { this.firstPopped = null; this.lastPopped = null; @@ -6853,7 +6853,7 @@ public class Parser implements IParser - protected List<Object> new128() /* reduce APackage */ + private List<Object> new128() /* reduce APackage */ { this.firstPopped = null; this.lastPopped = null; @@ -6883,7 +6883,7 @@ public class Parser implements IParser - protected List<Object> new129() /* reduce AApkgname1PkgName */ + private List<Object> new129() /* reduce AApkgname1PkgName */ { this.firstPopped = null; this.lastPopped = null; @@ -6909,7 +6909,7 @@ public class Parser implements IParser - protected List<Object> new130() /* reduce AApkgname2PkgName */ + private List<Object> new130() /* reduce AApkgname2PkgName */ { this.firstPopped = null; this.lastPopped = null; @@ -6946,7 +6946,7 @@ public class Parser implements IParser - protected List<Object> new131() /* reduce APkgNameTail */ + private List<Object> new131() /* reduce APkgNameTail */ { this.firstPopped = null; this.lastPopped = null; @@ -6964,7 +6964,7 @@ public class Parser implements IParser - protected List<Object> new132() /* reduce AHelpers */ + private List<Object> new132() /* reduce AHelpers */ { this.firstPopped = null; this.lastPopped = null; @@ -7000,7 +7000,7 @@ public class Parser implements IParser - protected List<Object> new133() /* reduce AHelperDef */ + private List<Object> new133() /* reduce AHelperDef */ { this.firstPopped = null; this.lastPopped = null; @@ -7028,7 +7028,7 @@ public class Parser implements IParser - protected List<Object> new134() /* reduce AStates */ + private List<Object> new134() /* reduce AStates */ { this.firstPopped = null; this.lastPopped = null; @@ -7065,7 +7065,7 @@ public class Parser implements IParser - protected List<Object> new135() /* reduce AAidlist1IdList */ + private List<Object> new135() /* reduce AAidlist1IdList */ { this.firstPopped = null; this.lastPopped = null; @@ -7090,7 +7090,7 @@ public class Parser implements IParser - protected List<Object> new136() /* reduce AAidlist2IdList */ + private List<Object> new136() /* reduce AAidlist2IdList */ { this.firstPopped = null; this.lastPopped = null; @@ -7126,7 +7126,7 @@ public class Parser implements IParser - protected List<Object> new137() /* reduce AIdListTail */ + private List<Object> new137() /* reduce AIdListTail */ { this.firstPopped = null; this.lastPopped = null; @@ -7144,7 +7144,7 @@ public class Parser implements IParser - protected List<Object> new138() /* reduce ATokens */ + private List<Object> new138() /* reduce ATokens */ { this.firstPopped = null; this.lastPopped = null; @@ -7180,7 +7180,7 @@ public class Parser implements IParser - protected List<Object> new139() /* reduce AAtokendef1TokenDef */ + private List<Object> new139() /* reduce AAtokendef1TokenDef */ { this.firstPopped = null; this.lastPopped = null; @@ -7208,7 +7208,7 @@ public class Parser implements IParser - protected List<Object> new140() /* reduce AAtokendef2TokenDef */ + private List<Object> new140() /* reduce AAtokendef2TokenDef */ { this.firstPopped = null; this.lastPopped = null; @@ -7239,7 +7239,7 @@ public class Parser implements IParser - protected List<Object> new141() /* reduce AAtokendef3TokenDef */ + private List<Object> new141() /* reduce AAtokendef3TokenDef */ { this.firstPopped = null; this.lastPopped = null; @@ -7272,7 +7272,7 @@ public class Parser implements IParser - protected List<Object> new142() /* reduce AAtokendef4TokenDef */ + private List<Object> new142() /* reduce AAtokendef4TokenDef */ { this.firstPopped = null; this.lastPopped = null; @@ -7308,7 +7308,7 @@ public class Parser implements IParser - protected List<Object> new143() /* reduce AAstatelist1StateList */ + private List<Object> new143() /* reduce AAstatelist1StateList */ { this.firstPopped = null; this.lastPopped = null; @@ -7337,7 +7337,7 @@ public class Parser implements IParser - protected List<Object> new144() /* reduce AAstatelist2StateList */ + private List<Object> new144() /* reduce AAstatelist2StateList */ { this.firstPopped = null; this.lastPopped = null; @@ -7369,7 +7369,7 @@ public class Parser implements IParser - protected List<Object> new145() /* reduce AAstatelist3StateList */ + private List<Object> new145() /* reduce AAstatelist3StateList */ { this.firstPopped = null; this.lastPopped = null; @@ -7409,7 +7409,7 @@ public class Parser implements IParser - protected List<Object> new146() /* reduce AAstatelist4StateList */ + private List<Object> new146() /* reduce AAstatelist4StateList */ { this.firstPopped = null; this.lastPopped = null; @@ -7452,7 +7452,7 @@ public class Parser implements IParser - protected List<Object> new147() /* reduce AAstatelisttail1StateListTail */ + private List<Object> new147() /* reduce AAstatelisttail1StateListTail */ { this.firstPopped = null; this.lastPopped = null; @@ -7476,7 +7476,7 @@ public class Parser implements IParser - protected List<Object> new148() /* reduce AAstatelisttail2StateListTail */ + private List<Object> new148() /* reduce AAstatelisttail2StateListTail */ { this.firstPopped = null; this.lastPopped = null; @@ -7503,7 +7503,7 @@ public class Parser implements IParser - protected List<Object> new149() /* reduce ATransition */ + private List<Object> new149() /* reduce ATransition */ { this.firstPopped = null; this.lastPopped = null; @@ -7527,7 +7527,7 @@ public class Parser implements IParser - protected List<Object> new150() /* reduce AAigntokens1IgnTokens */ + private List<Object> new150() /* reduce AAigntokens1IgnTokens */ { this.firstPopped = null; this.lastPopped = null; @@ -7554,7 +7554,7 @@ public class Parser implements IParser - protected List<Object> new151() /* reduce AAigntokens2IgnTokens */ + private List<Object> new151() /* reduce AAigntokens2IgnTokens */ { this.firstPopped = null; this.lastPopped = null; @@ -7592,7 +7592,7 @@ public class Parser implements IParser - protected List<Object> new152() /* reduce ALookAhead */ + private List<Object> new152() /* reduce ALookAhead */ { this.firstPopped = null; this.lastPopped = null; @@ -7613,7 +7613,7 @@ public class Parser implements IParser - protected List<Object> new153() /* reduce AAregexp1RegExp */ + private List<Object> new153() /* reduce AAregexp1RegExp */ { this.firstPopped = null; this.lastPopped = null; @@ -7644,7 +7644,7 @@ public class Parser implements IParser - protected List<Object> new154() /* reduce AAregexp2RegExp */ + private List<Object> new154() /* reduce AAregexp2RegExp */ { this.firstPopped = null; this.lastPopped = null; @@ -7686,7 +7686,7 @@ public class Parser implements IParser - protected List<Object> new155() /* reduce ARegExpTail */ + private List<Object> new155() /* reduce ARegExpTail */ { this.firstPopped = null; this.lastPopped = null; @@ -7704,7 +7704,7 @@ public class Parser implements IParser - protected List<Object> new156() /* reduce AAconcat1Concat */ + private List<Object> new156() /* reduce AAconcat1Concat */ { this.firstPopped = null; this.lastPopped = null; @@ -7728,7 +7728,7 @@ public class Parser implements IParser - protected List<Object> new157() /* reduce AAconcat2Concat */ + private List<Object> new157() /* reduce AAconcat2Concat */ { this.firstPopped = null; this.lastPopped = null; @@ -7763,7 +7763,7 @@ public class Parser implements IParser - protected List<Object> new158() /* reduce AAunexp1UnExp */ + private List<Object> new158() /* reduce AAunexp1UnExp */ { this.firstPopped = null; this.lastPopped = null; @@ -7786,7 +7786,7 @@ public class Parser implements IParser - protected List<Object> new159() /* reduce AAunexp2UnExp */ + private List<Object> new159() /* reduce AAunexp2UnExp */ { this.firstPopped = null; this.lastPopped = null; @@ -7812,7 +7812,7 @@ public class Parser implements IParser - protected List<Object> new160() /* reduce ACharBasic */ + private List<Object> new160() /* reduce ACharBasic */ { this.firstPopped = null; this.lastPopped = null; @@ -7835,7 +7835,7 @@ public class Parser implements IParser - protected List<Object> new161() /* reduce ASetBasic */ + private List<Object> new161() /* reduce ASetBasic */ { this.firstPopped = null; this.lastPopped = null; @@ -7858,7 +7858,7 @@ public class Parser implements IParser - protected List<Object> new162() /* reduce AStringBasic */ + private List<Object> new162() /* reduce AStringBasic */ { this.firstPopped = null; this.lastPopped = null; @@ -7881,7 +7881,7 @@ public class Parser implements IParser - protected List<Object> new163() /* reduce AIdBasic */ + private List<Object> new163() /* reduce AIdBasic */ { this.firstPopped = null; this.lastPopped = null; @@ -7904,7 +7904,7 @@ public class Parser implements IParser - protected List<Object> new164() /* reduce ARegExpBasic */ + private List<Object> new164() /* reduce ARegExpBasic */ { this.firstPopped = null; this.lastPopped = null; @@ -7929,7 +7929,7 @@ public class Parser implements IParser - protected List<Object> new165() /* reduce ACharChar */ + private List<Object> new165() /* reduce ACharChar */ { this.firstPopped = null; this.lastPopped = null; @@ -7952,7 +7952,7 @@ public class Parser implements IParser - protected List<Object> new166() /* reduce ADecChar */ + private List<Object> new166() /* reduce ADecChar */ { this.firstPopped = null; this.lastPopped = null; @@ -7975,7 +7975,7 @@ public class Parser implements IParser - protected List<Object> new167() /* reduce AHexChar */ + private List<Object> new167() /* reduce AHexChar */ { this.firstPopped = null; this.lastPopped = null; @@ -7998,7 +7998,7 @@ public class Parser implements IParser - protected List<Object> new168() /* reduce AOperationSet */ + private List<Object> new168() /* reduce AOperationSet */ { this.firstPopped = null; this.lastPopped = null; @@ -8029,7 +8029,7 @@ public class Parser implements IParser - protected List<Object> new169() /* reduce AIntervalSet */ + private List<Object> new169() /* reduce AIntervalSet */ { this.firstPopped = null; this.lastPopped = null; @@ -8058,7 +8058,7 @@ public class Parser implements IParser - protected List<Object> new170() /* reduce AStarUnOp */ + private List<Object> new170() /* reduce AStarUnOp */ { this.firstPopped = null; this.lastPopped = null; @@ -8081,7 +8081,7 @@ public class Parser implements IParser - protected List<Object> new171() /* reduce AQMarkUnOp */ + private List<Object> new171() /* reduce AQMarkUnOp */ { this.firstPopped = null; this.lastPopped = null; @@ -8104,7 +8104,7 @@ public class Parser implements IParser - protected List<Object> new172() /* reduce APlusUnOp */ + private List<Object> new172() /* reduce APlusUnOp */ { this.firstPopped = null; this.lastPopped = null; @@ -8127,7 +8127,7 @@ public class Parser implements IParser - protected List<Object> new173() /* reduce APlusBinOp */ + private List<Object> new173() /* reduce APlusBinOp */ { this.firstPopped = null; this.lastPopped = null; @@ -8148,7 +8148,7 @@ public class Parser implements IParser - protected List<Object> new174() /* reduce AMinusBinOp */ + private List<Object> new174() /* reduce AMinusBinOp */ { this.firstPopped = null; this.lastPopped = null; @@ -8169,7 +8169,7 @@ public class Parser implements IParser - protected List<Object> new175() /* reduce AProductions */ + private List<Object> new175() /* reduce AProductions */ { this.firstPopped = null; this.lastPopped = null; @@ -8205,7 +8205,7 @@ public class Parser implements IParser - protected List<Object> new176() /* reduce AAprod1Prod */ + private List<Object> new176() /* reduce AAprod1Prod */ { this.firstPopped = null; this.lastPopped = null; @@ -8249,7 +8249,7 @@ public class Parser implements IParser - protected List<Object> new177() /* reduce AAprod2Prod */ + private List<Object> new177() /* reduce AAprod2Prod */ { this.firstPopped = null; this.lastPopped = null; @@ -8306,7 +8306,7 @@ public class Parser implements IParser - protected List<Object> new178() /* reduce AAprodtransform1ProdTransform */ + private List<Object> new178() /* reduce AAprodtransform1ProdTransform */ { this.firstPopped = null; this.lastPopped = null; @@ -8330,7 +8330,7 @@ public class Parser implements IParser - protected List<Object> new179() /* reduce AAprodtransform2ProdTransform */ + private List<Object> new179() /* reduce AAprodtransform2ProdTransform */ { this.firstPopped = null; this.lastPopped = null; @@ -8365,7 +8365,7 @@ public class Parser implements IParser - protected List<Object> new180() /* reduce AAalts1Alts */ + private List<Object> new180() /* reduce AAalts1Alts */ { this.firstPopped = null; this.lastPopped = null; @@ -8390,7 +8390,7 @@ public class Parser implements IParser - protected List<Object> new181() /* reduce AAalts2Alts */ + private List<Object> new181() /* reduce AAalts2Alts */ { this.firstPopped = null; this.lastPopped = null; @@ -8426,7 +8426,7 @@ public class Parser implements IParser - protected List<Object> new182() /* reduce AAltsTail */ + private List<Object> new182() /* reduce AAltsTail */ { this.firstPopped = null; this.lastPopped = null; @@ -8444,7 +8444,7 @@ public class Parser implements IParser - protected List<Object> new183() /* reduce AAalt1Alt */ + private List<Object> new183() /* reduce AAalt1Alt */ { this.firstPopped = null; this.lastPopped = null; @@ -8468,7 +8468,7 @@ public class Parser implements IParser - protected List<Object> new184() /* reduce AAalt2Alt */ + private List<Object> new184() /* reduce AAalt2Alt */ { this.firstPopped = null; this.lastPopped = null; @@ -8495,7 +8495,7 @@ public class Parser implements IParser - protected List<Object> new185() /* reduce AAalt3Alt */ + private List<Object> new185() /* reduce AAalt3Alt */ { this.firstPopped = null; this.lastPopped = null; @@ -8530,7 +8530,7 @@ public class Parser implements IParser - protected List<Object> new186() /* reduce AAalt4Alt */ + private List<Object> new186() /* reduce AAalt4Alt */ { this.firstPopped = null; this.lastPopped = null; @@ -8568,7 +8568,7 @@ public class Parser implements IParser - protected List<Object> new187() /* reduce AAalt5Alt */ + private List<Object> new187() /* reduce AAalt5Alt */ { this.firstPopped = null; this.lastPopped = null; @@ -8595,7 +8595,7 @@ public class Parser implements IParser - protected List<Object> new188() /* reduce AAalt6Alt */ + private List<Object> new188() /* reduce AAalt6Alt */ { this.firstPopped = null; this.lastPopped = null; @@ -8625,7 +8625,7 @@ public class Parser implements IParser - protected List<Object> new189() /* reduce AAalt7Alt */ + private List<Object> new189() /* reduce AAalt7Alt */ { this.firstPopped = null; this.lastPopped = null; @@ -8663,7 +8663,7 @@ public class Parser implements IParser - protected List<Object> new190() /* reduce AAalt8Alt */ + private List<Object> new190() /* reduce AAalt8Alt */ { this.firstPopped = null; this.lastPopped = null; @@ -8704,7 +8704,7 @@ public class Parser implements IParser - protected List<Object> new191() /* reduce AAalttransform1AltTransform */ + private List<Object> new191() /* reduce AAalttransform1AltTransform */ { this.firstPopped = null; this.lastPopped = null; @@ -8735,7 +8735,7 @@ public class Parser implements IParser - protected List<Object> new192() /* reduce AAalttransform2AltTransform */ + private List<Object> new192() /* reduce AAalttransform2AltTransform */ { this.firstPopped = null; this.lastPopped = null; @@ -8777,7 +8777,7 @@ public class Parser implements IParser - protected List<Object> new193() /* reduce AAnewterm1Term */ + private List<Object> new193() /* reduce AAnewterm1Term */ { this.firstPopped = null; this.lastPopped = null; @@ -8809,7 +8809,7 @@ public class Parser implements IParser - protected List<Object> new194() /* reduce AAnewterm2Term */ + private List<Object> new194() /* reduce AAnewterm2Term */ { this.firstPopped = null; this.lastPopped = null; @@ -8852,7 +8852,7 @@ public class Parser implements IParser - protected List<Object> new195() /* reduce AAlistterm1Term */ + private List<Object> new195() /* reduce AAlistterm1Term */ { this.firstPopped = null; this.lastPopped = null; @@ -8880,7 +8880,7 @@ public class Parser implements IParser - protected List<Object> new196() /* reduce AAlistterm2Term */ + private List<Object> new196() /* reduce AAlistterm2Term */ { this.firstPopped = null; this.lastPopped = null; @@ -8919,7 +8919,7 @@ public class Parser implements IParser - protected List<Object> new197() /* reduce AAsimpleterm1Term */ + private List<Object> new197() /* reduce AAsimpleterm1Term */ { this.firstPopped = null; this.lastPopped = null; @@ -8942,7 +8942,7 @@ public class Parser implements IParser - protected List<Object> new198() /* reduce AAsimpleterm2Term */ + private List<Object> new198() /* reduce AAsimpleterm2Term */ { this.firstPopped = null; this.lastPopped = null; @@ -8968,7 +8968,7 @@ public class Parser implements IParser - protected List<Object> new199() /* reduce AAsimpleterm3Term */ + private List<Object> new199() /* reduce AAsimpleterm3Term */ { this.firstPopped = null; this.lastPopped = null; @@ -8994,7 +8994,7 @@ public class Parser implements IParser - protected List<Object> new200() /* reduce AAsimpleterm4Term */ + private List<Object> new200() /* reduce AAsimpleterm4Term */ { this.firstPopped = null; this.lastPopped = null; @@ -9023,7 +9023,7 @@ public class Parser implements IParser - protected List<Object> new201() /* reduce ANullTerm */ + private List<Object> new201() /* reduce ANullTerm */ { this.firstPopped = null; this.lastPopped = null; @@ -9044,7 +9044,7 @@ public class Parser implements IParser - protected List<Object> new202() /* reduce AAlistoflistterm1ListOfListTerm */ + private List<Object> new202() /* reduce AAlistoflistterm1ListOfListTerm */ { this.firstPopped = null; this.lastPopped = null; @@ -9069,7 +9069,7 @@ public class Parser implements IParser - protected List<Object> new203() /* reduce AAlistoflistterm2ListOfListTerm */ + private List<Object> new203() /* reduce AAlistoflistterm2ListOfListTerm */ { this.firstPopped = null; this.lastPopped = null; @@ -9105,7 +9105,7 @@ public class Parser implements IParser - protected List<Object> new204() /* reduce AAnewlistterm1ListTerm */ + private List<Object> new204() /* reduce AAnewlistterm1ListTerm */ { this.firstPopped = null; this.lastPopped = null; @@ -9137,7 +9137,7 @@ public class Parser implements IParser - protected List<Object> new205() /* reduce AAnewlistterm2ListTerm */ + private List<Object> new205() /* reduce AAnewlistterm2ListTerm */ { this.firstPopped = null; this.lastPopped = null; @@ -9180,7 +9180,7 @@ public class Parser implements IParser - protected List<Object> new206() /* reduce AAsimplelistterm1ListTerm */ + private List<Object> new206() /* reduce AAsimplelistterm1ListTerm */ { this.firstPopped = null; this.lastPopped = null; @@ -9203,7 +9203,7 @@ public class Parser implements IParser - protected List<Object> new207() /* reduce AAsimplelistterm2ListTerm */ + private List<Object> new207() /* reduce AAsimplelistterm2ListTerm */ { this.firstPopped = null; this.lastPopped = null; @@ -9229,7 +9229,7 @@ public class Parser implements IParser - protected List<Object> new208() /* reduce AAsimplelistterm3ListTerm */ + private List<Object> new208() /* reduce AAsimplelistterm3ListTerm */ { this.firstPopped = null; this.lastPopped = null; @@ -9255,7 +9255,7 @@ public class Parser implements IParser - protected List<Object> new209() /* reduce AAsimplelistterm4ListTerm */ + private List<Object> new209() /* reduce AAsimplelistterm4ListTerm */ { this.firstPopped = null; this.lastPopped = null; @@ -9284,7 +9284,7 @@ public class Parser implements IParser - protected List<Object> new210() /* reduce AListTermTail */ + private List<Object> new210() /* reduce AListTermTail */ { this.firstPopped = null; this.lastPopped = null; @@ -9302,7 +9302,7 @@ public class Parser implements IParser - protected List<Object> new211() /* reduce ASimpleTermTail */ + private List<Object> new211() /* reduce ASimpleTermTail */ { this.firstPopped = null; this.lastPopped = null; @@ -9320,7 +9320,7 @@ public class Parser implements IParser - protected List<Object> new212() /* reduce AAprodname1ProdName */ + private List<Object> new212() /* reduce AAprodname1ProdName */ { this.firstPopped = null; this.lastPopped = null; @@ -9343,7 +9343,7 @@ public class Parser implements IParser - protected List<Object> new213() /* reduce AAprodname2ProdName */ + private List<Object> new213() /* reduce AAprodname2ProdName */ { this.firstPopped = null; this.lastPopped = null; @@ -9369,7 +9369,7 @@ public class Parser implements IParser - protected List<Object> new214() /* reduce AProdNameTail */ + private List<Object> new214() /* reduce AProdNameTail */ { this.firstPopped = null; this.lastPopped = null; @@ -9387,7 +9387,7 @@ public class Parser implements IParser - protected List<Object> new215() /* reduce AAparams1Params */ + private List<Object> new215() /* reduce AAparams1Params */ { this.firstPopped = null; this.lastPopped = null; @@ -9412,7 +9412,7 @@ public class Parser implements IParser - protected List<Object> new216() /* reduce AAparams2Params */ + private List<Object> new216() /* reduce AAparams2Params */ { this.firstPopped = null; this.lastPopped = null; @@ -9448,7 +9448,7 @@ public class Parser implements IParser - protected List<Object> new217() /* reduce AParamsTail */ + private List<Object> new217() /* reduce AParamsTail */ { this.firstPopped = null; this.lastPopped = null; @@ -9466,7 +9466,7 @@ public class Parser implements IParser - protected List<Object> new218() /* reduce AAltName */ + private List<Object> new218() /* reduce AAltName */ { this.firstPopped = null; this.lastPopped = null; @@ -9485,7 +9485,7 @@ public class Parser implements IParser - protected List<Object> new219() /* reduce AAelem1Elem */ + private List<Object> new219() /* reduce AAelem1Elem */ { this.firstPopped = null; this.lastPopped = null; @@ -9508,7 +9508,7 @@ public class Parser implements IParser - protected List<Object> new220() /* reduce AAelem2Elem */ + private List<Object> new220() /* reduce AAelem2Elem */ { this.firstPopped = null; this.lastPopped = null; @@ -9534,7 +9534,7 @@ public class Parser implements IParser - protected List<Object> new221() /* reduce AAelem3Elem */ + private List<Object> new221() /* reduce AAelem3Elem */ { this.firstPopped = null; this.lastPopped = null; @@ -9560,7 +9560,7 @@ public class Parser implements IParser - protected List<Object> new222() /* reduce AAelem4Elem */ + private List<Object> new222() /* reduce AAelem4Elem */ { this.firstPopped = null; this.lastPopped = null; @@ -9589,7 +9589,7 @@ public class Parser implements IParser - protected List<Object> new223() /* reduce AAelem5Elem */ + private List<Object> new223() /* reduce AAelem5Elem */ { this.firstPopped = null; this.lastPopped = null; @@ -9615,7 +9615,7 @@ public class Parser implements IParser - protected List<Object> new224() /* reduce AAelem6Elem */ + private List<Object> new224() /* reduce AAelem6Elem */ { this.firstPopped = null; this.lastPopped = null; @@ -9644,7 +9644,7 @@ public class Parser implements IParser - protected List<Object> new225() /* reduce AAelem7Elem */ + private List<Object> new225() /* reduce AAelem7Elem */ { this.firstPopped = null; this.lastPopped = null; @@ -9673,7 +9673,7 @@ public class Parser implements IParser - protected List<Object> new226() /* reduce AAelem8Elem */ + private List<Object> new226() /* reduce AAelem8Elem */ { this.firstPopped = null; this.lastPopped = null; @@ -9705,7 +9705,7 @@ public class Parser implements IParser - protected List<Object> new227() /* reduce AElemName */ + private List<Object> new227() /* reduce AElemName */ { this.firstPopped = null; this.lastPopped = null; @@ -9725,7 +9725,7 @@ public class Parser implements IParser - protected List<Object> new228() /* reduce ATokenSpecifier */ + private List<Object> new228() /* reduce ATokenSpecifier */ { this.firstPopped = null; this.lastPopped = null; @@ -9747,7 +9747,7 @@ public class Parser implements IParser - protected List<Object> new229() /* reduce AProductionSpecifier */ + private List<Object> new229() /* reduce AProductionSpecifier */ { this.firstPopped = null; this.lastPopped = null; @@ -9769,7 +9769,7 @@ public class Parser implements IParser - protected List<Object> new230() /* reduce AAst */ + private List<Object> new230() /* reduce AAst */ { this.firstPopped = null; this.lastPopped = null; @@ -9807,7 +9807,7 @@ public class Parser implements IParser - protected List<Object> new231() /* reduce AAstProd */ + private List<Object> new231() /* reduce AAstProd */ { this.firstPopped = null; this.lastPopped = null; @@ -9847,7 +9847,7 @@ public class Parser implements IParser - protected List<Object> new232() /* reduce AAastalts1AstAlts */ + private List<Object> new232() /* reduce AAastalts1AstAlts */ { this.firstPopped = null; this.lastPopped = null; @@ -9872,7 +9872,7 @@ public class Parser implements IParser - protected List<Object> new233() /* reduce AAastalts2AstAlts */ + private List<Object> new233() /* reduce AAastalts2AstAlts */ { this.firstPopped = null; this.lastPopped = null; @@ -9908,7 +9908,7 @@ public class Parser implements IParser - protected List<Object> new234() /* reduce AAstAltsTail */ + private List<Object> new234() /* reduce AAstAltsTail */ { this.firstPopped = null; this.lastPopped = null; @@ -9926,7 +9926,7 @@ public class Parser implements IParser - protected List<Object> new235() /* reduce AAastalt1AstAlt */ + private List<Object> new235() /* reduce AAastalt1AstAlt */ { this.firstPopped = null; this.lastPopped = null; @@ -9950,7 +9950,7 @@ public class Parser implements IParser - protected List<Object> new236() /* reduce AAastalt2AstAlt */ + private List<Object> new236() /* reduce AAastalt2AstAlt */ { this.firstPopped = null; this.lastPopped = null; @@ -9977,7 +9977,7 @@ public class Parser implements IParser - protected List<Object> new237() /* reduce AAastalt3AstAlt */ + private List<Object> new237() /* reduce AAastalt3AstAlt */ { this.firstPopped = null; this.lastPopped = null; @@ -10012,7 +10012,7 @@ public class Parser implements IParser - protected List<Object> new238() /* reduce AAastalt4AstAlt */ + private List<Object> new238() /* reduce AAastalt4AstAlt */ { this.firstPopped = null; this.lastPopped = null; @@ -10050,7 +10050,7 @@ public class Parser implements IParser - protected List<Object> new239() /* reduce ATerminal$PkgNameTail */ + private List<Object> new239() /* reduce ATerminal$PkgNameTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10075,7 +10075,7 @@ public class Parser implements IParser - protected List<Object> new240() /* reduce ANonTerminal$PkgNameTail */ + private List<Object> new240() /* reduce ANonTerminal$PkgNameTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10111,7 +10111,7 @@ public class Parser implements IParser - protected List<Object> new241() /* reduce ATerminal$HelperDef */ + private List<Object> new241() /* reduce ATerminal$HelperDef */ { this.firstPopped = null; this.lastPopped = null; @@ -10136,7 +10136,7 @@ public class Parser implements IParser - protected List<Object> new242() /* reduce ANonTerminal$HelperDef */ + private List<Object> new242() /* reduce ANonTerminal$HelperDef */ { this.firstPopped = null; this.lastPopped = null; @@ -10172,7 +10172,7 @@ public class Parser implements IParser - protected List<Object> new243() /* reduce ATerminal$IdListTail */ + private List<Object> new243() /* reduce ATerminal$IdListTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10197,7 +10197,7 @@ public class Parser implements IParser - protected List<Object> new244() /* reduce ANonTerminal$IdListTail */ + private List<Object> new244() /* reduce ANonTerminal$IdListTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10233,7 +10233,7 @@ public class Parser implements IParser - protected List<Object> new245() /* reduce ATerminal$TokenDef */ + private List<Object> new245() /* reduce ATerminal$TokenDef */ { this.firstPopped = null; this.lastPopped = null; @@ -10258,7 +10258,7 @@ public class Parser implements IParser - protected List<Object> new246() /* reduce ANonTerminal$TokenDef */ + private List<Object> new246() /* reduce ANonTerminal$TokenDef */ { this.firstPopped = null; this.lastPopped = null; @@ -10294,7 +10294,7 @@ public class Parser implements IParser - protected List<Object> new247() /* reduce ATerminal$StateListTail */ + private List<Object> new247() /* reduce ATerminal$StateListTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10319,7 +10319,7 @@ public class Parser implements IParser - protected List<Object> new248() /* reduce ANonTerminal$StateListTail */ + private List<Object> new248() /* reduce ANonTerminal$StateListTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10355,7 +10355,7 @@ public class Parser implements IParser - protected List<Object> new249() /* reduce ATerminal$RegExpTail */ + private List<Object> new249() /* reduce ATerminal$RegExpTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10380,7 +10380,7 @@ public class Parser implements IParser - protected List<Object> new250() /* reduce ANonTerminal$RegExpTail */ + private List<Object> new250() /* reduce ANonTerminal$RegExpTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10416,7 +10416,7 @@ public class Parser implements IParser - protected List<Object> new251() /* reduce ATerminal$UnExp */ + private List<Object> new251() /* reduce ATerminal$UnExp */ { this.firstPopped = null; this.lastPopped = null; @@ -10441,7 +10441,7 @@ public class Parser implements IParser - protected List<Object> new252() /* reduce ANonTerminal$UnExp */ + private List<Object> new252() /* reduce ANonTerminal$UnExp */ { this.firstPopped = null; this.lastPopped = null; @@ -10477,7 +10477,7 @@ public class Parser implements IParser - protected List<Object> new253() /* reduce ATerminal$Prod */ + private List<Object> new253() /* reduce ATerminal$Prod */ { this.firstPopped = null; this.lastPopped = null; @@ -10502,7 +10502,7 @@ public class Parser implements IParser - protected List<Object> new254() /* reduce ANonTerminal$Prod */ + private List<Object> new254() /* reduce ANonTerminal$Prod */ { this.firstPopped = null; this.lastPopped = null; @@ -10538,7 +10538,7 @@ public class Parser implements IParser - protected List<Object> new255() /* reduce ATerminal$Elem */ + private List<Object> new255() /* reduce ATerminal$Elem */ { this.firstPopped = null; this.lastPopped = null; @@ -10563,7 +10563,7 @@ public class Parser implements IParser - protected List<Object> new256() /* reduce ANonTerminal$Elem */ + private List<Object> new256() /* reduce ANonTerminal$Elem */ { this.firstPopped = null; this.lastPopped = null; @@ -10599,7 +10599,7 @@ public class Parser implements IParser - protected List<Object> new257() /* reduce ATerminal$AltsTail */ + private List<Object> new257() /* reduce ATerminal$AltsTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10624,7 +10624,7 @@ public class Parser implements IParser - protected List<Object> new258() /* reduce ANonTerminal$AltsTail */ + private List<Object> new258() /* reduce ANonTerminal$AltsTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10660,7 +10660,7 @@ public class Parser implements IParser - protected List<Object> new259() /* reduce ATerminal$Term */ + private List<Object> new259() /* reduce ATerminal$Term */ { this.firstPopped = null; this.lastPopped = null; @@ -10685,7 +10685,7 @@ public class Parser implements IParser - protected List<Object> new260() /* reduce ANonTerminal$Term */ + private List<Object> new260() /* reduce ANonTerminal$Term */ { this.firstPopped = null; this.lastPopped = null; @@ -10721,7 +10721,7 @@ public class Parser implements IParser - protected List<Object> new261() /* reduce ATerminal$ListTermTail */ + private List<Object> new261() /* reduce ATerminal$ListTermTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10746,7 +10746,7 @@ public class Parser implements IParser - protected List<Object> new262() /* reduce ANonTerminal$ListTermTail */ + private List<Object> new262() /* reduce ANonTerminal$ListTermTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10782,7 +10782,7 @@ public class Parser implements IParser - protected List<Object> new263() /* reduce ATerminal$ParamsTail */ + private List<Object> new263() /* reduce ATerminal$ParamsTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10807,7 +10807,7 @@ public class Parser implements IParser - protected List<Object> new264() /* reduce ANonTerminal$ParamsTail */ + private List<Object> new264() /* reduce ANonTerminal$ParamsTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10843,7 +10843,7 @@ public class Parser implements IParser - protected List<Object> new265() /* reduce ATerminal$AstProd */ + private List<Object> new265() /* reduce ATerminal$AstProd */ { this.firstPopped = null; this.lastPopped = null; @@ -10868,7 +10868,7 @@ public class Parser implements IParser - protected List<Object> new266() /* reduce ANonTerminal$AstProd */ + private List<Object> new266() /* reduce ANonTerminal$AstProd */ { this.firstPopped = null; this.lastPopped = null; @@ -10904,7 +10904,7 @@ public class Parser implements IParser - protected List<Object> new267() /* reduce ATerminal$AstAltsTail */ + private List<Object> new267() /* reduce ATerminal$AstAltsTail */ { this.firstPopped = null; this.lastPopped = null; @@ -10929,7 +10929,7 @@ public class Parser implements IParser - protected List<Object> new268() /* reduce ANonTerminal$AstAltsTail */ + private List<Object> new268() /* reduce ANonTerminal$AstAltsTail */ { this.firstPopped = null; this.lastPopped = null; @@ -11392,7 +11392,7 @@ public class Parser implements IParser {{-1, 155}, }, {{-1, 322}, }, };*/ - protected static String[] errorMessages; + private static String[] errorMessages; /* { "expecting: 'Package', 'States', 'Helpers', 'Tokens', 'Ignored', 'Productions', 'Abstract', EOF", "expecting: pkg id", diff --git a/src/main/resources/org/sablecc/sablecc/parser.txt b/src/main/resources/org/sablecc/sablecc/parser.txt index 90700588ec2eed94dd529d92ed6120336a3ad76c..2feb3020a3a48cba1e65fb1ed9c3eb5543287644 100644 --- a/src/main/resources/org/sablecc/sablecc/parser.txt +++ b/src/main/resources/org/sablecc/sablecc/parser.txt @@ -39,8 +39,8 @@ public class Parser implements IParser private final static int ACCEPT = 2; private final static int ERROR = 3; - protected List<Object> firstPopped = null; - protected List<Object> lastPopped = null; + private List<Object> firstPopped = null; + private List<Object> lastPopped = null; public Parser(Lexer lexer) { @@ -52,7 +52,7 @@ public class Parser implements IParser @Override public Map<PositionedNode, SourcecodeRange> getMapping() { return this.mapping; } - protected void checkResult(Object elementToCheck) { + private void checkResult(Object elementToCheck) { // nodes with no tokens or sub nodes at all may exist if (this.firstPopped == null) { return; @@ -95,7 +95,7 @@ public class Parser implements IParser } - protected int findBeginPos(final List<Object> list, + private int findBeginPos(final List<Object> list, PositionedNode n) { Object first = list.get(0); if (!(first instanceof PositionedNode) && !(first instanceof IToken)) { @@ -126,7 +126,7 @@ public class Parser implements IParser } - protected int findEndPos(final List<Object> list) { + private int findEndPos(final List<Object> list) { Object last = list.get(list.size() - 1); if (!(last instanceof PositionedNode) && !(last instanceof IToken)) { final List<?> list2 = (List<?>) last; @@ -144,7 +144,7 @@ public class Parser implements IParser return item.getEndIndex(); } - protected int findIndex(final IToken token) { + private int findIndex(final IToken token) { final List<IToken> list = this.lexer.getTokenList(); for (int i = list.size() - 1; i >= 0; i--) { @@ -156,13 +156,13 @@ public class Parser implements IParser return -1; } - protected SourcePosition createBeginPos(final int index) { + private SourcePosition createBeginPos(final int index) { final List<IToken> list = this.lexer.getTokenList(); final IToken token = list.get(index); return new SourcePosition(token.getLine(), token.getPos()); } - protected SourcePosition createEndPos(final int index) { + private SourcePosition createEndPos(final int index) { final List<IToken> list = this.lexer.getTokenList(); final IToken token = list.get(index); return new SourcePosition(token.getLine(), token.getPos() @@ -250,7 +250,7 @@ Macro:ParserCommon return s.state; } - protected List<Object> pop() + private List<Object> pop() { List<Object> list = this.stack.previous().nodes; if (this.firstPopped == null) { @@ -373,7 +373,7 @@ Macro:ParserNewHeader - protected List<Object> new$0$() /* reduce $1$ */ + private List<Object> new$0$() /* reduce $1$ */ { this.firstPopped = null; this.lastPopped = null; @@ -502,7 +502,7 @@ Macro:ParserGotoTail $ Macro:ParserErrorsHeader - protected static String[] errorMessages; + private static String[] errorMessages; /* { $