From: miettinen Date: Mon, 13 Jan 2014 08:15:45 +0000 (+0000) Subject: Generated java files for unit parser (refs #4547). X-Git-Tag: 1.8.1~167 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=b3dcab0d290d300a10f9f572c16cde7c2258dbc3;p=simantics%2Fsysdyn.git Generated java files for unit parser (refs #4547). git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28622 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/UnitParser.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/UnitParser.java index 913534fe..6092c827 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/UnitParser.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/UnitParser.java @@ -585,7 +585,28 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit jjtree.openNodeScope(jjtn000); jjtn000.jjtSetFirstToken(getToken(1)); try { - factor(); + if (jj_2_1(2147483647)) { + factor(); + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 6: + case 33: + case 35: + case 60: + case 62: + case 64: + case IDENT: + case STRING: + case UNSIGNED_INTEGER: + case UNSIGNED_NUMBER: + primary(); + break; + default: + jj_la1[14] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { @@ -596,7 +617,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit ; break; default: - jj_la1[14] = jj_gen; + jj_la1[15] = jj_gen; break label_5; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { @@ -609,11 +630,32 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit divide(); break; default: - jj_la1[15] = jj_gen; + jj_la1[16] = jj_gen; jj_consume_token(-1); throw new ParseException(); } - factor(); + if (jj_2_2(2147483647)) { + factor(); + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 6: + case 33: + case 35: + case 60: + case 62: + case 64: + case IDENT: + case STRING: + case UNSIGNED_INTEGER: + case UNSIGNED_NUMBER: + primary(); + break; + default: + jj_la1[17] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } } } catch (Throwable jjte000) { if (jjtc000) { @@ -645,28 +687,8 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit jjtn000.jjtSetFirstToken(getToken(1)); try { primary(); - switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { - case 84: - case 85: - switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { - case 84: - jj_consume_token(84); - primary(); - break; - case 85: - jj_consume_token(85); - primary(); - break; - default: - jj_la1[16] = jj_gen; - jj_consume_token(-1); - throw new ParseException(); - } - break; - default: - jj_la1[17] = jj_gen; - ; - } + power(); + primary(); } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); @@ -689,6 +711,33 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit } } + final public void power() throws ParseException { + /*@bgen(jjtree) power */ + UnitCheckingNode jjtn000 = (UnitCheckingNode)UnitCheckingNodeFactory.jjtCreate(JJTPOWER); + boolean jjtc000 = true; + jjtree.openNodeScope(jjtn000); + jjtn000.jjtSetFirstToken(getToken(1)); + try { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 84: + jj_consume_token(84); + break; + case 85: + jj_consume_token(85); + break; + default: + jj_la1[18] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } finally { + if (jjtc000) { + jjtree.closeNodeScope(jjtn000, true); + jjtn000.jjtSetLastToken(getToken(0)); + } + } + } + final public void multiplication() throws ParseException { /*@bgen(jjtree) multiplication */ UnitCheckingNode jjtn000 = (UnitCheckingNode)UnitCheckingNodeFactory.jjtCreate(JJTMULTIPLICATION); @@ -704,7 +753,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit jj_consume_token(82); break; default: - jj_la1[18] = jj_gen; + jj_la1[19] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -731,7 +780,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit jj_consume_token(83); break; default: - jj_la1[19] = jj_gen; + jj_la1[20] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -759,8 +808,8 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit value(); break; default: - jj_la1[21] = jj_gen; - if (jj_2_1(2147483647)) { + jj_la1[22] = jj_gen; + if (jj_2_3(2147483647)) { function_call(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { @@ -780,7 +829,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit ; break; default: - jj_la1[20] = jj_gen; + jj_la1[21] = jj_gen; break label_6; } jj_consume_token(68); @@ -795,7 +844,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit jj_consume_token(35); break; default: - jj_la1[22] = jj_gen; + jj_la1[23] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -972,7 +1021,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit jj_consume_token(33); break; default: - jj_la1[23] = jj_gen; + jj_la1[24] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1030,7 +1079,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit name(); break; default: - jj_la1[24] = jj_gen; + jj_la1[25] = jj_gen; ; } } catch (Throwable jjte000) { @@ -1068,7 +1117,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit array_subscripts(); break; default: - jj_la1[25] = jj_gen; + jj_la1[26] = jj_gen; ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { @@ -1077,7 +1126,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit component_reference(); break; default: - jj_la1[26] = jj_gen; + jj_la1[27] = jj_gen; ; } } catch (Throwable jjte000) { @@ -1117,7 +1166,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit ; break; default: - jj_la1[27] = jj_gen; + jj_la1[28] = jj_gen; break label_7; } jj_consume_token(IDENT); @@ -1158,7 +1207,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit function_arguments(); break; default: - jj_la1[28] = jj_gen; + jj_la1[29] = jj_gen; ; } parenthesis_close(); @@ -1191,7 +1240,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit jjtree.openNodeScope(jjtn000); jjtn000.jjtSetFirstToken(getToken(1)); try { - if (jj_2_2(2)) { + if (jj_2_4(2)) { named_argument(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 69: @@ -1199,7 +1248,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit function_arguments(); break; default: - jj_la1[29] = jj_gen; + jj_la1[30] = jj_gen; ; } } else { @@ -1234,18 +1283,18 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit for_indices(); break; default: - jj_la1[30] = jj_gen; + jj_la1[31] = jj_gen; jj_consume_token(-1); throw new ParseException(); } break; default: - jj_la1[31] = jj_gen; + jj_la1[32] = jj_gen; ; } break; default: - jj_la1[32] = jj_gen; + jj_la1[33] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1287,7 +1336,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit ; break; default: - jj_la1[33] = jj_gen; + jj_la1[34] = jj_gen; break label_8; } jj_consume_token(69); @@ -1329,7 +1378,7 @@ public class UnitParser/*@bgen(jjtree)*/implements UnitParserTreeConstants, Unit expression(); break; default: - jj_la1[34] = jj_gen; + jj_la1[35] = jj_gen; ; } } catch (Throwable jjte000) { @@ -1419,7 +1468,7 @@ void named_arguments() : { expression(); break; default: - jj_la1[35] = jj_gen; + jj_la1[36] = jj_gen; ; } label_9: @@ -1429,7 +1478,7 @@ void named_arguments() : { ; break; default: - jj_la1[36] = jj_gen; + jj_la1[37] = jj_gen; break label_9; } jj_consume_token(69); @@ -1453,7 +1502,7 @@ void named_arguments() : { expression(); break; default: - jj_la1[37] = jj_gen; + jj_la1[38] = jj_gen; ; } } @@ -1494,7 +1543,7 @@ void named_arguments() : { ; break; default: - jj_la1[38] = jj_gen; + jj_la1[39] = jj_gen; break label_10; } jj_consume_token(69); @@ -1538,7 +1587,7 @@ void named_arguments() : { ; break; default: - jj_la1[39] = jj_gen; + jj_la1[40] = jj_gen; break label_11; } jj_consume_token(69); @@ -1579,8 +1628,8 @@ void named_arguments() : { jj_consume_token(67); break; default: - jj_la1[41] = jj_gen; - if (jj_2_3(2147483647)) { + jj_la1[42] = jj_gen; + if (jj_2_5(2147483647)) { function_call(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { @@ -1593,12 +1642,12 @@ void named_arguments() : { rangeIndex(); break; default: - jj_la1[40] = jj_gen; + jj_la1[41] = jj_gen; ; } break; default: - jj_la1[42] = jj_gen; + jj_la1[43] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1641,7 +1690,7 @@ void named_arguments() : { jj_consume_token(IDENT); break; default: - jj_la1[43] = jj_gen; + jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1674,48 +1723,674 @@ void named_arguments() : { finally { jj_save(2, xla); } } - private boolean jj_3R_15() { - if (jj_scan_token(66)) return true; + private boolean jj_2_4(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_4(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(3, xla); } + } + + private boolean jj_2_5(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + try { return !jj_3_5(); } + catch(LookaheadSuccess ls) { return true; } + finally { jj_save(4, xla); } + } + + private boolean jj_3R_79() { if (jj_3R_12()) return true; return false; } + private boolean jj_3R_30() { + if (jj_scan_token(62)) return true; + if (jj_3R_36()) return true; + if (jj_scan_token(63)) return true; + return false; + } + + private boolean jj_3R_26() { + if (jj_3R_32()) return true; + return false; + } + private boolean jj_3_3() { + if (jj_3R_14()) return true; + if (jj_3R_15()) return true; + return false; + } + + private boolean jj_3R_22() { + if (jj_3R_30()) return true; + return false; + } + + private boolean jj_3R_21() { + if (jj_scan_token(64)) return true; + if (jj_3R_28()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_29()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(65)) return true; + return false; + } + + private boolean jj_3R_20() { + if (jj_3R_27()) return true; + return false; + } + + private boolean jj_3R_19() { + if (jj_3R_26()) return true; + return false; + } + + private boolean jj_3R_18() { + if (jj_3R_25()) return true; + return false; + } + + private boolean jj_3R_12() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_17()) { + jj_scanpos = xsp; + if (jj_3R_18()) { + jj_scanpos = xsp; + if (jj_3R_19()) { + jj_scanpos = xsp; + if (jj_3R_20()) { + jj_scanpos = xsp; + if (jj_3R_21()) { + jj_scanpos = xsp; + if (jj_3R_22()) { + jj_scanpos = xsp; + if (jj_scan_token(35)) return true; + } + } + } + } + } + } + return false; + } + + private boolean jj_3R_17() { + if (jj_3R_24()) return true; + return false; + } + + private boolean jj_3R_87() { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(81)) { + jj_scanpos = xsp; + if (jj_scan_token(83)) return true; + } + return false; + } + + private boolean jj_3R_86() { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(80)) { + jj_scanpos = xsp; + if (jj_scan_token(82)) return true; + } + return false; + } + + private boolean jj_3R_13() { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(84)) { + jj_scanpos = xsp; + if (jj_scan_token(85)) return true; + } + return false; + } + + private boolean jj_3R_61() { + if (jj_scan_token(67)) return true; + if (jj_3R_51()) return true; + return false; + } + + private boolean jj_3_1() { if (jj_3R_12()) return true; if (jj_3R_13()) return true; return false; } - private boolean jj_3R_13() { - if (jj_scan_token(60)) return true; + private boolean jj_3R_72() { + if (jj_3R_76()) return true; + if (jj_3R_71()) return true; return false; } - private boolean jj_3R_14() { + private boolean jj_3R_75() { + if (jj_3R_77()) return true; + if (jj_3R_74()) return true; + return false; + } + + private boolean jj_3R_81() { + if (jj_3R_12()) return true; + if (jj_3R_13()) return true; + if (jj_3R_12()) return true; + return false; + } + + private boolean jj_3R_78() { + if (jj_3R_81()) return true; + return false; + } + + private boolean jj_3R_74() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_78()) { + jj_scanpos = xsp; + if (jj_3R_79()) return true; + } + while (true) { + xsp = jj_scanpos; + if (jj_3R_80()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_77() { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(76)) { + jj_scanpos = xsp; + if (jj_scan_token(77)) { + jj_scanpos = xsp; + if (jj_scan_token(78)) { + jj_scanpos = xsp; + if (jj_scan_token(79)) return true; + } + } + } + return false; + } + + private boolean jj_3R_66() { + if (jj_scan_token(9)) return true; + if (jj_3R_65()) return true; + return false; + } + + private boolean jj_3R_73() { + if (jj_3R_77()) return true; + return false; + } + + private boolean jj_3R_71() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_73()) jj_scanpos = xsp; + if (jj_3R_74()) return true; + while (true) { + xsp = jj_scanpos; + if (jj_3R_75()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_76() { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(70)) { + jj_scanpos = xsp; + if (jj_scan_token(71)) { + jj_scanpos = xsp; + if (jj_scan_token(72)) { + jj_scanpos = xsp; + if (jj_scan_token(73)) { + jj_scanpos = xsp; + if (jj_scan_token(74)) { + jj_scanpos = xsp; + if (jj_scan_token(75)) return true; + } + } + } + } + } + return false; + } + + private boolean jj_3R_52() { + if (jj_scan_token(67)) return true; + if (jj_3R_51()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_61()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_60() { + if (jj_scan_token(22)) return true; + if (jj_3R_59()) return true; + return false; + } + + private boolean jj_3R_54() { + if (jj_scan_token(20)) return true; + if (jj_3R_53()) return true; + if (jj_scan_token(28)) return true; + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3R_69() { + if (jj_3R_71()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_72()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_64() { + if (jj_scan_token(67)) return true; + if (jj_3R_63()) return true; + return false; + } + + private boolean jj_3R_65() { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(12)) jj_scanpos = xsp; + if (jj_3R_69()) return true; + return false; + } + + private boolean jj_3_5() { + if (jj_3R_14()) return true; + if (jj_3R_15()) return true; + return false; + } + + private boolean jj_3R_59() { + if (jj_3R_65()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_66()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_50() { + if (jj_scan_token(69)) return true; + if (jj_3R_49()) return true; + return false; + } + + private boolean jj_3R_51() { + if (jj_3R_59()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_60()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_63() { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(90)) { + jj_scanpos = xsp; + if (jj_scan_token(88)) return true; + } + return false; + } + + private boolean jj_3R_57() { + if (jj_3R_25()) return true; + return false; + } + + private boolean jj_3R_58() { + if (jj_3R_63()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_64()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_45() { + if (jj_3R_51()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_52()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_35() { + if (jj_scan_token(69)) return true; + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3R_49() { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(67)) { + jj_scanpos = xsp; + if (jj_3R_57()) { + jj_scanpos = xsp; + if (jj_3R_58()) return true; + } + } + return false; + } + + private boolean jj_3R_56() { + if (jj_scan_token(21)) return true; + if (jj_3R_62()) return true; + return false; + } + + private boolean jj_3R_44() { + if (jj_scan_token(64)) return true; + if (jj_3R_49()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_50()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(65)) return true; + return false; + } + + private boolean jj_3R_53() { + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3R_42() { + if (jj_3R_46()) return true; + return false; + } + + private boolean jj_3R_28() { + if (jj_3R_33()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_35()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_47() { + if (jj_scan_token(69)) return true; + if (jj_3R_36()) return true; + return false; + } + + private boolean jj_3R_41() { + if (jj_3R_45()) return true; + return false; + } + + private boolean jj_3R_33() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_41()) { + jj_scanpos = xsp; + if (jj_3R_42()) return true; + } + return false; + } + + private boolean jj_3R_46() { + if (jj_scan_token(31)) return true; + if (jj_3R_53()) return true; + if (jj_scan_token(28)) return true; + if (jj_3R_33()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_54()) { jj_scanpos = xsp; break; } + } + if (jj_scan_token(15)) return true; + if (jj_3R_33()) return true; + return false; + } + + private boolean jj_3R_40() { + if (jj_scan_token(66)) return true; + if (jj_3R_32()) return true; + return false; + } + + private boolean jj_3R_16() { if (jj_scan_token(IDENT)) return true; if (jj_scan_token(86)) return true; + if (jj_3R_33()) return true; return false; } - private boolean jj_3_2() { - if (jj_3R_14()) return true; + private boolean jj_3R_70() { + if (jj_scan_token(41)) return true; + if (jj_3R_33()) return true; return false; } - private boolean jj_3R_12() { + private boolean jj_3R_85() { + if (jj_3R_12()) return true; + return false; + } + + private boolean jj_3R_68() { + if (jj_scan_token(69)) return true; + if (jj_3R_67()) return true; + return false; + } + + private boolean jj_3R_48() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_55()) { + jj_scanpos = xsp; + if (jj_3R_56()) return true; + } + return false; + } + + private boolean jj_3R_55() { + if (jj_scan_token(69)) return true; + if (jj_3R_36()) return true; + return false; + } + + private boolean jj_3R_37() { + if (jj_3R_36()) return true; + return false; + } + + private boolean jj_3R_67() { if (jj_scan_token(IDENT)) return true; Token xsp; xsp = jj_scanpos; - if (jj_3R_15()) jj_scanpos = xsp; + if (jj_3R_70()) jj_scanpos = xsp; return false; } - private boolean jj_3_1() { + private boolean jj_3R_62() { + if (jj_3R_67()) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_68()) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_39() { + if (jj_3R_44()) return true; + return false; + } + + private boolean jj_3R_43() { + if (jj_3R_33()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_48()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3_4() { + if (jj_3R_16()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_47()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_36() { + Token xsp; + xsp = jj_scanpos; + if (jj_3_4()) { + jj_scanpos = xsp; + if (jj_3R_43()) return true; + } + return false; + } + + private boolean jj_3R_31() { + if (jj_3R_15()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_37()) jj_scanpos = xsp; + if (jj_3R_34()) return true; + return false; + } + + private boolean jj_3_2() { if (jj_3R_12()) return true; if (jj_3R_13()) return true; return false; } + private boolean jj_3R_23() { + if (jj_scan_token(66)) return true; + if (jj_3R_14()) return true; + return false; + } + + private boolean jj_3R_84() { + if (jj_3R_81()) return true; + return false; + } + + private boolean jj_3R_38() { + if (jj_scan_token(IDENT)) return true; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_scan_token(88)) { jj_scanpos = xsp; break; } + } + return false; + } + + private boolean jj_3R_32() { + if (jj_3R_38()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_39()) jj_scanpos = xsp; + xsp = jj_scanpos; + if (jj_3R_40()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_14() { + if (jj_scan_token(IDENT)) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_23()) jj_scanpos = xsp; + return false; + } + + private boolean jj_3R_83() { + if (jj_3R_87()) return true; + return false; + } + + private boolean jj_3R_34() { + if (jj_scan_token(61)) return true; + return false; + } + + private boolean jj_3R_15() { + if (jj_scan_token(60)) return true; + return false; + } + + private boolean jj_3R_24() { + Token xsp; + xsp = jj_scanpos; + if (jj_scan_token(91)) { + jj_scanpos = xsp; + if (jj_scan_token(90)) { + jj_scanpos = xsp; + if (jj_scan_token(89)) { + jj_scanpos = xsp; + if (jj_scan_token(6)) { + jj_scanpos = xsp; + if (jj_scan_token(33)) return true; + } + } + } + } + return false; + } + + private boolean jj_3R_82() { + if (jj_3R_86()) return true; + return false; + } + + private boolean jj_3R_80() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_82()) { + jj_scanpos = xsp; + if (jj_3R_83()) return true; + } + xsp = jj_scanpos; + if (jj_3R_84()) { + jj_scanpos = xsp; + if (jj_3R_85()) return true; + } + return false; + } + + private boolean jj_3R_29() { + if (jj_scan_token(68)) return true; + if (jj_3R_28()) return true; + return false; + } + + private boolean jj_3R_27() { + if (jj_3R_15()) return true; + if (jj_3R_33()) return true; + if (jj_3R_34()) return true; + return false; + } + + private boolean jj_3R_25() { + if (jj_3R_14()) return true; + if (jj_3R_31()) return true; + return false; + } + /** Generated Token Manager. */ public UnitParserTokenManager token_source; SimpleCharStream jj_input_stream; @@ -1727,7 +2402,7 @@ void named_arguments() : { private Token jj_scanpos, jj_lastpos; private int jj_la; private int jj_gen; - final private int[] jj_la1 = new int[44]; + final private int[] jj_la1 = new int[45]; static private int[] jj_la1_0; static private int[] jj_la1_1; static private int[] jj_la1_2; @@ -1737,15 +2412,15 @@ void named_arguments() : { jj_la1_init_2(); } private static void jj_la1_init_0() { - jj_la1_0 = new int[] {0x1040,0x80001041,0x80001040,0x100000,0x0,0x0,0x400000,0x200,0x1000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x40,0x0,0x0,0x0,0x0,0x80001040,0x0,0x200000,0x200000,0x80001040,0x0,0x0,0x80001040,0x0,0x80001040,0x0,0x0,0x0,0x0,0x0,0x0,}; + jj_la1_0 = new int[] {0x1040,0x80001041,0x80001040,0x100000,0x0,0x0,0x400000,0x200,0x1000,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x40,0x0,0x40,0x0,0x0,0x0,0x0,0x80001040,0x0,0x200000,0x200000,0x80001040,0x0,0x0,0x80001040,0x0,0x80001040,0x0,0x0,0x0,0x0,0x0,0x0,}; } private static void jj_la1_init_1() { - jj_la1_1 = new int[] {0x5000000a,0x5000000a,0x5000000a,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x50000008,0x2,0x0,0x0,0x0,0x0,0x5000000a,0x0,0x0,0x0,0x5000000a,0x0,0x200,0x5000000a,0x0,0x5000000a,0x0,0x0,0x0,0x0,0x0,0x0,}; + jj_la1_1 = new int[] {0x5000000a,0x5000000a,0x5000000a,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x5000000a,0x0,0x0,0x5000000a,0x0,0x0,0x0,0x0,0x2,0x50000008,0x2,0x0,0x0,0x0,0x0,0x5000000a,0x0,0x0,0x0,0x5000000a,0x0,0x200,0x5000000a,0x0,0x5000000a,0x0,0x0,0x0,0x0,0x0,0x0,}; } private static void jj_la1_init_2() { - jj_la1_2 = new int[] {0xf00f001,0xf00f001,0xf00f001,0x0,0x8,0x8,0x0,0x0,0x0,0xfc0,0xfc0,0xf000,0xf000,0xf000,0xf0000,0xf0000,0x300000,0x300000,0x50000,0xa0000,0x10,0xe000000,0x1000001,0xe000000,0x4,0x1,0x4,0x1000000,0xf00f001,0x20,0x20,0x20,0xf00f001,0x20,0x0,0xf00f001,0x20,0xf00f001,0x20,0x20,0x8,0x8,0x5000000,0x5000000,}; + jj_la1_2 = new int[] {0xf00f001,0xf00f001,0xf00f001,0x0,0x8,0x8,0x0,0x0,0x0,0xfc0,0xfc0,0xf000,0xf000,0xf000,0xf000001,0xf0000,0xf0000,0xf000001,0x300000,0x50000,0xa0000,0x10,0xe000000,0x1000001,0xe000000,0x4,0x1,0x4,0x1000000,0xf00f001,0x20,0x20,0x20,0xf00f001,0x20,0x0,0xf00f001,0x20,0xf00f001,0x20,0x20,0x8,0x8,0x5000000,0x5000000,}; } - final private JJCalls[] jj_2_rtns = new JJCalls[3]; + final private JJCalls[] jj_2_rtns = new JJCalls[5]; private boolean jj_rescan = false; private int jj_gc = 0; @@ -1760,7 +2435,7 @@ void named_arguments() : { token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 44; i++) jj_la1[i] = -1; + for (int i = 0; i < 45; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -1776,7 +2451,7 @@ void named_arguments() : { jj_ntk = -1; jjtree.reset(); jj_gen = 0; - for (int i = 0; i < 44; i++) jj_la1[i] = -1; + for (int i = 0; i < 45; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -1787,7 +2462,7 @@ void named_arguments() : { token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 44; i++) jj_la1[i] = -1; + for (int i = 0; i < 45; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -1799,7 +2474,7 @@ void named_arguments() : { jj_ntk = -1; jjtree.reset(); jj_gen = 0; - for (int i = 0; i < 44; i++) jj_la1[i] = -1; + for (int i = 0; i < 45; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -1809,7 +2484,7 @@ void named_arguments() : { token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 44; i++) jj_la1[i] = -1; + for (int i = 0; i < 45; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -1820,7 +2495,7 @@ void named_arguments() : { jj_ntk = -1; jjtree.reset(); jj_gen = 0; - for (int i = 0; i < 44; i++) jj_la1[i] = -1; + for (int i = 0; i < 45; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -1937,7 +2612,7 @@ void named_arguments() : { la1tokens[jj_kind] = true; jj_kind = -1; } - for (int i = 0; i < 44; i++) { + for (int i = 0; i < 45; i++) { if (jj_la1[i] == jj_gen) { for (int j = 0; j < 32; j++) { if ((jj_la1_0[i] & (1<