import java.util.ArrayList;\r
import java.util.HashMap;\r
\r
-\r
+@SuppressWarnings({"unused", "serial"})\r
public class ExpressionParser implements ExpressionParserConstants {\r
\r
public class ForRange {\r
}\r
}\r
\r
- final public void name() throws ParseException {\r
+ final public Token ident() throws ParseException {\r
+ Token concatToken = null;\r
+ Token continuationToken = null;\r
+ String fullStr = null;\r
jj_consume_token(IDENT);\r
+ concatToken = token;\r
+ switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r
+ case IDENT:\r
+ continuationToken = ident();\r
+ fullStr = new String("");\r
+ // Replace whitespace sequence with a single space character.\r
+ fullStr += concatToken.image + " " + continuationToken.image;\r
+\r
+ Token tempToken = new Token(concatToken.kind, fullStr);\r
+ tempToken.beginLine = concatToken.beginLine;\r
+ tempToken.beginColumn = concatToken.beginColumn;\r
+ tempToken.endLine = token.endLine;\r
+ tempToken.endColumn = token.endColumn;\r
+ concatToken = tempToken;\r
+ System.out.println(concatToken.image);\r
+ break;\r
+ default:\r
+ jj_la1[21] = jj_gen;\r
+ ;\r
+ }\r
+ {if (true) return concatToken;}\r
+ throw new Error("Missing return statement in function");\r
+ }\r
+\r
+ final public void name() throws ParseException {\r
+ Token identToken = null;\r
+ identToken = ident();\r
if (functionCall == null)\r
- functionCall = token.image;\r
+ functionCall = identToken.image;\r
else\r
- functionCall += "." + token.image;\r
+ functionCall += "." + identToken.image;\r
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r
case 66:\r
jj_consume_token(66);\r
name();\r
break;\r
default:\r
- jj_la1[21] = jj_gen;\r
+ jj_la1[22] = jj_gen;\r
;\r
}\r
}\r
\r
final public void component_reference(String prevToken) throws ParseException {\r
- jj_consume_token(IDENT);\r
- String name = token.image;\r
+ Token identToken = null;\r
+ //IDENT [ array_subscripts ] [ "." component_reference ]\r
+ identToken = ident();\r
+ String name = identToken.image;\r
// forIndex == true and prevToken != null => this is the second part of an enumeration in for-index\r
if(forIndex == true) {\r
if(prevToken != null) {\r
enumerationReferences.put(prevToken, new ArrayList<Token>());\r
}\r
List<Token> list = enumerationReferences.get(prevToken);\r
- list.add(token);\r
+ list.add(identToken);\r
\r
// forIndex == true and prevToken == null => this is the enumeration in for-index\r
} else {\r
enumerationReferences.put(name, new ArrayList<Token>());\r
}\r
List<Token> list = enumerationReferences.get(name);\r
- list.add(token);\r
+ list.add(identToken);\r
}\r
} else {\r
if(prevToken != null)\r
references.put(name, new ArrayList<Token>());\r
}\r
List<Token> list = references.get(name);\r
- list.add(token);\r
+ list.add(identToken);\r
\r
if(functionCall != null) {\r
if(!functionCallReferences.containsKey(functionCall))\r
functionCallReferences.put(functionCall, new ArrayList<Token>());\r
List<Token> functionReferencelist = getFunctionCallReferences().get(functionCall);\r
- functionReferencelist.add(token);\r
+ functionReferencelist.add(identToken);\r
}\r
}\r
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r
case 64:\r
- array_subscripts();\r
+ array_subscripts(identToken);\r
break;\r
default:\r
- jj_la1[22] = jj_gen;\r
+ jj_la1[23] = jj_gen;\r
;\r
}\r
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r
component_reference(name);\r
break;\r
default:\r
- jj_la1[23] = jj_gen;\r
+ jj_la1[24] = jj_gen;\r
;\r
}\r
}\r
function_arguments();\r
break;\r
default:\r
- jj_la1[24] = jj_gen;\r
+ jj_la1[25] = jj_gen;\r
;\r
}\r
jj_consume_token(61);\r
}\r
\r
final public void function_arguments() throws ParseException {\r
- if (jj_2_2(2)) {\r
+ if (jj_2_2(2147483647)) {\r
named_argument();\r
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r
case 69:\r
function_arguments();\r
break;\r
default:\r
- jj_la1[25] = jj_gen;\r
+ jj_la1[26] = jj_gen;\r
;\r
}\r
} else {\r
for_indices();\r
break;\r
default:\r
- jj_la1[26] = jj_gen;\r
+ jj_la1[27] = jj_gen;\r
jj_consume_token(-1);\r
throw new ParseException();\r
}\r
break;\r
default:\r
- jj_la1[27] = jj_gen;\r
+ jj_la1[28] = jj_gen;\r
;\r
}\r
break;\r
default:\r
- jj_la1[28] = jj_gen;\r
+ jj_la1[29] = jj_gen;\r
jj_consume_token(-1);\r
throw new ParseException();\r
}\r
;\r
break;\r
default:\r
- jj_la1[29] = jj_gen;\r
+ jj_la1[30] = jj_gen;\r
break label_8;\r
}\r
jj_consume_token(69);\r
}\r
\r
final public void for_index() throws ParseException {\r
- jj_consume_token(IDENT);\r
- forIndices.put(token, currentRange);\r
+ Token identToken = null;\r
+ //IDENT [ in expression ]\r
+ identToken = ident();\r
+ forIndices.put(identToken, currentRange);\r
forIndex = true;\r
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r
case 41:\r
forRanges.add(forRange);\r
break;\r
default:\r
- jj_la1[30] = jj_gen;\r
+ jj_la1[31] = jj_gen;\r
;\r
}\r
forIndex = false;\r
}\r
*/\r
final public void named_argument() throws ParseException {\r
- jj_consume_token(IDENT);\r
+ ident();\r
jj_consume_token(86);\r
expression();\r
}\r
expression();\r
break;\r
default:\r
- jj_la1[31] = jj_gen;\r
+ jj_la1[32] = jj_gen;\r
;\r
}\r
label_9:\r
;\r
break;\r
default:\r
- jj_la1[32] = jj_gen;\r
+ jj_la1[33] = jj_gen;\r
break label_9;\r
}\r
jj_consume_token(69);\r
expression();\r
break;\r
default:\r
- jj_la1[33] = jj_gen;\r
+ jj_la1[34] = jj_gen;\r
;\r
}\r
}\r
;\r
break;\r
default:\r
- jj_la1[34] = jj_gen;\r
+ jj_la1[35] = jj_gen;\r
break label_10;\r
}\r
jj_consume_token(69);\r
}\r
}\r
\r
- final public void array_subscripts() throws ParseException {\r
- if(ranges.get(token.image) == null) {\r
- ranges.put(token.image, new ArrayList<List<Token>>());\r
+ final public void array_subscripts(Token prevToken) throws ParseException {\r
+ if(ranges.get(prevToken.image) == null) {\r
+ ranges.put(prevToken.image, new ArrayList<List<Token>>());\r
}\r
- List<List<Token>> rangesList = ranges.get(token.image);\r
+ List<List<Token>> rangesList = ranges.get(prevToken.image);\r
currentRange = new ArrayList<Token>();\r
jj_consume_token(64);\r
subscript(currentRange);\r
;\r
break;\r
default:\r
- jj_la1[35] = jj_gen;\r
+ jj_la1[36] = jj_gen;\r
break label_11;\r
}\r
jj_consume_token(69);\r
currentRange.add(token);\r
break;\r
default:\r
- jj_la1[37] = jj_gen;\r
+ jj_la1[38] = jj_gen;\r
if (jj_2_3(2147483647)) {\r
functionCall = null;\r
name();\r
rangeIndex(rangeToken, false);\r
break;\r
default:\r
- jj_la1[36] = jj_gen;\r
+ jj_la1[37] = jj_gen;\r
;\r
}\r
rangeToken.endColumn = token.endColumn;\r
currentRange.add(rangeToken);\r
break;\r
default:\r
- jj_la1[38] = jj_gen;\r
+ jj_la1[39] = jj_gen;\r
jj_consume_token(-1);\r
throw new ParseException();\r
}\r
}\r
\r
final public void rangeIndex(Token rangeToken, boolean first) throws ParseException {\r
+ Token identToken = null;\r
if(!first)\r
rangeToken.image = rangeToken.image + ":";\r
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r
rangeToken.image = rangeToken.image + token.image;\r
break;\r
case IDENT:\r
- jj_consume_token(IDENT);\r
- rangeToken.image = rangeToken.image + token.image;\r
+ identToken = ident();\r
+ rangeToken.image = rangeToken.image + identToken;\r
break;\r
default:\r
- jj_la1[39] = jj_gen;\r
+ jj_la1[40] = jj_gen;\r
jj_consume_token(-1);\r
throw new ParseException();\r
}\r
}\r
\r
private boolean jj_3R_13() {\r
- if (jj_scan_token(IDENT)) return true;\r
+ if (jj_3R_14()) return true;\r
if (jj_scan_token(86)) return true;\r
+ if (jj_3R_16()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_66() {\r
+ if (jj_scan_token(21)) return true;\r
+ if (jj_3R_70()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_36() {\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_scan_token(76)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(77)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(78)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(79)) return true;\r
+ }\r
+ }\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_28() {\r
+ if (jj_scan_token(9)) return true;\r
+ if (jj_3R_27()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_32() {\r
+ if (jj_3R_36()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_30() {\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_32()) jj_scanpos = xsp;\r
+ if (jj_3R_33()) return true;\r
+ while (true) {\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_34()) { jj_scanpos = xsp; break; }\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_50() {\r
+ if (jj_3R_14()) return true;\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_55()) jj_scanpos = xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_56()) jj_scanpos = xsp;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_35() {\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_scan_token(70)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(71)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(72)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(73)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(74)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(75)) return true;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_23() {\r
+ if (jj_scan_token(67)) return true;\r
+ if (jj_3R_22()) return true;\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_26()) jj_scanpos = xsp;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_25() {\r
+ if (jj_scan_token(22)) return true;\r
+ if (jj_3R_24()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_29() {\r
+ if (jj_3R_30()) return true;\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_31()) jj_scanpos = xsp;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_15() {\r
+ if (jj_scan_token(66)) return true;\r
+ if (jj_3R_12()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_72() {\r
+ if (jj_scan_token(67)) return true;\r
+ if (jj_3R_71()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_77() {\r
+ if (jj_scan_token(41)) return true;\r
+ if (jj_3R_16()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_27() {\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_scan_token(12)) jj_scanpos = xsp;\r
+ if (jj_3R_29()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_12() {\r
+ if (jj_3R_14()) return true;\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_15()) jj_scanpos = xsp;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_24() {\r
+ if (jj_3R_27()) return true;\r
+ Token xsp;\r
+ while (true) {\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_28()) { jj_scanpos = xsp; break; }\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_74() {\r
+ if (jj_scan_token(69)) return true;\r
+ if (jj_3R_73()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_65() {\r
+ if (jj_scan_token(69)) return true;\r
+ if (jj_3R_53()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_62() {\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_65()) {\r
+ jj_scanpos = xsp;\r
+ if (jj_3R_66()) return true;\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_56() {\r
+ if (jj_scan_token(66)) return true;\r
+ if (jj_3R_50()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_22() {\r
+ if (jj_3R_24()) return true;\r
+ Token xsp;\r
+ while (true) {\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_25()) { jj_scanpos = xsp; break; }\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_76() {\r
+ if (jj_3R_14()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_73() {\r
+ if (jj_3R_14()) return true;\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_77()) jj_scanpos = xsp;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_20() {\r
+ if (jj_3R_22()) return true;\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_23()) jj_scanpos = xsp;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_75() {\r
+ if (jj_scan_token(UNSIGNED_INTEGER)) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_71() {\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_75()) {\r
+ jj_scanpos = xsp;\r
+ if (jj_3R_76()) return true;\r
+ }\r
return false;\r
}\r
\r
return false;\r
}\r
\r
- private boolean jj_3_1() {\r
+ private boolean jj_3R_52() {\r
+ if (jj_scan_token(68)) return true;\r
+ if (jj_3R_51()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_19() {\r
+ if (jj_scan_token(31)) return true;\r
+ if (jj_3R_16()) return true;\r
+ if (jj_scan_token(28)) return true;\r
+ if (jj_3R_16()) return true;\r
+ Token xsp;\r
+ while (true) {\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_21()) { jj_scanpos = xsp; break; }\r
+ }\r
+ if (jj_scan_token(15)) return true;\r
+ if (jj_3R_16()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_70() {\r
+ if (jj_3R_73()) return true;\r
+ Token xsp;\r
+ while (true) {\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_74()) { jj_scanpos = xsp; break; }\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_18() {\r
+ if (jj_3R_20()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_16() {\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_18()) {\r
+ jj_scanpos = xsp;\r
+ if (jj_3R_19()) return true;\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_59() {\r
+ if (jj_3R_16()) return true;\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_62()) jj_scanpos = xsp;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_64() {\r
+ if (jj_scan_token(69)) return true;\r
+ if (jj_3R_63()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3_3() {\r
if (jj_3R_12()) return true;\r
if (jj_scan_token(60)) return true;\r
return false;\r
}\r
\r
- private boolean jj_3R_12() {\r
+ private boolean jj_3R_69() {\r
+ if (jj_3R_71()) return true;\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_72()) jj_scanpos = xsp;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_58() {\r
+ if (jj_3R_13()) return true;\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_61()) jj_scanpos = xsp;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_53() {\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_58()) {\r
+ jj_scanpos = xsp;\r
+ if (jj_3R_59()) return true;\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_17() {\r
+ if (jj_3R_14()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_54() {\r
+ if (jj_3R_53()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_14() {\r
if (jj_scan_token(IDENT)) return true;\r
Token xsp;\r
xsp = jj_scanpos;\r
- if (jj_3R_14()) jj_scanpos = xsp;\r
+ if (jj_3R_17()) jj_scanpos = xsp;\r
return false;\r
}\r
\r
- private boolean jj_3_3() {\r
+ private boolean jj_3R_68() {\r
if (jj_3R_12()) return true;\r
+ if (jj_3R_49()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_48() {\r
+ if (jj_scan_token(85)) return true;\r
+ if (jj_3R_39()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_49() {\r
if (jj_scan_token(60)) return true;\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_54()) jj_scanpos = xsp;\r
+ if (jj_scan_token(61)) return true;\r
return false;\r
}\r
\r
- private boolean jj_3R_14() {\r
- if (jj_scan_token(66)) return true;\r
+ private boolean jj_3_1() {\r
+ if (jj_3R_12()) return true;\r
+ if (jj_scan_token(60)) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_46() {\r
+ if (jj_scan_token(62)) return true;\r
+ if (jj_3R_53()) return true;\r
+ if (jj_scan_token(63)) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_45() {\r
+ if (jj_scan_token(64)) return true;\r
+ if (jj_3R_51()) return true;\r
+ Token xsp;\r
+ while (true) {\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_52()) { jj_scanpos = xsp; break; }\r
+ }\r
+ if (jj_scan_token(65)) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_55() {\r
+ if (jj_3R_60()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_44() {\r
+ if (jj_scan_token(60)) return true;\r
+ if (jj_3R_16()) return true;\r
+ if (jj_scan_token(61)) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_67() {\r
+ if (jj_scan_token(67)) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_63() {\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_67()) {\r
+ jj_scanpos = xsp;\r
+ if (jj_3R_68()) {\r
+ jj_scanpos = xsp;\r
+ if (jj_3R_69()) return true;\r
+ }\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_43() {\r
+ if (jj_3R_50()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_42() {\r
if (jj_3R_12()) return true;\r
+ if (jj_3R_49()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_47() {\r
+ if (jj_scan_token(84)) return true;\r
+ if (jj_3R_39()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_40() {\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_47()) {\r
+ jj_scanpos = xsp;\r
+ if (jj_3R_48()) return true;\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_57() {\r
+ if (jj_scan_token(69)) return true;\r
+ if (jj_3R_16()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_39() {\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_scan_token(91)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(90)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(89)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(6)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(33)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_3R_42()) {\r
+ jj_scanpos = xsp;\r
+ if (jj_3R_43()) {\r
+ jj_scanpos = xsp;\r
+ if (jj_3R_44()) {\r
+ jj_scanpos = xsp;\r
+ if (jj_3R_45()) {\r
+ jj_scanpos = xsp;\r
+ if (jj_3R_46()) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(35)) return true;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_60() {\r
+ if (jj_scan_token(64)) return true;\r
+ if (jj_3R_63()) return true;\r
+ Token xsp;\r
+ while (true) {\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_64()) { jj_scanpos = xsp; break; }\r
+ }\r
+ if (jj_scan_token(65)) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_26() {\r
+ if (jj_scan_token(67)) return true;\r
+ if (jj_3R_22()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_38() {\r
+ if (jj_3R_41()) return true;\r
+ if (jj_3R_37()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_31() {\r
+ if (jj_3R_35()) return true;\r
+ if (jj_3R_30()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_34() {\r
+ if (jj_3R_36()) return true;\r
+ if (jj_3R_33()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_41() {\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_scan_token(80)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(81)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(82)) {\r
+ jj_scanpos = xsp;\r
+ if (jj_scan_token(83)) return true;\r
+ }\r
+ }\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_37() {\r
+ if (jj_3R_39()) return true;\r
+ Token xsp;\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_40()) jj_scanpos = xsp;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_51() {\r
+ if (jj_3R_16()) return true;\r
+ Token xsp;\r
+ while (true) {\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_57()) { jj_scanpos = xsp; break; }\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_21() {\r
+ if (jj_scan_token(20)) return true;\r
+ if (jj_3R_16()) return true;\r
+ if (jj_scan_token(28)) return true;\r
+ if (jj_3R_16()) return true;\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_33() {\r
+ if (jj_3R_37()) return true;\r
+ Token xsp;\r
+ while (true) {\r
+ xsp = jj_scanpos;\r
+ if (jj_3R_38()) { jj_scanpos = xsp; break; }\r
+ }\r
+ return false;\r
+ }\r
+\r
+ private boolean jj_3R_61() {\r
+ if (jj_scan_token(69)) return true;\r
+ if (jj_3R_53()) return true;\r
return false;\r
}\r
\r
private Token jj_scanpos, jj_lastpos;\r
private int jj_la;\r
private int jj_gen;\r
- final private int[] jj_la1 = new int[40];\r
+ final private int[] jj_la1 = new int[41];\r
static private int[] jj_la1_0;\r
static private int[] jj_la1_1;\r
static private int[] jj_la1_2;\r
jj_la1_init_2();\r
}\r
private static void jj_la1_init_0() {\r
- jj_la1_0 = new int[] {0x100000,0x80001040,0x100000,0x80001040,0x0,0x0,0x400000,0x200,0x1000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x80001040,0x0,0x200000,0x200000,0x80001040,0x0,0x0,0x80001040,0x0,0x80001040,0x0,0x0,0x0,0x0,0x0,0x0,};\r
+ jj_la1_0 = new int[] {0x100000,0x80001040,0x100000,0x80001040,0x0,0x0,0x400000,0x200,0x1000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x0,0x80001040,0x0,0x200000,0x200000,0x80001040,0x0,0x0,0x80001040,0x0,0x80001040,0x0,0x0,0x0,0x0,0x0,0x0,};\r
}\r
private static void jj_la1_init_1() {\r
- jj_la1_1 = new int[] {0x0,0x5000000a,0x0,0x5000000a,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x50000008,0x0,0x0,0x0,0x5000000a,0x0,0x0,0x0,0x5000000a,0x0,0x200,0x5000000a,0x0,0x5000000a,0x0,0x0,0x0,0x0,0x0,0x0,};\r
+ jj_la1_1 = new int[] {0x0,0x5000000a,0x0,0x5000000a,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x50000008,0x0,0x0,0x0,0x0,0x5000000a,0x0,0x0,0x0,0x5000000a,0x0,0x200,0x5000000a,0x0,0x5000000a,0x0,0x0,0x0,0x0,0x0,0x0,};\r
}\r
private static void jj_la1_init_2() {\r
- jj_la1_2 = new int[] {0x0,0xf00f001,0x0,0xf00f001,0x8,0x8,0x0,0x0,0x0,0xfc0,0xfc0,0xf000,0xf000,0xf000,0xf0000,0x300000,0x300000,0xf0000,0x10,0xe000000,0x1000001,0x4,0x1,0x4,0xf00f001,0x20,0x20,0x20,0xf00f001,0x20,0x0,0xf00f001,0x20,0xf00f001,0x20,0x20,0x8,0x8,0x5000000,0x5000000,};\r
+ jj_la1_2 = new int[] {0x0,0xf00f001,0x0,0xf00f001,0x8,0x8,0x0,0x0,0x0,0xfc0,0xfc0,0xf000,0xf000,0xf000,0xf0000,0x300000,0x300000,0xf0000,0x10,0xe000000,0x1000001,0x1000000,0x4,0x1,0x4,0xf00f001,0x20,0x20,0x20,0xf00f001,0x20,0x0,0xf00f001,0x20,0xf00f001,0x20,0x20,0x8,0x8,0x5000000,0x5000000,};\r
}\r
final private JJCalls[] jj_2_rtns = new JJCalls[3];\r
private boolean jj_rescan = false;\r
token = new Token();\r
jj_ntk = -1;\r
jj_gen = 0;\r
- for (int i = 0; i < 40; i++) jj_la1[i] = -1;\r
+ for (int i = 0; i < 41; i++) jj_la1[i] = -1;\r
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\r
}\r
\r
token = new Token();\r
jj_ntk = -1;\r
jj_gen = 0;\r
- for (int i = 0; i < 40; i++) jj_la1[i] = -1;\r
+ for (int i = 0; i < 41; i++) jj_la1[i] = -1;\r
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\r
}\r
\r
token = new Token();\r
jj_ntk = -1;\r
jj_gen = 0;\r
- for (int i = 0; i < 40; i++) jj_la1[i] = -1;\r
+ for (int i = 0; i < 41; i++) jj_la1[i] = -1;\r
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\r
}\r
\r
token = new Token();\r
jj_ntk = -1;\r
jj_gen = 0;\r
- for (int i = 0; i < 40; i++) jj_la1[i] = -1;\r
+ for (int i = 0; i < 41; i++) jj_la1[i] = -1;\r
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\r
}\r
\r
token = new Token();\r
jj_ntk = -1;\r
jj_gen = 0;\r
- for (int i = 0; i < 40; i++) jj_la1[i] = -1;\r
+ for (int i = 0; i < 41; i++) jj_la1[i] = -1;\r
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\r
}\r
\r
token = new Token();\r
jj_ntk = -1;\r
jj_gen = 0;\r
- for (int i = 0; i < 40; i++) jj_la1[i] = -1;\r
+ for (int i = 0; i < 41; i++) jj_la1[i] = -1;\r
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\r
}\r
\r
la1tokens[jj_kind] = true;\r
jj_kind = -1;\r
}\r
- for (int i = 0; i < 40; i++) {\r
+ for (int i = 0; i < 41; i++) {\r
if (jj_la1[i] == jj_gen) {\r
for (int j = 0; j < 32; j++) {\r
if ((jj_la1_0[i] & (1<<j)) != 0) {\r