diff options
author | Andrei Aiordachioaie <a.aiordachioaie@jacobs-university.de> | 2010-04-29 23:27:25 +0200 |
---|---|---|
committer | Andrei Aiordachioaie <a.aiordachioaie@jacobs-university.de> | 2010-04-29 23:27:25 +0200 |
commit | 7343f4643f9952955599afec7479b563207deebc (patch) | |
tree | e3e12bf4a5731f0a4679bcf79e135f1ee4301e9d | |
parent | df48b044fb0d44b185b7998c0ac6a1877b64824f (diff) | |
download | rasdaman-upstream-7343f4643f9952955599afec7479b563207deebc.tar.gz rasdaman-upstream-7343f4643f9952955599afec7479b563207deebc.tar.xz rasdaman-upstream-7343f4643f9952955599afec7479b563207deebc.zip |
Implemented the scale operation.
Interpolation methods and null resistances are not supported, for the
moment.
-rw-r--r-- | src/petascope/ConfigManager.java | 2 | ||||
-rw-r--r-- | src/petascope/wcps/grammar/ScaleExpr.java | 12 | ||||
-rw-r--r-- | src/petascope/wcps/grammar/wcps.g | 6 | ||||
-rw-r--r-- | src/petascope/wcps/grammar/wcpsLexer.java | 498 | ||||
-rw-r--r-- | src/petascope/wcps/grammar/wcpsParser.java | 3721 | ||||
-rw-r--r-- | src/petascope/wcps/server/core/FieldInterpolationElement.java | 79 | ||||
-rw-r--r-- | src/petascope/wcps/server/core/ScaleCoverageExpr.java | 119 | ||||
-rw-r--r-- | test/testcases-wcps/44-scaling_operation.rasql | 1 | ||||
-rw-r--r-- | test/testcases-wcps/44-scaling_operation.test | 2 | ||||
-rw-r--r-- | test/testcases-wcps/44-scaling_operation.xml | 30 |
10 files changed, 2360 insertions, 2110 deletions
diff --git a/src/petascope/ConfigManager.java b/src/petascope/ConfigManager.java index 6dbd144..01b0261 100644 --- a/src/petascope/ConfigManager.java +++ b/src/petascope/ConfigManager.java @@ -51,7 +51,7 @@ public class ConfigManager { v3 adds WGS84 handling in WCPS requests, and v4 adds a WPS implementation. */ private final static String MINOR = "4"; /* Bug-fix count. We have a hack: every WCPS response is written to disk. */ - private final static String BUGFIX = "10-hack"; + private final static String BUGFIX = "11-hack"; /* Petascope 1.2.0 contains WCS 1.1.0, WCS 2.0, WCS-T 1.0.0 and WCPS 1.0.0 */ public final static String PETASCOPE_VERSION = MAJOR + "." + MINOR + "." + BUGFIX; diff --git a/src/petascope/wcps/grammar/ScaleExpr.java b/src/petascope/wcps/grammar/ScaleExpr.java index e30540c..ce533dc 100644 --- a/src/petascope/wcps/grammar/ScaleExpr.java +++ b/src/petascope/wcps/grammar/ScaleExpr.java @@ -32,16 +32,24 @@ public class ScaleExpr implements IParseTreeNode { FieldInterpolationList interpMethods;
DimensionIntervalList intervalList;
- public ScaleExpr(CoverageExpr ce, DimensionIntervalList ail, FieldInterpolationList iml) {
+ public ScaleExpr(CoverageExpr ce, DimensionIntervalList ail)
+ {
coverageExpr = ce;
intervalList = ail;
+ }
+
+ public void addInterpolationList(FieldInterpolationList iml)
+ {
interpMethods = iml;
}
public String toXML() {
String result = "";
- result += coverageExpr.toXML() + intervalList.toXML() + interpMethods.toXML();
+ result += coverageExpr.toXML() + intervalList.toXML();
+ if (interpMethods != null)
+ result += interpMethods.toXML();
+
result = "<scale>" + result + "</scale>";
return result;
diff --git a/src/petascope/wcps/grammar/wcps.g b/src/petascope/wcps/grammar/wcps.g index dd6c5b7..f00d1b5 100644 --- a/src/petascope/wcps/grammar/wcps.g +++ b/src/petascope/wcps/grammar/wcps.g @@ -242,8 +242,10 @@ stringScalarExpr returns[StringScalarExpr value] | e=STRING { $value = new StringScalarExpr($e.text); } ; scaleExpr returns[ScaleExpr value] - : SCALE LPAREN e1=coverageExpr COMMA dil=dimensionIntervalList COMMA fil=fieldInterpolationList RPAREN - { $value = new ScaleExpr($e1.value, $dil.value, $fil.value); } + : SCALE LPAREN e1=coverageExpr COMMA dil=dimensionIntervalList { $value = new ScaleExpr($e1.value, $dil.value); } + (COMMA fil=fieldInterpolationList {$value.addInterpolationList($fil.value); } )? + RPAREN + ; subsetExpr returns[SubsetExpr value] : e1=trimExpr { $value = new SubsetExpr($e1.value); } diff --git a/src/petascope/wcps/grammar/wcpsLexer.java b/src/petascope/wcps/grammar/wcpsLexer.java index 8413eaf..317089c 100644 --- a/src/petascope/wcps/grammar/wcpsLexer.java +++ b/src/petascope/wcps/grammar/wcpsLexer.java @@ -1,4 +1,4 @@ -// $ANTLR 3.2 Sep 23, 2009 12:02:23 src/petascope/wcps/grammar/wcps.g 2010-04-06 22:00:34 +// $ANTLR 3.2 Sep 23, 2009 12:02:23 src/petascope/wcps/grammar/wcps.g 2010-04-29 23:04:42 package petascope.wcps.grammar; import org.antlr.runtime.*; @@ -135,8 +135,8 @@ public class wcpsLexer extends Lexer { try { int _type = PLUS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:391:5: ( '+' ) - // src/petascope/wcps/grammar/wcps.g:391:8: '+' + // src/petascope/wcps/grammar/wcps.g:393:5: ( '+' ) + // src/petascope/wcps/grammar/wcps.g:393:8: '+' { match('+'); @@ -155,8 +155,8 @@ public class wcpsLexer extends Lexer { try { int _type = MINUS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:392:6: ( '-' ) - // src/petascope/wcps/grammar/wcps.g:392:9: '-' + // src/petascope/wcps/grammar/wcps.g:394:6: ( '-' ) + // src/petascope/wcps/grammar/wcps.g:394:9: '-' { match('-'); @@ -175,8 +175,8 @@ public class wcpsLexer extends Lexer { try { int _type = DIVIDE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:393:7: ( '/' ) - // src/petascope/wcps/grammar/wcps.g:393:9: '/' + // src/petascope/wcps/grammar/wcps.g:395:7: ( '/' ) + // src/petascope/wcps/grammar/wcps.g:395:9: '/' { match('/'); @@ -195,8 +195,8 @@ public class wcpsLexer extends Lexer { try { int _type = MULT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:394:5: ( '*' ) - // src/petascope/wcps/grammar/wcps.g:394:7: '*' + // src/petascope/wcps/grammar/wcps.g:396:5: ( '*' ) + // src/petascope/wcps/grammar/wcps.g:396:7: '*' { match('*'); @@ -215,8 +215,8 @@ public class wcpsLexer extends Lexer { try { int _type = EQUALS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:395:7: ( '=' ) - // src/petascope/wcps/grammar/wcps.g:395:9: '=' + // src/petascope/wcps/grammar/wcps.g:397:7: ( '=' ) + // src/petascope/wcps/grammar/wcps.g:397:9: '=' { match('='); @@ -235,8 +235,8 @@ public class wcpsLexer extends Lexer { try { int _type = NOTEQUALS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:396:10: ( '!=' ) - // src/petascope/wcps/grammar/wcps.g:396:12: '!=' + // src/petascope/wcps/grammar/wcps.g:398:10: ( '!=' ) + // src/petascope/wcps/grammar/wcps.g:398:12: '!=' { match("!="); @@ -256,8 +256,8 @@ public class wcpsLexer extends Lexer { try { int _type = LT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:397:3: ( '<' ) - // src/petascope/wcps/grammar/wcps.g:397:5: '<' + // src/petascope/wcps/grammar/wcps.g:399:3: ( '<' ) + // src/petascope/wcps/grammar/wcps.g:399:5: '<' { match('<'); @@ -276,8 +276,8 @@ public class wcpsLexer extends Lexer { try { int _type = GT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:398:3: ( '>' ) - // src/petascope/wcps/grammar/wcps.g:398:5: '>' + // src/petascope/wcps/grammar/wcps.g:400:3: ( '>' ) + // src/petascope/wcps/grammar/wcps.g:400:5: '>' { match('>'); @@ -296,8 +296,8 @@ public class wcpsLexer extends Lexer { try { int _type = LTE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:399:4: ( '<=' ) - // src/petascope/wcps/grammar/wcps.g:399:6: '<=' + // src/petascope/wcps/grammar/wcps.g:401:4: ( '<=' ) + // src/petascope/wcps/grammar/wcps.g:401:6: '<=' { match("<="); @@ -317,8 +317,8 @@ public class wcpsLexer extends Lexer { try { int _type = GTE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:400:4: ( '>=' ) - // src/petascope/wcps/grammar/wcps.g:400:6: '>=' + // src/petascope/wcps/grammar/wcps.g:402:4: ( '>=' ) + // src/petascope/wcps/grammar/wcps.g:402:6: '>=' { match(">="); @@ -338,8 +338,8 @@ public class wcpsLexer extends Lexer { try { int _type = DOT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:401:4: ( '.' ) - // src/petascope/wcps/grammar/wcps.g:401:6: '.' + // src/petascope/wcps/grammar/wcps.g:403:4: ( '.' ) + // src/petascope/wcps/grammar/wcps.g:403:6: '.' { match('.'); @@ -358,8 +358,8 @@ public class wcpsLexer extends Lexer { try { int _type = LPAREN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:402:7: ( '(' ) - // src/petascope/wcps/grammar/wcps.g:402:9: '(' + // src/petascope/wcps/grammar/wcps.g:404:7: ( '(' ) + // src/petascope/wcps/grammar/wcps.g:404:9: '(' { match('('); @@ -378,8 +378,8 @@ public class wcpsLexer extends Lexer { try { int _type = RPAREN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:403:7: ( ')' ) - // src/petascope/wcps/grammar/wcps.g:403:9: ')' + // src/petascope/wcps/grammar/wcps.g:405:7: ( ')' ) + // src/petascope/wcps/grammar/wcps.g:405:9: ')' { match(')'); @@ -398,8 +398,8 @@ public class wcpsLexer extends Lexer { try { int _type = LBRACKET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:404:9: ( '[' ) - // src/petascope/wcps/grammar/wcps.g:404:11: '[' + // src/petascope/wcps/grammar/wcps.g:406:9: ( '[' ) + // src/petascope/wcps/grammar/wcps.g:406:11: '[' { match('['); @@ -418,8 +418,8 @@ public class wcpsLexer extends Lexer { try { int _type = RBRACKET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:405:9: ( ']' ) - // src/petascope/wcps/grammar/wcps.g:405:11: ']' + // src/petascope/wcps/grammar/wcps.g:407:9: ( ']' ) + // src/petascope/wcps/grammar/wcps.g:407:11: ']' { match(']'); @@ -438,8 +438,8 @@ public class wcpsLexer extends Lexer { try { int _type = LBRACE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:406:7: ( '{' ) - // src/petascope/wcps/grammar/wcps.g:406:9: '{' + // src/petascope/wcps/grammar/wcps.g:408:7: ( '{' ) + // src/petascope/wcps/grammar/wcps.g:408:9: '{' { match('{'); @@ -458,8 +458,8 @@ public class wcpsLexer extends Lexer { try { int _type = RBRACE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:407:7: ( '}' ) - // src/petascope/wcps/grammar/wcps.g:407:9: '}' + // src/petascope/wcps/grammar/wcps.g:409:7: ( '}' ) + // src/petascope/wcps/grammar/wcps.g:409:9: '}' { match('}'); @@ -478,8 +478,8 @@ public class wcpsLexer extends Lexer { try { int _type = COMMA; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:408:6: ( ',' ) - // src/petascope/wcps/grammar/wcps.g:408:8: ',' + // src/petascope/wcps/grammar/wcps.g:410:6: ( ',' ) + // src/petascope/wcps/grammar/wcps.g:410:8: ',' { match(','); @@ -498,8 +498,8 @@ public class wcpsLexer extends Lexer { try { int _type = COLON; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:409:6: ( ':' ) - // src/petascope/wcps/grammar/wcps.g:409:8: ':' + // src/petascope/wcps/grammar/wcps.g:411:6: ( ':' ) + // src/petascope/wcps/grammar/wcps.g:411:8: ':' { match(':'); @@ -518,8 +518,8 @@ public class wcpsLexer extends Lexer { try { int _type = SEMICOLON; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:410:10: ( ';' ) - // src/petascope/wcps/grammar/wcps.g:410:12: ';' + // src/petascope/wcps/grammar/wcps.g:412:10: ( ';' ) + // src/petascope/wcps/grammar/wcps.g:412:12: ';' { match(';'); @@ -538,8 +538,8 @@ public class wcpsLexer extends Lexer { try { int _type = FOR; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:411:4: ( ( 'f' | 'F' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ) - // src/petascope/wcps/grammar/wcps.g:411:6: ( 'f' | 'F' ) ( 'o' | 'O' ) ( 'r' | 'R' ) + // src/petascope/wcps/grammar/wcps.g:413:4: ( ( 'f' | 'F' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ) + // src/petascope/wcps/grammar/wcps.g:413:6: ( 'f' | 'F' ) ( 'o' | 'O' ) ( 'r' | 'R' ) { if ( input.LA(1)=='F'||input.LA(1)=='f' ) { input.consume(); @@ -584,8 +584,8 @@ public class wcpsLexer extends Lexer { try { int _type = IN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:412:3: ( ( 'i' | 'I' ) ( 'n' | 'N' ) ) - // src/petascope/wcps/grammar/wcps.g:412:5: ( 'i' | 'I' ) ( 'n' | 'N' ) + // src/petascope/wcps/grammar/wcps.g:414:3: ( ( 'i' | 'I' ) ( 'n' | 'N' ) ) + // src/petascope/wcps/grammar/wcps.g:414:5: ( 'i' | 'I' ) ( 'n' | 'N' ) { if ( input.LA(1)=='I'||input.LA(1)=='i' ) { input.consume(); @@ -621,8 +621,8 @@ public class wcpsLexer extends Lexer { try { int _type = WHERE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:413:6: ( ( 'w' | 'W' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:413:8: ( 'w' | 'W' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:415:6: ( ( 'w' | 'W' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:415:8: ( 'w' | 'W' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'e' | 'E' ) { if ( input.LA(1)=='W'||input.LA(1)=='w' ) { input.consume(); @@ -685,8 +685,8 @@ public class wcpsLexer extends Lexer { try { int _type = RETURN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:414:7: ( ( 'r' | 'R' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'u' | 'U' ) ( 'r' | 'R' ) ( 'n' | 'N' ) ) - // src/petascope/wcps/grammar/wcps.g:414:9: ( 'r' | 'R' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'u' | 'U' ) ( 'r' | 'R' ) ( 'n' | 'N' ) + // src/petascope/wcps/grammar/wcps.g:416:7: ( ( 'r' | 'R' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'u' | 'U' ) ( 'r' | 'R' ) ( 'n' | 'N' ) ) + // src/petascope/wcps/grammar/wcps.g:416:9: ( 'r' | 'R' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'u' | 'U' ) ( 'r' | 'R' ) ( 'n' | 'N' ) { if ( input.LA(1)=='R'||input.LA(1)=='r' ) { input.consume(); @@ -758,8 +758,8 @@ public class wcpsLexer extends Lexer { try { int _type = STORE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:415:6: ( ( 's' | 'S' ) ( 't' | 'T' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:415:8: ( 's' | 'S' ) ( 't' | 'T' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:417:6: ( ( 's' | 'S' ) ( 't' | 'T' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:417:8: ( 's' | 'S' ) ( 't' | 'T' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 'e' | 'E' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -822,8 +822,8 @@ public class wcpsLexer extends Lexer { try { int _type = ENCODE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:416:7: ( ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:416:9: ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'd' | 'D' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:418:7: ( ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:418:9: ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'd' | 'D' ) ( 'e' | 'E' ) { if ( input.LA(1)=='E'||input.LA(1)=='e' ) { input.consume(); @@ -895,8 +895,8 @@ public class wcpsLexer extends Lexer { try { int _type = SQRT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:417:5: ( ( 's' | 'S' ) ( 'q' | 'Q' ) ( 'r' | 'R' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:417:7: ( 's' | 'S' ) ( 'q' | 'Q' ) ( 'r' | 'R' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:419:5: ( ( 's' | 'S' ) ( 'q' | 'Q' ) ( 'r' | 'R' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:419:7: ( 's' | 'S' ) ( 'q' | 'Q' ) ( 'r' | 'R' ) ( 't' | 'T' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -950,8 +950,8 @@ public class wcpsLexer extends Lexer { try { int _type = SIN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:418:4: ( ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) - // src/petascope/wcps/grammar/wcps.g:418:6: ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) + // src/petascope/wcps/grammar/wcps.g:420:4: ( ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) + // src/petascope/wcps/grammar/wcps.g:420:6: ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -996,8 +996,8 @@ public class wcpsLexer extends Lexer { try { int _type = COS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:419:4: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ) - // src/petascope/wcps/grammar/wcps.g:419:6: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) + // src/petascope/wcps/grammar/wcps.g:421:4: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ) + // src/petascope/wcps/grammar/wcps.g:421:6: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -1042,8 +1042,8 @@ public class wcpsLexer extends Lexer { try { int _type = TAN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:420:4: ( ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ) - // src/petascope/wcps/grammar/wcps.g:420:6: ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) + // src/petascope/wcps/grammar/wcps.g:422:4: ( ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ) + // src/petascope/wcps/grammar/wcps.g:422:6: ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) { if ( input.LA(1)=='T'||input.LA(1)=='t' ) { input.consume(); @@ -1088,8 +1088,8 @@ public class wcpsLexer extends Lexer { try { int _type = SINH; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:421:5: ( ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'h' | 'H' ) ) - // src/petascope/wcps/grammar/wcps.g:421:7: ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'h' | 'H' ) + // src/petascope/wcps/grammar/wcps.g:423:5: ( ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'h' | 'H' ) ) + // src/petascope/wcps/grammar/wcps.g:423:7: ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'h' | 'H' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -1143,8 +1143,8 @@ public class wcpsLexer extends Lexer { try { int _type = COSH; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:422:5: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ( 'h' | 'H' ) ) - // src/petascope/wcps/grammar/wcps.g:422:7: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ( 'h' | 'H' ) + // src/petascope/wcps/grammar/wcps.g:424:5: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ( 'h' | 'H' ) ) + // src/petascope/wcps/grammar/wcps.g:424:7: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ( 'h' | 'H' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -1198,8 +1198,8 @@ public class wcpsLexer extends Lexer { try { int _type = TANH; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:423:5: ( ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'h' | 'H' ) ) - // src/petascope/wcps/grammar/wcps.g:423:7: ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'h' | 'H' ) + // src/petascope/wcps/grammar/wcps.g:425:5: ( ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'h' | 'H' ) ) + // src/petascope/wcps/grammar/wcps.g:425:7: ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'h' | 'H' ) { if ( input.LA(1)=='T'||input.LA(1)=='t' ) { input.consume(); @@ -1253,8 +1253,8 @@ public class wcpsLexer extends Lexer { try { int _type = ARCSIN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:424:7: ( ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) - // src/petascope/wcps/grammar/wcps.g:424:9: ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) + // src/petascope/wcps/grammar/wcps.g:426:7: ( ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) + // src/petascope/wcps/grammar/wcps.g:426:9: ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -1326,8 +1326,8 @@ public class wcpsLexer extends Lexer { try { int _type = ARCCOS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:425:7: ( ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ) - // src/petascope/wcps/grammar/wcps.g:425:9: ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) + // src/petascope/wcps/grammar/wcps.g:427:7: ( ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ) + // src/petascope/wcps/grammar/wcps.g:427:9: ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -1399,8 +1399,8 @@ public class wcpsLexer extends Lexer { try { int _type = ARCTAN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:426:7: ( ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ) - // src/petascope/wcps/grammar/wcps.g:426:9: ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) + // src/petascope/wcps/grammar/wcps.g:428:7: ( ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ) + // src/petascope/wcps/grammar/wcps.g:428:9: ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -1472,8 +1472,8 @@ public class wcpsLexer extends Lexer { try { int _type = EXP; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:427:4: ( ( 'e' | 'E' ) ( 'x' | 'X' ) ( 'p' | 'P' ) ) - // src/petascope/wcps/grammar/wcps.g:427:6: ( 'e' | 'E' ) ( 'x' | 'X' ) ( 'p' | 'P' ) + // src/petascope/wcps/grammar/wcps.g:429:4: ( ( 'e' | 'E' ) ( 'x' | 'X' ) ( 'p' | 'P' ) ) + // src/petascope/wcps/grammar/wcps.g:429:6: ( 'e' | 'E' ) ( 'x' | 'X' ) ( 'p' | 'P' ) { if ( input.LA(1)=='E'||input.LA(1)=='e' ) { input.consume(); @@ -1518,8 +1518,8 @@ public class wcpsLexer extends Lexer { try { int _type = LN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:428:3: ( ( 'l' | 'L' ) ( 'n' | 'N' ) ) - // src/petascope/wcps/grammar/wcps.g:428:5: ( 'l' | 'L' ) ( 'n' | 'N' ) + // src/petascope/wcps/grammar/wcps.g:430:3: ( ( 'l' | 'L' ) ( 'n' | 'N' ) ) + // src/petascope/wcps/grammar/wcps.g:430:5: ( 'l' | 'L' ) ( 'n' | 'N' ) { if ( input.LA(1)=='L'||input.LA(1)=='l' ) { input.consume(); @@ -1555,8 +1555,8 @@ public class wcpsLexer extends Lexer { try { int _type = LOG; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:429:4: ( ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'g' | 'G' ) ) - // src/petascope/wcps/grammar/wcps.g:429:6: ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'g' | 'G' ) + // src/petascope/wcps/grammar/wcps.g:431:4: ( ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'g' | 'G' ) ) + // src/petascope/wcps/grammar/wcps.g:431:6: ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'g' | 'G' ) { if ( input.LA(1)=='L'||input.LA(1)=='l' ) { input.consume(); @@ -1601,8 +1601,8 @@ public class wcpsLexer extends Lexer { try { int _type = ROUND; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:430:6: ( ( 'r' | 'R' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ) - // src/petascope/wcps/grammar/wcps.g:430:8: ( 'r' | 'R' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 'd' | 'D' ) + // src/petascope/wcps/grammar/wcps.g:432:6: ( ( 'r' | 'R' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ) + // src/petascope/wcps/grammar/wcps.g:432:8: ( 'r' | 'R' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 'd' | 'D' ) { if ( input.LA(1)=='R'||input.LA(1)=='r' ) { input.consume(); @@ -1665,8 +1665,8 @@ public class wcpsLexer extends Lexer { try { int _type = ABS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:431:4: ( ( 'a' | 'A' ) ( 'b' | 'B' ) ( 's' | 'S' ) ) - // src/petascope/wcps/grammar/wcps.g:431:6: ( 'a' | 'A' ) ( 'b' | 'B' ) ( 's' | 'S' ) + // src/petascope/wcps/grammar/wcps.g:433:4: ( ( 'a' | 'A' ) ( 'b' | 'B' ) ( 's' | 'S' ) ) + // src/petascope/wcps/grammar/wcps.g:433:6: ( 'a' | 'A' ) ( 'b' | 'B' ) ( 's' | 'S' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -1711,8 +1711,8 @@ public class wcpsLexer extends Lexer { try { int _type = OVERLAY; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:432:8: ( ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 'y' | 'Y' ) ) - // src/petascope/wcps/grammar/wcps.g:432:10: ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 'y' | 'Y' ) + // src/petascope/wcps/grammar/wcps.g:434:8: ( ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 'y' | 'Y' ) ) + // src/petascope/wcps/grammar/wcps.g:434:10: ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 'y' | 'Y' ) { if ( input.LA(1)=='O'||input.LA(1)=='o' ) { input.consume(); @@ -1793,8 +1793,8 @@ public class wcpsLexer extends Lexer { try { int _type = STRUCT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:433:7: ( ( 's' | 'S' ) ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'c' | 'C' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:433:9: ( 's' | 'S' ) ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'c' | 'C' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:435:7: ( ( 's' | 'S' ) ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'c' | 'C' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:435:9: ( 's' | 'S' ) ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'c' | 'C' ) ( 't' | 'T' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -1866,8 +1866,8 @@ public class wcpsLexer extends Lexer { try { int _type = RE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:434:3: ( ( 'r' | 'R' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:434:5: ( 'r' | 'R' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:436:3: ( ( 'r' | 'R' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:436:5: ( 'r' | 'R' ) ( 'e' | 'E' ) { if ( input.LA(1)=='R'||input.LA(1)=='r' ) { input.consume(); @@ -1903,8 +1903,8 @@ public class wcpsLexer extends Lexer { try { int _type = IM; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:435:3: ( ( 'i' | 'I' ) ( 'm' | 'M' ) ) - // src/petascope/wcps/grammar/wcps.g:435:5: ( 'i' | 'I' ) ( 'm' | 'M' ) + // src/petascope/wcps/grammar/wcps.g:437:3: ( ( 'i' | 'I' ) ( 'm' | 'M' ) ) + // src/petascope/wcps/grammar/wcps.g:437:5: ( 'i' | 'I' ) ( 'm' | 'M' ) { if ( input.LA(1)=='I'||input.LA(1)=='i' ) { input.consume(); @@ -1940,8 +1940,8 @@ public class wcpsLexer extends Lexer { try { int _type = AND; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:436:4: ( ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ) - // src/petascope/wcps/grammar/wcps.g:436:6: ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'd' | 'D' ) + // src/petascope/wcps/grammar/wcps.g:438:4: ( ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ) + // src/petascope/wcps/grammar/wcps.g:438:6: ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'd' | 'D' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -1986,8 +1986,8 @@ public class wcpsLexer extends Lexer { try { int _type = OR; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:437:3: ( ( 'o' | 'O' ) ( 'r' | 'R' ) ) - // src/petascope/wcps/grammar/wcps.g:437:5: ( 'o' | 'O' ) ( 'r' | 'R' ) + // src/petascope/wcps/grammar/wcps.g:439:3: ( ( 'o' | 'O' ) ( 'r' | 'R' ) ) + // src/petascope/wcps/grammar/wcps.g:439:5: ( 'o' | 'O' ) ( 'r' | 'R' ) { if ( input.LA(1)=='O'||input.LA(1)=='o' ) { input.consume(); @@ -2023,8 +2023,8 @@ public class wcpsLexer extends Lexer { try { int _type = XOR; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:438:4: ( ( 'x' | 'X' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ) - // src/petascope/wcps/grammar/wcps.g:438:6: ( 'x' | 'X' ) ( 'o' | 'O' ) ( 'r' | 'R' ) + // src/petascope/wcps/grammar/wcps.g:440:4: ( ( 'x' | 'X' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ) + // src/petascope/wcps/grammar/wcps.g:440:6: ( 'x' | 'X' ) ( 'o' | 'O' ) ( 'r' | 'R' ) { if ( input.LA(1)=='X'||input.LA(1)=='x' ) { input.consume(); @@ -2069,8 +2069,8 @@ public class wcpsLexer extends Lexer { try { int _type = NOT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:439:4: ( ( 'n' | 'N' ) ( 'o' | 'O' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:439:6: ( 'n' | 'N' ) ( 'o' | 'O' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:441:4: ( ( 'n' | 'N' ) ( 'o' | 'O' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:441:6: ( 'n' | 'N' ) ( 'o' | 'O' ) ( 't' | 'T' ) { if ( input.LA(1)=='N'||input.LA(1)=='n' ) { input.consume(); @@ -2115,8 +2115,8 @@ public class wcpsLexer extends Lexer { try { int _type = IDENTIFIER; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:440:11: ( ( 'i' | 'I' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'f' | 'F' ) ( 'i' | 'I' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) - // src/petascope/wcps/grammar/wcps.g:440:13: ( 'i' | 'I' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'f' | 'F' ) ( 'i' | 'I' ) ( 'e' | 'E' ) ( 'r' | 'R' ) + // src/petascope/wcps/grammar/wcps.g:442:11: ( ( 'i' | 'I' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'f' | 'F' ) ( 'i' | 'I' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) + // src/petascope/wcps/grammar/wcps.g:442:13: ( 'i' | 'I' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'f' | 'F' ) ( 'i' | 'I' ) ( 'e' | 'E' ) ( 'r' | 'R' ) { if ( input.LA(1)=='I'||input.LA(1)=='i' ) { input.consume(); @@ -2224,8 +2224,8 @@ public class wcpsLexer extends Lexer { try { int _type = IMAGECRS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:441:9: ( ( 'i' | 'I' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ) - // src/petascope/wcps/grammar/wcps.g:441:11: ( 'i' | 'I' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) + // src/petascope/wcps/grammar/wcps.g:443:9: ( ( 'i' | 'I' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ) + // src/petascope/wcps/grammar/wcps.g:443:11: ( 'i' | 'I' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) { if ( input.LA(1)=='I'||input.LA(1)=='i' ) { input.consume(); @@ -2315,8 +2315,8 @@ public class wcpsLexer extends Lexer { try { int _type = IMAGECRSDOMAIN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:442:15: ( ( 'i' | 'I' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) - // src/petascope/wcps/grammar/wcps.g:442:17: ( 'i' | 'I' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'i' | 'I' ) ( 'n' | 'N' ) + // src/petascope/wcps/grammar/wcps.g:444:15: ( ( 'i' | 'I' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) + // src/petascope/wcps/grammar/wcps.g:444:17: ( 'i' | 'I' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'i' | 'I' ) ( 'n' | 'N' ) { if ( input.LA(1)=='I'||input.LA(1)=='i' ) { input.consume(); @@ -2460,8 +2460,8 @@ public class wcpsLexer extends Lexer { try { int _type = CRSSET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:443:7: ( ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:443:9: ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:445:7: ( ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:445:9: ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -2533,8 +2533,8 @@ public class wcpsLexer extends Lexer { try { int _type = DOMAIN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:444:7: ( ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) - // src/petascope/wcps/grammar/wcps.g:444:9: ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'i' | 'I' ) ( 'n' | 'N' ) + // src/petascope/wcps/grammar/wcps.g:446:7: ( ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) + // src/petascope/wcps/grammar/wcps.g:446:9: ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'i' | 'I' ) ( 'n' | 'N' ) { if ( input.LA(1)=='D'||input.LA(1)=='d' ) { input.consume(); @@ -2606,8 +2606,8 @@ public class wcpsLexer extends Lexer { try { int _type = NULLSET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:445:8: ( ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:445:10: ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:447:8: ( ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:447:10: ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) { if ( input.LA(1)=='N'||input.LA(1)=='n' ) { input.consume(); @@ -2688,8 +2688,8 @@ public class wcpsLexer extends Lexer { try { int _type = NULLDEFAULT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:446:12: ( ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:446:14: ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:448:12: ( ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:448:14: ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) { if ( input.LA(1)=='N'||input.LA(1)=='n' ) { input.consume(); @@ -2806,8 +2806,8 @@ public class wcpsLexer extends Lexer { try { int _type = INTERPOLATIONDEFAULT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:447:21: ( ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:447:23: ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:449:21: ( ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:449:23: ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) { if ( input.LA(1)=='I'||input.LA(1)=='i' ) { input.consume(); @@ -3005,8 +3005,8 @@ public class wcpsLexer extends Lexer { try { int _type = INTERPOLATIONSET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:448:17: ( ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:448:19: ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:450:17: ( ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:450:19: ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) { if ( input.LA(1)=='I'||input.LA(1)=='i' ) { input.consume(); @@ -3168,8 +3168,8 @@ public class wcpsLexer extends Lexer { try { int _type = SETIDENTIFIER; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:449:14: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'f' | 'F' ) ( 'i' | 'I' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) - // src/petascope/wcps/grammar/wcps.g:449:16: ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'f' | 'F' ) ( 'i' | 'I' ) ( 'e' | 'E' ) ( 'r' | 'R' ) + // src/petascope/wcps/grammar/wcps.g:451:14: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'f' | 'F' ) ( 'i' | 'I' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) + // src/petascope/wcps/grammar/wcps.g:451:16: ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'f' | 'F' ) ( 'i' | 'I' ) ( 'e' | 'E' ) ( 'r' | 'R' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -3304,8 +3304,8 @@ public class wcpsLexer extends Lexer { try { int _type = SETNULLSET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:450:11: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:450:13: ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:452:11: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:452:13: ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -3413,8 +3413,8 @@ public class wcpsLexer extends Lexer { try { int _type = SETINTERPOLATIONDEFAULT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:451:24: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:451:26: ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:453:24: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:453:26: ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -3639,8 +3639,8 @@ public class wcpsLexer extends Lexer { try { int _type = SETINTERPOLATIONSET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:452:20: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:452:21: ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:454:20: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:454:21: ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'p' | 'P' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -3829,8 +3829,8 @@ public class wcpsLexer extends Lexer { try { int _type = SETCRSSET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:453:10: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:453:12: ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:455:10: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:455:12: ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -3929,8 +3929,8 @@ public class wcpsLexer extends Lexer { try { int _type = TRIM; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:454:5: ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'i' | 'I' ) ( 'm' | 'M' ) ) - // src/petascope/wcps/grammar/wcps.g:454:7: ( 't' | 'T' ) ( 'r' | 'R' ) ( 'i' | 'I' ) ( 'm' | 'M' ) + // src/petascope/wcps/grammar/wcps.g:456:5: ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'i' | 'I' ) ( 'm' | 'M' ) ) + // src/petascope/wcps/grammar/wcps.g:456:7: ( 't' | 'T' ) ( 'r' | 'R' ) ( 'i' | 'I' ) ( 'm' | 'M' ) { if ( input.LA(1)=='T'||input.LA(1)=='t' ) { input.consume(); @@ -3984,8 +3984,8 @@ public class wcpsLexer extends Lexer { try { int _type = SLICE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:455:6: ( ( 's' | 'S' ) ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:455:8: ( 's' | 'S' ) ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:457:6: ( ( 's' | 'S' ) ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:457:8: ( 's' | 'S' ) ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ( 'e' | 'E' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -4048,8 +4048,8 @@ public class wcpsLexer extends Lexer { try { int _type = EXTEND; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:456:7: ( ( 'e' | 'E' ) ( 'x' | 'X' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ) - // src/petascope/wcps/grammar/wcps.g:456:9: ( 'e' | 'E' ) ( 'x' | 'X' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'd' | 'D' ) + // src/petascope/wcps/grammar/wcps.g:458:7: ( ( 'e' | 'E' ) ( 'x' | 'X' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ) + // src/petascope/wcps/grammar/wcps.g:458:9: ( 'e' | 'E' ) ( 'x' | 'X' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'd' | 'D' ) { if ( input.LA(1)=='E'||input.LA(1)=='e' ) { input.consume(); @@ -4121,8 +4121,8 @@ public class wcpsLexer extends Lexer { try { int _type = SCALE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:457:6: ( ( 's' | 'S' ) ( 'c' | 'C' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:457:8: ( 's' | 'S' ) ( 'c' | 'C' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:459:6: ( ( 's' | 'S' ) ( 'c' | 'C' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:459:8: ( 's' | 'S' ) ( 'c' | 'C' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'e' | 'E' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -4185,8 +4185,8 @@ public class wcpsLexer extends Lexer { try { int _type = CRSTRANSFORM; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:458:13: ( ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 't' | 'T' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'f' | 'F' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 'm' | 'M' ) ) - // src/petascope/wcps/grammar/wcps.g:458:15: ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 't' | 'T' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'f' | 'F' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 'm' | 'M' ) + // src/petascope/wcps/grammar/wcps.g:460:13: ( ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 't' | 'T' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'f' | 'F' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 'm' | 'M' ) ) + // src/petascope/wcps/grammar/wcps.g:460:15: ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 't' | 'T' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'f' | 'F' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 'm' | 'M' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -4312,8 +4312,8 @@ public class wcpsLexer extends Lexer { try { int _type = COUNT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:459:6: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:459:8: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:461:6: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:461:8: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 't' | 'T' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -4376,8 +4376,8 @@ public class wcpsLexer extends Lexer { try { int _type = ADD; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:460:4: ( ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'd' | 'D' ) ) - // src/petascope/wcps/grammar/wcps.g:460:6: ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'd' | 'D' ) + // src/petascope/wcps/grammar/wcps.g:462:4: ( ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'd' | 'D' ) ) + // src/petascope/wcps/grammar/wcps.g:462:6: ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'd' | 'D' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -4422,8 +4422,8 @@ public class wcpsLexer extends Lexer { try { int _type = AVG; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:461:4: ( ( 'a' | 'A' ) ( 'v' | 'V' ) ( 'g' | 'G' ) ) - // src/petascope/wcps/grammar/wcps.g:461:6: ( 'a' | 'A' ) ( 'v' | 'V' ) ( 'g' | 'G' ) + // src/petascope/wcps/grammar/wcps.g:463:4: ( ( 'a' | 'A' ) ( 'v' | 'V' ) ( 'g' | 'G' ) ) + // src/petascope/wcps/grammar/wcps.g:463:6: ( 'a' | 'A' ) ( 'v' | 'V' ) ( 'g' | 'G' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -4468,8 +4468,8 @@ public class wcpsLexer extends Lexer { try { int _type = MAX; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:462:4: ( ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'x' | 'X' ) ) - // src/petascope/wcps/grammar/wcps.g:462:6: ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'x' | 'X' ) + // src/petascope/wcps/grammar/wcps.g:464:4: ( ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'x' | 'X' ) ) + // src/petascope/wcps/grammar/wcps.g:464:6: ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'x' | 'X' ) { if ( input.LA(1)=='M'||input.LA(1)=='m' ) { input.consume(); @@ -4514,8 +4514,8 @@ public class wcpsLexer extends Lexer { try { int _type = MIN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:463:4: ( ( 'm' | 'M' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) - // src/petascope/wcps/grammar/wcps.g:463:6: ( 'm' | 'M' ) ( 'i' | 'I' ) ( 'n' | 'N' ) + // src/petascope/wcps/grammar/wcps.g:465:4: ( ( 'm' | 'M' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) + // src/petascope/wcps/grammar/wcps.g:465:6: ( 'm' | 'M' ) ( 'i' | 'I' ) ( 'n' | 'N' ) { if ( input.LA(1)=='M'||input.LA(1)=='m' ) { input.consume(); @@ -4560,8 +4560,8 @@ public class wcpsLexer extends Lexer { try { int _type = SOME; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:464:5: ( ( 's' | 'S' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:464:7: ( 's' | 'S' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:466:5: ( ( 's' | 'S' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:466:7: ( 's' | 'S' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'e' | 'E' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -4615,8 +4615,8 @@ public class wcpsLexer extends Lexer { try { int _type = ALL; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:465:4: ( ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ) - // src/petascope/wcps/grammar/wcps.g:465:6: ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'l' | 'L' ) + // src/petascope/wcps/grammar/wcps.g:467:4: ( ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ) + // src/petascope/wcps/grammar/wcps.g:467:6: ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'l' | 'L' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -4661,8 +4661,8 @@ public class wcpsLexer extends Lexer { try { int _type = COVERAGE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:466:9: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:466:11: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:468:9: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:468:11: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -4752,8 +4752,8 @@ public class wcpsLexer extends Lexer { try { int _type = OVER; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:467:5: ( ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) - // src/petascope/wcps/grammar/wcps.g:467:7: ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) + // src/petascope/wcps/grammar/wcps.g:469:5: ( ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) + // src/petascope/wcps/grammar/wcps.g:469:7: ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) { if ( input.LA(1)=='O'||input.LA(1)=='o' ) { input.consume(); @@ -4807,8 +4807,8 @@ public class wcpsLexer extends Lexer { try { int _type = VALUE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:468:6: ( ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:468:8: ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:470:6: ( ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:470:8: ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) { if ( input.LA(1)=='V'||input.LA(1)=='v' ) { input.consume(); @@ -4871,8 +4871,8 @@ public class wcpsLexer extends Lexer { try { int _type = VALUES; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:469:7: ( ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ( 's' | 'S' ) ) - // src/petascope/wcps/grammar/wcps.g:469:9: ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ( 's' | 'S' ) + // src/petascope/wcps/grammar/wcps.g:471:7: ( ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ( 's' | 'S' ) ) + // src/petascope/wcps/grammar/wcps.g:471:9: ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ( 's' | 'S' ) { if ( input.LA(1)=='V'||input.LA(1)=='v' ) { input.consume(); @@ -4944,8 +4944,8 @@ public class wcpsLexer extends Lexer { try { int _type = LIST; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:470:5: ( ( 'l' | 'L' ) ( 'i' | 'I' ) ( 's' | 'S' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:470:7: ( 'l' | 'L' ) ( 'i' | 'I' ) ( 's' | 'S' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:472:5: ( ( 'l' | 'L' ) ( 'i' | 'I' ) ( 's' | 'S' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:472:7: ( 'l' | 'L' ) ( 'i' | 'I' ) ( 's' | 'S' ) ( 't' | 'T' ) { if ( input.LA(1)=='L'||input.LA(1)=='l' ) { input.consume(); @@ -4999,8 +4999,8 @@ public class wcpsLexer extends Lexer { try { int _type = CONDENSE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:471:9: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:471:11: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:473:9: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:473:11: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -5090,8 +5090,8 @@ public class wcpsLexer extends Lexer { try { int _type = USING; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:472:6: ( ( 'u' | 'U' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'g' | 'G' ) ) - // src/petascope/wcps/grammar/wcps.g:472:8: ( 'u' | 'U' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'g' | 'G' ) + // src/petascope/wcps/grammar/wcps.g:474:6: ( ( 'u' | 'U' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'g' | 'G' ) ) + // src/petascope/wcps/grammar/wcps.g:474:8: ( 'u' | 'U' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'g' | 'G' ) { if ( input.LA(1)=='U'||input.LA(1)=='u' ) { input.consume(); @@ -5154,8 +5154,8 @@ public class wcpsLexer extends Lexer { try { int _type = NEAREST; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:473:8: ( ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ( 's' | 'S' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:473:10: ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ( 's' | 'S' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:475:8: ( ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ( 's' | 'S' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:475:10: ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ( 's' | 'S' ) ( 't' | 'T' ) { if ( input.LA(1)=='N'||input.LA(1)=='n' ) { input.consume(); @@ -5236,8 +5236,8 @@ public class wcpsLexer extends Lexer { try { int _type = LINEAR; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:474:7: ( ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ) - // src/petascope/wcps/grammar/wcps.g:474:9: ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) + // src/petascope/wcps/grammar/wcps.g:476:7: ( ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ) + // src/petascope/wcps/grammar/wcps.g:476:9: ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) { if ( input.LA(1)=='L'||input.LA(1)=='l' ) { input.consume(); @@ -5309,8 +5309,8 @@ public class wcpsLexer extends Lexer { try { int _type = QUADRATIC; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:475:10: ( ( 'q' | 'Q' ) ( 'u' | 'U' ) ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ) - // src/petascope/wcps/grammar/wcps.g:475:12: ( 'q' | 'Q' ) ( 'u' | 'U' ) ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'c' | 'C' ) + // src/petascope/wcps/grammar/wcps.g:477:10: ( ( 'q' | 'Q' ) ( 'u' | 'U' ) ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ) + // src/petascope/wcps/grammar/wcps.g:477:12: ( 'q' | 'Q' ) ( 'u' | 'U' ) ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'c' | 'C' ) { if ( input.LA(1)=='Q'||input.LA(1)=='q' ) { input.consume(); @@ -5409,8 +5409,8 @@ public class wcpsLexer extends Lexer { try { int _type = CUBIC; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:476:6: ( ( 'c' | 'C' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ) - // src/petascope/wcps/grammar/wcps.g:476:8: ( 'c' | 'C' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'i' | 'I' ) ( 'c' | 'C' ) + // src/petascope/wcps/grammar/wcps.g:478:6: ( ( 'c' | 'C' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ) + // src/petascope/wcps/grammar/wcps.g:478:8: ( 'c' | 'C' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'i' | 'I' ) ( 'c' | 'C' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -5473,8 +5473,8 @@ public class wcpsLexer extends Lexer { try { int _type = FULL; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:477:5: ( ( 'f' | 'F' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ) - // src/petascope/wcps/grammar/wcps.g:477:7: ( 'f' | 'F' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) + // src/petascope/wcps/grammar/wcps.g:479:5: ( ( 'f' | 'F' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ) + // src/petascope/wcps/grammar/wcps.g:479:7: ( 'f' | 'F' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) { if ( input.LA(1)=='F'||input.LA(1)=='f' ) { input.consume(); @@ -5528,8 +5528,8 @@ public class wcpsLexer extends Lexer { try { int _type = NONE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:478:5: ( ( 'n' | 'N' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:478:7: ( 'n' | 'N' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:480:5: ( ( 'n' | 'N' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:480:7: ( 'n' | 'N' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'e' | 'E' ) { if ( input.LA(1)=='N'||input.LA(1)=='n' ) { input.consume(); @@ -5583,8 +5583,8 @@ public class wcpsLexer extends Lexer { try { int _type = HALF; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:479:5: ( ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'f' | 'F' ) ) - // src/petascope/wcps/grammar/wcps.g:479:7: ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'f' | 'F' ) + // src/petascope/wcps/grammar/wcps.g:481:5: ( ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'f' | 'F' ) ) + // src/petascope/wcps/grammar/wcps.g:481:7: ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'f' | 'F' ) { if ( input.LA(1)=='H'||input.LA(1)=='h' ) { input.consume(); @@ -5638,8 +5638,8 @@ public class wcpsLexer extends Lexer { try { int _type = OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:480:6: ( ( 'o' | 'O' ) ( 't' | 'T' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) - // src/petascope/wcps/grammar/wcps.g:480:8: ( 'o' | 'O' ) ( 't' | 'T' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) + // src/petascope/wcps/grammar/wcps.g:482:6: ( ( 'o' | 'O' ) ( 't' | 'T' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) + // src/petascope/wcps/grammar/wcps.g:482:8: ( 'o' | 'O' ) ( 't' | 'T' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) { if ( input.LA(1)=='O'||input.LA(1)=='o' ) { input.consume(); @@ -5702,8 +5702,8 @@ public class wcpsLexer extends Lexer { try { int _type = PHI; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:481:4: ( ( 'p' | 'P' ) ( 'h' | 'H' ) ( 'i' | 'I' ) ) - // src/petascope/wcps/grammar/wcps.g:481:6: ( 'p' | 'P' ) ( 'h' | 'H' ) ( 'i' | 'I' ) + // src/petascope/wcps/grammar/wcps.g:483:4: ( ( 'p' | 'P' ) ( 'h' | 'H' ) ( 'i' | 'I' ) ) + // src/petascope/wcps/grammar/wcps.g:483:6: ( 'p' | 'P' ) ( 'h' | 'H' ) ( 'i' | 'I' ) { if ( input.LA(1)=='P'||input.LA(1)=='p' ) { input.consume(); @@ -5748,8 +5748,8 @@ public class wcpsLexer extends Lexer { try { int _type = BIT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:482:4: ( ( 'b' | 'B' ) ( 'i' | 'I' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:482:6: ( 'b' | 'B' ) ( 'i' | 'I' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:484:4: ( ( 'b' | 'B' ) ( 'i' | 'I' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:484:6: ( 'b' | 'B' ) ( 'i' | 'I' ) ( 't' | 'T' ) { if ( input.LA(1)=='B'||input.LA(1)=='b' ) { input.consume(); @@ -5794,8 +5794,8 @@ public class wcpsLexer extends Lexer { try { int _type = UNSIGNED; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:483:9: ( ( 'u' | 'U' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'g' | 'G' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'd' | 'D' ) ) - // src/petascope/wcps/grammar/wcps.g:483:11: ( 'u' | 'U' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'g' | 'G' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'd' | 'D' ) + // src/petascope/wcps/grammar/wcps.g:485:9: ( ( 'u' | 'U' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'g' | 'G' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'd' | 'D' ) ) + // src/petascope/wcps/grammar/wcps.g:485:11: ( 'u' | 'U' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'g' | 'G' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'd' | 'D' ) { if ( input.LA(1)=='U'||input.LA(1)=='u' ) { input.consume(); @@ -5885,8 +5885,8 @@ public class wcpsLexer extends Lexer { try { int _type = BOOLEAN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:484:8: ( ( 'b' | 'B' ) ( 'o' | 'O' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ) - // src/petascope/wcps/grammar/wcps.g:484:10: ( 'b' | 'B' ) ( 'o' | 'O' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'n' | 'N' ) + // src/petascope/wcps/grammar/wcps.g:486:8: ( ( 'b' | 'B' ) ( 'o' | 'O' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ) + // src/petascope/wcps/grammar/wcps.g:486:10: ( 'b' | 'B' ) ( 'o' | 'O' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'n' | 'N' ) { if ( input.LA(1)=='B'||input.LA(1)=='b' ) { input.consume(); @@ -5967,8 +5967,8 @@ public class wcpsLexer extends Lexer { try { int _type = CHAR; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:485:5: ( ( 'c' | 'C' ) ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ) - // src/petascope/wcps/grammar/wcps.g:485:7: ( 'c' | 'C' ) ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'r' | 'R' ) + // src/petascope/wcps/grammar/wcps.g:487:5: ( ( 'c' | 'C' ) ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ) + // src/petascope/wcps/grammar/wcps.g:487:7: ( 'c' | 'C' ) ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'r' | 'R' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -6022,8 +6022,8 @@ public class wcpsLexer extends Lexer { try { int _type = SHORT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:486:6: ( ( 's' | 'S' ) ( 'h' | 'H' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:486:8: ( 's' | 'S' ) ( 'h' | 'H' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:488:6: ( ( 's' | 'S' ) ( 'h' | 'H' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:488:8: ( 's' | 'S' ) ( 'h' | 'H' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 't' | 'T' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -6086,8 +6086,8 @@ public class wcpsLexer extends Lexer { try { int _type = LONG; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:487:5: ( ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'g' | 'G' ) ) - // src/petascope/wcps/grammar/wcps.g:487:7: ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'g' | 'G' ) + // src/petascope/wcps/grammar/wcps.g:489:5: ( ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'g' | 'G' ) ) + // src/petascope/wcps/grammar/wcps.g:489:7: ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'g' | 'G' ) { if ( input.LA(1)=='L'||input.LA(1)=='l' ) { input.consume(); @@ -6141,8 +6141,8 @@ public class wcpsLexer extends Lexer { try { int _type = FLOAT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:488:6: ( ( 'f' | 'F' ) ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'a' | 'A' ) ( 't' | 'T' ) ) - // src/petascope/wcps/grammar/wcps.g:488:8: ( 'f' | 'F' ) ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'a' | 'A' ) ( 't' | 'T' ) + // src/petascope/wcps/grammar/wcps.g:490:6: ( ( 'f' | 'F' ) ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'a' | 'A' ) ( 't' | 'T' ) ) + // src/petascope/wcps/grammar/wcps.g:490:8: ( 'f' | 'F' ) ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'a' | 'A' ) ( 't' | 'T' ) { if ( input.LA(1)=='F'||input.LA(1)=='f' ) { input.consume(); @@ -6205,8 +6205,8 @@ public class wcpsLexer extends Lexer { try { int _type = DOUBLE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:489:7: ( ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:489:9: ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'l' | 'L' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:491:7: ( ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:491:9: ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'l' | 'L' ) ( 'e' | 'E' ) { if ( input.LA(1)=='D'||input.LA(1)=='d' ) { input.consume(); @@ -6278,8 +6278,8 @@ public class wcpsLexer extends Lexer { try { int _type = COMPLEX; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:490:8: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) ) - // src/petascope/wcps/grammar/wcps.g:490:10: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) + // src/petascope/wcps/grammar/wcps.g:492:8: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) ) + // src/petascope/wcps/grammar/wcps.g:492:10: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -6360,8 +6360,8 @@ public class wcpsLexer extends Lexer { try { int _type = COMPLEX2; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:491:9: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) '2' ) - // src/petascope/wcps/grammar/wcps.g:491:11: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) '2' + // src/petascope/wcps/grammar/wcps.g:493:9: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) '2' ) + // src/petascope/wcps/grammar/wcps.g:493:11: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) '2' { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -6443,7 +6443,7 @@ public class wcpsLexer extends Lexer { try { int _type = BOOLEANCONSTANT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:492:16: ( ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) | ( ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) ) + // src/petascope/wcps/grammar/wcps.g:494:16: ( ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) | ( ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) ) int alt1=2; int LA1_0 = input.LA(1); @@ -6461,10 +6461,10 @@ public class wcpsLexer extends Lexer { } switch (alt1) { case 1 : - // src/petascope/wcps/grammar/wcps.g:492:18: ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:494:18: ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) { - // src/petascope/wcps/grammar/wcps.g:492:18: ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:492:19: ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:494:18: ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:494:19: ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) { if ( input.LA(1)=='T'||input.LA(1)=='t' ) { input.consume(); @@ -6509,10 +6509,10 @@ public class wcpsLexer extends Lexer { } break; case 2 : - // src/petascope/wcps/grammar/wcps.g:492:57: ( ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:494:57: ( ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) { - // src/petascope/wcps/grammar/wcps.g:492:57: ( ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) - // src/petascope/wcps/grammar/wcps.g:492:58: ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) + // src/petascope/wcps/grammar/wcps.g:494:57: ( ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) + // src/petascope/wcps/grammar/wcps.g:494:58: ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) { if ( input.LA(1)=='F'||input.LA(1)=='f' ) { input.consume(); @@ -6580,10 +6580,10 @@ public class wcpsLexer extends Lexer { try { int _type = INTEGERCONSTANT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:493:16: ( ( PLUS | MINUS )? ( '0' .. '9' )+ ) - // src/petascope/wcps/grammar/wcps.g:493:19: ( PLUS | MINUS )? ( '0' .. '9' )+ + // src/petascope/wcps/grammar/wcps.g:495:16: ( ( PLUS | MINUS )? ( '0' .. '9' )+ ) + // src/petascope/wcps/grammar/wcps.g:495:19: ( PLUS | MINUS )? ( '0' .. '9' )+ { - // src/petascope/wcps/grammar/wcps.g:493:19: ( PLUS | MINUS )? + // src/petascope/wcps/grammar/wcps.g:495:19: ( PLUS | MINUS )? int alt2=2; int LA2_0 = input.LA(1); @@ -6609,7 +6609,7 @@ public class wcpsLexer extends Lexer { } - // src/petascope/wcps/grammar/wcps.g:493:33: ( '0' .. '9' )+ + // src/petascope/wcps/grammar/wcps.g:495:33: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -6623,7 +6623,7 @@ public class wcpsLexer extends Lexer { switch (alt3) { case 1 : - // src/petascope/wcps/grammar/wcps.g:493:34: '0' .. '9' + // src/petascope/wcps/grammar/wcps.g:495:34: '0' .. '9' { matchRange('0','9'); @@ -6655,21 +6655,21 @@ public class wcpsLexer extends Lexer { try { int _type = FLOATCONSTANT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:494:14: ( INTEGERCONSTANT ( '.' ) ( ( '0' .. '9' )+ ) ( ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) )? ) - // src/petascope/wcps/grammar/wcps.g:494:16: INTEGERCONSTANT ( '.' ) ( ( '0' .. '9' )+ ) ( ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) )? + // src/petascope/wcps/grammar/wcps.g:496:14: ( INTEGERCONSTANT ( '.' ) ( ( '0' .. '9' )+ ) ( ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) )? ) + // src/petascope/wcps/grammar/wcps.g:496:16: INTEGERCONSTANT ( '.' ) ( ( '0' .. '9' )+ ) ( ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) )? { mINTEGERCONSTANT(); - // src/petascope/wcps/grammar/wcps.g:494:32: ( '.' ) - // src/petascope/wcps/grammar/wcps.g:494:33: '.' + // src/petascope/wcps/grammar/wcps.g:496:32: ( '.' ) + // src/petascope/wcps/grammar/wcps.g:496:33: '.' { match('.'); } - // src/petascope/wcps/grammar/wcps.g:494:37: ( ( '0' .. '9' )+ ) - // src/petascope/wcps/grammar/wcps.g:494:38: ( '0' .. '9' )+ + // src/petascope/wcps/grammar/wcps.g:496:37: ( ( '0' .. '9' )+ ) + // src/petascope/wcps/grammar/wcps.g:496:38: ( '0' .. '9' )+ { - // src/petascope/wcps/grammar/wcps.g:494:38: ( '0' .. '9' )+ + // src/petascope/wcps/grammar/wcps.g:496:38: ( '0' .. '9' )+ int cnt4=0; loop4: do { @@ -6683,7 +6683,7 @@ public class wcpsLexer extends Lexer { switch (alt4) { case 1 : - // src/petascope/wcps/grammar/wcps.g:494:38: '0' .. '9' + // src/petascope/wcps/grammar/wcps.g:496:38: '0' .. '9' { matchRange('0','9'); @@ -6702,7 +6702,7 @@ public class wcpsLexer extends Lexer { } - // src/petascope/wcps/grammar/wcps.g:494:48: ( ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) )? + // src/petascope/wcps/grammar/wcps.g:496:48: ( ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) )? int alt7=2; int LA7_0 = input.LA(1); @@ -6711,7 +6711,7 @@ public class wcpsLexer extends Lexer { } switch (alt7) { case 1 : - // src/petascope/wcps/grammar/wcps.g:494:49: ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) + // src/petascope/wcps/grammar/wcps.g:496:49: ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) { if ( input.LA(1)=='E'||input.LA(1)=='e' ) { input.consume(); @@ -6722,10 +6722,10 @@ public class wcpsLexer extends Lexer { recover(mse); throw mse;} - // src/petascope/wcps/grammar/wcps.g:494:58: ( ( '-' | '+' )? ) - // src/petascope/wcps/grammar/wcps.g:494:59: ( '-' | '+' )? + // src/petascope/wcps/grammar/wcps.g:496:58: ( ( '-' | '+' )? ) + // src/petascope/wcps/grammar/wcps.g:496:59: ( '-' | '+' )? { - // src/petascope/wcps/grammar/wcps.g:494:59: ( '-' | '+' )? + // src/petascope/wcps/grammar/wcps.g:496:59: ( '-' | '+' )? int alt5=2; int LA5_0 = input.LA(1); @@ -6754,10 +6754,10 @@ public class wcpsLexer extends Lexer { } - // src/petascope/wcps/grammar/wcps.g:494:70: ( ( '0' .. '9' )+ ) - // src/petascope/wcps/grammar/wcps.g:494:71: ( '0' .. '9' )+ + // src/petascope/wcps/grammar/wcps.g:496:70: ( ( '0' .. '9' )+ ) + // src/petascope/wcps/grammar/wcps.g:496:71: ( '0' .. '9' )+ { - // src/petascope/wcps/grammar/wcps.g:494:71: ( '0' .. '9' )+ + // src/petascope/wcps/grammar/wcps.g:496:71: ( '0' .. '9' )+ int cnt6=0; loop6: do { @@ -6771,7 +6771,7 @@ public class wcpsLexer extends Lexer { switch (alt6) { case 1 : - // src/petascope/wcps/grammar/wcps.g:494:71: '0' .. '9' + // src/petascope/wcps/grammar/wcps.g:496:71: '0' .. '9' { matchRange('0','9'); @@ -6812,11 +6812,11 @@ public class wcpsLexer extends Lexer { try { int _type = STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:495:7: ( '\"' ( options {greedy=false; } : . )* '\"' ) - // src/petascope/wcps/grammar/wcps.g:495:9: '\"' ( options {greedy=false; } : . )* '\"' + // src/petascope/wcps/grammar/wcps.g:497:7: ( '\"' ( options {greedy=false; } : . )* '\"' ) + // src/petascope/wcps/grammar/wcps.g:497:9: '\"' ( options {greedy=false; } : . )* '\"' { match('\"'); - // src/petascope/wcps/grammar/wcps.g:495:13: ( options {greedy=false; } : . )* + // src/petascope/wcps/grammar/wcps.g:497:13: ( options {greedy=false; } : . )* loop8: do { int alt8=2; @@ -6832,7 +6832,7 @@ public class wcpsLexer extends Lexer { switch (alt8) { case 1 : - // src/petascope/wcps/grammar/wcps.g:495:41: . + // src/petascope/wcps/grammar/wcps.g:497:41: . { matchAny(); @@ -6862,8 +6862,8 @@ public class wcpsLexer extends Lexer { try { int _type = NAME; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:496:5: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) ) - // src/petascope/wcps/grammar/wcps.g:496:7: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) + // src/petascope/wcps/grammar/wcps.g:498:5: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) ) + // src/petascope/wcps/grammar/wcps.g:498:7: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) { if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { input.consume(); @@ -6874,10 +6874,10 @@ public class wcpsLexer extends Lexer { recover(mse); throw mse;} - // src/petascope/wcps/grammar/wcps.g:496:30: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) - // src/petascope/wcps/grammar/wcps.g:496:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* + // src/petascope/wcps/grammar/wcps.g:498:30: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) + // src/petascope/wcps/grammar/wcps.g:498:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* { - // src/petascope/wcps/grammar/wcps.g:496:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* + // src/petascope/wcps/grammar/wcps.g:498:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* loop9: do { int alt9=2; @@ -6929,14 +6929,14 @@ public class wcpsLexer extends Lexer { try { int _type = VARIABLE_DOLLAR; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:497:16: ( '$' ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) ) - // src/petascope/wcps/grammar/wcps.g:497:18: '$' ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) + // src/petascope/wcps/grammar/wcps.g:499:16: ( '$' ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) ) + // src/petascope/wcps/grammar/wcps.g:499:18: '$' ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) { match('$'); - // src/petascope/wcps/grammar/wcps.g:497:21: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) - // src/petascope/wcps/grammar/wcps.g:497:22: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* + // src/petascope/wcps/grammar/wcps.g:499:21: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) + // src/petascope/wcps/grammar/wcps.g:499:22: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* { - // src/petascope/wcps/grammar/wcps.g:497:22: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* + // src/petascope/wcps/grammar/wcps.g:499:22: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* loop10: do { int alt10=2; @@ -6989,10 +6989,10 @@ public class wcpsLexer extends Lexer { try { int _type = WHITESPACE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/petascope/wcps/grammar/wcps.g:498:11: ( ( ' ' | '\\t' | '\\r' | '\\n' | '\\u000C' )+ ) - // src/petascope/wcps/grammar/wcps.g:498:13: ( ' ' | '\\t' | '\\r' | '\\n' | '\\u000C' )+ + // src/petascope/wcps/grammar/wcps.g:500:11: ( ( ' ' | '\\t' | '\\r' | '\\n' | '\\u000C' )+ ) + // src/petascope/wcps/grammar/wcps.g:500:13: ( ' ' | '\\t' | '\\r' | '\\n' | '\\u000C' )+ { - // src/petascope/wcps/grammar/wcps.g:498:13: ( ' ' | '\\t' | '\\r' | '\\n' | '\\u000C' )+ + // src/petascope/wcps/grammar/wcps.g:500:13: ( ' ' | '\\t' | '\\r' | '\\n' | '\\u000C' )+ int cnt11=0; loop11: do { diff --git a/src/petascope/wcps/grammar/wcpsParser.java b/src/petascope/wcps/grammar/wcpsParser.java index ed88903..27f75f8 100644 --- a/src/petascope/wcps/grammar/wcpsParser.java +++ b/src/petascope/wcps/grammar/wcpsParser.java @@ -1,4 +1,4 @@ -// $ANTLR 3.2 Sep 23, 2009 12:02:23 src/petascope/wcps/grammar/wcps.g 2010-04-06 22:00:32 +// $ANTLR 3.2 Sep 23, 2009 12:02:23 src/petascope/wcps/grammar/wcps.g 2010-04-29 23:04:40 package petascope.wcps.grammar; import org.antlr.runtime.*; @@ -133,7 +133,7 @@ public class wcpsParser extends Parser { } public wcpsParser(TokenStream input, RecognizerSharedState state) { super(input, state); - this.state.ruleMemo = new HashMap[240+1]; + this.state.ruleMemo = new HashMap[241+1]; } @@ -6024,7 +6024,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "scaleExpr" - // src/petascope/wcps/grammar/wcps.g:244:1: scaleExpr returns [ScaleExpr value] : SCALE LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN ; + // src/petascope/wcps/grammar/wcps.g:244:1: scaleExpr returns [ScaleExpr value] : SCALE LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList ( COMMA fil= fieldInterpolationList )? RPAREN ; public final wcpsParser.scaleExpr_return scaleExpr() throws RecognitionException { wcpsParser.scaleExpr_return retval = new wcpsParser.scaleExpr_return(); retval.start = input.LT(1); @@ -6051,8 +6051,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 46) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:245:2: ( SCALE LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN ) - // src/petascope/wcps/grammar/wcps.g:245:4: SCALE LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN + // src/petascope/wcps/grammar/wcps.g:245:2: ( SCALE LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList ( COMMA fil= fieldInterpolationList )? RPAREN ) + // src/petascope/wcps/grammar/wcps.g:245:4: SCALE LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList ( COMMA fil= fieldInterpolationList )? RPAREN { root_0 = (Object)adaptor.nil(); @@ -6083,25 +6083,45 @@ public class wcpsParser extends Parser { state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, dil.getTree()); - COMMA136=(Token)match(input,COMMA,FOLLOW_COMMA_in_scaleExpr2513); if (state.failed) return retval; if ( state.backtracking==0 ) { - COMMA136_tree = (Object)adaptor.create(COMMA136); - adaptor.addChild(root_0, COMMA136_tree); + retval.value = new ScaleExpr((e1!=null?e1.value:null), (dil!=null?dil.value:null)); } - pushFollow(FOLLOW_fieldInterpolationList_in_scaleExpr2517); - fil=fieldInterpolationList(); + // src/petascope/wcps/grammar/wcps.g:246:13: ( COMMA fil= fieldInterpolationList )? + int alt41=2; + int LA41_0 = input.LA(1); - state._fsp--; - if (state.failed) return retval; - if ( state.backtracking==0 ) adaptor.addChild(root_0, fil.getTree()); - RPAREN137=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_scaleExpr2519); if (state.failed) return retval; + if ( (LA41_0==COMMA) ) { + alt41=1; + } + switch (alt41) { + case 1 : + // src/petascope/wcps/grammar/wcps.g:246:14: COMMA fil= fieldInterpolationList + { + COMMA136=(Token)match(input,COMMA,FOLLOW_COMMA_in_scaleExpr2528); if (state.failed) return retval; + if ( state.backtracking==0 ) { + COMMA136_tree = (Object)adaptor.create(COMMA136); + adaptor.addChild(root_0, COMMA136_tree); + } + pushFollow(FOLLOW_fieldInterpolationList_in_scaleExpr2532); + fil=fieldInterpolationList(); + + state._fsp--; + if (state.failed) return retval; + if ( state.backtracking==0 ) adaptor.addChild(root_0, fil.getTree()); + if ( state.backtracking==0 ) { + retval.value.addInterpolationList((fil!=null?fil.value:null)); + } + + } + break; + + } + + RPAREN137=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_scaleExpr2557); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN137_tree = (Object)adaptor.create(RPAREN137); adaptor.addChild(root_0, RPAREN137_tree); } - if ( state.backtracking==0 ) { - retval.value = new ScaleExpr((e1!=null?e1.value:null), (dil!=null?dil.value:null), (fil!=null?fil.value:null)); - } } @@ -6133,7 +6153,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "subsetExpr" - // src/petascope/wcps/grammar/wcps.g:248:1: subsetExpr returns [SubsetExpr value] : (e1= trimExpr | e2= sliceExpr | e3= extendExpr ); + // src/petascope/wcps/grammar/wcps.g:250:1: subsetExpr returns [SubsetExpr value] : (e1= trimExpr | e2= sliceExpr | e3= extendExpr ); public final wcpsParser.subsetExpr_return subsetExpr() throws RecognitionException { wcpsParser.subsetExpr_return retval = new wcpsParser.subsetExpr_return(); retval.start = input.LT(1); @@ -6150,16 +6170,16 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 47) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:249:2: (e1= trimExpr | e2= sliceExpr | e3= extendExpr ) - int alt41=3; - alt41 = dfa41.predict(input); - switch (alt41) { + // src/petascope/wcps/grammar/wcps.g:251:2: (e1= trimExpr | e2= sliceExpr | e3= extendExpr ) + int alt42=3; + alt42 = dfa42.predict(input); + switch (alt42) { case 1 : - // src/petascope/wcps/grammar/wcps.g:249:4: e1= trimExpr + // src/petascope/wcps/grammar/wcps.g:251:4: e1= trimExpr { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_trimExpr_in_subsetExpr2538); + pushFollow(FOLLOW_trimExpr_in_subsetExpr2575); e1=trimExpr(); state._fsp--; @@ -6172,11 +6192,11 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/petascope/wcps/grammar/wcps.g:250:4: e2= sliceExpr + // src/petascope/wcps/grammar/wcps.g:252:4: e2= sliceExpr { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_sliceExpr_in_subsetExpr2547); + pushFollow(FOLLOW_sliceExpr_in_subsetExpr2584); e2=sliceExpr(); state._fsp--; @@ -6189,11 +6209,11 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/petascope/wcps/grammar/wcps.g:251:4: e3= extendExpr + // src/petascope/wcps/grammar/wcps.g:253:4: e3= extendExpr { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_extendExpr_in_subsetExpr2556); + pushFollow(FOLLOW_extendExpr_in_subsetExpr2593); e3=extendExpr(); state._fsp--; @@ -6235,7 +6255,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "trimExpr" - // src/petascope/wcps/grammar/wcps.g:253:1: trimExpr returns [TrimExpr value] : (e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET | TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN ); + // src/petascope/wcps/grammar/wcps.g:255:1: trimExpr returns [TrimExpr value] : (e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET | TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN ); public final wcpsParser.trimExpr_return trimExpr() throws RecognitionException { wcpsParser.trimExpr_return retval = new wcpsParser.trimExpr_return(); retval.start = input.LT(1); @@ -6268,33 +6288,33 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 48) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:254:2: (e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET | TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN ) - int alt42=2; - alt42 = dfa42.predict(input); - switch (alt42) { + // src/petascope/wcps/grammar/wcps.g:256:2: (e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET | TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN ) + int alt43=2; + alt43 = dfa43.predict(input); + switch (alt43) { case 1 : - // src/petascope/wcps/grammar/wcps.g:254:4: e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET + // src/petascope/wcps/grammar/wcps.g:256:4: e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_coverageAtom_in_trimExpr2573); + pushFollow(FOLLOW_coverageAtom_in_trimExpr2610); e1=coverageAtom(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e1.getTree()); - LBRACKET138=(Token)match(input,LBRACKET,FOLLOW_LBRACKET_in_trimExpr2575); if (state.failed) return retval; + LBRACKET138=(Token)match(input,LBRACKET,FOLLOW_LBRACKET_in_trimExpr2612); if (state.failed) return retval; if ( state.backtracking==0 ) { LBRACKET138_tree = (Object)adaptor.create(LBRACKET138); adaptor.addChild(root_0, LBRACKET138_tree); } - pushFollow(FOLLOW_dimensionIntervalList_in_trimExpr2579); + pushFollow(FOLLOW_dimensionIntervalList_in_trimExpr2616); dil=dimensionIntervalList(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, dil.getTree()); - RBRACKET139=(Token)match(input,RBRACKET,FOLLOW_RBRACKET_in_trimExpr2581); if (state.failed) return retval; + RBRACKET139=(Token)match(input,RBRACKET,FOLLOW_RBRACKET_in_trimExpr2618); if (state.failed) return retval; if ( state.backtracking==0 ) { RBRACKET139_tree = (Object)adaptor.create(RBRACKET139); adaptor.addChild(root_0, RBRACKET139_tree); @@ -6306,48 +6326,48 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/petascope/wcps/grammar/wcps.g:255:6: TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN + // src/petascope/wcps/grammar/wcps.g:257:6: TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN { root_0 = (Object)adaptor.nil(); - TRIM140=(Token)match(input,TRIM,FOLLOW_TRIM_in_trimExpr2590); if (state.failed) return retval; + TRIM140=(Token)match(input,TRIM,FOLLOW_TRIM_in_trimExpr2627); if (state.failed) return retval; if ( state.backtracking==0 ) { TRIM140_tree = (Object)adaptor.create(TRIM140); adaptor.addChild(root_0, TRIM140_tree); } - LPAREN141=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_trimExpr2592); if (state.failed) return retval; + LPAREN141=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_trimExpr2629); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN141_tree = (Object)adaptor.create(LPAREN141); adaptor.addChild(root_0, LPAREN141_tree); } - pushFollow(FOLLOW_coverageExpr_in_trimExpr2596); + pushFollow(FOLLOW_coverageExpr_in_trimExpr2633); e2=coverageExpr(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e2.getTree()); - COMMA142=(Token)match(input,COMMA,FOLLOW_COMMA_in_trimExpr2598); if (state.failed) return retval; + COMMA142=(Token)match(input,COMMA,FOLLOW_COMMA_in_trimExpr2635); if (state.failed) return retval; if ( state.backtracking==0 ) { COMMA142_tree = (Object)adaptor.create(COMMA142); adaptor.addChild(root_0, COMMA142_tree); } - LBRACE143=(Token)match(input,LBRACE,FOLLOW_LBRACE_in_trimExpr2600); if (state.failed) return retval; + LBRACE143=(Token)match(input,LBRACE,FOLLOW_LBRACE_in_trimExpr2637); if (state.failed) return retval; if ( state.backtracking==0 ) { LBRACE143_tree = (Object)adaptor.create(LBRACE143); adaptor.addChild(root_0, LBRACE143_tree); } - pushFollow(FOLLOW_dimensionIntervalList_in_trimExpr2604); + pushFollow(FOLLOW_dimensionIntervalList_in_trimExpr2641); dil=dimensionIntervalList(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, dil.getTree()); - RBRACE144=(Token)match(input,RBRACE,FOLLOW_RBRACE_in_trimExpr2606); if (state.failed) return retval; + RBRACE144=(Token)match(input,RBRACE,FOLLOW_RBRACE_in_trimExpr2643); if (state.failed) return retval; if ( state.backtracking==0 ) { RBRACE144_tree = (Object)adaptor.create(RBRACE144); adaptor.addChild(root_0, RBRACE144_tree); } - RPAREN145=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_trimExpr2608); if (state.failed) return retval; + RPAREN145=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_trimExpr2645); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN145_tree = (Object)adaptor.create(RPAREN145); adaptor.addChild(root_0, RPAREN145_tree); @@ -6388,7 +6408,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "sliceExpr" - // src/petascope/wcps/grammar/wcps.g:257:1: sliceExpr returns [SliceExpr value] : (e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET | SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN ); + // src/petascope/wcps/grammar/wcps.g:259:1: sliceExpr returns [SliceExpr value] : (e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET | SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN ); public final wcpsParser.sliceExpr_return sliceExpr() throws RecognitionException { wcpsParser.sliceExpr_return retval = new wcpsParser.sliceExpr_return(); retval.start = input.LT(1); @@ -6421,33 +6441,33 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 49) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:258:2: (e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET | SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN ) - int alt43=2; - alt43 = dfa43.predict(input); - switch (alt43) { + // src/petascope/wcps/grammar/wcps.g:260:2: (e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET | SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN ) + int alt44=2; + alt44 = dfa44.predict(input); + switch (alt44) { case 1 : - // src/petascope/wcps/grammar/wcps.g:258:4: e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET + // src/petascope/wcps/grammar/wcps.g:260:4: e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_coverageAtom_in_sliceExpr2625); + pushFollow(FOLLOW_coverageAtom_in_sliceExpr2662); e1=coverageAtom(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e1.getTree()); - LBRACKET146=(Token)match(input,LBRACKET,FOLLOW_LBRACKET_in_sliceExpr2627); if (state.failed) return retval; + LBRACKET146=(Token)match(input,LBRACKET,FOLLOW_LBRACKET_in_sliceExpr2664); if (state.failed) return retval; if ( state.backtracking==0 ) { LBRACKET146_tree = (Object)adaptor.create(LBRACKET146); adaptor.addChild(root_0, LBRACKET146_tree); } - pushFollow(FOLLOW_dimensionPointList_in_sliceExpr2631); + pushFollow(FOLLOW_dimensionPointList_in_sliceExpr2668); dpl=dimensionPointList(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, dpl.getTree()); - RBRACKET147=(Token)match(input,RBRACKET,FOLLOW_RBRACKET_in_sliceExpr2633); if (state.failed) return retval; + RBRACKET147=(Token)match(input,RBRACKET,FOLLOW_RBRACKET_in_sliceExpr2670); if (state.failed) return retval; if ( state.backtracking==0 ) { RBRACKET147_tree = (Object)adaptor.create(RBRACKET147); adaptor.addChild(root_0, RBRACKET147_tree); @@ -6459,48 +6479,48 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/petascope/wcps/grammar/wcps.g:259:4: SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN + // src/petascope/wcps/grammar/wcps.g:261:4: SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN { root_0 = (Object)adaptor.nil(); - SLICE148=(Token)match(input,SLICE,FOLLOW_SLICE_in_sliceExpr2640); if (state.failed) return retval; + SLICE148=(Token)match(input,SLICE,FOLLOW_SLICE_in_sliceExpr2677); if (state.failed) return retval; if ( state.backtracking==0 ) { SLICE148_tree = (Object)adaptor.create(SLICE148); adaptor.addChild(root_0, SLICE148_tree); } - LPAREN149=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_sliceExpr2642); if (state.failed) return retval; + LPAREN149=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_sliceExpr2679); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN149_tree = (Object)adaptor.create(LPAREN149); adaptor.addChild(root_0, LPAREN149_tree); } - pushFollow(FOLLOW_coverageExpr_in_sliceExpr2646); + pushFollow(FOLLOW_coverageExpr_in_sliceExpr2683); e2=coverageExpr(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e2.getTree()); - COMMA150=(Token)match(input,COMMA,FOLLOW_COMMA_in_sliceExpr2648); if (state.failed) return retval; + COMMA150=(Token)match(input,COMMA,FOLLOW_COMMA_in_sliceExpr2685); if (state.failed) return retval; if ( state.backtracking==0 ) { COMMA150_tree = (Object)adaptor.create(COMMA150); adaptor.addChild(root_0, COMMA150_tree); } - LBRACE151=(Token)match(input,LBRACE,FOLLOW_LBRACE_in_sliceExpr2650); if (state.failed) return retval; + LBRACE151=(Token)match(input,LBRACE,FOLLOW_LBRACE_in_sliceExpr2687); if (state.failed) return retval; if ( state.backtracking==0 ) { LBRACE151_tree = (Object)adaptor.create(LBRACE151); adaptor.addChild(root_0, LBRACE151_tree); } - pushFollow(FOLLOW_dimensionPointList_in_sliceExpr2654); + pushFollow(FOLLOW_dimensionPointList_in_sliceExpr2691); dpl=dimensionPointList(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, dpl.getTree()); - RBRACE152=(Token)match(input,RBRACE,FOLLOW_RBRACE_in_sliceExpr2656); if (state.failed) return retval; + RBRACE152=(Token)match(input,RBRACE,FOLLOW_RBRACE_in_sliceExpr2693); if (state.failed) return retval; if ( state.backtracking==0 ) { RBRACE152_tree = (Object)adaptor.create(RBRACE152); adaptor.addChild(root_0, RBRACE152_tree); } - RPAREN153=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_sliceExpr2658); if (state.failed) return retval; + RPAREN153=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_sliceExpr2695); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN153_tree = (Object)adaptor.create(RPAREN153); adaptor.addChild(root_0, RPAREN153_tree); @@ -6541,7 +6561,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "extendExpr" - // src/petascope/wcps/grammar/wcps.g:261:1: extendExpr returns [ExtendExpr value] : EXTEND LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList RPAREN ; + // src/petascope/wcps/grammar/wcps.g:263:1: extendExpr returns [ExtendExpr value] : EXTEND LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList RPAREN ; public final wcpsParser.extendExpr_return extendExpr() throws RecognitionException { wcpsParser.extendExpr_return retval = new wcpsParser.extendExpr_return(); retval.start = input.LT(1); @@ -6564,39 +6584,39 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 50) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:262:2: ( EXTEND LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList RPAREN ) - // src/petascope/wcps/grammar/wcps.g:262:4: EXTEND LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList RPAREN + // src/petascope/wcps/grammar/wcps.g:264:2: ( EXTEND LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList RPAREN ) + // src/petascope/wcps/grammar/wcps.g:264:4: EXTEND LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList RPAREN { root_0 = (Object)adaptor.nil(); - EXTEND154=(Token)match(input,EXTEND,FOLLOW_EXTEND_in_extendExpr2673); if (state.failed) return retval; + EXTEND154=(Token)match(input,EXTEND,FOLLOW_EXTEND_in_extendExpr2710); if (state.failed) return retval; if ( state.backtracking==0 ) { EXTEND154_tree = (Object)adaptor.create(EXTEND154); adaptor.addChild(root_0, EXTEND154_tree); } - LPAREN155=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_extendExpr2675); if (state.failed) return retval; + LPAREN155=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_extendExpr2712); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN155_tree = (Object)adaptor.create(LPAREN155); adaptor.addChild(root_0, LPAREN155_tree); } - pushFollow(FOLLOW_coverageExpr_in_extendExpr2679); + pushFollow(FOLLOW_coverageExpr_in_extendExpr2716); e1=coverageExpr(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e1.getTree()); - COMMA156=(Token)match(input,COMMA,FOLLOW_COMMA_in_extendExpr2681); if (state.failed) return retval; + COMMA156=(Token)match(input,COMMA,FOLLOW_COMMA_in_extendExpr2718); if (state.failed) return retval; if ( state.backtracking==0 ) { COMMA156_tree = (Object)adaptor.create(COMMA156); adaptor.addChild(root_0, COMMA156_tree); } - pushFollow(FOLLOW_dimensionIntervalList_in_extendExpr2685); + pushFollow(FOLLOW_dimensionIntervalList_in_extendExpr2722); dil=dimensionIntervalList(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, dil.getTree()); - RPAREN157=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_extendExpr2687); if (state.failed) return retval; + RPAREN157=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_extendExpr2724); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN157_tree = (Object)adaptor.create(RPAREN157); adaptor.addChild(root_0, RPAREN157_tree); @@ -6635,7 +6655,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "castExpr" - // src/petascope/wcps/grammar/wcps.g:264:1: castExpr returns [CastExpr value] : LPAREN e1= rangeType RPAREN e2= coverageExpr ; + // src/petascope/wcps/grammar/wcps.g:266:1: castExpr returns [CastExpr value] : LPAREN e1= rangeType RPAREN e2= coverageExpr ; public final wcpsParser.castExpr_return castExpr() throws RecognitionException { wcpsParser.castExpr_return retval = new wcpsParser.castExpr_return(); retval.start = input.LT(1); @@ -6654,28 +6674,28 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 51) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:265:5: ( LPAREN e1= rangeType RPAREN e2= coverageExpr ) - // src/petascope/wcps/grammar/wcps.g:265:7: LPAREN e1= rangeType RPAREN e2= coverageExpr + // src/petascope/wcps/grammar/wcps.g:267:5: ( LPAREN e1= rangeType RPAREN e2= coverageExpr ) + // src/petascope/wcps/grammar/wcps.g:267:7: LPAREN e1= rangeType RPAREN e2= coverageExpr { root_0 = (Object)adaptor.nil(); - LPAREN158=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_castExpr2705); if (state.failed) return retval; + LPAREN158=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_castExpr2742); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN158_tree = (Object)adaptor.create(LPAREN158); adaptor.addChild(root_0, LPAREN158_tree); } - pushFollow(FOLLOW_rangeType_in_castExpr2709); + pushFollow(FOLLOW_rangeType_in_castExpr2746); e1=rangeType(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e1.getTree()); - RPAREN159=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_castExpr2711); if (state.failed) return retval; + RPAREN159=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_castExpr2748); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN159_tree = (Object)adaptor.create(RPAREN159); adaptor.addChild(root_0, RPAREN159_tree); } - pushFollow(FOLLOW_coverageExpr_in_castExpr2715); + pushFollow(FOLLOW_coverageExpr_in_castExpr2752); e2=coverageExpr(); state._fsp--; @@ -6715,7 +6735,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "rangeType" - // src/petascope/wcps/grammar/wcps.g:267:1: rangeType returns [String value] : (type= ( BOOLEAN | CHAR | SHORT | LONG | FLOAT | DOUBLE | COMPLEX | COMPLEX2 ) | UNSIGNED type= ( CHAR | SHORT | LONG ) ); + // src/petascope/wcps/grammar/wcps.g:269:1: rangeType returns [String value] : (type= ( BOOLEAN | CHAR | SHORT | LONG | FLOAT | DOUBLE | COMPLEX | COMPLEX2 ) | UNSIGNED type= ( CHAR | SHORT | LONG ) ); public final wcpsParser.rangeType_return rangeType() throws RecognitionException { wcpsParser.rangeType_return retval = new wcpsParser.rangeType_return(); retval.start = input.LT(1); @@ -6730,26 +6750,26 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 52) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:268:5: (type= ( BOOLEAN | CHAR | SHORT | LONG | FLOAT | DOUBLE | COMPLEX | COMPLEX2 ) | UNSIGNED type= ( CHAR | SHORT | LONG ) ) - int alt44=2; - int LA44_0 = input.LA(1); + // src/petascope/wcps/grammar/wcps.g:270:5: (type= ( BOOLEAN | CHAR | SHORT | LONG | FLOAT | DOUBLE | COMPLEX | COMPLEX2 ) | UNSIGNED type= ( CHAR | SHORT | LONG ) ) + int alt45=2; + int LA45_0 = input.LA(1); - if ( ((LA44_0>=BOOLEAN && LA44_0<=COMPLEX2)) ) { - alt44=1; + if ( ((LA45_0>=BOOLEAN && LA45_0<=COMPLEX2)) ) { + alt45=1; } - else if ( (LA44_0==UNSIGNED) ) { - alt44=2; + else if ( (LA45_0==UNSIGNED) ) { + alt45=2; } else { if (state.backtracking>0) {state.failed=true; return retval;} NoViableAltException nvae = - new NoViableAltException("", 44, 0, input); + new NoViableAltException("", 45, 0, input); throw nvae; } - switch (alt44) { + switch (alt45) { case 1 : - // src/petascope/wcps/grammar/wcps.g:268:7: type= ( BOOLEAN | CHAR | SHORT | LONG | FLOAT | DOUBLE | COMPLEX | COMPLEX2 ) + // src/petascope/wcps/grammar/wcps.g:270:7: type= ( BOOLEAN | CHAR | SHORT | LONG | FLOAT | DOUBLE | COMPLEX | COMPLEX2 ) { root_0 = (Object)adaptor.nil(); @@ -6772,11 +6792,11 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/petascope/wcps/grammar/wcps.g:269:7: UNSIGNED type= ( CHAR | SHORT | LONG ) + // src/petascope/wcps/grammar/wcps.g:271:7: UNSIGNED type= ( CHAR | SHORT | LONG ) { root_0 = (Object)adaptor.nil(); - UNSIGNED160=(Token)match(input,UNSIGNED,FOLLOW_UNSIGNED_in_rangeType2764); if (state.failed) return retval; + UNSIGNED160=(Token)match(input,UNSIGNED,FOLLOW_UNSIGNED_in_rangeType2801); if (state.failed) return retval; if ( state.backtracking==0 ) { UNSIGNED160_tree = (Object)adaptor.create(UNSIGNED160); adaptor.addChild(root_0, UNSIGNED160_tree); @@ -6829,7 +6849,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "fieldExpr" - // src/petascope/wcps/grammar/wcps.g:271:1: fieldExpr returns [SelectExpr value] : e1= coverageAtom DOT e2= fieldName ; + // src/petascope/wcps/grammar/wcps.g:273:1: fieldExpr returns [SelectExpr value] : e1= coverageAtom DOT e2= fieldName ; public final wcpsParser.fieldExpr_return fieldExpr() throws RecognitionException { wcpsParser.fieldExpr_return retval = new wcpsParser.fieldExpr_return(); retval.start = input.LT(1); @@ -6846,23 +6866,23 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 53) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:272:5: (e1= coverageAtom DOT e2= fieldName ) - // src/petascope/wcps/grammar/wcps.g:272:7: e1= coverageAtom DOT e2= fieldName + // src/petascope/wcps/grammar/wcps.g:274:5: (e1= coverageAtom DOT e2= fieldName ) + // src/petascope/wcps/grammar/wcps.g:274:7: e1= coverageAtom DOT e2= fieldName { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_coverageAtom_in_fieldExpr2797); + pushFollow(FOLLOW_coverageAtom_in_fieldExpr2834); e1=coverageAtom(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e1.getTree()); - DOT161=(Token)match(input,DOT,FOLLOW_DOT_in_fieldExpr2799); if (state.failed) return retval; + DOT161=(Token)match(input,DOT,FOLLOW_DOT_in_fieldExpr2836); if (state.failed) return retval; if ( state.backtracking==0 ) { DOT161_tree = (Object)adaptor.create(DOT161); adaptor.addChild(root_0, DOT161_tree); } - pushFollow(FOLLOW_fieldName_in_fieldExpr2803); + pushFollow(FOLLOW_fieldName_in_fieldExpr2840); e2=fieldName(); state._fsp--; @@ -6902,7 +6922,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "booleanScalarExpr" - // src/petascope/wcps/grammar/wcps.g:276:1: booleanScalarExpr returns [BooleanScalarExpr value] : e1= booleanScalarTerm (op= ( OR | XOR ) e2= booleanScalarTerm )* ; + // src/petascope/wcps/grammar/wcps.g:278:1: booleanScalarExpr returns [BooleanScalarExpr value] : e1= booleanScalarTerm (op= ( OR | XOR ) e2= booleanScalarTerm )* ; public final wcpsParser.booleanScalarExpr_return booleanScalarExpr() throws RecognitionException { wcpsParser.booleanScalarExpr_return retval = new wcpsParser.booleanScalarExpr_return(); retval.start = input.LT(1); @@ -6919,12 +6939,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 54) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:277:5: (e1= booleanScalarTerm (op= ( OR | XOR ) e2= booleanScalarTerm )* ) - // src/petascope/wcps/grammar/wcps.g:277:7: e1= booleanScalarTerm (op= ( OR | XOR ) e2= booleanScalarTerm )* + // src/petascope/wcps/grammar/wcps.g:279:5: (e1= booleanScalarTerm (op= ( OR | XOR ) e2= booleanScalarTerm )* ) + // src/petascope/wcps/grammar/wcps.g:279:7: e1= booleanScalarTerm (op= ( OR | XOR ) e2= booleanScalarTerm )* { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_booleanScalarTerm_in_booleanScalarExpr2828); + pushFollow(FOLLOW_booleanScalarTerm_in_booleanScalarExpr2865); e1=booleanScalarTerm(); state._fsp--; @@ -6933,14 +6953,14 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/petascope/wcps/grammar/wcps.g:278:7: (op= ( OR | XOR ) e2= booleanScalarTerm )* - loop45: + // src/petascope/wcps/grammar/wcps.g:280:7: (op= ( OR | XOR ) e2= booleanScalarTerm )* + loop46: do { - int alt45=2; - alt45 = dfa45.predict(input); - switch (alt45) { + int alt46=2; + alt46 = dfa46.predict(input); + switch (alt46) { case 1 : - // src/petascope/wcps/grammar/wcps.g:278:8: op= ( OR | XOR ) e2= booleanScalarTerm + // src/petascope/wcps/grammar/wcps.g:280:8: op= ( OR | XOR ) e2= booleanScalarTerm { op=(Token)input.LT(1); if ( (input.LA(1)>=OR && input.LA(1)<=XOR) ) { @@ -6954,7 +6974,7 @@ public class wcpsParser extends Parser { throw mse; } - pushFollow(FOLLOW_booleanScalarTerm_in_booleanScalarExpr2849); + pushFollow(FOLLOW_booleanScalarTerm_in_booleanScalarExpr2886); e2=booleanScalarTerm(); state._fsp--; @@ -6968,7 +6988,7 @@ public class wcpsParser extends Parser { break; default : - break loop45; + break loop46; } } while (true); @@ -7003,7 +7023,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "booleanScalarTerm" - // src/petascope/wcps/grammar/wcps.g:280:1: booleanScalarTerm returns [BooleanScalarExpr value] : e1= booleanScalarNegation (op= AND e2= booleanScalarNegation )* ; + // src/petascope/wcps/grammar/wcps.g:282:1: booleanScalarTerm returns [BooleanScalarExpr value] : e1= booleanScalarNegation (op= AND e2= booleanScalarNegation )* ; public final wcpsParser.booleanScalarTerm_return booleanScalarTerm() throws RecognitionException { wcpsParser.booleanScalarTerm_return retval = new wcpsParser.booleanScalarTerm_return(); retval.start = input.LT(1); @@ -7020,12 +7040,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 55) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:281:2: (e1= booleanScalarNegation (op= AND e2= booleanScalarNegation )* ) - // src/petascope/wcps/grammar/wcps.g:281:4: e1= booleanScalarNegation (op= AND e2= booleanScalarNegation )* + // src/petascope/wcps/grammar/wcps.g:283:2: (e1= booleanScalarNegation (op= AND e2= booleanScalarNegation )* ) + // src/petascope/wcps/grammar/wcps.g:283:4: e1= booleanScalarNegation (op= AND e2= booleanScalarNegation )* { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_booleanScalarNegation_in_booleanScalarTerm2871); + pushFollow(FOLLOW_booleanScalarNegation_in_booleanScalarTerm2908); e1=booleanScalarNegation(); state._fsp--; @@ -7034,21 +7054,21 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/petascope/wcps/grammar/wcps.g:282:4: (op= AND e2= booleanScalarNegation )* - loop46: + // src/petascope/wcps/grammar/wcps.g:284:4: (op= AND e2= booleanScalarNegation )* + loop47: do { - int alt46=2; - alt46 = dfa46.predict(input); - switch (alt46) { + int alt47=2; + alt47 = dfa47.predict(input); + switch (alt47) { case 1 : - // src/petascope/wcps/grammar/wcps.g:282:5: op= AND e2= booleanScalarNegation + // src/petascope/wcps/grammar/wcps.g:284:5: op= AND e2= booleanScalarNegation { - op=(Token)match(input,AND,FOLLOW_AND_in_booleanScalarTerm2881); if (state.failed) return retval; + op=(Token)match(input,AND,FOLLOW_AND_in_booleanScalarTerm2918); if (state.failed) return retval; if ( state.backtracking==0 ) { op_tree = (Object)adaptor.create(op); adaptor.addChild(root_0, op_tree); } - pushFollow(FOLLOW_booleanScalarNegation_in_booleanScalarTerm2885); + pushFollow(FOLLOW_booleanScalarNegation_in_booleanScalarTerm2922); e2=booleanScalarNegation(); state._fsp--; @@ -7062,7 +7082,7 @@ public class wcpsParser extends Parser { break; default : - break loop46; + break loop47; } } while (true); @@ -7097,7 +7117,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "booleanScalarNegation" - // src/petascope/wcps/grammar/wcps.g:284:1: booleanScalarNegation returns [BooleanScalarExpr value] : (e1= booleanScalarAtom | op= NOT e1= booleanScalarAtom ); + // src/petascope/wcps/grammar/wcps.g:286:1: booleanScalarNegation returns [BooleanScalarExpr value] : (e1= booleanScalarAtom | op= NOT e1= booleanScalarAtom ); public final wcpsParser.booleanScalarNegation_return booleanScalarNegation() throws RecognitionException { wcpsParser.booleanScalarNegation_return retval = new wcpsParser.booleanScalarNegation_return(); retval.start = input.LT(1); @@ -7112,16 +7132,16 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 56) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:285:2: (e1= booleanScalarAtom | op= NOT e1= booleanScalarAtom ) - int alt47=2; - alt47 = dfa47.predict(input); - switch (alt47) { + // src/petascope/wcps/grammar/wcps.g:287:2: (e1= booleanScalarAtom | op= NOT e1= booleanScalarAtom ) + int alt48=2; + alt48 = dfa48.predict(input); + switch (alt48) { case 1 : - // src/petascope/wcps/grammar/wcps.g:285:4: e1= booleanScalarAtom + // src/petascope/wcps/grammar/wcps.g:287:4: e1= booleanScalarAtom { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_booleanScalarAtom_in_booleanScalarNegation2906); + pushFollow(FOLLOW_booleanScalarAtom_in_booleanScalarNegation2943); e1=booleanScalarAtom(); state._fsp--; @@ -7134,16 +7154,16 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/petascope/wcps/grammar/wcps.g:286:4: op= NOT e1= booleanScalarAtom + // src/petascope/wcps/grammar/wcps.g:288:4: op= NOT e1= booleanScalarAtom { root_0 = (Object)adaptor.nil(); - op=(Token)match(input,NOT,FOLLOW_NOT_in_booleanScalarNegation2915); if (state.failed) return retval; + op=(Token)match(input,NOT,FOLLOW_NOT_in_booleanScalarNegation2952); if (state.failed) return retval; if ( state.backtracking==0 ) { op_tree = (Object)adaptor.create(op); adaptor.addChild(root_0, op_tree); } - pushFollow(FOLLOW_booleanScalarAtom_in_booleanScalarNegation2919); + pushFollow(FOLLOW_booleanScalarAtom_in_booleanScalarNegation2956); e1=booleanScalarAtom(); state._fsp--; @@ -7185,7 +7205,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "booleanScalarAtom" - // src/petascope/wcps/grammar/wcps.g:288:1: booleanScalarAtom returns [BooleanScalarExpr value] : ( LPAREN e1= booleanScalarExpr RPAREN | s1= stringScalarExpr cop= compOp s2= stringScalarExpr | n1= numericScalarExpr cop= compOp n2= numericScalarExpr | e= BOOLEANCONSTANT ); + // src/petascope/wcps/grammar/wcps.g:290:1: booleanScalarAtom returns [BooleanScalarExpr value] : ( LPAREN e1= booleanScalarExpr RPAREN | s1= stringScalarExpr cop= compOp s2= stringScalarExpr | n1= numericScalarExpr cop= compOp n2= numericScalarExpr | e= BOOLEANCONSTANT ); public final wcpsParser.booleanScalarAtom_return booleanScalarAtom() throws RecognitionException { wcpsParser.booleanScalarAtom_return retval = new wcpsParser.booleanScalarAtom_return(); retval.start = input.LT(1); @@ -7214,27 +7234,27 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 57) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:289:2: ( LPAREN e1= booleanScalarExpr RPAREN | s1= stringScalarExpr cop= compOp s2= stringScalarExpr | n1= numericScalarExpr cop= compOp n2= numericScalarExpr | e= BOOLEANCONSTANT ) - int alt48=4; - alt48 = dfa48.predict(input); - switch (alt48) { + // src/petascope/wcps/grammar/wcps.g:291:2: ( LPAREN e1= booleanScalarExpr RPAREN | s1= stringScalarExpr cop= compOp s2= stringScalarExpr | n1= numericScalarExpr cop= compOp n2= numericScalarExpr | e= BOOLEANCONSTANT ) + int alt49=4; + alt49 = dfa49.predict(input); + switch (alt49) { case 1 : - // src/petascope/wcps/grammar/wcps.g:289:4: LPAREN e1= booleanScalarExpr RPAREN + // src/petascope/wcps/grammar/wcps.g:291:4: LPAREN e1= booleanScalarExpr RPAREN { root_0 = (Object)adaptor.nil(); - LPAREN162=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_booleanScalarAtom2934); if (state.failed) return retval; + LPAREN162=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_booleanScalarAtom2971); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN162_tree = (Object)adaptor.create(LPAREN162); adaptor.addChild(root_0, LPAREN162_tree); } - pushFollow(FOLLOW_booleanScalarExpr_in_booleanScalarAtom2938); + pushFollow(FOLLOW_booleanScalarExpr_in_booleanScalarAtom2975); e1=booleanScalarExpr(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e1.getTree()); - RPAREN163=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_booleanScalarAtom2940); if (state.failed) return retval; + RPAREN163=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_booleanScalarAtom2977); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN163_tree = (Object)adaptor.create(RPAREN163); adaptor.addChild(root_0, RPAREN163_tree); @@ -7246,23 +7266,23 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/petascope/wcps/grammar/wcps.g:290:4: s1= stringScalarExpr cop= compOp s2= stringScalarExpr + // src/petascope/wcps/grammar/wcps.g:292:4: s1= stringScalarExpr cop= compOp s2= stringScalarExpr { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_stringScalarExpr_in_booleanScalarAtom2949); + pushFollow(FOLLOW_stringScalarExpr_in_booleanScalarAtom2986); s1=stringScalarExpr(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, s1.getTree()); - pushFollow(FOLLOW_compOp_in_booleanScalarAtom2953); + pushFollow(FOLLOW_compOp_in_booleanScalarAtom2990); cop=compOp(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, cop.getTree()); - pushFollow(FOLLOW_stringScalarExpr_in_booleanScalarAtom2957); + pushFollow(FOLLOW_stringScalarExpr_in_booleanScalarAtom2994); s2=stringScalarExpr(); state._fsp--; @@ -7275,23 +7295,23 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/petascope/wcps/grammar/wcps.g:291:4: n1= numericScalarExpr cop= compOp n2= numericScalarExpr + // src/petascope/wcps/grammar/wcps.g:293:4: n1= numericScalarExpr cop= compOp n2= numericScalarExpr { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_numericScalarExpr_in_booleanScalarAtom2967); + pushFollow(FOLLOW_numericScalarExpr_in_booleanScalarAtom3004); n1=numericScalarExpr(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, n1.getTree()); - pushFollow(FOLLOW_compOp_in_booleanScalarAtom2971); + pushFollow(FOLLOW_compOp_in_booleanScalarAtom3008); cop=compOp(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, cop.getTree()); - pushFollow(FOLLOW_numericScalarExpr_in_booleanScalarAtom2975); + pushFollow(FOLLOW_numericScalarExpr_in_booleanScalarAtom3012); n2=numericScalarExpr(); state._fsp--; @@ -7304,11 +7324,11 @@ public class wcpsParser extends Parser { } break; case 4 : - // src/petascope/wcps/grammar/wcps.g:292:4: e= BOOLEANCONSTANT + // src/petascope/wcps/grammar/wcps.g:294:4: e= BOOLEANCONSTANT { root_0 = (Object)adaptor.nil(); - e=(Token)match(input,BOOLEANCONSTANT,FOLLOW_BOOLEANCONSTANT_in_booleanScalarAtom2985); if (state.failed) return retval; + e=(Token)match(input,BOOLEANCONSTANT,FOLLOW_BOOLEANCONSTANT_in_booleanScalarAtom3022); if (state.failed) return retval; if ( state.backtracking==0 ) { e_tree = (Object)adaptor.create(e); adaptor.addChild(root_0, e_tree); @@ -7349,7 +7369,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "numericScalarExpr" - // src/petascope/wcps/grammar/wcps.g:294:1: numericScalarExpr returns [NumericScalarExpr value] : e1= numericScalarTerm (op= ( PLUS | MINUS ) e2= numericScalarTerm )* ; + // src/petascope/wcps/grammar/wcps.g:296:1: numericScalarExpr returns [NumericScalarExpr value] : e1= numericScalarTerm (op= ( PLUS | MINUS ) e2= numericScalarTerm )* ; public final wcpsParser.numericScalarExpr_return numericScalarExpr() throws RecognitionException { wcpsParser.numericScalarExpr_return retval = new wcpsParser.numericScalarExpr_return(); retval.start = input.LT(1); @@ -7366,12 +7386,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 58) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:295:2: (e1= numericScalarTerm (op= ( PLUS | MINUS ) e2= numericScalarTerm )* ) - // src/petascope/wcps/grammar/wcps.g:295:4: e1= numericScalarTerm (op= ( PLUS | MINUS ) e2= numericScalarTerm )* + // src/petascope/wcps/grammar/wcps.g:297:2: (e1= numericScalarTerm (op= ( PLUS | MINUS ) e2= numericScalarTerm )* ) + // src/petascope/wcps/grammar/wcps.g:297:4: e1= numericScalarTerm (op= ( PLUS | MINUS ) e2= numericScalarTerm )* { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_numericScalarTerm_in_numericScalarExpr3002); + pushFollow(FOLLOW_numericScalarTerm_in_numericScalarExpr3039); e1=numericScalarTerm(); state._fsp--; @@ -7380,14 +7400,14 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/petascope/wcps/grammar/wcps.g:296:4: (op= ( PLUS | MINUS ) e2= numericScalarTerm )* - loop49: + // src/petascope/wcps/grammar/wcps.g:298:4: (op= ( PLUS | MINUS ) e2= numericScalarTerm )* + loop50: do { - int alt49=2; - alt49 = dfa49.predict(input); - switch (alt49) { + int alt50=2; + alt50 = dfa50.predict(input); + switch (alt50) { case 1 : - // src/petascope/wcps/grammar/wcps.g:296:5: op= ( PLUS | MINUS ) e2= numericScalarTerm + // src/petascope/wcps/grammar/wcps.g:298:5: op= ( PLUS | MINUS ) e2= numericScalarTerm { op=(Token)input.LT(1); if ( (input.LA(1)>=PLUS && input.LA(1)<=MINUS) ) { @@ -7401,7 +7421,7 @@ public class wcpsParser extends Parser { throw mse; } - pushFollow(FOLLOW_numericScalarTerm_in_numericScalarExpr3020); + pushFollow(FOLLOW_numericScalarTerm_in_numericScalarExpr3057); e2=numericScalarTerm(); state._fsp--; @@ -7415,7 +7435,7 @@ public class wcpsParser extends Parser { break; default : - break loop49; + break loop50; } } while (true); @@ -7450,7 +7470,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "numericScalarTerm" - // src/petascope/wcps/grammar/wcps.g:298:1: numericScalarTerm returns [NumericScalarExpr value] : e1= numericScalarFactor (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* ; + // src/petascope/wcps/grammar/wcps.g:300:1: numericScalarTerm returns [NumericScalarExpr value] : e1= numericScalarFactor (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* ; public final wcpsParser.numericScalarTerm_return numericScalarTerm() throws RecognitionException { wcpsParser.numericScalarTerm_return retval = new wcpsParser.numericScalarTerm_return(); retval.start = input.LT(1); @@ -7467,12 +7487,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 59) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:299:2: (e1= numericScalarFactor (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* ) - // src/petascope/wcps/grammar/wcps.g:299:4: e1= numericScalarFactor (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* + // src/petascope/wcps/grammar/wcps.g:301:2: (e1= numericScalarFactor (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* ) + // src/petascope/wcps/grammar/wcps.g:301:4: e1= numericScalarFactor (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_numericScalarFactor_in_numericScalarTerm3039); + pushFollow(FOLLOW_numericScalarFactor_in_numericScalarTerm3076); e1=numericScalarFactor(); state._fsp--; @@ -7481,14 +7501,14 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/petascope/wcps/grammar/wcps.g:300:3: (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* - loop50: + // src/petascope/wcps/grammar/wcps.g:302:3: (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* + loop51: do { - int alt50=2; - alt50 = dfa50.predict(input); - switch (alt50) { + int alt51=2; + alt51 = dfa51.predict(input); + switch (alt51) { case 1 : - // src/petascope/wcps/grammar/wcps.g:300:4: op= ( MULT | DIVIDE ) e2= numericScalarFactor + // src/petascope/wcps/grammar/wcps.g:302:4: op= ( MULT | DIVIDE ) e2= numericScalarFactor { op=(Token)input.LT(1); if ( (input.LA(1)>=MULT && input.LA(1)<=DIVIDE) ) { @@ -7502,7 +7522,7 @@ public class wcpsParser extends Parser { throw mse; } - pushFollow(FOLLOW_numericScalarFactor_in_numericScalarTerm3056); + pushFollow(FOLLOW_numericScalarFactor_in_numericScalarTerm3093); e2=numericScalarFactor(); state._fsp--; @@ -7516,7 +7536,7 @@ public class wcpsParser extends Parser { break; default : - break loop50; + break loop51; } } while (true); @@ -7551,7 +7571,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "numericScalarFactor" - // src/petascope/wcps/grammar/wcps.g:302:1: numericScalarFactor returns [NumericScalarExpr value] : ( LPAREN e1= numericScalarExpr RPAREN | op= MINUS e10= numericScalarFactor | op= ABS LPAREN e12= numericScalarExpr RPAREN | op= SQRT LPAREN e11= numericScalarExpr RPAREN | op= ROUND LPAREN e1= numericScalarExpr RPAREN | e= INTEGERCONSTANT | e= FLOATCONSTANT | e2= complexConstant | e3= condenseExpr | e4= variableName ); + // src/petascope/wcps/grammar/wcps.g:304:1: numericScalarFactor returns [NumericScalarExpr value] : ( LPAREN e1= numericScalarExpr RPAREN | op= MINUS e10= numericScalarFactor | op= ABS LPAREN e12= numericScalarExpr RPAREN | op= SQRT LPAREN e11= numericScalarExpr RPAREN | op= ROUND LPAREN e1= numericScalarExpr RPAREN | e= INTEGERCONSTANT | e= FLOATCONSTANT | e2= complexConstant | e3= condenseExpr | e4= variableName ); public final wcpsParser.numericScalarFactor_return numericScalarFactor() throws RecognitionException { wcpsParser.numericScalarFactor_return retval = new wcpsParser.numericScalarFactor_return(); retval.start = input.LT(1); @@ -7596,27 +7616,27 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 60) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:303:5: ( LPAREN e1= numericScalarExpr RPAREN | op= MINUS e10= numericScalarFactor | op= ABS LPAREN e12= numericScalarExpr RPAREN | op= SQRT LPAREN e11= numericScalarExpr RPAREN | op= ROUND LPAREN e1= numericScalarExpr RPAREN | e= INTEGERCONSTANT | e= FLOATCONSTANT | e2= complexConstant | e3= condenseExpr | e4= variableName ) - int alt51=10; - alt51 = dfa51.predict(input); - switch (alt51) { + // src/petascope/wcps/grammar/wcps.g:305:5: ( LPAREN e1= numericScalarExpr RPAREN | op= MINUS e10= numericScalarFactor | op= ABS LPAREN e12= numericScalarExpr RPAREN | op= SQRT LPAREN e11= numericScalarExpr RPAREN | op= ROUND LPAREN e1= numericScalarExpr RPAREN | e= INTEGERCONSTANT | e= FLOATCONSTANT | e2= complexConstant | e3= condenseExpr | e4= variableName ) + int alt52=10; + alt52 = dfa52.predict(input); + switch (alt52) { case 1 : - // src/petascope/wcps/grammar/wcps.g:303:7: LPAREN e1= numericScalarExpr RPAREN + // src/petascope/wcps/grammar/wcps.g:305:7: LPAREN e1= numericScalarExpr RPAREN { root_0 = (Object)adaptor.nil(); - LPAREN164=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_numericScalarFactor3076); if (state.failed) return retval; + LPAREN164=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_numericScalarFactor3113); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN164_tree = (Object)adaptor.create(LPAREN164); adaptor.addChild(root_0, LPAREN164_tree); } - pushFollow(FOLLOW_numericScalarExpr_in_numericScalarFactor3080); + pushFollow(FOLLOW_numericScalarExpr_in_numericScalarFactor3117); e1=numericScalarExpr(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e1.getTree()); - RPAREN165=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_numericScalarFactor3082); if (state.failed) return retval; + RPAREN165=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_numericScalarFactor3119); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN165_tree = (Object)adaptor.create(RPAREN165); adaptor.addChild(root_0, RPAREN165_tree); @@ -7628,16 +7648,16 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/petascope/wcps/grammar/wcps.g:304:7: op= MINUS e10= numericScalarFactor + // src/petascope/wcps/grammar/wcps.g:306:7: op= MINUS e10= numericScalarFactor { root_0 = (Object)adaptor.nil(); - op=(Token)match(input,MINUS,FOLLOW_MINUS_in_numericScalarFactor3094); if (state.failed) return retval; + op=(Token)match(input,MINUS,FOLLOW_MINUS_in_numericScalarFactor3131); if (state.failed) return retval; if ( state.backtracking==0 ) { op_tree = (Object)adaptor.create(op); adaptor.addChild(root_0, op_tree); } - pushFollow(FOLLOW_numericScalarFactor_in_numericScalarFactor3098); + pushFollow(FOLLOW_numericScalarFactor_in_numericScalarFactor3135); e10=numericScalarFactor(); state._fsp--; @@ -7650,27 +7670,27 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/petascope/wcps/grammar/wcps.g:305:7: op= ABS LPAREN e12= numericScalarExpr RPAREN + // src/petascope/wcps/grammar/wcps.g:307:7: op= ABS LPAREN e12= numericScalarExpr RPAREN { root_0 = (Object)adaptor.nil(); - op=(Token)match(input,ABS,FOLLOW_ABS_in_numericScalarFactor3110); if (state.failed) return retval; + op=(Token)match(input,ABS,FOLLOW_ABS_in_numericScalarFactor3147); if (state.failed) return retval; if ( state.backtracking==0 ) { op_tree = (Object)adaptor.create(op); adaptor.addChild(root_0, op_tree); } - LPAREN166=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_numericScalarFactor3112); if (state.failed) return retval; + LPAREN166=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_numericScalarFactor3149); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN166_tree = (Object)adaptor.create(LPAREN166); adaptor.addChild(root_0, LPAREN166_tree); } - pushFollow(FOLLOW_numericScalarExpr_in_numericScalarFactor3116); + pushFollow(FOLLOW_numericScalarExpr_in_numericScalarFactor3153); e12=numericScalarExpr(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e12.getTree()); - RPAREN167=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_numericScalarFactor3118); if (state.failed) return retval; + RPAREN167=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_numericScalarFactor3155); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN167_tree = (Object)adaptor.create(RPAREN167); adaptor.addChild(root_0, RPAREN167_tree); @@ -7682,27 +7702,27 @@ public class wcpsParser extends Parser { } break; case 4 : - // src/petascope/wcps/grammar/wcps.g:306:7: op= SQRT LPAREN e11= numericScalarExpr RPAREN + // src/petascope/wcps/grammar/wcps.g:308:7: op= SQRT LPAREN e11= numericScalarExpr RPAREN { root_0 = (Object)adaptor.nil(); - op=(Token)match(input,SQRT,FOLLOW_SQRT_in_numericScalarFactor3130); if (state.failed) return retval; + op=(Token)match(input,SQRT,FOLLOW_SQRT_in_numericScalarFactor3167); if (state.failed) return retval; if ( state.backtracking==0 ) { op_tree = (Object)adaptor.create(op); adaptor.addChild(root_0, op_tree); } - LPAREN168=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_numericScalarFactor3132); if (state.failed) return retval; + LPAREN168=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_numericScalarFactor3169); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN168_tree = (Object)adaptor.create(LPAREN168); adaptor.addChild(root_0, LPAREN168_tree); } - pushFollow(FOLLOW_numericScalarExpr_in_numericScalarFactor3136); + pushFollow(FOLLOW_numericScalarExpr_in_numericScalarFactor3173); e11=numericScalarExpr(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e11.getTree()); - RPAREN169=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_numericScalarFactor3138); if (state.failed) return retval; + RPAREN169=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_numericScalarFactor3175); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN169_tree = (Object)adaptor.create(RPAREN169); adaptor.addChild(root_0, RPAREN169_tree); @@ -7714,27 +7734,27 @@ public class wcpsParser extends Parser { } break; case 5 : - // src/petascope/wcps/grammar/wcps.g:307:7: op= ROUND LPAREN e1= numericScalarExpr RPAREN + // src/petascope/wcps/grammar/wcps.g:309:7: op= ROUND LPAREN e1= numericScalarExpr RPAREN { root_0 = (Object)adaptor.nil(); - op=(Token)match(input,ROUND,FOLLOW_ROUND_in_numericScalarFactor3150); if (state.failed) return retval; + op=(Token)match(input,ROUND,FOLLOW_ROUND_in_numericScalarFactor3187); if (state.failed) return retval; if ( state.backtracking==0 ) { op_tree = (Object)adaptor.create(op); adaptor.addChild(root_0, op_tree); } - LPAREN170=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_numericScalarFactor3152); if (state.failed) return retval; + LPAREN170=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_numericScalarFactor3189); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN170_tree = (Object)adaptor.create(LPAREN170); adaptor.addChild(root_0, LPAREN170_tree); } - pushFollow(FOLLOW_numericScalarExpr_in_numericScalarFactor3156); + pushFollow(FOLLOW_numericScalarExpr_in_numericScalarFactor3193); e1=numericScalarExpr(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e1.getTree()); - RPAREN171=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_numericScalarFactor3158); if (state.failed) return retval; + RPAREN171=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_numericScalarFactor3195); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN171_tree = (Object)adaptor.create(RPAREN171); adaptor.addChild(root_0, RPAREN171_tree); @@ -7746,11 +7766,11 @@ public class wcpsParser extends Parser { } break; case 6 : - // src/petascope/wcps/grammar/wcps.g:308:7: e= INTEGERCONSTANT + // src/petascope/wcps/grammar/wcps.g:310:7: e= INTEGERCONSTANT { root_0 = (Object)adaptor.nil(); - e=(Token)match(input,INTEGERCONSTANT,FOLLOW_INTEGERCONSTANT_in_numericScalarFactor3170); if (state.failed) return retval; + e=(Token)match(input,INTEGERCONSTANT,FOLLOW_INTEGERCONSTANT_in_numericScalarFactor3207); if (state.failed) return retval; if ( state.backtracking==0 ) { e_tree = (Object)adaptor.create(e); adaptor.addChild(root_0, e_tree); @@ -7762,11 +7782,11 @@ public class wcpsParser extends Parser { } break; case 7 : - // src/petascope/wcps/grammar/wcps.g:309:7: e= FLOATCONSTANT + // src/petascope/wcps/grammar/wcps.g:311:7: e= FLOATCONSTANT { root_0 = (Object)adaptor.nil(); - e=(Token)match(input,FLOATCONSTANT,FOLLOW_FLOATCONSTANT_in_numericScalarFactor3182); if (state.failed) return retval; + e=(Token)match(input,FLOATCONSTANT,FOLLOW_FLOATCONSTANT_in_numericScalarFactor3219); if (state.failed) return retval; if ( state.backtracking==0 ) { e_tree = (Object)adaptor.create(e); adaptor.addChild(root_0, e_tree); @@ -7778,11 +7798,11 @@ public class wcpsParser extends Parser { } break; case 8 : - // src/petascope/wcps/grammar/wcps.g:310:7: e2= complexConstant + // src/petascope/wcps/grammar/wcps.g:312:7: e2= complexConstant { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_complexConstant_in_numericScalarFactor3194); + pushFollow(FOLLOW_complexConstant_in_numericScalarFactor3231); e2=complexConstant(); state._fsp--; @@ -7795,11 +7815,11 @@ public class wcpsParser extends Parser { } break; case 9 : - // src/petascope/wcps/grammar/wcps.g:311:7: e3= condenseExpr + // src/petascope/wcps/grammar/wcps.g:313:7: e3= condenseExpr { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_condenseExpr_in_numericScalarFactor3206); + pushFollow(FOLLOW_condenseExpr_in_numericScalarFactor3243); e3=condenseExpr(); state._fsp--; @@ -7812,11 +7832,11 @@ public class wcpsParser extends Parser { } break; case 10 : - // src/petascope/wcps/grammar/wcps.g:312:7: e4= variableName + // src/petascope/wcps/grammar/wcps.g:314:7: e4= variableName { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_variableName_in_numericScalarFactor3218); + pushFollow(FOLLOW_variableName_in_numericScalarFactor3255); e4=variableName(); state._fsp--; @@ -7858,7 +7878,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "compOp" - // src/petascope/wcps/grammar/wcps.g:314:1: compOp returns [String value] : ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ); + // src/petascope/wcps/grammar/wcps.g:316:1: compOp returns [String value] : ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ); public final wcpsParser.compOp_return compOp() throws RecognitionException { wcpsParser.compOp_return retval = new wcpsParser.compOp_return(); retval.start = input.LT(1); @@ -7881,54 +7901,54 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 61) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:315:2: ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) - int alt52=6; + // src/petascope/wcps/grammar/wcps.g:317:2: ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) + int alt53=6; switch ( input.LA(1) ) { case EQUALS: { - alt52=1; + alt53=1; } break; case NOTEQUALS: { - alt52=2; + alt53=2; } break; case LT: { - alt52=3; + alt53=3; } break; case GT: { - alt52=4; + alt53=4; } break; case LTE: { - alt52=5; + alt53=5; } break; case GTE: { - alt52=6; + alt53=6; } break; default: if (state.backtracking>0) {state.failed=true; return retval;} NoViableAltException nvae = - new NoViableAltException("", 52, 0, input); + new NoViableAltException("", 53, 0, input); throw nvae; } - switch (alt52) { + switch (alt53) { case 1 : - // src/petascope/wcps/grammar/wcps.g:315:4: EQUALS + // src/petascope/wcps/grammar/wcps.g:317:4: EQUALS { root_0 = (Object)adaptor.nil(); - EQUALS172=(Token)match(input,EQUALS,FOLLOW_EQUALS_in_compOp3236); if (state.failed) return retval; + EQUALS172=(Token)match(input,EQUALS,FOLLOW_EQUALS_in_compOp3273); if (state.failed) return retval; if ( state.backtracking==0 ) { EQUALS172_tree = (Object)adaptor.create(EQUALS172); adaptor.addChild(root_0, EQUALS172_tree); @@ -7940,11 +7960,11 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/petascope/wcps/grammar/wcps.g:316:4: NOTEQUALS + // src/petascope/wcps/grammar/wcps.g:318:4: NOTEQUALS { root_0 = (Object)adaptor.nil(); - NOTEQUALS173=(Token)match(input,NOTEQUALS,FOLLOW_NOTEQUALS_in_compOp3243); if (state.failed) return retval; + NOTEQUALS173=(Token)match(input,NOTEQUALS,FOLLOW_NOTEQUALS_in_compOp3280); if (state.failed) return retval; if ( state.backtracking==0 ) { NOTEQUALS173_tree = (Object)adaptor.create(NOTEQUALS173); adaptor.addChild(root_0, NOTEQUALS173_tree); @@ -7956,11 +7976,11 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/petascope/wcps/grammar/wcps.g:317:4: LT + // src/petascope/wcps/grammar/wcps.g:319:4: LT { root_0 = (Object)adaptor.nil(); - LT174=(Token)match(input,LT,FOLLOW_LT_in_compOp3250); if (state.failed) return retval; + LT174=(Token)match(input,LT,FOLLOW_LT_in_compOp3287); if (state.failed) return retval; if ( state.backtracking==0 ) { LT174_tree = (Object)adaptor.create(LT174); adaptor.addChild(root_0, LT174_tree); @@ -7972,11 +7992,11 @@ public class wcpsParser extends Parser { } break; case 4 : - // src/petascope/wcps/grammar/wcps.g:318:4: GT + // src/petascope/wcps/grammar/wcps.g:320:4: GT { root_0 = (Object)adaptor.nil(); - GT175=(Token)match(input,GT,FOLLOW_GT_in_compOp3257); if (state.failed) return retval; + GT175=(Token)match(input,GT,FOLLOW_GT_in_compOp3294); if (state.failed) return retval; if ( state.backtracking==0 ) { GT175_tree = (Object)adaptor.create(GT175); adaptor.addChild(root_0, GT175_tree); @@ -7988,11 +8008,11 @@ public class wcpsParser extends Parser { } break; case 5 : - // src/petascope/wcps/grammar/wcps.g:319:4: LTE + // src/petascope/wcps/grammar/wcps.g:321:4: LTE { root_0 = (Object)adaptor.nil(); - LTE176=(Token)match(input,LTE,FOLLOW_LTE_in_compOp3264); if (state.failed) return retval; + LTE176=(Token)match(input,LTE,FOLLOW_LTE_in_compOp3301); if (state.failed) return retval; if ( state.backtracking==0 ) { LTE176_tree = (Object)adaptor.create(LTE176); adaptor.addChild(root_0, LTE176_tree); @@ -8004,11 +8024,11 @@ public class wcpsParser extends Parser { } break; case 6 : - // src/petascope/wcps/grammar/wcps.g:320:4: GTE + // src/petascope/wcps/grammar/wcps.g:322:4: GTE { root_0 = (Object)adaptor.nil(); - GTE177=(Token)match(input,GTE,FOLLOW_GTE_in_compOp3271); if (state.failed) return retval; + GTE177=(Token)match(input,GTE,FOLLOW_GTE_in_compOp3308); if (state.failed) return retval; if ( state.backtracking==0 ) { GTE177_tree = (Object)adaptor.create(GTE177); adaptor.addChild(root_0, GTE177_tree); @@ -8049,7 +8069,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "dimensionIntervalList" - // src/petascope/wcps/grammar/wcps.g:322:1: dimensionIntervalList returns [DimensionIntervalList value] : elem= dimensionIntervalElement ( COMMA elem= dimensionIntervalElement )* ; + // src/petascope/wcps/grammar/wcps.g:324:1: dimensionIntervalList returns [DimensionIntervalList value] : elem= dimensionIntervalElement ( COMMA elem= dimensionIntervalElement )* ; public final wcpsParser.dimensionIntervalList_return dimensionIntervalList() throws RecognitionException { wcpsParser.dimensionIntervalList_return retval = new wcpsParser.dimensionIntervalList_return(); retval.start = input.LT(1); @@ -8064,12 +8084,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 62) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:323:5: (elem= dimensionIntervalElement ( COMMA elem= dimensionIntervalElement )* ) - // src/petascope/wcps/grammar/wcps.g:323:7: elem= dimensionIntervalElement ( COMMA elem= dimensionIntervalElement )* + // src/petascope/wcps/grammar/wcps.g:325:5: (elem= dimensionIntervalElement ( COMMA elem= dimensionIntervalElement )* ) + // src/petascope/wcps/grammar/wcps.g:325:7: elem= dimensionIntervalElement ( COMMA elem= dimensionIntervalElement )* { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_dimensionIntervalElement_in_dimensionIntervalList3291); + pushFollow(FOLLOW_dimensionIntervalElement_in_dimensionIntervalList3328); elem=dimensionIntervalElement(); state._fsp--; @@ -8078,33 +8098,33 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new DimensionIntervalList((elem!=null?elem.value:null)); } - // src/petascope/wcps/grammar/wcps.g:324:9: ( COMMA elem= dimensionIntervalElement )* - loop53: + // src/petascope/wcps/grammar/wcps.g:326:9: ( COMMA elem= dimensionIntervalElement )* + loop54: do { - int alt53=2; - int LA53_0 = input.LA(1); + int alt54=2; + int LA54_0 = input.LA(1); - if ( (LA53_0==COMMA) ) { - int LA53_1 = input.LA(2); + if ( (LA54_0==COMMA) ) { + int LA54_1 = input.LA(2); - if ( (LA53_1==INTEGERCONSTANT||LA53_1==STRING||LA53_1==NAME) ) { - alt53=1; + if ( (LA54_1==INTEGERCONSTANT||LA54_1==STRING||LA54_1==NAME) ) { + alt54=1; } } - switch (alt53) { + switch (alt54) { case 1 : - // src/petascope/wcps/grammar/wcps.g:324:10: COMMA elem= dimensionIntervalElement + // src/petascope/wcps/grammar/wcps.g:326:10: COMMA elem= dimensionIntervalElement { - COMMA178=(Token)match(input,COMMA,FOLLOW_COMMA_in_dimensionIntervalList3304); if (state.failed) return retval; + COMMA178=(Token)match(input,COMMA,FOLLOW_COMMA_in_dimensionIntervalList3341); if (state.failed) return retval; if ( state.backtracking==0 ) { COMMA178_tree = (Object)adaptor.create(COMMA178); adaptor.addChild(root_0, COMMA178_tree); } - pushFollow(FOLLOW_dimensionIntervalElement_in_dimensionIntervalList3308); + pushFollow(FOLLOW_dimensionIntervalElement_in_dimensionIntervalList3345); elem=dimensionIntervalElement(); state._fsp--; @@ -8118,7 +8138,7 @@ public class wcpsParser extends Parser { break; default : - break loop53; + break loop54; } } while (true); @@ -8153,7 +8173,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "dimensionIntervalElement" - // src/petascope/wcps/grammar/wcps.g:326:1: dimensionIntervalElement returns [DimensionIntervalElement value] : aname= axisName ( COLON crs= crsName )? LPAREN die= dimensionIntervalExpr RPAREN ; + // src/petascope/wcps/grammar/wcps.g:328:1: dimensionIntervalElement returns [DimensionIntervalElement value] : aname= axisName ( COLON crs= crsName )? LPAREN die= dimensionIntervalExpr RPAREN ; public final wcpsParser.dimensionIntervalElement_return dimensionIntervalElement() throws RecognitionException { wcpsParser.dimensionIntervalElement_return retval = new wcpsParser.dimensionIntervalElement_return(); retval.start = input.LT(1); @@ -8176,12 +8196,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 63) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:327:5: (aname= axisName ( COLON crs= crsName )? LPAREN die= dimensionIntervalExpr RPAREN ) - // src/petascope/wcps/grammar/wcps.g:327:7: aname= axisName ( COLON crs= crsName )? LPAREN die= dimensionIntervalExpr RPAREN + // src/petascope/wcps/grammar/wcps.g:329:5: (aname= axisName ( COLON crs= crsName )? LPAREN die= dimensionIntervalExpr RPAREN ) + // src/petascope/wcps/grammar/wcps.g:329:7: aname= axisName ( COLON crs= crsName )? LPAREN die= dimensionIntervalExpr RPAREN { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_axisName_in_dimensionIntervalElement3333); + pushFollow(FOLLOW_axisName_in_dimensionIntervalElement3370); aname=axisName(); state._fsp--; @@ -8190,23 +8210,23 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new DimensionIntervalElement((aname!=null?aname.value:null)); } - // src/petascope/wcps/grammar/wcps.g:327:79: ( COLON crs= crsName )? - int alt54=2; - int LA54_0 = input.LA(1); + // src/petascope/wcps/grammar/wcps.g:329:79: ( COLON crs= crsName )? + int alt55=2; + int LA55_0 = input.LA(1); - if ( (LA54_0==COLON) ) { - alt54=1; + if ( (LA55_0==COLON) ) { + alt55=1; } - switch (alt54) { + switch (alt55) { case 1 : - // src/petascope/wcps/grammar/wcps.g:327:80: COLON crs= crsName + // src/petascope/wcps/grammar/wcps.g:329:80: COLON crs= crsName { - COLON179=(Token)match(input,COLON,FOLLOW_COLON_in_dimensionIntervalElement3338); if (state.failed) return retval; + COLON179=(Token)match(input,COLON,FOLLOW_COLON_in_dimensionIntervalElement3375); if (state.failed) return retval; if ( state.backtracking==0 ) { COLON179_tree = (Object)adaptor.create(COLON179); adaptor.addChild(root_0, COLON179_tree); } - pushFollow(FOLLOW_crsName_in_dimensionIntervalElement3342); + pushFollow(FOLLOW_crsName_in_dimensionIntervalElement3379); crs=crsName(); state._fsp--; @@ -8221,18 +8241,18 @@ public class wcpsParser extends Parser { } - LPAREN180=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_dimensionIntervalElement3353); if (state.failed) return retval; + LPAREN180=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_dimensionIntervalElement3390); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN180_tree = (Object)adaptor.create(LPAREN180); adaptor.addChild(root_0, LPAREN180_tree); } - pushFollow(FOLLOW_dimensionIntervalExpr_in_dimensionIntervalElement3357); + pushFollow(FOLLOW_dimensionIntervalExpr_in_dimensionIntervalElement3394); die=dimensionIntervalExpr(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, die.getTree()); - RPAREN181=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_dimensionIntervalElement3359); if (state.failed) return retval; + RPAREN181=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_dimensionIntervalElement3396); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN181_tree = (Object)adaptor.create(RPAREN181); adaptor.addChild(root_0, RPAREN181_tree); @@ -8271,7 +8291,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "dimensionIntervalExpr" - // src/petascope/wcps/grammar/wcps.g:330:1: dimensionIntervalExpr returns [DimensionIntervalExpr value] : (e1= scalarExpr COLON e2= scalarExpr | DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN ); + // src/petascope/wcps/grammar/wcps.g:332:1: dimensionIntervalExpr returns [DimensionIntervalExpr value] : (e1= scalarExpr COLON e2= scalarExpr | DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN ); public final wcpsParser.dimensionIntervalExpr_return dimensionIntervalExpr() throws RecognitionException { wcpsParser.dimensionIntervalExpr_return retval = new wcpsParser.dimensionIntervalExpr_return(); retval.start = input.LT(1); @@ -8304,27 +8324,27 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 64) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:331:5: (e1= scalarExpr COLON e2= scalarExpr | DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN ) - int alt55=2; - alt55 = dfa55.predict(input); - switch (alt55) { + // src/petascope/wcps/grammar/wcps.g:333:5: (e1= scalarExpr COLON e2= scalarExpr | DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN ) + int alt56=2; + alt56 = dfa56.predict(input); + switch (alt56) { case 1 : - // src/petascope/wcps/grammar/wcps.g:331:7: e1= scalarExpr COLON e2= scalarExpr + // src/petascope/wcps/grammar/wcps.g:333:7: e1= scalarExpr COLON e2= scalarExpr { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_scalarExpr_in_dimensionIntervalExpr3382); + pushFollow(FOLLOW_scalarExpr_in_dimensionIntervalExpr3419); e1=scalarExpr(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e1.getTree()); - COLON182=(Token)match(input,COLON,FOLLOW_COLON_in_dimensionIntervalExpr3384); if (state.failed) return retval; + COLON182=(Token)match(input,COLON,FOLLOW_COLON_in_dimensionIntervalExpr3421); if (state.failed) return retval; if ( state.backtracking==0 ) { COLON182_tree = (Object)adaptor.create(COLON182); adaptor.addChild(root_0, COLON182_tree); } - pushFollow(FOLLOW_scalarExpr_in_dimensionIntervalExpr3388); + pushFollow(FOLLOW_scalarExpr_in_dimensionIntervalExpr3425); e2=scalarExpr(); state._fsp--; @@ -8337,49 +8357,49 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/petascope/wcps/grammar/wcps.g:332:7: DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN + // src/petascope/wcps/grammar/wcps.g:334:7: DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN { root_0 = (Object)adaptor.nil(); - DOMAIN183=(Token)match(input,DOMAIN,FOLLOW_DOMAIN_in_dimensionIntervalExpr3398); if (state.failed) return retval; + DOMAIN183=(Token)match(input,DOMAIN,FOLLOW_DOMAIN_in_dimensionIntervalExpr3435); if (state.failed) return retval; if ( state.backtracking==0 ) { DOMAIN183_tree = (Object)adaptor.create(DOMAIN183); adaptor.addChild(root_0, DOMAIN183_tree); } - LPAREN184=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_dimensionIntervalExpr3400); if (state.failed) return retval; + LPAREN184=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_dimensionIntervalExpr3437); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN184_tree = (Object)adaptor.create(LPAREN184); adaptor.addChild(root_0, LPAREN184_tree); } - pushFollow(FOLLOW_coverageName_in_dimensionIntervalExpr3404); + pushFollow(FOLLOW_coverageName_in_dimensionIntervalExpr3441); e3=coverageName(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e3.getTree()); - COLON185=(Token)match(input,COLON,FOLLOW_COLON_in_dimensionIntervalExpr3406); if (state.failed) return retval; + COLON185=(Token)match(input,COLON,FOLLOW_COLON_in_dimensionIntervalExpr3443); if (state.failed) return retval; if ( state.backtracking==0 ) { COLON185_tree = (Object)adaptor.create(COLON185); adaptor.addChild(root_0, COLON185_tree); } - pushFollow(FOLLOW_axisName_in_dimensionIntervalExpr3410); + pushFollow(FOLLOW_axisName_in_dimensionIntervalExpr3447); e4=axisName(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e4.getTree()); - COLON186=(Token)match(input,COLON,FOLLOW_COLON_in_dimensionIntervalExpr3412); if (state.failed) return retval; + COLON186=(Token)match(input,COLON,FOLLOW_COLON_in_dimensionIntervalExpr3449); if (state.failed) return retval; if ( state.backtracking==0 ) { COLON186_tree = (Object)adaptor.create(COLON186); adaptor.addChild(root_0, COLON186_tree); } - pushFollow(FOLLOW_crsName_in_dimensionIntervalExpr3416); + pushFollow(FOLLOW_crsName_in_dimensionIntervalExpr3453); e5=crsName(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e5.getTree()); - RPAREN187=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_dimensionIntervalExpr3418); if (state.failed) return retval; + RPAREN187=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_dimensionIntervalExpr3455); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN187_tree = (Object)adaptor.create(RPAREN187); adaptor.addChild(root_0, RPAREN187_tree); @@ -8420,7 +8440,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "dimensionPointList" - // src/petascope/wcps/grammar/wcps.g:334:1: dimensionPointList returns [DimensionPointList value] : elem1= dimensionPointElement ( COMMA elem2= dimensionPointElement )* ; + // src/petascope/wcps/grammar/wcps.g:336:1: dimensionPointList returns [DimensionPointList value] : elem1= dimensionPointElement ( COMMA elem2= dimensionPointElement )* ; public final wcpsParser.dimensionPointList_return dimensionPointList() throws RecognitionException { wcpsParser.dimensionPointList_return retval = new wcpsParser.dimensionPointList_return(); retval.start = input.LT(1); @@ -8437,12 +8457,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 65) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:335:5: (elem1= dimensionPointElement ( COMMA elem2= dimensionPointElement )* ) - // src/petascope/wcps/grammar/wcps.g:335:7: elem1= dimensionPointElement ( COMMA elem2= dimensionPointElement )* + // src/petascope/wcps/grammar/wcps.g:337:5: (elem1= dimensionPointElement ( COMMA elem2= dimensionPointElement )* ) + // src/petascope/wcps/grammar/wcps.g:337:7: elem1= dimensionPointElement ( COMMA elem2= dimensionPointElement )* { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_dimensionPointElement_in_dimensionPointList3441); + pushFollow(FOLLOW_dimensionPointElement_in_dimensionPointList3478); elem1=dimensionPointElement(); state._fsp--; @@ -8451,27 +8471,27 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new DimensionPointList((elem1!=null?elem1.value:null)); } - // src/petascope/wcps/grammar/wcps.g:336:6: ( COMMA elem2= dimensionPointElement )* - loop56: + // src/petascope/wcps/grammar/wcps.g:338:6: ( COMMA elem2= dimensionPointElement )* + loop57: do { - int alt56=2; - int LA56_0 = input.LA(1); + int alt57=2; + int LA57_0 = input.LA(1); - if ( (LA56_0==COMMA) ) { - alt56=1; + if ( (LA57_0==COMMA) ) { + alt57=1; } - switch (alt56) { + switch (alt57) { case 1 : - // src/petascope/wcps/grammar/wcps.g:336:7: COMMA elem2= dimensionPointElement + // src/petascope/wcps/grammar/wcps.g:338:7: COMMA elem2= dimensionPointElement { - COMMA188=(Token)match(input,COMMA,FOLLOW_COMMA_in_dimensionPointList3451); if (state.failed) return retval; + COMMA188=(Token)match(input,COMMA,FOLLOW_COMMA_in_dimensionPointList3488); if (state.failed) return retval; if ( state.backtracking==0 ) { COMMA188_tree = (Object)adaptor.create(COMMA188); adaptor.addChild(root_0, COMMA188_tree); } - pushFollow(FOLLOW_dimensionPointElement_in_dimensionPointList3455); + pushFollow(FOLLOW_dimensionPointElement_in_dimensionPointList3492); elem2=dimensionPointElement(); state._fsp--; @@ -8485,7 +8505,7 @@ public class wcpsParser extends Parser { break; default : - break loop56; + break loop57; } } while (true); @@ -8520,7 +8540,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "dimensionPointElement" - // src/petascope/wcps/grammar/wcps.g:338:1: dimensionPointElement returns [DimensionPointElement value] : (aname= axisName LPAREN dpe= dimensionPoint RPAREN | aname= axisName COLON crs= crsName LPAREN dpe= dimensionPoint RPAREN ); + // src/petascope/wcps/grammar/wcps.g:340:1: dimensionPointElement returns [DimensionPointElement value] : (aname= axisName LPAREN dpe= dimensionPoint RPAREN | aname= axisName COLON crs= crsName LPAREN dpe= dimensionPoint RPAREN ); public final wcpsParser.dimensionPointElement_return dimensionPointElement() throws RecognitionException { wcpsParser.dimensionPointElement_return retval = new wcpsParser.dimensionPointElement_return(); retval.start = input.LT(1); @@ -8547,23 +8567,23 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 66) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:339:5: (aname= axisName LPAREN dpe= dimensionPoint RPAREN | aname= axisName COLON crs= crsName LPAREN dpe= dimensionPoint RPAREN ) - int alt57=2; - int LA57_0 = input.LA(1); + // src/petascope/wcps/grammar/wcps.g:341:5: (aname= axisName LPAREN dpe= dimensionPoint RPAREN | aname= axisName COLON crs= crsName LPAREN dpe= dimensionPoint RPAREN ) + int alt58=2; + int LA58_0 = input.LA(1); - if ( (LA57_0==INTEGERCONSTANT||LA57_0==STRING||LA57_0==NAME) ) { - int LA57_1 = input.LA(2); + if ( (LA58_0==INTEGERCONSTANT||LA58_0==STRING||LA58_0==NAME) ) { + int LA58_1 = input.LA(2); - if ( (LA57_1==COLON) ) { - alt57=2; + if ( (LA58_1==LPAREN) ) { + alt58=1; } - else if ( (LA57_1==LPAREN) ) { - alt57=1; + else if ( (LA58_1==COLON) ) { + alt58=2; } else { if (state.backtracking>0) {state.failed=true; return retval;} NoViableAltException nvae = - new NoViableAltException("", 57, 1, input); + new NoViableAltException("", 58, 1, input); throw nvae; } @@ -8571,34 +8591,34 @@ public class wcpsParser extends Parser { else { if (state.backtracking>0) {state.failed=true; return retval;} NoViableAltException nvae = - new NoViableAltException("", 57, 0, input); + new NoViableAltException("", 58, 0, input); throw nvae; } - switch (alt57) { + switch (alt58) { case 1 : - // src/petascope/wcps/grammar/wcps.g:339:7: aname= axisName LPAREN dpe= dimensionPoint RPAREN + // src/petascope/wcps/grammar/wcps.g:341:7: aname= axisName LPAREN dpe= dimensionPoint RPAREN { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_axisName_in_dimensionPointElement3480); + pushFollow(FOLLOW_axisName_in_dimensionPointElement3517); aname=axisName(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, aname.getTree()); - LPAREN189=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_dimensionPointElement3482); if (state.failed) return retval; + LPAREN189=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_dimensionPointElement3519); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN189_tree = (Object)adaptor.create(LPAREN189); adaptor.addChild(root_0, LPAREN189_tree); } - pushFollow(FOLLOW_dimensionPoint_in_dimensionPointElement3486); + pushFollow(FOLLOW_dimensionPoint_in_dimensionPointElement3523); dpe=dimensionPoint(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, dpe.getTree()); - RPAREN190=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_dimensionPointElement3488); if (state.failed) return retval; + RPAREN190=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_dimensionPointElement3525); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN190_tree = (Object)adaptor.create(RPAREN190); adaptor.addChild(root_0, RPAREN190_tree); @@ -8610,39 +8630,39 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/petascope/wcps/grammar/wcps.g:340:7: aname= axisName COLON crs= crsName LPAREN dpe= dimensionPoint RPAREN + // src/petascope/wcps/grammar/wcps.g:342:7: aname= axisName COLON crs= crsName LPAREN dpe= dimensionPoint RPAREN { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_axisName_in_dimensionPointElement3500); + pushFollow(FOLLOW_axisName_in_dimensionPointElement3537); aname=axisName(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, aname.getTree()); - COLON191=(Token)match(input,COLON,FOLLOW_COLON_in_dimensionPointElement3502); if (state.failed) return retval; + COLON191=(Token)match(input,COLON,FOLLOW_COLON_in_dimensionPointElement3539); if (state.failed) return retval; if ( state.backtracking==0 ) { COLON191_tree = (Object)adaptor.create(COLON191); adaptor.addChild(root_0, COLON191_tree); } - pushFollow(FOLLOW_crsName_in_dimensionPointElement3506); + pushFollow(FOLLOW_crsName_in_dimensionPointElement3543); crs=crsName(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, crs.getTree()); - LPAREN192=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_dimensionPointElement3508); if (state.failed) return retval; + LPAREN192=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_dimensionPointElement3545); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN192_tree = (Object)adaptor.create(LPAREN192); adaptor.addChild(root_0, LPAREN192_tree); } - pushFollow(FOLLOW_dimensionPoint_in_dimensionPointElement3512); + pushFollow(FOLLOW_dimensionPoint_in_dimensionPointElement3549); dpe=dimensionPoint(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, dpe.getTree()); - RPAREN193=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_dimensionPointElement3514); if (state.failed) return retval; + RPAREN193=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_dimensionPointElement3551); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN193_tree = (Object)adaptor.create(RPAREN193); adaptor.addChild(root_0, RPAREN193_tree); @@ -8683,7 +8703,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "dimensionPoint" - // src/petascope/wcps/grammar/wcps.g:342:1: dimensionPoint returns [ScalarExpr value] : e1= scalarExpr ; + // src/petascope/wcps/grammar/wcps.g:344:1: dimensionPoint returns [ScalarExpr value] : e1= scalarExpr ; public final wcpsParser.dimensionPoint_return dimensionPoint() throws RecognitionException { wcpsParser.dimensionPoint_return retval = new wcpsParser.dimensionPoint_return(); retval.start = input.LT(1); @@ -8696,12 +8716,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 67) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:343:5: (e1= scalarExpr ) - // src/petascope/wcps/grammar/wcps.g:343:7: e1= scalarExpr + // src/petascope/wcps/grammar/wcps.g:345:5: (e1= scalarExpr ) + // src/petascope/wcps/grammar/wcps.g:345:7: e1= scalarExpr { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_scalarExpr_in_dimensionPoint3537); + pushFollow(FOLLOW_scalarExpr_in_dimensionPoint3574); e1=scalarExpr(); state._fsp--; @@ -8741,7 +8761,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "interpolationMethod" - // src/petascope/wcps/grammar/wcps.g:345:1: interpolationMethod returns [InterpolationMethod value] : LPAREN type= interpolationType COLON res= nullResistence RPAREN ; + // src/petascope/wcps/grammar/wcps.g:347:1: interpolationMethod returns [InterpolationMethod value] : LPAREN type= interpolationType COLON res= nullResistence RPAREN ; public final wcpsParser.interpolationMethod_return interpolationMethod() throws RecognitionException { wcpsParser.interpolationMethod_return retval = new wcpsParser.interpolationMethod_return(); retval.start = input.LT(1); @@ -8762,34 +8782,34 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 68) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:346:2: ( LPAREN type= interpolationType COLON res= nullResistence RPAREN ) - // src/petascope/wcps/grammar/wcps.g:346:4: LPAREN type= interpolationType COLON res= nullResistence RPAREN + // src/petascope/wcps/grammar/wcps.g:348:2: ( LPAREN type= interpolationType COLON res= nullResistence RPAREN ) + // src/petascope/wcps/grammar/wcps.g:348:4: LPAREN type= interpolationType COLON res= nullResistence RPAREN { root_0 = (Object)adaptor.nil(); - LPAREN194=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_interpolationMethod3555); if (state.failed) return retval; + LPAREN194=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_interpolationMethod3592); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN194_tree = (Object)adaptor.create(LPAREN194); adaptor.addChild(root_0, LPAREN194_tree); } - pushFollow(FOLLOW_interpolationType_in_interpolationMethod3559); + pushFollow(FOLLOW_interpolationType_in_interpolationMethod3596); type=interpolationType(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, type.getTree()); - COLON195=(Token)match(input,COLON,FOLLOW_COLON_in_interpolationMethod3561); if (state.failed) return retval; + COLON195=(Token)match(input,COLON,FOLLOW_COLON_in_interpolationMethod3598); if (state.failed) return retval; if ( state.backtracking==0 ) { COLON195_tree = (Object)adaptor.create(COLON195); adaptor.addChild(root_0, COLON195_tree); } - pushFollow(FOLLOW_nullResistence_in_interpolationMethod3565); + pushFollow(FOLLOW_nullResistence_in_interpolationMethod3602); res=nullResistence(); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, res.getTree()); - RPAREN196=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_interpolationMethod3567); if (state.failed) return retval; + RPAREN196=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_interpolationMethod3604); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN196_tree = (Object)adaptor.create(RPAREN196); adaptor.addChild(root_0, RPAREN196_tree); @@ -8828,7 +8848,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "interpolationType" - // src/petascope/wcps/grammar/wcps.g:348:1: interpolationType returns [String value] : type= ( NEAREST | LINEAR | QUADRATIC | CUBIC ) ; + // src/petascope/wcps/grammar/wcps.g:350:1: interpolationType returns [String value] : type= ( NEAREST | LINEAR | QUADRATIC | CUBIC ) ; public final wcpsParser.interpolationType_return interpolationType() throws RecognitionException { wcpsParser.interpolationType_return retval = new wcpsParser.interpolationType_return(); retval.start = input.LT(1); @@ -8841,8 +8861,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 69) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:349:2: (type= ( NEAREST | LINEAR | QUADRATIC | CUBIC ) ) - // src/petascope/wcps/grammar/wcps.g:349:4: type= ( NEAREST | LINEAR | QUADRATIC | CUBIC ) + // src/petascope/wcps/grammar/wcps.g:351:2: (type= ( NEAREST | LINEAR | QUADRATIC | CUBIC ) ) + // src/petascope/wcps/grammar/wcps.g:351:4: type= ( NEAREST | LINEAR | QUADRATIC | CUBIC ) { root_0 = (Object)adaptor.nil(); @@ -8892,7 +8912,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "nullResistence" - // src/petascope/wcps/grammar/wcps.g:351:1: nullResistence returns [String value] : resistance= ( FULL | NONE | HALF | OTHER ) ; + // src/petascope/wcps/grammar/wcps.g:353:1: nullResistence returns [String value] : resistance= ( FULL | NONE | HALF | OTHER ) ; public final wcpsParser.nullResistence_return nullResistence() throws RecognitionException { wcpsParser.nullResistence_return retval = new wcpsParser.nullResistence_return(); retval.start = input.LT(1); @@ -8905,8 +8925,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 70) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:352:2: (resistance= ( FULL | NONE | HALF | OTHER ) ) - // src/petascope/wcps/grammar/wcps.g:352:4: resistance= ( FULL | NONE | HALF | OTHER ) + // src/petascope/wcps/grammar/wcps.g:354:2: (resistance= ( FULL | NONE | HALF | OTHER ) ) + // src/petascope/wcps/grammar/wcps.g:354:4: resistance= ( FULL | NONE | HALF | OTHER ) { root_0 = (Object)adaptor.nil(); @@ -8956,7 +8976,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "condenseOpType" - // src/petascope/wcps/grammar/wcps.g:354:1: condenseOpType returns [CondenseOperation value] : op= ( PLUS | MULT | MAX | MIN | AND | OR ) ; + // src/petascope/wcps/grammar/wcps.g:356:1: condenseOpType returns [CondenseOperation value] : op= ( PLUS | MULT | MAX | MIN | AND | OR ) ; public final wcpsParser.condenseOpType_return condenseOpType() throws RecognitionException { wcpsParser.condenseOpType_return retval = new wcpsParser.condenseOpType_return(); retval.start = input.LT(1); @@ -8969,8 +8989,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 71) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:355:2: (op= ( PLUS | MULT | MAX | MIN | AND | OR ) ) - // src/petascope/wcps/grammar/wcps.g:355:4: op= ( PLUS | MULT | MAX | MIN | AND | OR ) + // src/petascope/wcps/grammar/wcps.g:357:2: (op= ( PLUS | MULT | MAX | MIN | AND | OR ) ) + // src/petascope/wcps/grammar/wcps.g:357:4: op= ( PLUS | MULT | MAX | MIN | AND | OR ) { root_0 = (Object)adaptor.nil(); @@ -9020,7 +9040,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "fieldName" - // src/petascope/wcps/grammar/wcps.g:357:1: fieldName returns [String value] : name ; + // src/petascope/wcps/grammar/wcps.g:359:1: fieldName returns [String value] : name ; public final wcpsParser.fieldName_return fieldName() throws RecognitionException { wcpsParser.fieldName_return retval = new wcpsParser.fieldName_return(); retval.start = input.LT(1); @@ -9033,12 +9053,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 72) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:358:2: ( name ) - // src/petascope/wcps/grammar/wcps.g:358:4: name + // src/petascope/wcps/grammar/wcps.g:360:2: ( name ) + // src/petascope/wcps/grammar/wcps.g:360:4: name { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_name_in_fieldName3661); + pushFollow(FOLLOW_name_in_fieldName3698); name197=name(); state._fsp--; @@ -9078,7 +9098,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "constant" - // src/petascope/wcps/grammar/wcps.g:360:1: constant returns [String value] : (e= ( STRING | BOOLEANCONSTANT | INTEGERCONSTANT | FLOATCONSTANT ) | e1= complexConstant ); + // src/petascope/wcps/grammar/wcps.g:362:1: constant returns [String value] : (e= ( STRING | BOOLEANCONSTANT | INTEGERCONSTANT | FLOATCONSTANT ) | e1= complexConstant ); public final wcpsParser.constant_return constant() throws RecognitionException { wcpsParser.constant_return retval = new wcpsParser.constant_return(); retval.start = input.LT(1); @@ -9093,26 +9113,26 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 73) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:361:2: (e= ( STRING | BOOLEANCONSTANT | INTEGERCONSTANT | FLOATCONSTANT ) | e1= complexConstant ) - int alt58=2; - int LA58_0 = input.LA(1); + // src/petascope/wcps/grammar/wcps.g:363:2: (e= ( STRING | BOOLEANCONSTANT | INTEGERCONSTANT | FLOATCONSTANT ) | e1= complexConstant ) + int alt59=2; + int LA59_0 = input.LA(1); - if ( (LA58_0==INTEGERCONSTANT||LA58_0==STRING||(LA58_0>=BOOLEANCONSTANT && LA58_0<=FLOATCONSTANT)) ) { - alt58=1; + if ( (LA59_0==INTEGERCONSTANT||LA59_0==STRING||(LA59_0>=BOOLEANCONSTANT && LA59_0<=FLOATCONSTANT)) ) { + alt59=1; } - else if ( (LA58_0==LPAREN) ) { - alt58=2; + else if ( (LA59_0==LPAREN) ) { + alt59=2; } else { if (state.backtracking>0) {state.failed=true; return retval;} NoViableAltException nvae = - new NoViableAltException("", 58, 0, input); + new NoViableAltException("", 59, 0, input); throw nvae; } - switch (alt58) { + switch (alt59) { case 1 : - // src/petascope/wcps/grammar/wcps.g:361:4: e= ( STRING | BOOLEANCONSTANT | INTEGERCONSTANT | FLOATCONSTANT ) + // src/petascope/wcps/grammar/wcps.g:363:4: e= ( STRING | BOOLEANCONSTANT | INTEGERCONSTANT | FLOATCONSTANT ) { root_0 = (Object)adaptor.nil(); @@ -9135,11 +9155,11 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/petascope/wcps/grammar/wcps.g:362:4: e1= complexConstant + // src/petascope/wcps/grammar/wcps.g:364:4: e1= complexConstant { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_complexConstant_in_constant3695); + pushFollow(FOLLOW_complexConstant_in_constant3732); e1=complexConstant(); state._fsp--; @@ -9181,7 +9201,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "complexConstant" - // src/petascope/wcps/grammar/wcps.g:364:1: complexConstant returns [String value] : LPAREN re1= FLOATCONSTANT COMMA im1= FLOATCONSTANT RPAREN ; + // src/petascope/wcps/grammar/wcps.g:366:1: complexConstant returns [String value] : LPAREN re1= FLOATCONSTANT COMMA im1= FLOATCONSTANT RPAREN ; public final wcpsParser.complexConstant_return complexConstant() throws RecognitionException { wcpsParser.complexConstant_return retval = new wcpsParser.complexConstant_return(); retval.start = input.LT(1); @@ -9202,32 +9222,32 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 74) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:365:2: ( LPAREN re1= FLOATCONSTANT COMMA im1= FLOATCONSTANT RPAREN ) - // src/petascope/wcps/grammar/wcps.g:365:4: LPAREN re1= FLOATCONSTANT COMMA im1= FLOATCONSTANT RPAREN + // src/petascope/wcps/grammar/wcps.g:367:2: ( LPAREN re1= FLOATCONSTANT COMMA im1= FLOATCONSTANT RPAREN ) + // src/petascope/wcps/grammar/wcps.g:367:4: LPAREN re1= FLOATCONSTANT COMMA im1= FLOATCONSTANT RPAREN { root_0 = (Object)adaptor.nil(); - LPAREN198=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_complexConstant3710); if (state.failed) return retval; + LPAREN198=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_complexConstant3747); if (state.failed) return retval; if ( state.backtracking==0 ) { LPAREN198_tree = (Object)adaptor.create(LPAREN198); adaptor.addChild(root_0, LPAREN198_tree); } - re1=(Token)match(input,FLOATCONSTANT,FOLLOW_FLOATCONSTANT_in_complexConstant3714); if (state.failed) return retval; + re1=(Token)match(input,FLOATCONSTANT,FOLLOW_FLOATCONSTANT_in_complexConstant3751); if (state.failed) return retval; if ( state.backtracking==0 ) { re1_tree = (Object)adaptor.create(re1); adaptor.addChild(root_0, re1_tree); } - COMMA199=(Token)match(input,COMMA,FOLLOW_COMMA_in_complexConstant3716); if (state.failed) return retval; + COMMA199=(Token)match(input,COMMA,FOLLOW_COMMA_in_complexConstant3753); if (state.failed) return retval; if ( state.backtracking==0 ) { COMMA199_tree = (Object)adaptor.create(COMMA199); adaptor.addChild(root_0, COMMA199_tree); } - im1=(Token)match(input,FLOATCONSTANT,FOLLOW_FLOATCONSTANT_in_complexConstant3720); if (state.failed) return retval; + im1=(Token)match(input,FLOATCONSTANT,FOLLOW_FLOATCONSTANT_in_complexConstant3757); if (state.failed) return retval; if ( state.backtracking==0 ) { im1_tree = (Object)adaptor.create(im1); adaptor.addChild(root_0, im1_tree); } - RPAREN200=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_complexConstant3722); if (state.failed) return retval; + RPAREN200=(Token)match(input,RPAREN,FOLLOW_RPAREN_in_complexConstant3759); if (state.failed) return retval; if ( state.backtracking==0 ) { RPAREN200_tree = (Object)adaptor.create(RPAREN200); adaptor.addChild(root_0, RPAREN200_tree); @@ -9266,7 +9286,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "stringConstant" - // src/petascope/wcps/grammar/wcps.g:367:1: stringConstant returns [String value] : s= STRING ; + // src/petascope/wcps/grammar/wcps.g:369:1: stringConstant returns [String value] : s= STRING ; public final wcpsParser.stringConstant_return stringConstant() throws RecognitionException { wcpsParser.stringConstant_return retval = new wcpsParser.stringConstant_return(); retval.start = input.LT(1); @@ -9279,12 +9299,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 75) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:368:2: (s= STRING ) - // src/petascope/wcps/grammar/wcps.g:368:4: s= STRING + // src/petascope/wcps/grammar/wcps.g:370:2: (s= STRING ) + // src/petascope/wcps/grammar/wcps.g:370:4: s= STRING { root_0 = (Object)adaptor.nil(); - s=(Token)match(input,STRING,FOLLOW_STRING_in_stringConstant3739); if (state.failed) return retval; + s=(Token)match(input,STRING,FOLLOW_STRING_in_stringConstant3776); if (state.failed) return retval; if ( state.backtracking==0 ) { s_tree = (Object)adaptor.create(s); adaptor.addChild(root_0, s_tree); @@ -9323,7 +9343,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "name" - // src/petascope/wcps/grammar/wcps.g:370:1: name returns [String value] : var= ( NAME | STRING | INTEGERCONSTANT ) ; + // src/petascope/wcps/grammar/wcps.g:372:1: name returns [String value] : var= ( NAME | STRING | INTEGERCONSTANT ) ; public final wcpsParser.name_return name() throws RecognitionException { wcpsParser.name_return retval = new wcpsParser.name_return(); retval.start = input.LT(1); @@ -9336,8 +9356,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 76) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:371:2: (var= ( NAME | STRING | INTEGERCONSTANT ) ) - // src/petascope/wcps/grammar/wcps.g:371:4: var= ( NAME | STRING | INTEGERCONSTANT ) + // src/petascope/wcps/grammar/wcps.g:373:2: (var= ( NAME | STRING | INTEGERCONSTANT ) ) + // src/petascope/wcps/grammar/wcps.g:373:4: var= ( NAME | STRING | INTEGERCONSTANT ) { root_0 = (Object)adaptor.nil(); @@ -9387,7 +9407,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "crsName" - // src/petascope/wcps/grammar/wcps.g:373:1: crsName returns [String value] : s= stringConstant ; + // src/petascope/wcps/grammar/wcps.g:375:1: crsName returns [String value] : s= stringConstant ; public final wcpsParser.crsName_return crsName() throws RecognitionException { wcpsParser.crsName_return retval = new wcpsParser.crsName_return(); retval.start = input.LT(1); @@ -9400,12 +9420,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 77) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:374:2: (s= stringConstant ) - // src/petascope/wcps/grammar/wcps.g:374:4: s= stringConstant + // src/petascope/wcps/grammar/wcps.g:376:2: (s= stringConstant ) + // src/petascope/wcps/grammar/wcps.g:376:4: s= stringConstant { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_stringConstant_in_crsName3783); + pushFollow(FOLLOW_stringConstant_in_crsName3820); s=stringConstant(); state._fsp--; @@ -9445,7 +9465,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "axisName" - // src/petascope/wcps/grammar/wcps.g:376:1: axisName returns [String value] : type1= name ; + // src/petascope/wcps/grammar/wcps.g:378:1: axisName returns [String value] : type1= name ; public final wcpsParser.axisName_return axisName() throws RecognitionException { wcpsParser.axisName_return retval = new wcpsParser.axisName_return(); retval.start = input.LT(1); @@ -9458,12 +9478,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 78) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:377:2: (type1= name ) - // src/petascope/wcps/grammar/wcps.g:377:4: type1= name + // src/petascope/wcps/grammar/wcps.g:379:2: (type1= name ) + // src/petascope/wcps/grammar/wcps.g:379:4: type1= name { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_name_in_axisName3800); + pushFollow(FOLLOW_name_in_axisName3837); type1=name(); state._fsp--; @@ -9503,7 +9523,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "variableName" - // src/petascope/wcps/grammar/wcps.g:379:1: variableName returns [String value] : var= VARIABLE_DOLLAR ; + // src/petascope/wcps/grammar/wcps.g:381:1: variableName returns [String value] : var= VARIABLE_DOLLAR ; public final wcpsParser.variableName_return variableName() throws RecognitionException { wcpsParser.variableName_return retval = new wcpsParser.variableName_return(); retval.start = input.LT(1); @@ -9516,12 +9536,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 79) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:380:2: (var= VARIABLE_DOLLAR ) - // src/petascope/wcps/grammar/wcps.g:380:4: var= VARIABLE_DOLLAR + // src/petascope/wcps/grammar/wcps.g:382:2: (var= VARIABLE_DOLLAR ) + // src/petascope/wcps/grammar/wcps.g:382:4: var= VARIABLE_DOLLAR { root_0 = (Object)adaptor.nil(); - var=(Token)match(input,VARIABLE_DOLLAR,FOLLOW_VARIABLE_DOLLAR_in_variableName3817); if (state.failed) return retval; + var=(Token)match(input,VARIABLE_DOLLAR,FOLLOW_VARIABLE_DOLLAR_in_variableName3854); if (state.failed) return retval; if ( state.backtracking==0 ) { var_tree = (Object)adaptor.create(var); adaptor.addChild(root_0, var_tree); @@ -9560,7 +9580,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageVariable" - // src/petascope/wcps/grammar/wcps.g:382:1: coverageVariable returns [String value] : var= NAME ; + // src/petascope/wcps/grammar/wcps.g:384:1: coverageVariable returns [String value] : var= NAME ; public final wcpsParser.coverageVariable_return coverageVariable() throws RecognitionException { wcpsParser.coverageVariable_return retval = new wcpsParser.coverageVariable_return(); retval.start = input.LT(1); @@ -9573,12 +9593,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 80) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:383:2: (var= NAME ) - // src/petascope/wcps/grammar/wcps.g:383:4: var= NAME + // src/petascope/wcps/grammar/wcps.g:385:2: (var= NAME ) + // src/petascope/wcps/grammar/wcps.g:385:4: var= NAME { root_0 = (Object)adaptor.nil(); - var=(Token)match(input,NAME,FOLLOW_NAME_in_coverageVariable3834); if (state.failed) return retval; + var=(Token)match(input,NAME,FOLLOW_NAME_in_coverageVariable3871); if (state.failed) return retval; if ( state.backtracking==0 ) { var_tree = (Object)adaptor.create(var); adaptor.addChild(root_0, var_tree); @@ -9617,7 +9637,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageName" - // src/petascope/wcps/grammar/wcps.g:385:1: coverageName returns [String value] : name ; + // src/petascope/wcps/grammar/wcps.g:387:1: coverageName returns [String value] : name ; public final wcpsParser.coverageName_return coverageName() throws RecognitionException { wcpsParser.coverageName_return retval = new wcpsParser.coverageName_return(); retval.start = input.LT(1); @@ -9630,12 +9650,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 81) ) { return retval; } - // src/petascope/wcps/grammar/wcps.g:386:2: ( name ) - // src/petascope/wcps/grammar/wcps.g:386:4: name + // src/petascope/wcps/grammar/wcps.g:388:2: ( name ) + // src/petascope/wcps/grammar/wcps.g:388:4: name { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_name_in_coverageName3849); + pushFollow(FOLLOW_name_in_coverageName3886); name201=name(); state._fsp--; @@ -10082,15 +10102,15 @@ public class wcpsParser extends Parser { } // $ANTLR end synpred74_wcps - // $ANTLR start synpred99_wcps - public final void synpred99_wcps_fragment() throws RecognitionException { + // $ANTLR start synpred100_wcps + public final void synpred100_wcps_fragment() throws RecognitionException { wcpsParser.trimExpr_return e1 = null; - // src/petascope/wcps/grammar/wcps.g:249:4: (e1= trimExpr ) - // src/petascope/wcps/grammar/wcps.g:249:4: e1= trimExpr + // src/petascope/wcps/grammar/wcps.g:251:4: (e1= trimExpr ) + // src/petascope/wcps/grammar/wcps.g:251:4: e1= trimExpr { - pushFollow(FOLLOW_trimExpr_in_synpred99_wcps2538); + pushFollow(FOLLOW_trimExpr_in_synpred100_wcps2575); e1=trimExpr(); state._fsp--; @@ -10098,17 +10118,17 @@ public class wcpsParser extends Parser { } } - // $ANTLR end synpred99_wcps + // $ANTLR end synpred100_wcps - // $ANTLR start synpred100_wcps - public final void synpred100_wcps_fragment() throws RecognitionException { + // $ANTLR start synpred101_wcps + public final void synpred101_wcps_fragment() throws RecognitionException { wcpsParser.sliceExpr_return e2 = null; - // src/petascope/wcps/grammar/wcps.g:250:4: (e2= sliceExpr ) - // src/petascope/wcps/grammar/wcps.g:250:4: e2= sliceExpr + // src/petascope/wcps/grammar/wcps.g:252:4: (e2= sliceExpr ) + // src/petascope/wcps/grammar/wcps.g:252:4: e2= sliceExpr { - pushFollow(FOLLOW_sliceExpr_in_synpred100_wcps2547); + pushFollow(FOLLOW_sliceExpr_in_synpred101_wcps2584); e2=sliceExpr(); state._fsp--; @@ -10116,16 +10136,16 @@ public class wcpsParser extends Parser { } } - // $ANTLR end synpred100_wcps + // $ANTLR end synpred101_wcps - // $ANTLR start synpred114_wcps - public final void synpred114_wcps_fragment() throws RecognitionException { + // $ANTLR start synpred115_wcps + public final void synpred115_wcps_fragment() throws RecognitionException { Token op=null; wcpsParser.booleanScalarTerm_return e2 = null; - // src/petascope/wcps/grammar/wcps.g:278:8: (op= ( OR | XOR ) e2= booleanScalarTerm ) - // src/petascope/wcps/grammar/wcps.g:278:8: op= ( OR | XOR ) e2= booleanScalarTerm + // src/petascope/wcps/grammar/wcps.g:280:8: (op= ( OR | XOR ) e2= booleanScalarTerm ) + // src/petascope/wcps/grammar/wcps.g:280:8: op= ( OR | XOR ) e2= booleanScalarTerm { op=(Token)input.LT(1); if ( (input.LA(1)>=OR && input.LA(1)<=XOR) ) { @@ -10138,7 +10158,7 @@ public class wcpsParser extends Parser { throw mse; } - pushFollow(FOLLOW_booleanScalarTerm_in_synpred114_wcps2849); + pushFollow(FOLLOW_booleanScalarTerm_in_synpred115_wcps2886); e2=booleanScalarTerm(); state._fsp--; @@ -10146,19 +10166,19 @@ public class wcpsParser extends Parser { } } - // $ANTLR end synpred114_wcps + // $ANTLR end synpred115_wcps - // $ANTLR start synpred115_wcps - public final void synpred115_wcps_fragment() throws RecognitionException { + // $ANTLR start synpred116_wcps + public final void synpred116_wcps_fragment() throws RecognitionException { Token op=null; wcpsParser.booleanScalarNegation_return e2 = null; - // src/petascope/wcps/grammar/wcps.g:282:5: (op= AND e2= booleanScalarNegation ) - // src/petascope/wcps/grammar/wcps.g:282:5: op= AND e2= booleanScalarNegation + // src/petascope/wcps/grammar/wcps.g:284:5: (op= AND e2= booleanScalarNegation ) + // src/petascope/wcps/grammar/wcps.g:284:5: op= AND e2= booleanScalarNegation { - op=(Token)match(input,AND,FOLLOW_AND_in_synpred115_wcps2881); if (state.failed) return ; - pushFollow(FOLLOW_booleanScalarNegation_in_synpred115_wcps2885); + op=(Token)match(input,AND,FOLLOW_AND_in_synpred116_wcps2918); if (state.failed) return ; + pushFollow(FOLLOW_booleanScalarNegation_in_synpred116_wcps2922); e2=booleanScalarNegation(); state._fsp--; @@ -10166,30 +10186,30 @@ public class wcpsParser extends Parser { } } - // $ANTLR end synpred115_wcps + // $ANTLR end synpred116_wcps - // $ANTLR start synpred117_wcps - public final void synpred117_wcps_fragment() throws RecognitionException { + // $ANTLR start synpred118_wcps + public final void synpred118_wcps_fragment() throws RecognitionException { wcpsParser.booleanScalarExpr_return e1 = null; - // src/petascope/wcps/grammar/wcps.g:289:4: ( LPAREN e1= booleanScalarExpr RPAREN ) - // src/petascope/wcps/grammar/wcps.g:289:4: LPAREN e1= booleanScalarExpr RPAREN + // src/petascope/wcps/grammar/wcps.g:291:4: ( LPAREN e1= booleanScalarExpr RPAREN ) + // src/petascope/wcps/grammar/wcps.g:291:4: LPAREN e1= booleanScalarExpr RPAREN { - match(input,LPAREN,FOLLOW_LPAREN_in_synpred117_wcps2934); if (state.failed) return ; - pushFollow(FOLLOW_booleanScalarExpr_in_synpred117_wcps2938); + match(input,LPAREN,FOLLOW_LPAREN_in_synpred118_wcps2971); if (state.failed) return ; + pushFollow(FOLLOW_booleanScalarExpr_in_synpred118_wcps2975); e1=booleanScalarExpr(); state._fsp--; if (state.failed) return ; - match(input,RPAREN,FOLLOW_RPAREN_in_synpred117_wcps2940); if (state.failed) return ; + match(input,RPAREN,FOLLOW_RPAREN_in_synpred118_wcps2977); if (state.failed) return ; } } - // $ANTLR end synpred117_wcps + // $ANTLR end synpred118_wcps - // $ANTLR start synpred119_wcps - public final void synpred119_wcps_fragment() throws RecognitionException { + // $ANTLR start synpred120_wcps + public final void synpred120_wcps_fragment() throws RecognitionException { wcpsParser.numericScalarExpr_return n1 = null; wcpsParser.compOp_return cop = null; @@ -10197,20 +10217,20 @@ public class wcpsParser extends Parser { wcpsParser.numericScalarExpr_return n2 = null; - // src/petascope/wcps/grammar/wcps.g:291:4: (n1= numericScalarExpr cop= compOp n2= numericScalarExpr ) - // src/petascope/wcps/grammar/wcps.g:291:4: n1= numericScalarExpr cop= compOp n2= numericScalarExpr + // src/petascope/wcps/grammar/wcps.g:293:4: (n1= numericScalarExpr cop= compOp n2= numericScalarExpr ) + // src/petascope/wcps/grammar/wcps.g:293:4: n1= numericScalarExpr cop= compOp n2= numericScalarExpr { - pushFollow(FOLLOW_numericScalarExpr_in_synpred119_wcps2967); + pushFollow(FOLLOW_numericScalarExpr_in_synpred120_wcps3004); n1=numericScalarExpr(); state._fsp--; if (state.failed) return ; - pushFollow(FOLLOW_compOp_in_synpred119_wcps2971); + pushFollow(FOLLOW_compOp_in_synpred120_wcps3008); cop=compOp(); state._fsp--; if (state.failed) return ; - pushFollow(FOLLOW_numericScalarExpr_in_synpred119_wcps2975); + pushFollow(FOLLOW_numericScalarExpr_in_synpred120_wcps3012); n2=numericScalarExpr(); state._fsp--; @@ -10218,16 +10238,16 @@ public class wcpsParser extends Parser { } } - // $ANTLR end synpred119_wcps + // $ANTLR end synpred120_wcps - // $ANTLR start synpred121_wcps - public final void synpred121_wcps_fragment() throws RecognitionException { + // $ANTLR start synpred122_wcps + public final void synpred122_wcps_fragment() throws RecognitionException { Token op=null; wcpsParser.numericScalarTerm_return e2 = null; - // src/petascope/wcps/grammar/wcps.g:296:5: (op= ( PLUS | MINUS ) e2= numericScalarTerm ) - // src/petascope/wcps/grammar/wcps.g:296:5: op= ( PLUS | MINUS ) e2= numericScalarTerm + // src/petascope/wcps/grammar/wcps.g:298:5: (op= ( PLUS | MINUS ) e2= numericScalarTerm ) + // src/petascope/wcps/grammar/wcps.g:298:5: op= ( PLUS | MINUS ) e2= numericScalarTerm { op=(Token)input.LT(1); if ( (input.LA(1)>=PLUS && input.LA(1)<=MINUS) ) { @@ -10240,7 +10260,7 @@ public class wcpsParser extends Parser { throw mse; } - pushFollow(FOLLOW_numericScalarTerm_in_synpred121_wcps3020); + pushFollow(FOLLOW_numericScalarTerm_in_synpred122_wcps3057); e2=numericScalarTerm(); state._fsp--; @@ -10248,16 +10268,16 @@ public class wcpsParser extends Parser { } } - // $ANTLR end synpred121_wcps + // $ANTLR end synpred122_wcps - // $ANTLR start synpred123_wcps - public final void synpred123_wcps_fragment() throws RecognitionException { + // $ANTLR start synpred124_wcps + public final void synpred124_wcps_fragment() throws RecognitionException { Token op=null; wcpsParser.numericScalarFactor_return e2 = null; - // src/petascope/wcps/grammar/wcps.g:300:4: (op= ( MULT | DIVIDE ) e2= numericScalarFactor ) - // src/petascope/wcps/grammar/wcps.g:300:4: op= ( MULT | DIVIDE ) e2= numericScalarFactor + // src/petascope/wcps/grammar/wcps.g:302:4: (op= ( MULT | DIVIDE ) e2= numericScalarFactor ) + // src/petascope/wcps/grammar/wcps.g:302:4: op= ( MULT | DIVIDE ) e2= numericScalarFactor { op=(Token)input.LT(1); if ( (input.LA(1)>=MULT && input.LA(1)<=DIVIDE) ) { @@ -10270,7 +10290,7 @@ public class wcpsParser extends Parser { throw mse; } - pushFollow(FOLLOW_numericScalarFactor_in_synpred123_wcps3056); + pushFollow(FOLLOW_numericScalarFactor_in_synpred124_wcps3093); e2=numericScalarFactor(); state._fsp--; @@ -10278,37 +10298,37 @@ public class wcpsParser extends Parser { } } - // $ANTLR end synpred123_wcps + // $ANTLR end synpred124_wcps - // $ANTLR start synpred124_wcps - public final void synpred124_wcps_fragment() throws RecognitionException { + // $ANTLR start synpred125_wcps + public final void synpred125_wcps_fragment() throws RecognitionException { wcpsParser.numericScalarExpr_return e1 = null; - // src/petascope/wcps/grammar/wcps.g:303:7: ( LPAREN e1= numericScalarExpr RPAREN ) - // src/petascope/wcps/grammar/wcps.g:303:7: LPAREN e1= numericScalarExpr RPAREN + // src/petascope/wcps/grammar/wcps.g:305:7: ( LPAREN e1= numericScalarExpr RPAREN ) + // src/petascope/wcps/grammar/wcps.g:305:7: LPAREN e1= numericScalarExpr RPAREN { - match(input,LPAREN,FOLLOW_LPAREN_in_synpred124_wcps3076); if (state.failed) return ; - pushFollow(FOLLOW_numericScalarExpr_in_synpred124_wcps3080); + match(input,LPAREN,FOLLOW_LPAREN_in_synpred125_wcps3113); if (state.failed) return ; + pushFollow(FOLLOW_numericScalarExpr_in_synpred125_wcps3117); e1=numericScalarExpr(); state._fsp--; if (state.failed) return ; - match(input,RPAREN,FOLLOW_RPAREN_in_synpred124_wcps3082); if (state.failed) return ; + match(input,RPAREN,FOLLOW_RPAREN_in_synpred125_wcps3119); if (state.failed) return ; } } - // $ANTLR end synpred124_wcps + // $ANTLR end synpred125_wcps - // $ANTLR start synpred131_wcps - public final void synpred131_wcps_fragment() throws RecognitionException { + // $ANTLR start synpred132_wcps + public final void synpred132_wcps_fragment() throws RecognitionException { wcpsParser.complexConstant_return e2 = null; - // src/petascope/wcps/grammar/wcps.g:310:7: (e2= complexConstant ) - // src/petascope/wcps/grammar/wcps.g:310:7: e2= complexConstant + // src/petascope/wcps/grammar/wcps.g:312:7: (e2= complexConstant ) + // src/petascope/wcps/grammar/wcps.g:312:7: e2= complexConstant { - pushFollow(FOLLOW_complexConstant_in_synpred131_wcps3194); + pushFollow(FOLLOW_complexConstant_in_synpred132_wcps3231); e2=complexConstant(); state._fsp--; @@ -10316,25 +10336,25 @@ public class wcpsParser extends Parser { } } - // $ANTLR end synpred131_wcps + // $ANTLR end synpred132_wcps - // $ANTLR start synpred140_wcps - public final void synpred140_wcps_fragment() throws RecognitionException { + // $ANTLR start synpred141_wcps + public final void synpred141_wcps_fragment() throws RecognitionException { wcpsParser.scalarExpr_return e1 = null; wcpsParser.scalarExpr_return e2 = null; - // src/petascope/wcps/grammar/wcps.g:331:7: (e1= scalarExpr COLON e2= scalarExpr ) - // src/petascope/wcps/grammar/wcps.g:331:7: e1= scalarExpr COLON e2= scalarExpr + // src/petascope/wcps/grammar/wcps.g:333:7: (e1= scalarExpr COLON e2= scalarExpr ) + // src/petascope/wcps/grammar/wcps.g:333:7: e1= scalarExpr COLON e2= scalarExpr { - pushFollow(FOLLOW_scalarExpr_in_synpred140_wcps3382); + pushFollow(FOLLOW_scalarExpr_in_synpred141_wcps3419); e1=scalarExpr(); state._fsp--; if (state.failed) return ; - match(input,COLON,FOLLOW_COLON_in_synpred140_wcps3384); if (state.failed) return ; - pushFollow(FOLLOW_scalarExpr_in_synpred140_wcps3388); + match(input,COLON,FOLLOW_COLON_in_synpred141_wcps3421); if (state.failed) return ; + pushFollow(FOLLOW_scalarExpr_in_synpred141_wcps3425); e2=scalarExpr(); state._fsp--; @@ -10342,7 +10362,7 @@ public class wcpsParser extends Parser { } } - // $ANTLR end synpred140_wcps + // $ANTLR end synpred141_wcps // Delegated rules @@ -10402,11 +10422,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred19_wcps() { + public final boolean synpred125_wcps() { state.backtracking++; int start = input.mark(); try { - synpred19_wcps_fragment(); // can never throw exception + synpred125_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10416,11 +10436,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred32_wcps() { + public final boolean synpred19_wcps() { state.backtracking++; int start = input.mark(); try { - synpred32_wcps_fragment(); // can never throw exception + synpred19_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10430,11 +10450,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred31_wcps() { + public final boolean synpred32_wcps() { state.backtracking++; int start = input.mark(); try { - synpred31_wcps_fragment(); // can never throw exception + synpred32_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10444,11 +10464,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred21_wcps() { + public final boolean synpred31_wcps() { state.backtracking++; int start = input.mark(); try { - synpred21_wcps_fragment(); // can never throw exception + synpred31_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10458,11 +10478,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred115_wcps() { + public final boolean synpred21_wcps() { state.backtracking++; int start = input.mark(); try { - synpred115_wcps_fragment(); // can never throw exception + synpred21_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10472,11 +10492,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred74_wcps() { + public final boolean synpred101_wcps() { state.backtracking++; int start = input.mark(); try { - synpred74_wcps_fragment(); // can never throw exception + synpred101_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10486,11 +10506,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred123_wcps() { + public final boolean synpred118_wcps() { state.backtracking++; int start = input.mark(); try { - synpred123_wcps_fragment(); // can never throw exception + synpred118_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10500,11 +10520,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred20_wcps() { + public final boolean synpred115_wcps() { state.backtracking++; int start = input.mark(); try { - synpred20_wcps_fragment(); // can never throw exception + synpred115_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10514,11 +10534,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred33_wcps() { + public final boolean synpred132_wcps() { state.backtracking++; int start = input.mark(); try { - synpred33_wcps_fragment(); // can never throw exception + synpred132_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10528,11 +10548,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred27_wcps() { + public final boolean synpred141_wcps() { state.backtracking++; int start = input.mark(); try { - synpred27_wcps_fragment(); // can never throw exception + synpred141_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10542,11 +10562,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred22_wcps() { + public final boolean synpred122_wcps() { state.backtracking++; int start = input.mark(); try { - synpred22_wcps_fragment(); // can never throw exception + synpred122_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10556,11 +10576,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred119_wcps() { + public final boolean synpred74_wcps() { state.backtracking++; int start = input.mark(); try { - synpred119_wcps_fragment(); // can never throw exception + synpred74_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10570,11 +10590,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred28_wcps() { + public final boolean synpred20_wcps() { state.backtracking++; int start = input.mark(); try { - synpred28_wcps_fragment(); // can never throw exception + synpred20_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10584,11 +10604,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred29_wcps() { + public final boolean synpred33_wcps() { state.backtracking++; int start = input.mark(); try { - synpred29_wcps_fragment(); // can never throw exception + synpred33_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10598,11 +10618,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred100_wcps() { + public final boolean synpred27_wcps() { state.backtracking++; int start = input.mark(); try { - synpred100_wcps_fragment(); // can never throw exception + synpred27_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10612,11 +10632,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred99_wcps() { + public final boolean synpred22_wcps() { state.backtracking++; int start = input.mark(); try { - synpred99_wcps_fragment(); // can never throw exception + synpred22_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10626,11 +10646,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred25_wcps() { + public final boolean synpred28_wcps() { state.backtracking++; int start = input.mark(); try { - synpred25_wcps_fragment(); // can never throw exception + synpred28_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10640,11 +10660,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred131_wcps() { + public final boolean synpred29_wcps() { state.backtracking++; int start = input.mark(); try { - synpred131_wcps_fragment(); // can never throw exception + synpred29_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10654,11 +10674,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred35_wcps() { + public final boolean synpred100_wcps() { state.backtracking++; int start = input.mark(); try { - synpred35_wcps_fragment(); // can never throw exception + synpred100_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10668,11 +10688,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred71_wcps() { + public final boolean synpred25_wcps() { state.backtracking++; int start = input.mark(); try { - synpred71_wcps_fragment(); // can never throw exception + synpred25_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10682,11 +10702,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred140_wcps() { + public final boolean synpred35_wcps() { state.backtracking++; int start = input.mark(); try { - synpred140_wcps_fragment(); // can never throw exception + synpred35_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10696,11 +10716,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred34_wcps() { + public final boolean synpred71_wcps() { state.backtracking++; int start = input.mark(); try { - synpred34_wcps_fragment(); // can never throw exception + synpred71_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10710,11 +10730,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred121_wcps() { + public final boolean synpred34_wcps() { state.backtracking++; int start = input.mark(); try { - synpred121_wcps_fragment(); // can never throw exception + synpred34_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10724,11 +10744,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred117_wcps() { + public final boolean synpred124_wcps() { state.backtracking++; int start = input.mark(); try { - synpred117_wcps_fragment(); // can never throw exception + synpred124_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10738,11 +10758,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred124_wcps() { + public final boolean synpred8_wcps() { state.backtracking++; int start = input.mark(); try { - synpred124_wcps_fragment(); // can never throw exception + synpred8_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10752,11 +10772,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred8_wcps() { + public final boolean synpred116_wcps() { state.backtracking++; int start = input.mark(); try { - synpred8_wcps_fragment(); // can never throw exception + synpred116_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10766,11 +10786,11 @@ public class wcpsParser extends Parser { state.failed=false; return success; } - public final boolean synpred114_wcps() { + public final boolean synpred120_wcps() { state.backtracking++; int start = input.mark(); try { - synpred114_wcps_fragment(); // can never throw exception + synpred120_wcps_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "+re); } @@ -10793,17 +10813,17 @@ public class wcpsParser extends Parser { protected DFA13 dfa13 = new DFA13(this); protected DFA14 dfa14 = new DFA14(this); protected DFA34 dfa34 = new DFA34(this); - protected DFA41 dfa41 = new DFA41(this); protected DFA42 dfa42 = new DFA42(this); protected DFA43 dfa43 = new DFA43(this); - protected DFA45 dfa45 = new DFA45(this); + protected DFA44 dfa44 = new DFA44(this); protected DFA46 dfa46 = new DFA46(this); protected DFA47 dfa47 = new DFA47(this); protected DFA48 dfa48 = new DFA48(this); protected DFA49 dfa49 = new DFA49(this); protected DFA50 dfa50 = new DFA50(this); protected DFA51 dfa51 = new DFA51(this); - protected DFA55 dfa55 = new DFA55(this); + protected DFA52 dfa52 = new DFA52(this); + protected DFA56 dfa56 = new DFA56(this); static final String DFA4_eotS = "\30\uffff"; static final String DFA4_eofS = @@ -12626,10 +12646,10 @@ public class wcpsParser extends Parser { "", "", "", - "\1\40\17\uffff\1\64\1\43\3\uffff\1\41\1\55\1\56\1\57\1\61\1"+ - "\62\1\63\1\60\7\50\1\51\3\uffff\1\64\4\uffff\6\64\1\uffff\2"+ - "\64\1\45\1\44\16\64\1\54\1\64\1\47\1\46\1\42\1\64\2\uffff\3"+ - "\64\12\uffff\1\53\1\37\10\uffff\1\64\1\52", + "\1\52\17\uffff\1\64\1\54\3\uffff\1\40\1\41\1\42\1\43\1\45\1"+ + "\46\1\47\1\44\7\50\1\51\3\uffff\1\64\4\uffff\6\64\1\uffff\2"+ + "\64\1\56\1\55\16\64\1\63\1\64\1\60\1\57\1\53\1\64\2\uffff\3"+ + "\64\12\uffff\1\62\1\37\10\uffff\1\64\1\61", "", "", "", @@ -13071,21 +13091,21 @@ public class wcpsParser extends Parser { static final String DFA14_eotS = "\u0091\uffff"; static final String DFA14_eofS = - "\14\uffff\1\64\u0084\uffff"; + "\14\uffff\1\56\u0084\uffff"; static final String DFA14_minS = - "\2\6\7\uffff\1\6\1\15\1\6\1\7\4\6\3\0\2\uffff\21\0\7\uffff\6\0\17"+ - "\uffff\15\0\101\uffff"; + "\2\6\7\uffff\1\6\1\15\1\6\1\7\4\6\3\0\2\uffff\16\0\7\uffff\3\0\4"+ + "\uffff\1\0\4\uffff\5\0\7\uffff\15\0\101\uffff"; static final String DFA14_maxS = - "\1\154\1\6\7\uffff\1\6\1\51\1\154\1\140\1\154\3\6\3\0\2\uffff\21"+ - "\0\7\uffff\6\0\17\uffff\15\0\101\uffff"; + "\1\154\1\6\7\uffff\1\6\1\51\1\154\1\140\1\154\3\6\3\0\2\uffff\16"+ + "\0\7\uffff\3\0\4\uffff\1\0\4\uffff\5\0\7\uffff\15\0\101\uffff"; static final String DFA14_acceptS = - "\2\uffff\1\1\21\uffff\1\3\22\uffff\1\6\14\uffff\1\5\60\uffff\1\4"+ + "\2\uffff\1\1\21\uffff\1\3\17\uffff\1\6\11\uffff\1\5\66\uffff\1\4"+ "\52\uffff\1\2"; static final String DFA14_specialS = "\21\uffff\1\0\1\1\1\2\2\uffff\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12"+ - "\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\7\uffff\1\24\1\25"+ - "\1\26\1\27\1\30\1\31\17\uffff\1\32\1\33\1\34\1\35\1\36\1\37\1\40"+ - "\1\41\1\42\1\43\1\44\1\45\1\46\101\uffff}>"; + "\1\13\1\14\1\15\1\16\1\17\1\20\7\uffff\1\21\1\22\1\23\4\uffff\1"+ + "\24\4\uffff\1\25\1\26\1\27\1\30\1\31\7\uffff\1\32\1\33\1\34\1\35"+ + "\1\36\1\37\1\40\1\41\1\42\1\43\1\44\1\45\1\46\101\uffff}>"; static final String[] DFA14_transitionS = { "\1\13\20\uffff\1\15\3\uffff\1\1\7\2\7\11\1\12\21\uffff\1\17"+ "\1\16\16\uffff\1\24\1\uffff\1\21\1\20\1\14\20\uffff\1\24\1\22"+ @@ -13100,12 +13120,12 @@ public class wcpsParser extends Parser { "", "\1\27", "\1\30\1\uffff\1\30\6\uffff\1\30\1\uffff\1\30\17\uffff\2\30", - "\1\32\20\uffff\1\33\3\uffff\1\43\7\47\7\40\1\41\21\uffff\1"+ - "\35\1\34\16\uffff\1\46\1\uffff\1\37\1\36\1\44\20\uffff\1\45"+ + "\1\32\20\uffff\1\33\3\uffff\1\43\7\44\7\40\1\41\21\uffff\1"+ + "\35\1\34\16\uffff\1\55\1\uffff\1\37\1\36\1\53\20\uffff\1\54"+ "\1\31\11\uffff\1\42", - "\2\64\1\uffff\1\64\2\uffff\3\64\1\56\1\57\1\60\1\61\1\62\1"+ - "\63\5\64\21\uffff\2\64\3\uffff\1\64\7\uffff\1\64\30\uffff\1"+ - "\64\15\uffff\1\64", + "\2\56\1\uffff\1\56\2\uffff\3\56\1\62\1\67\1\70\1\71\1\72\1"+ + "\73\5\56\21\uffff\2\56\3\uffff\1\56\7\uffff\1\56\30\uffff\1"+ + "\56\15\uffff\1\56", "\1\103\20\uffff\1\104\13\uffff\7\112\1\113\21\uffff\1\106\1"+ "\105\20\uffff\1\110\1\107\22\uffff\1\111\11\uffff\1\114", "\1\115", @@ -13130,9 +13150,6 @@ public class wcpsParser extends Parser { "\1\uffff", "\1\uffff", "\1\uffff", - "\1\uffff", - "\1\uffff", - "\1\uffff", "", "", "", @@ -13143,17 +13160,20 @@ public class wcpsParser extends Parser { "\1\uffff", "\1\uffff", "\1\uffff", - "\1\uffff", - "\1\uffff", - "\1\uffff", "", "", "", "", + "\1\uffff", "", "", "", "", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "\1\uffff", "", "", "", @@ -13333,7 +13353,7 @@ public class wcpsParser extends Parser { else if ( (synpred33_wcps()) ) {s = 20;} - else if ( (synpred35_wcps()) ) {s = 52;} + else if ( (synpred35_wcps()) ) {s = 46;} input.seek(index14_22); @@ -13384,7 +13404,7 @@ public class wcpsParser extends Parser { else if ( (synpred34_wcps()) ) {s = 101;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} input.seek(index14_25); @@ -13401,7 +13421,7 @@ public class wcpsParser extends Parser { else if ( (synpred34_wcps()) ) {s = 101;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} input.seek(index14_26); @@ -13418,7 +13438,7 @@ public class wcpsParser extends Parser { else if ( (synpred34_wcps()) ) {s = 101;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} input.seek(index14_27); @@ -13435,7 +13455,7 @@ public class wcpsParser extends Parser { else if ( (synpred34_wcps()) ) {s = 101;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} input.seek(index14_28); @@ -13452,7 +13472,7 @@ public class wcpsParser extends Parser { else if ( (synpred34_wcps()) ) {s = 101;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} input.seek(index14_29); @@ -13469,7 +13489,7 @@ public class wcpsParser extends Parser { else if ( (synpred34_wcps()) ) {s = 101;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} input.seek(index14_30); @@ -13486,7 +13506,7 @@ public class wcpsParser extends Parser { else if ( (synpred34_wcps()) ) {s = 101;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} input.seek(index14_31); @@ -13503,7 +13523,7 @@ public class wcpsParser extends Parser { else if ( (synpred34_wcps()) ) {s = 101;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} input.seek(index14_32); @@ -13520,7 +13540,7 @@ public class wcpsParser extends Parser { else if ( (synpred34_wcps()) ) {s = 101;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} input.seek(index14_33); @@ -13537,7 +13557,7 @@ public class wcpsParser extends Parser { else if ( (synpred34_wcps()) ) {s = 101;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} input.seek(index14_34); @@ -13552,145 +13572,145 @@ public class wcpsParser extends Parser { s = -1; if ( (synpred33_wcps()) ) {s = 20;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} input.seek(index14_35); if ( s>=0 ) return s; break; case 17 : - int LA14_36 = input.LA(1); + int LA14_43 = input.LA(1); - int index14_36 = input.index(); + int index14_43 = input.index(); input.rewind(); s = -1; if ( (synpred33_wcps()) ) {s = 20;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} - input.seek(index14_36); + input.seek(index14_43); if ( s>=0 ) return s; break; case 18 : - int LA14_37 = input.LA(1); + int LA14_44 = input.LA(1); - int index14_37 = input.index(); + int index14_44 = input.index(); input.rewind(); s = -1; if ( (synpred33_wcps()) ) {s = 20;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} - input.seek(index14_37); + input.seek(index14_44); if ( s>=0 ) return s; break; case 19 : - int LA14_38 = input.LA(1); + int LA14_45 = input.LA(1); - int index14_38 = input.index(); + int index14_45 = input.index(); input.rewind(); s = -1; if ( (synpred33_wcps()) ) {s = 20;} - else if ( (true) ) {s = 39;} + else if ( (true) ) {s = 36;} - input.seek(index14_38); + input.seek(index14_45); if ( s>=0 ) return s; break; case 20 : - int LA14_46 = input.LA(1); + int LA14_50 = input.LA(1); - int index14_46 = input.index(); + int index14_50 = input.index(); input.rewind(); s = -1; if ( (synpred33_wcps()) ) {s = 20;} - else if ( (synpred35_wcps()) ) {s = 52;} + else if ( (synpred35_wcps()) ) {s = 46;} - input.seek(index14_46); + input.seek(index14_50); if ( s>=0 ) return s; break; case 21 : - int LA14_47 = input.LA(1); + int LA14_55 = input.LA(1); - int index14_47 = input.index(); + int index14_55 = input.index(); input.rewind(); s = -1; if ( (synpred33_wcps()) ) {s = 20;} - else if ( (synpred35_wcps()) ) {s = 52;} + else if ( (synpred35_wcps()) ) {s = 46;} - input.seek(index14_47); + input.seek(index14_55); if ( s>=0 ) return s; break; case 22 : - int LA14_48 = input.LA(1); + int LA14_56 = input.LA(1); - int index14_48 = input.index(); + int index14_56 = input.index(); input.rewind(); s = -1; if ( (synpred33_wcps()) ) {s = 20;} - else if ( (synpred35_wcps()) ) {s = 52;} + else if ( (synpred35_wcps()) ) {s = 46;} - input.seek(index14_48); + input.seek(index14_56); if ( s>=0 ) return s; break; case 23 : - int LA14_49 = input.LA(1); + int LA14_57 = input.LA(1); - int index14_49 = input.index(); + int index14_57 = input.index(); input.rewind(); s = -1; if ( (synpred33_wcps()) ) {s = 20;} - else if ( (synpred35_wcps()) ) {s = 52;} + else if ( (synpred35_wcps()) ) {s = 46;} - input.seek(index14_49); + input.seek(index14_57); if ( s>=0 ) return s; break; case 24 : - int LA14_50 = input.LA(1); + int LA14_58 = input.LA(1); - int index14_50 = input.index(); + int index14_58 = input.index(); input.rewind(); s = -1; if ( (synpred33_wcps()) ) {s = 20;} - else if ( (synpred35_wcps()) ) {s = 52;} + else if ( (synpred35_wcps()) ) {s = 46;} - input.seek(index14_50); + input.seek(index14_58); if ( s>=0 ) return s; break; case 25 : - int LA14_51 = input.LA(1); + int LA14_59 = input.LA(1); - int index14_51 = input.index(); + int index14_59 = input.index(); input.rewind(); s = -1; if ( (synpred33_wcps()) ) {s = 20;} - else if ( (synpred35_wcps()) ) {s = 52;} + else if ( (synpred35_wcps()) ) {s = 46;} - input.seek(index14_51); + input.seek(index14_59); if ( s>=0 ) return s; break; case 26 : @@ -13902,17 +13922,18 @@ public class wcpsParser extends Parser { "\u0099\uffff"; static final String DFA34_minS = "\1\6\12\uffff\1\6\1\uffff\3\6\5\uffff\1\6\7\uffff\1\70\1\116\57"+ - "\uffff\12\0\24\uffff\17\0\33\uffff\2\0\1\uffff"; + "\uffff\12\0\24\uffff\3\0\7\uffff\14\0\24\uffff\2\0\1\uffff"; static final String DFA34_maxS = "\1\154\12\uffff\1\154\1\uffff\1\154\2\6\5\uffff\1\154\7\uffff\1"+ - "\70\1\153\57\uffff\12\0\24\uffff\17\0\33\uffff\2\0\1\uffff"; + "\70\1\153\57\uffff\12\0\24\uffff\3\0\7\uffff\14\0\24\uffff\2\0\1"+ + "\uffff"; static final String DFA34_acceptS = "\1\uffff\1\1\35\uffff\1\2\1\uffff\1\3\1\4\1\5\16\uffff\1\6\145\uffff"+ "\1\7"; static final String DFA34_specialS = "\116\uffff\1\0\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\24\uffff\1"+ - "\12\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25\1\26"+ - "\1\27\1\30\33\uffff\1\31\1\32\1\uffff}>"; + "\12\1\13\1\14\7\uffff\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1"+ + "\25\1\26\1\27\1\30\24\uffff\1\31\1\32\1\uffff}>"; static final String[] DFA34_transitionS = { "\1\13\17\uffff\1\37\1\15\3\uffff\20\1\3\uffff\1\1\4\uffff\5"+ "\1\1\36\1\uffff\1\35\1\uffff\1\17\1\16\2\37\3\41\11\42\1\25"+ @@ -13941,10 +13962,10 @@ public class wcpsParser extends Parser { "", "", "", - "\1\156\17\uffff\1\43\1\161\3\uffff\1\157\7\43\7\167\1\170\3"+ - "\uffff\1\43\4\uffff\6\43\1\uffff\2\43\1\163\1\162\20\43\1\165"+ - "\1\164\1\160\1\43\2\uffff\3\43\12\uffff\1\172\1\166\10\uffff"+ - "\1\43\1\171", + "\1\170\17\uffff\1\43\1\172\3\uffff\1\156\7\43\7\166\1\167\3"+ + "\uffff\1\43\4\uffff\6\43\1\uffff\2\43\1\174\1\173\20\43\1\176"+ + "\1\175\1\171\1\43\2\uffff\3\43\12\uffff\1\u0081\1\177\10\uffff"+ + "\1\43\1\u0080", "", "", "", @@ -14034,6 +14055,13 @@ public class wcpsParser extends Parser { "\1\uffff", "\1\uffff", "\1\uffff", + "", + "", + "", + "", + "", + "", + "", "\1\uffff", "\1\uffff", "\1\uffff", @@ -14066,13 +14094,6 @@ public class wcpsParser extends Parser { "", "", "", - "", - "", - "", - "", - "", - "", - "", "\1\uffff", "\1\uffff", "" @@ -14310,10 +14331,10 @@ public class wcpsParser extends Parser { if ( s>=0 ) return s; break; case 13 : - int LA34_111 = input.LA(1); + int LA34_118 = input.LA(1); - int index34_111 = input.index(); + int index34_118 = input.index(); input.rewind(); s = -1; if ( (synpred70_wcps()) ) {s = 1;} @@ -14321,14 +14342,14 @@ public class wcpsParser extends Parser { else if ( (synpred74_wcps()) ) {s = 35;} - input.seek(index34_111); + input.seek(index34_118); if ( s>=0 ) return s; break; case 14 : - int LA34_112 = input.LA(1); + int LA34_119 = input.LA(1); - int index34_112 = input.index(); + int index34_119 = input.index(); input.rewind(); s = -1; if ( (synpred70_wcps()) ) {s = 1;} @@ -14336,14 +14357,14 @@ public class wcpsParser extends Parser { else if ( (synpred74_wcps()) ) {s = 35;} - input.seek(index34_112); + input.seek(index34_119); if ( s>=0 ) return s; break; case 15 : - int LA34_113 = input.LA(1); + int LA34_120 = input.LA(1); - int index34_113 = input.index(); + int index34_120 = input.index(); input.rewind(); s = -1; if ( (synpred70_wcps()) ) {s = 1;} @@ -14351,14 +14372,14 @@ public class wcpsParser extends Parser { else if ( (synpred74_wcps()) ) {s = 35;} - input.seek(index34_113); + input.seek(index34_120); if ( s>=0 ) return s; break; case 16 : - int LA34_114 = input.LA(1); + int LA34_121 = input.LA(1); - int index34_114 = input.index(); + int index34_121 = input.index(); input.rewind(); s = -1; if ( (synpred70_wcps()) ) {s = 1;} @@ -14366,14 +14387,14 @@ public class wcpsParser extends Parser { else if ( (synpred74_wcps()) ) {s = 35;} - input.seek(index34_114); + input.seek(index34_121); if ( s>=0 ) return s; break; case 17 : - int LA34_115 = input.LA(1); + int LA34_122 = input.LA(1); - int index34_115 = input.index(); + int index34_122 = input.index(); input.rewind(); s = -1; if ( (synpred70_wcps()) ) {s = 1;} @@ -14381,14 +14402,14 @@ public class wcpsParser extends Parser { else if ( (synpred74_wcps()) ) {s = 35;} - input.seek(index34_115); + input.seek(index34_122); if ( s>=0 ) return s; break; case 18 : - int LA34_116 = input.LA(1); + int LA34_123 = input.LA(1); - int index34_116 = input.index(); + int index34_123 = input.index(); input.rewind(); s = -1; if ( (synpred70_wcps()) ) {s = 1;} @@ -14396,14 +14417,14 @@ public class wcpsParser extends Parser { else if ( (synpred74_wcps()) ) {s = 35;} - input.seek(index34_116); + input.seek(index34_123); if ( s>=0 ) return s; break; case 19 : - int LA34_117 = input.LA(1); + int LA34_124 = input.LA(1); - int index34_117 = input.index(); + int index34_124 = input.index(); input.rewind(); s = -1; if ( (synpred70_wcps()) ) {s = 1;} @@ -14411,14 +14432,14 @@ public class wcpsParser extends Parser { else if ( (synpred74_wcps()) ) {s = 35;} - input.seek(index34_117); + input.seek(index34_124); if ( s>=0 ) return s; break; case 20 : - int LA34_118 = input.LA(1); + int LA34_125 = input.LA(1); - int index34_118 = input.index(); + int index34_125 = input.index(); input.rewind(); s = -1; if ( (synpred70_wcps()) ) {s = 1;} @@ -14426,14 +14447,14 @@ public class wcpsParser extends Parser { else if ( (synpred74_wcps()) ) {s = 35;} - input.seek(index34_118); + input.seek(index34_125); if ( s>=0 ) return s; break; case 21 : - int LA34_119 = input.LA(1); + int LA34_126 = input.LA(1); - int index34_119 = input.index(); + int index34_126 = input.index(); input.rewind(); s = -1; if ( (synpred70_wcps()) ) {s = 1;} @@ -14441,14 +14462,14 @@ public class wcpsParser extends Parser { else if ( (synpred74_wcps()) ) {s = 35;} - input.seek(index34_119); + input.seek(index34_126); if ( s>=0 ) return s; break; case 22 : - int LA34_120 = input.LA(1); + int LA34_127 = input.LA(1); - int index34_120 = input.index(); + int index34_127 = input.index(); input.rewind(); s = -1; if ( (synpred70_wcps()) ) {s = 1;} @@ -14456,14 +14477,14 @@ public class wcpsParser extends Parser { else if ( (synpred74_wcps()) ) {s = 35;} - input.seek(index34_120); + input.seek(index34_127); if ( s>=0 ) return s; break; case 23 : - int LA34_121 = input.LA(1); + int LA34_128 = input.LA(1); - int index34_121 = input.index(); + int index34_128 = input.index(); input.rewind(); s = -1; if ( (synpred70_wcps()) ) {s = 1;} @@ -14471,14 +14492,14 @@ public class wcpsParser extends Parser { else if ( (synpred74_wcps()) ) {s = 35;} - input.seek(index34_121); + input.seek(index34_128); if ( s>=0 ) return s; break; case 24 : - int LA34_122 = input.LA(1); + int LA34_129 = input.LA(1); - int index34_122 = input.index(); + int index34_129 = input.index(); input.rewind(); s = -1; if ( (synpred70_wcps()) ) {s = 1;} @@ -14486,7 +14507,7 @@ public class wcpsParser extends Parser { else if ( (synpred74_wcps()) ) {s = 35;} - input.seek(index34_122); + input.seek(index34_129); if ( s>=0 ) return s; break; case 25 : @@ -14527,19 +14548,19 @@ public class wcpsParser extends Parser { throw nvae; } } - static final String DFA41_eotS = + static final String DFA42_eotS = "\u009c\uffff"; - static final String DFA41_eofS = + static final String DFA42_eofS = "\u009c\uffff"; - static final String DFA41_minS = + static final String DFA42_minS = "\12\6\1\15\1\6\1\20\4\6\3\20\1\15\1\6\1\122\1\116\5\6\1\70\1\116"+ "\3\uffff\172\0"; - static final String DFA41_maxS = + static final String DFA42_maxS = "\1\154\11\6\1\51\1\154\1\122\1\154\3\6\4\122\1\154\1\122\1\153\5"+ "\6\1\70\1\153\3\uffff\172\0"; - static final String DFA41_acceptS = + static final String DFA42_acceptS = "\37\uffff\1\1\1\2\1\3\172\uffff"; - static final String DFA41_specialS = + static final String DFA42_specialS = "\42\uffff\1\0\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1"+ "\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25\1\26\1\27\1\30"+ "\1\31\1\32\1\33\1\34\1\35\1\36\1\37\1\40\1\41\1\42\1\43\1\44\1\45"+ @@ -14551,7 +14572,7 @@ public class wcpsParser extends Parser { "\1\141\1\142\1\143\1\144\1\145\1\146\1\147\1\150\1\151\1\152\1\153"+ "\1\154\1\155\1\156\1\157\1\160\1\161\1\162\1\163\1\164\1\165\1\166"+ "\1\167\1\170\1\171}>"; - static final String[] DFA41_transitionS = { + static final String[] DFA42_transitionS = { "\1\13\20\uffff\1\15\3\uffff\1\1\1\2\1\3\1\4\1\6\1\7\1\10\1\5"+ "\7\11\1\12\3\uffff\1\27\4\uffff\1\30\1\31\1\32\1\33\1\34\1\36"+ "\1\uffff\1\35\1\uffff\1\17\1\16\16\uffff\1\25\1\uffff\1\21\1"+ @@ -14578,8 +14599,8 @@ public class wcpsParser extends Parser { "\1\145", "\1\146", "\1\147", - "\1\153\1\154\1\155\1\156\1\157\1\160\2\151\2\150\70\uffff\1"+ - "\152", + "\1\152\1\153\1\154\1\155\1\156\1\157\2\151\2\150\70\uffff\1"+ + "\160", "\1\164\1\165\1\166\1\167\1\170\1\171\2\162\2\161\70\uffff\1"+ "\163", "\1\175\1\176\1\177\1\u0080\1\u0081\1\u0082\2\173\2\172\70\uffff"+ @@ -14724,1893 +14745,1893 @@ public class wcpsParser extends Parser { "\1\uffff" }; - static final short[] DFA41_eot = DFA.unpackEncodedString(DFA41_eotS); - static final short[] DFA41_eof = DFA.unpackEncodedString(DFA41_eofS); - static final char[] DFA41_min = DFA.unpackEncodedStringToUnsignedChars(DFA41_minS); - static final char[] DFA41_max = DFA.unpackEncodedStringToUnsignedChars(DFA41_maxS); - static final short[] DFA41_accept = DFA.unpackEncodedString(DFA41_acceptS); - static final short[] DFA41_special = DFA.unpackEncodedString(DFA41_specialS); - static final short[][] DFA41_transition; + static final short[] DFA42_eot = DFA.unpackEncodedString(DFA42_eotS); + static final short[] DFA42_eof = DFA.unpackEncodedString(DFA42_eofS); + static final char[] DFA42_min = DFA.unpackEncodedStringToUnsignedChars(DFA42_minS); + static final char[] DFA42_max = DFA.unpackEncodedStringToUnsignedChars(DFA42_maxS); + static final short[] DFA42_accept = DFA.unpackEncodedString(DFA42_acceptS); + static final short[] DFA42_special = DFA.unpackEncodedString(DFA42_specialS); + static final short[][] DFA42_transition; static { - int numStates = DFA41_transitionS.length; - DFA41_transition = new short[numStates][]; + int numStates = DFA42_transitionS.length; + DFA42_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA41_transition[i] = DFA.unpackEncodedString(DFA41_transitionS[i]); + DFA42_transition[i] = DFA.unpackEncodedString(DFA42_transitionS[i]); } } - class DFA41 extends DFA { + class DFA42 extends DFA { - public DFA41(BaseRecognizer recognizer) { + public DFA42(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 41; - this.eot = DFA41_eot; - this.eof = DFA41_eof; - this.min = DFA41_min; - this.max = DFA41_max; - this.accept = DFA41_accept; - this.special = DFA41_special; - this.transition = DFA41_transition; + this.decisionNumber = 42; + this.eot = DFA42_eot; + this.eof = DFA42_eof; + this.min = DFA42_min; + this.max = DFA42_max; + this.accept = DFA42_accept; + this.special = DFA42_special; + this.transition = DFA42_transition; } public String getDescription() { - return "248:1: subsetExpr returns [SubsetExpr value] : (e1= trimExpr | e2= sliceExpr | e3= extendExpr );"; + return "250:1: subsetExpr returns [SubsetExpr value] : (e1= trimExpr | e2= sliceExpr | e3= extendExpr );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA41_34 = input.LA(1); + int LA42_34 = input.LA(1); - int index41_34 = input.index(); + int index42_34 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_34); + input.seek(index42_34); if ( s>=0 ) return s; break; case 1 : - int LA41_35 = input.LA(1); + int LA42_35 = input.LA(1); - int index41_35 = input.index(); + int index42_35 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_35); + input.seek(index42_35); if ( s>=0 ) return s; break; case 2 : - int LA41_36 = input.LA(1); + int LA42_36 = input.LA(1); - int index41_36 = input.index(); + int index42_36 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_36); + input.seek(index42_36); if ( s>=0 ) return s; break; case 3 : - int LA41_37 = input.LA(1); + int LA42_37 = input.LA(1); - int index41_37 = input.index(); + int index42_37 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_37); + input.seek(index42_37); if ( s>=0 ) return s; break; case 4 : - int LA41_38 = input.LA(1); + int LA42_38 = input.LA(1); - int index41_38 = input.index(); + int index42_38 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_38); + input.seek(index42_38); if ( s>=0 ) return s; break; case 5 : - int LA41_39 = input.LA(1); + int LA42_39 = input.LA(1); - int index41_39 = input.index(); + int index42_39 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_39); + input.seek(index42_39); if ( s>=0 ) return s; break; case 6 : - int LA41_40 = input.LA(1); + int LA42_40 = input.LA(1); - int index41_40 = input.index(); + int index42_40 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_40); + input.seek(index42_40); if ( s>=0 ) return s; break; case 7 : - int LA41_41 = input.LA(1); + int LA42_41 = input.LA(1); - int index41_41 = input.index(); + int index42_41 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_41); + input.seek(index42_41); if ( s>=0 ) return s; break; case 8 : - int LA41_42 = input.LA(1); + int LA42_42 = input.LA(1); - int index41_42 = input.index(); + int index42_42 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_42); + input.seek(index42_42); if ( s>=0 ) return s; break; case 9 : - int LA41_43 = input.LA(1); + int LA42_43 = input.LA(1); - int index41_43 = input.index(); + int index42_43 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_43); + input.seek(index42_43); if ( s>=0 ) return s; break; case 10 : - int LA41_44 = input.LA(1); + int LA42_44 = input.LA(1); - int index41_44 = input.index(); + int index42_44 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_44); + input.seek(index42_44); if ( s>=0 ) return s; break; case 11 : - int LA41_45 = input.LA(1); + int LA42_45 = input.LA(1); - int index41_45 = input.index(); + int index42_45 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_45); + input.seek(index42_45); if ( s>=0 ) return s; break; case 12 : - int LA41_46 = input.LA(1); + int LA42_46 = input.LA(1); - int index41_46 = input.index(); + int index42_46 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_46); + input.seek(index42_46); if ( s>=0 ) return s; break; case 13 : - int LA41_47 = input.LA(1); + int LA42_47 = input.LA(1); - int index41_47 = input.index(); + int index42_47 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_47); + input.seek(index42_47); if ( s>=0 ) return s; break; case 14 : - int LA41_48 = input.LA(1); + int LA42_48 = input.LA(1); - int index41_48 = input.index(); + int index42_48 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_48); + input.seek(index42_48); if ( s>=0 ) return s; break; case 15 : - int LA41_49 = input.LA(1); + int LA42_49 = input.LA(1); - int index41_49 = input.index(); + int index42_49 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_49); + input.seek(index42_49); if ( s>=0 ) return s; break; case 16 : - int LA41_50 = input.LA(1); + int LA42_50 = input.LA(1); - int index41_50 = input.index(); + int index42_50 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_50); + input.seek(index42_50); if ( s>=0 ) return s; break; case 17 : - int LA41_51 = input.LA(1); + int LA42_51 = input.LA(1); - int index41_51 = input.index(); + int index42_51 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_51); + input.seek(index42_51); if ( s>=0 ) return s; break; case 18 : - int LA41_52 = input.LA(1); + int LA42_52 = input.LA(1); - int index41_52 = input.index(); + int index42_52 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_52); + input.seek(index42_52); if ( s>=0 ) return s; break; case 19 : - int LA41_53 = input.LA(1); + int LA42_53 = input.LA(1); - int index41_53 = input.index(); + int index42_53 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_53); + input.seek(index42_53); if ( s>=0 ) return s; break; case 20 : - int LA41_54 = input.LA(1); + int LA42_54 = input.LA(1); - int index41_54 = input.index(); + int index42_54 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_54); + input.seek(index42_54); if ( s>=0 ) return s; break; case 21 : - int LA41_55 = input.LA(1); + int LA42_55 = input.LA(1); - int index41_55 = input.index(); + int index42_55 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_55); + input.seek(index42_55); if ( s>=0 ) return s; break; case 22 : - int LA41_56 = input.LA(1); + int LA42_56 = input.LA(1); - int index41_56 = input.index(); + int index42_56 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_56); + input.seek(index42_56); if ( s>=0 ) return s; break; case 23 : - int LA41_57 = input.LA(1); + int LA42_57 = input.LA(1); - int index41_57 = input.index(); + int index42_57 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_57); + input.seek(index42_57); if ( s>=0 ) return s; break; case 24 : - int LA41_58 = input.LA(1); + int LA42_58 = input.LA(1); - int index41_58 = input.index(); + int index42_58 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_58); + input.seek(index42_58); if ( s>=0 ) return s; break; case 25 : - int LA41_59 = input.LA(1); + int LA42_59 = input.LA(1); - int index41_59 = input.index(); + int index42_59 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_59); + input.seek(index42_59); if ( s>=0 ) return s; break; case 26 : - int LA41_60 = input.LA(1); + int LA42_60 = input.LA(1); - int index41_60 = input.index(); + int index42_60 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_60); + input.seek(index42_60); if ( s>=0 ) return s; break; case 27 : - int LA41_61 = input.LA(1); + int LA42_61 = input.LA(1); - int index41_61 = input.index(); + int index42_61 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_61); + input.seek(index42_61); if ( s>=0 ) return s; break; case 28 : - int LA41_62 = input.LA(1); + int LA42_62 = input.LA(1); - int index41_62 = input.index(); + int index42_62 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_62); + input.seek(index42_62); if ( s>=0 ) return s; break; case 29 : - int LA41_63 = input.LA(1); + int LA42_63 = input.LA(1); - int index41_63 = input.index(); + int index42_63 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_63); + input.seek(index42_63); if ( s>=0 ) return s; break; case 30 : - int LA41_64 = input.LA(1); + int LA42_64 = input.LA(1); - int index41_64 = input.index(); + int index42_64 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_64); + input.seek(index42_64); if ( s>=0 ) return s; break; case 31 : - int LA41_65 = input.LA(1); + int LA42_65 = input.LA(1); - int index41_65 = input.index(); + int index42_65 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_65); + input.seek(index42_65); if ( s>=0 ) return s; break; case 32 : - int LA41_66 = input.LA(1); + int LA42_66 = input.LA(1); - int index41_66 = input.index(); + int index42_66 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_66); + input.seek(index42_66); if ( s>=0 ) return s; break; case 33 : - int LA41_67 = input.LA(1); + int LA42_67 = input.LA(1); - int index41_67 = input.index(); + int index42_67 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_67); + input.seek(index42_67); if ( s>=0 ) return s; break; case 34 : - int LA41_68 = input.LA(1); + int LA42_68 = input.LA(1); - int index41_68 = input.index(); + int index42_68 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_68); + input.seek(index42_68); if ( s>=0 ) return s; break; case 35 : - int LA41_69 = input.LA(1); + int LA42_69 = input.LA(1); - int index41_69 = input.index(); + int index42_69 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_69); + input.seek(index42_69); if ( s>=0 ) return s; break; case 36 : - int LA41_70 = input.LA(1); + int LA42_70 = input.LA(1); - int index41_70 = input.index(); + int index42_70 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_70); + input.seek(index42_70); if ( s>=0 ) return s; break; case 37 : - int LA41_71 = input.LA(1); + int LA42_71 = input.LA(1); - int index41_71 = input.index(); + int index42_71 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_71); + input.seek(index42_71); if ( s>=0 ) return s; break; case 38 : - int LA41_72 = input.LA(1); + int LA42_72 = input.LA(1); - int index41_72 = input.index(); + int index42_72 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_72); + input.seek(index42_72); if ( s>=0 ) return s; break; case 39 : - int LA41_73 = input.LA(1); + int LA42_73 = input.LA(1); - int index41_73 = input.index(); + int index42_73 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_73); + input.seek(index42_73); if ( s>=0 ) return s; break; case 40 : - int LA41_74 = input.LA(1); + int LA42_74 = input.LA(1); - int index41_74 = input.index(); + int index42_74 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_74); + input.seek(index42_74); if ( s>=0 ) return s; break; case 41 : - int LA41_75 = input.LA(1); + int LA42_75 = input.LA(1); - int index41_75 = input.index(); + int index42_75 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_75); + input.seek(index42_75); if ( s>=0 ) return s; break; case 42 : - int LA41_76 = input.LA(1); + int LA42_76 = input.LA(1); - int index41_76 = input.index(); + int index42_76 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_76); + input.seek(index42_76); if ( s>=0 ) return s; break; case 43 : - int LA41_77 = input.LA(1); + int LA42_77 = input.LA(1); - int index41_77 = input.index(); + int index42_77 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_77); + input.seek(index42_77); if ( s>=0 ) return s; break; case 44 : - int LA41_78 = input.LA(1); + int LA42_78 = input.LA(1); - int index41_78 = input.index(); + int index42_78 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_78); + input.seek(index42_78); if ( s>=0 ) return s; break; case 45 : - int LA41_79 = input.LA(1); + int LA42_79 = input.LA(1); - int index41_79 = input.index(); + int index42_79 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_79); + input.seek(index42_79); if ( s>=0 ) return s; break; case 46 : - int LA41_80 = input.LA(1); + int LA42_80 = input.LA(1); - int index41_80 = input.index(); + int index42_80 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_80); + input.seek(index42_80); if ( s>=0 ) return s; break; case 47 : - int LA41_81 = input.LA(1); + int LA42_81 = input.LA(1); - int index41_81 = input.index(); + int index42_81 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_81); + input.seek(index42_81); if ( s>=0 ) return s; break; case 48 : - int LA41_82 = input.LA(1); + int LA42_82 = input.LA(1); - int index41_82 = input.index(); + int index42_82 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_82); + input.seek(index42_82); if ( s>=0 ) return s; break; case 49 : - int LA41_83 = input.LA(1); + int LA42_83 = input.LA(1); - int index41_83 = input.index(); + int index42_83 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_83); + input.seek(index42_83); if ( s>=0 ) return s; break; case 50 : - int LA41_84 = input.LA(1); + int LA42_84 = input.LA(1); - int index41_84 = input.index(); + int index42_84 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_84); + input.seek(index42_84); if ( s>=0 ) return s; break; case 51 : - int LA41_85 = input.LA(1); + int LA42_85 = input.LA(1); - int index41_85 = input.index(); + int index42_85 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_85); + input.seek(index42_85); if ( s>=0 ) return s; break; case 52 : - int LA41_86 = input.LA(1); + int LA42_86 = input.LA(1); - int index41_86 = input.index(); + int index42_86 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_86); + input.seek(index42_86); if ( s>=0 ) return s; break; case 53 : - int LA41_87 = input.LA(1); + int LA42_87 = input.LA(1); - int index41_87 = input.index(); + int index42_87 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_87); + input.seek(index42_87); if ( s>=0 ) return s; break; case 54 : - int LA41_88 = input.LA(1); + int LA42_88 = input.LA(1); - int index41_88 = input.index(); + int index42_88 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_88); + input.seek(index42_88); if ( s>=0 ) return s; break; case 55 : - int LA41_89 = input.LA(1); + int LA42_89 = input.LA(1); - int index41_89 = input.index(); + int index42_89 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_89); + input.seek(index42_89); if ( s>=0 ) return s; break; case 56 : - int LA41_90 = input.LA(1); + int LA42_90 = input.LA(1); - int index41_90 = input.index(); + int index42_90 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_90); + input.seek(index42_90); if ( s>=0 ) return s; break; case 57 : - int LA41_91 = input.LA(1); + int LA42_91 = input.LA(1); - int index41_91 = input.index(); + int index42_91 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_91); + input.seek(index42_91); if ( s>=0 ) return s; break; case 58 : - int LA41_92 = input.LA(1); + int LA42_92 = input.LA(1); - int index41_92 = input.index(); + int index42_92 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_92); + input.seek(index42_92); if ( s>=0 ) return s; break; case 59 : - int LA41_93 = input.LA(1); + int LA42_93 = input.LA(1); - int index41_93 = input.index(); + int index42_93 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_93); + input.seek(index42_93); if ( s>=0 ) return s; break; case 60 : - int LA41_94 = input.LA(1); + int LA42_94 = input.LA(1); - int index41_94 = input.index(); + int index42_94 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_94); + input.seek(index42_94); if ( s>=0 ) return s; break; case 61 : - int LA41_95 = input.LA(1); + int LA42_95 = input.LA(1); - int index41_95 = input.index(); + int index42_95 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_95); + input.seek(index42_95); if ( s>=0 ) return s; break; case 62 : - int LA41_96 = input.LA(1); + int LA42_96 = input.LA(1); - int index41_96 = input.index(); + int index42_96 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_96); + input.seek(index42_96); if ( s>=0 ) return s; break; case 63 : - int LA41_97 = input.LA(1); + int LA42_97 = input.LA(1); - int index41_97 = input.index(); + int index42_97 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_97); + input.seek(index42_97); if ( s>=0 ) return s; break; case 64 : - int LA41_98 = input.LA(1); + int LA42_98 = input.LA(1); - int index41_98 = input.index(); + int index42_98 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_98); + input.seek(index42_98); if ( s>=0 ) return s; break; case 65 : - int LA41_99 = input.LA(1); + int LA42_99 = input.LA(1); - int index41_99 = input.index(); + int index42_99 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_99); + input.seek(index42_99); if ( s>=0 ) return s; break; case 66 : - int LA41_100 = input.LA(1); + int LA42_100 = input.LA(1); - int index41_100 = input.index(); + int index42_100 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_100); + input.seek(index42_100); if ( s>=0 ) return s; break; case 67 : - int LA41_101 = input.LA(1); + int LA42_101 = input.LA(1); - int index41_101 = input.index(); + int index42_101 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_101); + input.seek(index42_101); if ( s>=0 ) return s; break; case 68 : - int LA41_102 = input.LA(1); + int LA42_102 = input.LA(1); - int index41_102 = input.index(); + int index42_102 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_102); + input.seek(index42_102); if ( s>=0 ) return s; break; case 69 : - int LA41_103 = input.LA(1); + int LA42_103 = input.LA(1); - int index41_103 = input.index(); + int index42_103 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_103); + input.seek(index42_103); if ( s>=0 ) return s; break; case 70 : - int LA41_104 = input.LA(1); + int LA42_104 = input.LA(1); - int index41_104 = input.index(); + int index42_104 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_104); + input.seek(index42_104); if ( s>=0 ) return s; break; case 71 : - int LA41_105 = input.LA(1); + int LA42_105 = input.LA(1); - int index41_105 = input.index(); + int index42_105 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_105); + input.seek(index42_105); if ( s>=0 ) return s; break; case 72 : - int LA41_106 = input.LA(1); + int LA42_106 = input.LA(1); - int index41_106 = input.index(); + int index42_106 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_106); + input.seek(index42_106); if ( s>=0 ) return s; break; case 73 : - int LA41_107 = input.LA(1); + int LA42_107 = input.LA(1); - int index41_107 = input.index(); + int index42_107 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_107); + input.seek(index42_107); if ( s>=0 ) return s; break; case 74 : - int LA41_108 = input.LA(1); + int LA42_108 = input.LA(1); - int index41_108 = input.index(); + int index42_108 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_108); + input.seek(index42_108); if ( s>=0 ) return s; break; case 75 : - int LA41_109 = input.LA(1); + int LA42_109 = input.LA(1); - int index41_109 = input.index(); + int index42_109 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_109); + input.seek(index42_109); if ( s>=0 ) return s; break; case 76 : - int LA41_110 = input.LA(1); + int LA42_110 = input.LA(1); - int index41_110 = input.index(); + int index42_110 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_110); + input.seek(index42_110); if ( s>=0 ) return s; break; case 77 : - int LA41_111 = input.LA(1); + int LA42_111 = input.LA(1); - int index41_111 = input.index(); + int index42_111 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_111); + input.seek(index42_111); if ( s>=0 ) return s; break; case 78 : - int LA41_112 = input.LA(1); + int LA42_112 = input.LA(1); - int index41_112 = input.index(); + int index42_112 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_112); + input.seek(index42_112); if ( s>=0 ) return s; break; case 79 : - int LA41_113 = input.LA(1); + int LA42_113 = input.LA(1); - int index41_113 = input.index(); + int index42_113 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_113); + input.seek(index42_113); if ( s>=0 ) return s; break; case 80 : - int LA41_114 = input.LA(1); + int LA42_114 = input.LA(1); - int index41_114 = input.index(); + int index42_114 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_114); + input.seek(index42_114); if ( s>=0 ) return s; break; case 81 : - int LA41_115 = input.LA(1); + int LA42_115 = input.LA(1); - int index41_115 = input.index(); + int index42_115 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_115); + input.seek(index42_115); if ( s>=0 ) return s; break; case 82 : - int LA41_116 = input.LA(1); + int LA42_116 = input.LA(1); - int index41_116 = input.index(); + int index42_116 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_116); + input.seek(index42_116); if ( s>=0 ) return s; break; case 83 : - int LA41_117 = input.LA(1); + int LA42_117 = input.LA(1); - int index41_117 = input.index(); + int index42_117 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_117); + input.seek(index42_117); if ( s>=0 ) return s; break; case 84 : - int LA41_118 = input.LA(1); + int LA42_118 = input.LA(1); - int index41_118 = input.index(); + int index42_118 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_118); + input.seek(index42_118); if ( s>=0 ) return s; break; case 85 : - int LA41_119 = input.LA(1); + int LA42_119 = input.LA(1); - int index41_119 = input.index(); + int index42_119 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_119); + input.seek(index42_119); if ( s>=0 ) return s; break; case 86 : - int LA41_120 = input.LA(1); + int LA42_120 = input.LA(1); - int index41_120 = input.index(); + int index42_120 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_120); + input.seek(index42_120); if ( s>=0 ) return s; break; case 87 : - int LA41_121 = input.LA(1); + int LA42_121 = input.LA(1); - int index41_121 = input.index(); + int index42_121 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_121); + input.seek(index42_121); if ( s>=0 ) return s; break; case 88 : - int LA41_122 = input.LA(1); + int LA42_122 = input.LA(1); - int index41_122 = input.index(); + int index42_122 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_122); + input.seek(index42_122); if ( s>=0 ) return s; break; case 89 : - int LA41_123 = input.LA(1); + int LA42_123 = input.LA(1); - int index41_123 = input.index(); + int index42_123 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_123); + input.seek(index42_123); if ( s>=0 ) return s; break; case 90 : - int LA41_124 = input.LA(1); + int LA42_124 = input.LA(1); - int index41_124 = input.index(); + int index42_124 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_124); + input.seek(index42_124); if ( s>=0 ) return s; break; case 91 : - int LA41_125 = input.LA(1); + int LA42_125 = input.LA(1); - int index41_125 = input.index(); + int index42_125 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_125); + input.seek(index42_125); if ( s>=0 ) return s; break; case 92 : - int LA41_126 = input.LA(1); + int LA42_126 = input.LA(1); - int index41_126 = input.index(); + int index42_126 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_126); + input.seek(index42_126); if ( s>=0 ) return s; break; case 93 : - int LA41_127 = input.LA(1); + int LA42_127 = input.LA(1); - int index41_127 = input.index(); + int index42_127 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_127); + input.seek(index42_127); if ( s>=0 ) return s; break; case 94 : - int LA41_128 = input.LA(1); + int LA42_128 = input.LA(1); - int index41_128 = input.index(); + int index42_128 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_128); + input.seek(index42_128); if ( s>=0 ) return s; break; case 95 : - int LA41_129 = input.LA(1); + int LA42_129 = input.LA(1); - int index41_129 = input.index(); + int index42_129 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_129); + input.seek(index42_129); if ( s>=0 ) return s; break; case 96 : - int LA41_130 = input.LA(1); + int LA42_130 = input.LA(1); - int index41_130 = input.index(); + int index42_130 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_130); + input.seek(index42_130); if ( s>=0 ) return s; break; case 97 : - int LA41_131 = input.LA(1); + int LA42_131 = input.LA(1); - int index41_131 = input.index(); + int index42_131 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_131); + input.seek(index42_131); if ( s>=0 ) return s; break; case 98 : - int LA41_132 = input.LA(1); + int LA42_132 = input.LA(1); - int index41_132 = input.index(); + int index42_132 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_132); + input.seek(index42_132); if ( s>=0 ) return s; break; case 99 : - int LA41_133 = input.LA(1); + int LA42_133 = input.LA(1); - int index41_133 = input.index(); + int index42_133 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_133); + input.seek(index42_133); if ( s>=0 ) return s; break; case 100 : - int LA41_134 = input.LA(1); + int LA42_134 = input.LA(1); - int index41_134 = input.index(); + int index42_134 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_134); + input.seek(index42_134); if ( s>=0 ) return s; break; case 101 : - int LA41_135 = input.LA(1); + int LA42_135 = input.LA(1); - int index41_135 = input.index(); + int index42_135 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_135); + input.seek(index42_135); if ( s>=0 ) return s; break; case 102 : - int LA41_136 = input.LA(1); + int LA42_136 = input.LA(1); - int index41_136 = input.index(); + int index42_136 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_136); + input.seek(index42_136); if ( s>=0 ) return s; break; case 103 : - int LA41_137 = input.LA(1); + int LA42_137 = input.LA(1); - int index41_137 = input.index(); + int index42_137 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_137); + input.seek(index42_137); if ( s>=0 ) return s; break; case 104 : - int LA41_138 = input.LA(1); + int LA42_138 = input.LA(1); - int index41_138 = input.index(); + int index42_138 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_138); + input.seek(index42_138); if ( s>=0 ) return s; break; case 105 : - int LA41_139 = input.LA(1); + int LA42_139 = input.LA(1); - int index41_139 = input.index(); + int index42_139 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_139); + input.seek(index42_139); if ( s>=0 ) return s; break; case 106 : - int LA41_140 = input.LA(1); + int LA42_140 = input.LA(1); - int index41_140 = input.index(); + int index42_140 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_140); + input.seek(index42_140); if ( s>=0 ) return s; break; case 107 : - int LA41_141 = input.LA(1); + int LA42_141 = input.LA(1); - int index41_141 = input.index(); + int index42_141 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_141); + input.seek(index42_141); if ( s>=0 ) return s; break; case 108 : - int LA41_142 = input.LA(1); + int LA42_142 = input.LA(1); - int index41_142 = input.index(); + int index42_142 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_142); + input.seek(index42_142); if ( s>=0 ) return s; break; case 109 : - int LA41_143 = input.LA(1); + int LA42_143 = input.LA(1); - int index41_143 = input.index(); + int index42_143 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_143); + input.seek(index42_143); if ( s>=0 ) return s; break; case 110 : - int LA41_144 = input.LA(1); + int LA42_144 = input.LA(1); - int index41_144 = input.index(); + int index42_144 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_144); + input.seek(index42_144); if ( s>=0 ) return s; break; case 111 : - int LA41_145 = input.LA(1); + int LA42_145 = input.LA(1); - int index41_145 = input.index(); + int index42_145 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_145); + input.seek(index42_145); if ( s>=0 ) return s; break; case 112 : - int LA41_146 = input.LA(1); + int LA42_146 = input.LA(1); - int index41_146 = input.index(); + int index42_146 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_146); + input.seek(index42_146); if ( s>=0 ) return s; break; case 113 : - int LA41_147 = input.LA(1); + int LA42_147 = input.LA(1); - int index41_147 = input.index(); + int index42_147 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_147); + input.seek(index42_147); if ( s>=0 ) return s; break; case 114 : - int LA41_148 = input.LA(1); + int LA42_148 = input.LA(1); - int index41_148 = input.index(); + int index42_148 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_148); + input.seek(index42_148); if ( s>=0 ) return s; break; case 115 : - int LA41_149 = input.LA(1); + int LA42_149 = input.LA(1); - int index41_149 = input.index(); + int index42_149 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_149); + input.seek(index42_149); if ( s>=0 ) return s; break; case 116 : - int LA41_150 = input.LA(1); + int LA42_150 = input.LA(1); - int index41_150 = input.index(); + int index42_150 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_150); + input.seek(index42_150); if ( s>=0 ) return s; break; case 117 : - int LA41_151 = input.LA(1); + int LA42_151 = input.LA(1); - int index41_151 = input.index(); + int index42_151 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_151); + input.seek(index42_151); if ( s>=0 ) return s; break; case 118 : - int LA41_152 = input.LA(1); + int LA42_152 = input.LA(1); - int index41_152 = input.index(); + int index42_152 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_152); + input.seek(index42_152); if ( s>=0 ) return s; break; case 119 : - int LA41_153 = input.LA(1); + int LA42_153 = input.LA(1); - int index41_153 = input.index(); + int index42_153 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_153); + input.seek(index42_153); if ( s>=0 ) return s; break; case 120 : - int LA41_154 = input.LA(1); + int LA42_154 = input.LA(1); - int index41_154 = input.index(); + int index42_154 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_154); + input.seek(index42_154); if ( s>=0 ) return s; break; case 121 : - int LA41_155 = input.LA(1); + int LA42_155 = input.LA(1); - int index41_155 = input.index(); + int index42_155 = input.index(); input.rewind(); s = -1; - if ( (synpred99_wcps()) ) {s = 31;} + if ( (synpred100_wcps()) ) {s = 31;} - else if ( (synpred100_wcps()) ) {s = 32;} + else if ( (synpred101_wcps()) ) {s = 32;} - input.seek(index41_155); + input.seek(index42_155); if ( s>=0 ) return s; break; } if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = - new NoViableAltException(getDescription(), 41, _s, input); + new NoViableAltException(getDescription(), 42, _s, input); error(nvae); throw nvae; } } - static final String DFA42_eotS = + static final String DFA43_eotS = "\40\uffff"; - static final String DFA42_eofS = + static final String DFA43_eofS = "\40\uffff"; - static final String DFA42_minS = + static final String DFA43_minS = "\1\6\37\uffff"; - static final String DFA42_maxS = + static final String DFA43_maxS = "\1\154\37\uffff"; - static final String DFA42_acceptS = + static final String DFA43_acceptS = "\1\uffff\1\1\35\uffff\1\2"; - static final String DFA42_specialS = + static final String DFA43_specialS = "\40\uffff}>"; - static final String[] DFA42_transitionS = { + static final String[] DFA43_transitionS = { "\1\1\20\uffff\1\1\3\uffff\20\1\3\uffff\1\1\4\uffff\6\1\1\uffff"+ "\1\1\1\uffff\2\1\16\uffff\1\1\1\uffff\3\1\3\uffff\1\37\14\uffff"+ "\2\1\10\uffff\2\1", @@ -16647,52 +16668,52 @@ public class wcpsParser extends Parser { "" }; - static final short[] DFA42_eot = DFA.unpackEncodedString(DFA42_eotS); - static final short[] DFA42_eof = DFA.unpackEncodedString(DFA42_eofS); - static final char[] DFA42_min = DFA.unpackEncodedStringToUnsignedChars(DFA42_minS); - static final char[] DFA42_max = DFA.unpackEncodedStringToUnsignedChars(DFA42_maxS); - static final short[] DFA42_accept = DFA.unpackEncodedString(DFA42_acceptS); - static final short[] DFA42_special = DFA.unpackEncodedString(DFA42_specialS); - static final short[][] DFA42_transition; + static final short[] DFA43_eot = DFA.unpackEncodedString(DFA43_eotS); + static final short[] DFA43_eof = DFA.unpackEncodedString(DFA43_eofS); + static final char[] DFA43_min = DFA.unpackEncodedStringToUnsignedChars(DFA43_minS); + static final char[] DFA43_max = DFA.unpackEncodedStringToUnsignedChars(DFA43_maxS); + static final short[] DFA43_accept = DFA.unpackEncodedString(DFA43_acceptS); + static final short[] DFA43_special = DFA.unpackEncodedString(DFA43_specialS); + static final short[][] DFA43_transition; static { - int numStates = DFA42_transitionS.length; - DFA42_transition = new short[numStates][]; + int numStates = DFA43_transitionS.length; + DFA43_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA42_transition[i] = DFA.unpackEncodedString(DFA42_transitionS[i]); + DFA43_transition[i] = DFA.unpackEncodedString(DFA43_transitionS[i]); } } - class DFA42 extends DFA { + class DFA43 extends DFA { - public DFA42(BaseRecognizer recognizer) { + public DFA43(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 42; - this.eot = DFA42_eot; - this.eof = DFA42_eof; - this.min = DFA42_min; - this.max = DFA42_max; - this.accept = DFA42_accept; - this.special = DFA42_special; - this.transition = DFA42_transition; + this.decisionNumber = 43; + this.eot = DFA43_eot; + this.eof = DFA43_eof; + this.min = DFA43_min; + this.max = DFA43_max; + this.accept = DFA43_accept; + this.special = DFA43_special; + this.transition = DFA43_transition; } public String getDescription() { - return "253:1: trimExpr returns [TrimExpr value] : (e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET | TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN );"; + return "255:1: trimExpr returns [TrimExpr value] : (e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET | TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN );"; } } - static final String DFA43_eotS = + static final String DFA44_eotS = "\40\uffff"; - static final String DFA43_eofS = + static final String DFA44_eofS = "\40\uffff"; - static final String DFA43_minS = + static final String DFA44_minS = "\1\6\37\uffff"; - static final String DFA43_maxS = + static final String DFA44_maxS = "\1\154\37\uffff"; - static final String DFA43_acceptS = + static final String DFA44_acceptS = "\1\uffff\1\1\35\uffff\1\2"; - static final String DFA43_specialS = + static final String DFA44_specialS = "\40\uffff}>"; - static final String[] DFA43_transitionS = { + static final String[] DFA44_transitionS = { "\1\1\20\uffff\1\1\3\uffff\20\1\3\uffff\1\1\4\uffff\6\1\1\uffff"+ "\1\1\1\uffff\2\1\16\uffff\1\1\1\uffff\3\1\4\uffff\1\37\13\uffff"+ "\2\1\10\uffff\2\1", @@ -16729,52 +16750,52 @@ public class wcpsParser extends Parser { "" }; - static final short[] DFA43_eot = DFA.unpackEncodedString(DFA43_eotS); - static final short[] DFA43_eof = DFA.unpackEncodedString(DFA43_eofS); - static final char[] DFA43_min = DFA.unpackEncodedStringToUnsignedChars(DFA43_minS); - static final char[] DFA43_max = DFA.unpackEncodedStringToUnsignedChars(DFA43_maxS); - static final short[] DFA43_accept = DFA.unpackEncodedString(DFA43_acceptS); - static final short[] DFA43_special = DFA.unpackEncodedString(DFA43_specialS); - static final short[][] DFA43_transition; + static final short[] DFA44_eot = DFA.unpackEncodedString(DFA44_eotS); + static final short[] DFA44_eof = DFA.unpackEncodedString(DFA44_eofS); + static final char[] DFA44_min = DFA.unpackEncodedStringToUnsignedChars(DFA44_minS); + static final char[] DFA44_max = DFA.unpackEncodedStringToUnsignedChars(DFA44_maxS); + static final short[] DFA44_accept = DFA.unpackEncodedString(DFA44_acceptS); + static final short[] DFA44_special = DFA.unpackEncodedString(DFA44_specialS); + static final short[][] DFA44_transition; static { - int numStates = DFA43_transitionS.length; - DFA43_transition = new short[numStates][]; + int numStates = DFA44_transitionS.length; + DFA44_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA43_transition[i] = DFA.unpackEncodedString(DFA43_transitionS[i]); + DFA44_transition[i] = DFA.unpackEncodedString(DFA44_transitionS[i]); } } - class DFA43 extends DFA { + class DFA44 extends DFA { - public DFA43(BaseRecognizer recognizer) { + public DFA44(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 43; - this.eot = DFA43_eot; - this.eof = DFA43_eof; - this.min = DFA43_min; - this.max = DFA43_max; - this.accept = DFA43_accept; - this.special = DFA43_special; - this.transition = DFA43_transition; + this.decisionNumber = 44; + this.eot = DFA44_eot; + this.eof = DFA44_eof; + this.min = DFA44_min; + this.max = DFA44_max; + this.accept = DFA44_accept; + this.special = DFA44_special; + this.transition = DFA44_transition; } public String getDescription() { - return "257:1: sliceExpr returns [SliceExpr value] : (e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET | SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN );"; + return "259:1: sliceExpr returns [SliceExpr value] : (e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET | SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN );"; } } - static final String DFA45_eotS = + static final String DFA46_eotS = "\77\uffff"; - static final String DFA45_eofS = + static final String DFA46_eofS = "\1\1\76\uffff"; - static final String DFA45_minS = + static final String DFA46_minS = "\1\7\7\uffff\1\0\66\uffff"; - static final String DFA45_maxS = + static final String DFA46_maxS = "\1\140\7\uffff\1\0\66\uffff"; - static final String DFA45_acceptS = + static final String DFA46_acceptS = "\1\uffff\1\2\74\uffff\1\1"; - static final String DFA45_specialS = + static final String DFA46_specialS = "\10\uffff\1\0\66\uffff}>"; - static final String[] DFA45_transitionS = { + static final String[] DFA46_transitionS = { "\2\1\1\uffff\1\1\2\uffff\2\10\14\1\21\uffff\2\1\3\uffff\1\1"+ "\7\uffff\1\1\30\uffff\1\1\15\uffff\1\1", "", @@ -16841,78 +16862,78 @@ public class wcpsParser extends Parser { "" }; - static final short[] DFA45_eot = DFA.unpackEncodedString(DFA45_eotS); - static final short[] DFA45_eof = DFA.unpackEncodedString(DFA45_eofS); - static final char[] DFA45_min = DFA.unpackEncodedStringToUnsignedChars(DFA45_minS); - static final char[] DFA45_max = DFA.unpackEncodedStringToUnsignedChars(DFA45_maxS); - static final short[] DFA45_accept = DFA.unpackEncodedString(DFA45_acceptS); - static final short[] DFA45_special = DFA.unpackEncodedString(DFA45_specialS); - static final short[][] DFA45_transition; + static final short[] DFA46_eot = DFA.unpackEncodedString(DFA46_eotS); + static final short[] DFA46_eof = DFA.unpackEncodedString(DFA46_eofS); + static final char[] DFA46_min = DFA.unpackEncodedStringToUnsignedChars(DFA46_minS); + static final char[] DFA46_max = DFA.unpackEncodedStringToUnsignedChars(DFA46_maxS); + static final short[] DFA46_accept = DFA.unpackEncodedString(DFA46_acceptS); + static final short[] DFA46_special = DFA.unpackEncodedString(DFA46_specialS); + static final short[][] DFA46_transition; static { - int numStates = DFA45_transitionS.length; - DFA45_transition = new short[numStates][]; + int numStates = DFA46_transitionS.length; + DFA46_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA45_transition[i] = DFA.unpackEncodedString(DFA45_transitionS[i]); + DFA46_transition[i] = DFA.unpackEncodedString(DFA46_transitionS[i]); } } - class DFA45 extends DFA { + class DFA46 extends DFA { - public DFA45(BaseRecognizer recognizer) { + public DFA46(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 45; - this.eot = DFA45_eot; - this.eof = DFA45_eof; - this.min = DFA45_min; - this.max = DFA45_max; - this.accept = DFA45_accept; - this.special = DFA45_special; - this.transition = DFA45_transition; + this.decisionNumber = 46; + this.eot = DFA46_eot; + this.eof = DFA46_eof; + this.min = DFA46_min; + this.max = DFA46_max; + this.accept = DFA46_accept; + this.special = DFA46_special; + this.transition = DFA46_transition; } public String getDescription() { - return "()* loopback of 278:7: (op= ( OR | XOR ) e2= booleanScalarTerm )*"; + return "()* loopback of 280:7: (op= ( OR | XOR ) e2= booleanScalarTerm )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA45_8 = input.LA(1); + int LA46_8 = input.LA(1); - int index45_8 = input.index(); + int index46_8 = input.index(); input.rewind(); s = -1; - if ( (synpred114_wcps()) ) {s = 62;} + if ( (synpred115_wcps()) ) {s = 62;} else if ( (true) ) {s = 1;} - input.seek(index45_8); + input.seek(index46_8); if ( s>=0 ) return s; break; } if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = - new NoViableAltException(getDescription(), 45, _s, input); + new NoViableAltException(getDescription(), 46, _s, input); error(nvae); throw nvae; } } - static final String DFA46_eotS = + static final String DFA47_eotS = "\77\uffff"; - static final String DFA46_eofS = + static final String DFA47_eofS = "\1\1\76\uffff"; - static final String DFA46_minS = + static final String DFA47_minS = "\1\7\7\uffff\1\0\66\uffff"; - static final String DFA46_maxS = + static final String DFA47_maxS = "\1\140\7\uffff\1\0\66\uffff"; - static final String DFA46_acceptS = + static final String DFA47_acceptS = "\1\uffff\1\2\74\uffff\1\1"; - static final String DFA46_specialS = + static final String DFA47_specialS = "\10\uffff\1\0\66\uffff}>"; - static final String[] DFA46_transitionS = { + static final String[] DFA47_transitionS = { "\2\1\1\uffff\1\1\2\uffff\2\1\1\10\13\1\21\uffff\2\1\3\uffff"+ "\1\1\7\uffff\1\1\30\uffff\1\1\15\uffff\1\1", "", @@ -16979,78 +17000,78 @@ public class wcpsParser extends Parser { "" }; - static final short[] DFA46_eot = DFA.unpackEncodedString(DFA46_eotS); - static final short[] DFA46_eof = DFA.unpackEncodedString(DFA46_eofS); - static final char[] DFA46_min = DFA.unpackEncodedStringToUnsignedChars(DFA46_minS); - static final char[] DFA46_max = DFA.unpackEncodedStringToUnsignedChars(DFA46_maxS); - static final short[] DFA46_accept = DFA.unpackEncodedString(DFA46_acceptS); - static final short[] DFA46_special = DFA.unpackEncodedString(DFA46_specialS); - static final short[][] DFA46_transition; + static final short[] DFA47_eot = DFA.unpackEncodedString(DFA47_eotS); + static final short[] DFA47_eof = DFA.unpackEncodedString(DFA47_eofS); + static final char[] DFA47_min = DFA.unpackEncodedStringToUnsignedChars(DFA47_minS); + static final char[] DFA47_max = DFA.unpackEncodedStringToUnsignedChars(DFA47_maxS); + static final short[] DFA47_accept = DFA.unpackEncodedString(DFA47_acceptS); + static final short[] DFA47_special = DFA.unpackEncodedString(DFA47_specialS); + static final short[][] DFA47_transition; static { - int numStates = DFA46_transitionS.length; - DFA46_transition = new short[numStates][]; + int numStates = DFA47_transitionS.length; + DFA47_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA46_transition[i] = DFA.unpackEncodedString(DFA46_transitionS[i]); + DFA47_transition[i] = DFA.unpackEncodedString(DFA47_transitionS[i]); } } - class DFA46 extends DFA { + class DFA47 extends DFA { - public DFA46(BaseRecognizer recognizer) { + public DFA47(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 46; - this.eot = DFA46_eot; - this.eof = DFA46_eof; - this.min = DFA46_min; - this.max = DFA46_max; - this.accept = DFA46_accept; - this.special = DFA46_special; - this.transition = DFA46_transition; + this.decisionNumber = 47; + this.eot = DFA47_eot; + this.eof = DFA47_eof; + this.min = DFA47_min; + this.max = DFA47_max; + this.accept = DFA47_accept; + this.special = DFA47_special; + this.transition = DFA47_transition; } public String getDescription() { - return "()* loopback of 282:4: (op= AND e2= booleanScalarNegation )*"; + return "()* loopback of 284:4: (op= AND e2= booleanScalarNegation )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA46_8 = input.LA(1); + int LA47_8 = input.LA(1); - int index46_8 = input.index(); + int index47_8 = input.index(); input.rewind(); s = -1; - if ( (synpred115_wcps()) ) {s = 62;} + if ( (synpred116_wcps()) ) {s = 62;} else if ( (true) ) {s = 1;} - input.seek(index46_8); + input.seek(index47_8); if ( s>=0 ) return s; break; } if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = - new NoViableAltException(getDescription(), 46, _s, input); + new NoViableAltException(getDescription(), 47, _s, input); error(nvae); throw nvae; } } - static final String DFA47_eotS = + static final String DFA48_eotS = "\17\uffff"; - static final String DFA47_eofS = + static final String DFA48_eofS = "\17\uffff"; - static final String DFA47_minS = + static final String DFA48_minS = "\1\6\16\uffff"; - static final String DFA47_maxS = + static final String DFA48_maxS = "\1\154\16\uffff"; - static final String DFA47_acceptS = + static final String DFA48_acceptS = "\1\uffff\1\1\14\uffff\1\2"; - static final String DFA47_specialS = + static final String DFA48_specialS = "\17\uffff}>"; - static final String[] DFA47_transitionS = { + static final String[] DFA48_transitionS = { "\1\1\20\uffff\1\1\3\uffff\1\1\7\uffff\10\1\21\uffff\2\1\16\uffff"+ "\1\16\1\uffff\3\1\20\uffff\2\1\11\uffff\1\1", "", @@ -17069,57 +17090,57 @@ public class wcpsParser extends Parser { "" }; - static final short[] DFA47_eot = DFA.unpackEncodedString(DFA47_eotS); - static final short[] DFA47_eof = DFA.unpackEncodedString(DFA47_eofS); - static final char[] DFA47_min = DFA.unpackEncodedStringToUnsignedChars(DFA47_minS); - static final char[] DFA47_max = DFA.unpackEncodedStringToUnsignedChars(DFA47_maxS); - static final short[] DFA47_accept = DFA.unpackEncodedString(DFA47_acceptS); - static final short[] DFA47_special = DFA.unpackEncodedString(DFA47_specialS); - static final short[][] DFA47_transition; + static final short[] DFA48_eot = DFA.unpackEncodedString(DFA48_eotS); + static final short[] DFA48_eof = DFA.unpackEncodedString(DFA48_eofS); + static final char[] DFA48_min = DFA.unpackEncodedStringToUnsignedChars(DFA48_minS); + static final char[] DFA48_max = DFA.unpackEncodedStringToUnsignedChars(DFA48_maxS); + static final short[] DFA48_accept = DFA.unpackEncodedString(DFA48_acceptS); + static final short[] DFA48_special = DFA.unpackEncodedString(DFA48_specialS); + static final short[][] DFA48_transition; static { - int numStates = DFA47_transitionS.length; - DFA47_transition = new short[numStates][]; + int numStates = DFA48_transitionS.length; + DFA48_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA47_transition[i] = DFA.unpackEncodedString(DFA47_transitionS[i]); + DFA48_transition[i] = DFA.unpackEncodedString(DFA48_transitionS[i]); } } - class DFA47 extends DFA { + class DFA48 extends DFA { - public DFA47(BaseRecognizer recognizer) { + public DFA48(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 47; - this.eot = DFA47_eot; - this.eof = DFA47_eof; - this.min = DFA47_min; - this.max = DFA47_max; - this.accept = DFA47_accept; - this.special = DFA47_special; - this.transition = DFA47_transition; + this.decisionNumber = 48; + this.eot = DFA48_eot; + this.eof = DFA48_eof; + this.min = DFA48_min; + this.max = DFA48_max; + this.accept = DFA48_accept; + this.special = DFA48_special; + this.transition = DFA48_transition; } public String getDescription() { - return "284:1: booleanScalarNegation returns [BooleanScalarExpr value] : (e1= booleanScalarAtom | op= NOT e1= booleanScalarAtom );"; + return "286:1: booleanScalarNegation returns [BooleanScalarExpr value] : (e1= booleanScalarAtom | op= NOT e1= booleanScalarAtom );"; } } - static final String DFA48_eotS = + static final String DFA49_eotS = "\34\uffff"; - static final String DFA48_eofS = + static final String DFA49_eofS = "\34\uffff"; - static final String DFA48_minS = - "\2\6\14\uffff\2\0\2\uffff\10\0\2\uffff"; - static final String DFA48_maxS = - "\2\154\14\uffff\2\0\2\uffff\10\0\2\uffff"; - static final String DFA48_acceptS = - "\2\uffff\1\2\1\uffff\1\3\10\uffff\1\4\2\uffff\1\1\13\uffff"; - static final String DFA48_specialS = - "\16\uffff\1\0\1\1\2\uffff\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\2\uffff}>"; - static final String[] DFA48_transitionS = { + static final String DFA49_minS = + "\2\6\14\uffff\12\0\4\uffff"; + static final String DFA49_maxS = + "\2\154\14\uffff\12\0\4\uffff"; + static final String DFA49_acceptS = + "\2\uffff\1\2\1\uffff\1\3\10\uffff\1\4\12\uffff\1\1\3\uffff"; + static final String DFA49_specialS = + "\16\uffff\1\0\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\4\uffff}>"; + static final String[] DFA49_transitionS = { "\1\1\20\uffff\1\4\3\uffff\1\2\7\uffff\10\4\21\uffff\2\4\20\uffff"+ "\2\4\1\2\20\uffff\1\15\1\4\11\uffff\1\4", - "\1\17\20\uffff\1\22\3\uffff\1\20\7\uffff\7\27\1\30\21\uffff"+ - "\1\24\1\23\16\uffff\1\20\1\uffff\1\26\1\25\1\20\20\uffff\1\20"+ - "\1\16\11\uffff\1\31", + "\1\17\20\uffff\1\20\3\uffff\1\30\7\uffff\7\25\1\26\21\uffff"+ + "\1\22\1\21\16\uffff\1\30\1\uffff\1\24\1\23\1\30\20\uffff\1\30"+ + "\1\16\11\uffff\1\27", "", "", "", @@ -17134,8 +17155,6 @@ public class wcpsParser extends Parser { "", "\1\uffff", "\1\uffff", - "", - "", "\1\uffff", "\1\uffff", "\1\uffff", @@ -17145,216 +17164,218 @@ public class wcpsParser extends Parser { "\1\uffff", "\1\uffff", "", + "", + "", "" }; - static final short[] DFA48_eot = DFA.unpackEncodedString(DFA48_eotS); - static final short[] DFA48_eof = DFA.unpackEncodedString(DFA48_eofS); - static final char[] DFA48_min = DFA.unpackEncodedStringToUnsignedChars(DFA48_minS); - static final char[] DFA48_max = DFA.unpackEncodedStringToUnsignedChars(DFA48_maxS); - static final short[] DFA48_accept = DFA.unpackEncodedString(DFA48_acceptS); - static final short[] DFA48_special = DFA.unpackEncodedString(DFA48_specialS); - static final short[][] DFA48_transition; + static final short[] DFA49_eot = DFA.unpackEncodedString(DFA49_eotS); + static final short[] DFA49_eof = DFA.unpackEncodedString(DFA49_eofS); + static final char[] DFA49_min = DFA.unpackEncodedStringToUnsignedChars(DFA49_minS); + static final char[] DFA49_max = DFA.unpackEncodedStringToUnsignedChars(DFA49_maxS); + static final short[] DFA49_accept = DFA.unpackEncodedString(DFA49_acceptS); + static final short[] DFA49_special = DFA.unpackEncodedString(DFA49_specialS); + static final short[][] DFA49_transition; static { - int numStates = DFA48_transitionS.length; - DFA48_transition = new short[numStates][]; + int numStates = DFA49_transitionS.length; + DFA49_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA48_transition[i] = DFA.unpackEncodedString(DFA48_transitionS[i]); + DFA49_transition[i] = DFA.unpackEncodedString(DFA49_transitionS[i]); } } - class DFA48 extends DFA { + class DFA49 extends DFA { - public DFA48(BaseRecognizer recognizer) { + public DFA49(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 48; - this.eot = DFA48_eot; - this.eof = DFA48_eof; - this.min = DFA48_min; - this.max = DFA48_max; - this.accept = DFA48_accept; - this.special = DFA48_special; - this.transition = DFA48_transition; + this.decisionNumber = 49; + this.eot = DFA49_eot; + this.eof = DFA49_eof; + this.min = DFA49_min; + this.max = DFA49_max; + this.accept = DFA49_accept; + this.special = DFA49_special; + this.transition = DFA49_transition; } public String getDescription() { - return "288:1: booleanScalarAtom returns [BooleanScalarExpr value] : ( LPAREN e1= booleanScalarExpr RPAREN | s1= stringScalarExpr cop= compOp s2= stringScalarExpr | n1= numericScalarExpr cop= compOp n2= numericScalarExpr | e= BOOLEANCONSTANT );"; + return "290:1: booleanScalarAtom returns [BooleanScalarExpr value] : ( LPAREN e1= booleanScalarExpr RPAREN | s1= stringScalarExpr cop= compOp s2= stringScalarExpr | n1= numericScalarExpr cop= compOp n2= numericScalarExpr | e= BOOLEANCONSTANT );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA48_14 = input.LA(1); + int LA49_14 = input.LA(1); - int index48_14 = input.index(); + int index49_14 = input.index(); input.rewind(); s = -1; - if ( (synpred117_wcps()) ) {s = 16;} + if ( (synpred118_wcps()) ) {s = 24;} - else if ( (synpred119_wcps()) ) {s = 4;} + else if ( (synpred120_wcps()) ) {s = 4;} - input.seek(index48_14); + input.seek(index49_14); if ( s>=0 ) return s; break; case 1 : - int LA48_15 = input.LA(1); + int LA49_15 = input.LA(1); - int index48_15 = input.index(); + int index49_15 = input.index(); input.rewind(); s = -1; - if ( (synpred117_wcps()) ) {s = 16;} + if ( (synpred118_wcps()) ) {s = 24;} - else if ( (synpred119_wcps()) ) {s = 4;} + else if ( (synpred120_wcps()) ) {s = 4;} - input.seek(index48_15); + input.seek(index49_15); if ( s>=0 ) return s; break; case 2 : - int LA48_18 = input.LA(1); + int LA49_16 = input.LA(1); - int index48_18 = input.index(); + int index49_16 = input.index(); input.rewind(); s = -1; - if ( (synpred117_wcps()) ) {s = 16;} + if ( (synpred118_wcps()) ) {s = 24;} - else if ( (synpred119_wcps()) ) {s = 4;} + else if ( (synpred120_wcps()) ) {s = 4;} - input.seek(index48_18); + input.seek(index49_16); if ( s>=0 ) return s; break; case 3 : - int LA48_19 = input.LA(1); + int LA49_17 = input.LA(1); - int index48_19 = input.index(); + int index49_17 = input.index(); input.rewind(); s = -1; - if ( (synpred117_wcps()) ) {s = 16;} + if ( (synpred118_wcps()) ) {s = 24;} - else if ( (synpred119_wcps()) ) {s = 4;} + else if ( (synpred120_wcps()) ) {s = 4;} - input.seek(index48_19); + input.seek(index49_17); if ( s>=0 ) return s; break; case 4 : - int LA48_20 = input.LA(1); + int LA49_18 = input.LA(1); - int index48_20 = input.index(); + int index49_18 = input.index(); input.rewind(); s = -1; - if ( (synpred117_wcps()) ) {s = 16;} + if ( (synpred118_wcps()) ) {s = 24;} - else if ( (synpred119_wcps()) ) {s = 4;} + else if ( (synpred120_wcps()) ) {s = 4;} - input.seek(index48_20); + input.seek(index49_18); if ( s>=0 ) return s; break; case 5 : - int LA48_21 = input.LA(1); + int LA49_19 = input.LA(1); - int index48_21 = input.index(); + int index49_19 = input.index(); input.rewind(); s = -1; - if ( (synpred117_wcps()) ) {s = 16;} + if ( (synpred118_wcps()) ) {s = 24;} - else if ( (synpred119_wcps()) ) {s = 4;} + else if ( (synpred120_wcps()) ) {s = 4;} - input.seek(index48_21); + input.seek(index49_19); if ( s>=0 ) return s; break; case 6 : - int LA48_22 = input.LA(1); + int LA49_20 = input.LA(1); - int index48_22 = input.index(); + int index49_20 = input.index(); input.rewind(); s = -1; - if ( (synpred117_wcps()) ) {s = 16;} + if ( (synpred118_wcps()) ) {s = 24;} - else if ( (synpred119_wcps()) ) {s = 4;} + else if ( (synpred120_wcps()) ) {s = 4;} - input.seek(index48_22); + input.seek(index49_20); if ( s>=0 ) return s; break; case 7 : - int LA48_23 = input.LA(1); + int LA49_21 = input.LA(1); - int index48_23 = input.index(); + int index49_21 = input.index(); input.rewind(); s = -1; - if ( (synpred117_wcps()) ) {s = 16;} + if ( (synpred118_wcps()) ) {s = 24;} - else if ( (synpred119_wcps()) ) {s = 4;} + else if ( (synpred120_wcps()) ) {s = 4;} - input.seek(index48_23); + input.seek(index49_21); if ( s>=0 ) return s; break; case 8 : - int LA48_24 = input.LA(1); + int LA49_22 = input.LA(1); - int index48_24 = input.index(); + int index49_22 = input.index(); input.rewind(); s = -1; - if ( (synpred117_wcps()) ) {s = 16;} + if ( (synpred118_wcps()) ) {s = 24;} - else if ( (synpred119_wcps()) ) {s = 4;} + else if ( (synpred120_wcps()) ) {s = 4;} - input.seek(index48_24); + input.seek(index49_22); if ( s>=0 ) return s; break; case 9 : - int LA48_25 = input.LA(1); + int LA49_23 = input.LA(1); - int index48_25 = input.index(); + int index49_23 = input.index(); input.rewind(); s = -1; - if ( (synpred117_wcps()) ) {s = 16;} + if ( (synpred118_wcps()) ) {s = 24;} - else if ( (synpred119_wcps()) ) {s = 4;} + else if ( (synpred120_wcps()) ) {s = 4;} - input.seek(index48_25); + input.seek(index49_23); if ( s>=0 ) return s; break; } if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = - new NoViableAltException(getDescription(), 48, _s, input); + new NoViableAltException(getDescription(), 49, _s, input); error(nvae); throw nvae; } } - static final String DFA49_eotS = + static final String DFA50_eotS = "\77\uffff"; - static final String DFA49_eofS = + static final String DFA50_eofS = "\1\1\76\uffff"; - static final String DFA49_minS = + static final String DFA50_minS = "\1\7\3\uffff\1\0\72\uffff"; - static final String DFA49_maxS = + static final String DFA50_maxS = "\1\140\3\uffff\1\0\72\uffff"; - static final String DFA49_acceptS = + static final String DFA50_acceptS = "\1\uffff\1\2\74\uffff\1\1"; - static final String DFA49_specialS = + static final String DFA50_specialS = "\4\uffff\1\0\72\uffff}>"; - static final String[] DFA49_transitionS = { + static final String[] DFA50_transitionS = { "\2\1\1\uffff\1\1\2\uffff\11\1\2\4\3\1\21\uffff\2\1\3\uffff\1"+ "\1\7\uffff\1\1\30\uffff\1\1\15\uffff\1\1", "", @@ -17421,78 +17442,78 @@ public class wcpsParser extends Parser { "" }; - static final short[] DFA49_eot = DFA.unpackEncodedString(DFA49_eotS); - static final short[] DFA49_eof = DFA.unpackEncodedString(DFA49_eofS); - static final char[] DFA49_min = DFA.unpackEncodedStringToUnsignedChars(DFA49_minS); - static final char[] DFA49_max = DFA.unpackEncodedStringToUnsignedChars(DFA49_maxS); - static final short[] DFA49_accept = DFA.unpackEncodedString(DFA49_acceptS); - static final short[] DFA49_special = DFA.unpackEncodedString(DFA49_specialS); - static final short[][] DFA49_transition; + static final short[] DFA50_eot = DFA.unpackEncodedString(DFA50_eotS); + static final short[] DFA50_eof = DFA.unpackEncodedString(DFA50_eofS); + static final char[] DFA50_min = DFA.unpackEncodedStringToUnsignedChars(DFA50_minS); + static final char[] DFA50_max = DFA.unpackEncodedStringToUnsignedChars(DFA50_maxS); + static final short[] DFA50_accept = DFA.unpackEncodedString(DFA50_acceptS); + static final short[] DFA50_special = DFA.unpackEncodedString(DFA50_specialS); + static final short[][] DFA50_transition; static { - int numStates = DFA49_transitionS.length; - DFA49_transition = new short[numStates][]; + int numStates = DFA50_transitionS.length; + DFA50_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA49_transition[i] = DFA.unpackEncodedString(DFA49_transitionS[i]); + DFA50_transition[i] = DFA.unpackEncodedString(DFA50_transitionS[i]); } } - class DFA49 extends DFA { + class DFA50 extends DFA { - public DFA49(BaseRecognizer recognizer) { + public DFA50(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 49; - this.eot = DFA49_eot; - this.eof = DFA49_eof; - this.min = DFA49_min; - this.max = DFA49_max; - this.accept = DFA49_accept; - this.special = DFA49_special; - this.transition = DFA49_transition; + this.decisionNumber = 50; + this.eot = DFA50_eot; + this.eof = DFA50_eof; + this.min = DFA50_min; + this.max = DFA50_max; + this.accept = DFA50_accept; + this.special = DFA50_special; + this.transition = DFA50_transition; } public String getDescription() { - return "()* loopback of 296:4: (op= ( PLUS | MINUS ) e2= numericScalarTerm )*"; + return "()* loopback of 298:4: (op= ( PLUS | MINUS ) e2= numericScalarTerm )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA49_4 = input.LA(1); + int LA50_4 = input.LA(1); - int index49_4 = input.index(); + int index50_4 = input.index(); input.rewind(); s = -1; - if ( (synpred121_wcps()) ) {s = 62;} + if ( (synpred122_wcps()) ) {s = 62;} else if ( (true) ) {s = 1;} - input.seek(index49_4); + input.seek(index50_4); if ( s>=0 ) return s; break; } if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = - new NoViableAltException(getDescription(), 49, _s, input); + new NoViableAltException(getDescription(), 50, _s, input); error(nvae); throw nvae; } } - static final String DFA50_eotS = + static final String DFA51_eotS = "\77\uffff"; - static final String DFA50_eofS = + static final String DFA51_eofS = "\1\1\76\uffff"; - static final String DFA50_minS = + static final String DFA51_minS = "\1\7\3\uffff\1\0\72\uffff"; - static final String DFA50_maxS = + static final String DFA51_maxS = "\1\140\3\uffff\1\0\72\uffff"; - static final String DFA50_acceptS = + static final String DFA51_acceptS = "\1\uffff\1\2\74\uffff\1\1"; - static final String DFA50_specialS = + static final String DFA51_specialS = "\4\uffff\1\0\72\uffff}>"; - static final String[] DFA50_transitionS = { + static final String[] DFA51_transitionS = { "\2\1\1\uffff\1\1\2\uffff\13\1\2\4\1\1\21\uffff\2\1\3\uffff\1"+ "\1\7\uffff\1\1\30\uffff\1\1\15\uffff\1\1", "", @@ -17559,79 +17580,79 @@ public class wcpsParser extends Parser { "" }; - static final short[] DFA50_eot = DFA.unpackEncodedString(DFA50_eotS); - static final short[] DFA50_eof = DFA.unpackEncodedString(DFA50_eofS); - static final char[] DFA50_min = DFA.unpackEncodedStringToUnsignedChars(DFA50_minS); - static final char[] DFA50_max = DFA.unpackEncodedStringToUnsignedChars(DFA50_maxS); - static final short[] DFA50_accept = DFA.unpackEncodedString(DFA50_acceptS); - static final short[] DFA50_special = DFA.unpackEncodedString(DFA50_specialS); - static final short[][] DFA50_transition; + static final short[] DFA51_eot = DFA.unpackEncodedString(DFA51_eotS); + static final short[] DFA51_eof = DFA.unpackEncodedString(DFA51_eofS); + static final char[] DFA51_min = DFA.unpackEncodedStringToUnsignedChars(DFA51_minS); + static final char[] DFA51_max = DFA.unpackEncodedStringToUnsignedChars(DFA51_maxS); + static final short[] DFA51_accept = DFA.unpackEncodedString(DFA51_acceptS); + static final short[] DFA51_special = DFA.unpackEncodedString(DFA51_specialS); + static final short[][] DFA51_transition; static { - int numStates = DFA50_transitionS.length; - DFA50_transition = new short[numStates][]; + int numStates = DFA51_transitionS.length; + DFA51_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA50_transition[i] = DFA.unpackEncodedString(DFA50_transitionS[i]); + DFA51_transition[i] = DFA.unpackEncodedString(DFA51_transitionS[i]); } } - class DFA50 extends DFA { + class DFA51 extends DFA { - public DFA50(BaseRecognizer recognizer) { + public DFA51(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 50; - this.eot = DFA50_eot; - this.eof = DFA50_eof; - this.min = DFA50_min; - this.max = DFA50_max; - this.accept = DFA50_accept; - this.special = DFA50_special; - this.transition = DFA50_transition; + this.decisionNumber = 51; + this.eot = DFA51_eot; + this.eof = DFA51_eof; + this.min = DFA51_min; + this.max = DFA51_max; + this.accept = DFA51_accept; + this.special = DFA51_special; + this.transition = DFA51_transition; } public String getDescription() { - return "()* loopback of 300:3: (op= ( MULT | DIVIDE ) e2= numericScalarFactor )*"; + return "()* loopback of 302:3: (op= ( MULT | DIVIDE ) e2= numericScalarFactor )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA50_4 = input.LA(1); + int LA51_4 = input.LA(1); - int index50_4 = input.index(); + int index51_4 = input.index(); input.rewind(); s = -1; - if ( (synpred123_wcps()) ) {s = 62;} + if ( (synpred124_wcps()) ) {s = 62;} else if ( (true) ) {s = 1;} - input.seek(index50_4); + input.seek(index51_4); if ( s>=0 ) return s; break; } if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = - new NoViableAltException(getDescription(), 50, _s, input); + new NoViableAltException(getDescription(), 51, _s, input); error(nvae); throw nvae; } } - static final String DFA51_eotS = + static final String DFA52_eotS = "\26\uffff"; - static final String DFA51_eofS = + static final String DFA52_eofS = "\26\uffff"; - static final String DFA51_minS = + static final String DFA52_minS = "\2\6\11\uffff\1\0\12\uffff"; - static final String DFA51_maxS = + static final String DFA52_maxS = "\2\154\11\uffff\1\0\12\uffff"; - static final String DFA51_acceptS = + static final String DFA52_acceptS = "\2\uffff\1\2\1\3\1\4\1\5\1\6\1\7\1\11\1\uffff\1\12\1\uffff\1\1\10"+ "\uffff\1\10"; - static final String DFA51_specialS = + static final String DFA52_specialS = "\13\uffff\1\0\12\uffff}>"; - static final String[] DFA51_transitionS = { + static final String[] DFA52_transitionS = { "\1\1\20\uffff\1\2\13\uffff\10\10\21\uffff\1\4\1\3\20\uffff\1"+ "\6\1\5\22\uffff\1\7\11\uffff\1\12", "\1\14\20\uffff\1\14\13\uffff\10\14\21\uffff\2\14\20\uffff\2"+ @@ -17658,78 +17679,78 @@ public class wcpsParser extends Parser { "" }; - static final short[] DFA51_eot = DFA.unpackEncodedString(DFA51_eotS); - static final short[] DFA51_eof = DFA.unpackEncodedString(DFA51_eofS); - static final char[] DFA51_min = DFA.unpackEncodedStringToUnsignedChars(DFA51_minS); - static final char[] DFA51_max = DFA.unpackEncodedStringToUnsignedChars(DFA51_maxS); - static final short[] DFA51_accept = DFA.unpackEncodedString(DFA51_acceptS); - static final short[] DFA51_special = DFA.unpackEncodedString(DFA51_specialS); - static final short[][] DFA51_transition; + static final short[] DFA52_eot = DFA.unpackEncodedString(DFA52_eotS); + static final short[] DFA52_eof = DFA.unpackEncodedString(DFA52_eofS); + static final char[] DFA52_min = DFA.unpackEncodedStringToUnsignedChars(DFA52_minS); + static final char[] DFA52_max = DFA.unpackEncodedStringToUnsignedChars(DFA52_maxS); + static final short[] DFA52_accept = DFA.unpackEncodedString(DFA52_acceptS); + static final short[] DFA52_special = DFA.unpackEncodedString(DFA52_specialS); + static final short[][] DFA52_transition; static { - int numStates = DFA51_transitionS.length; - DFA51_transition = new short[numStates][]; + int numStates = DFA52_transitionS.length; + DFA52_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA51_transition[i] = DFA.unpackEncodedString(DFA51_transitionS[i]); + DFA52_transition[i] = DFA.unpackEncodedString(DFA52_transitionS[i]); } } - class DFA51 extends DFA { + class DFA52 extends DFA { - public DFA51(BaseRecognizer recognizer) { + public DFA52(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 51; - this.eot = DFA51_eot; - this.eof = DFA51_eof; - this.min = DFA51_min; - this.max = DFA51_max; - this.accept = DFA51_accept; - this.special = DFA51_special; - this.transition = DFA51_transition; + this.decisionNumber = 52; + this.eot = DFA52_eot; + this.eof = DFA52_eof; + this.min = DFA52_min; + this.max = DFA52_max; + this.accept = DFA52_accept; + this.special = DFA52_special; + this.transition = DFA52_transition; } public String getDescription() { - return "302:1: numericScalarFactor returns [NumericScalarExpr value] : ( LPAREN e1= numericScalarExpr RPAREN | op= MINUS e10= numericScalarFactor | op= ABS LPAREN e12= numericScalarExpr RPAREN | op= SQRT LPAREN e11= numericScalarExpr RPAREN | op= ROUND LPAREN e1= numericScalarExpr RPAREN | e= INTEGERCONSTANT | e= FLOATCONSTANT | e2= complexConstant | e3= condenseExpr | e4= variableName );"; + return "304:1: numericScalarFactor returns [NumericScalarExpr value] : ( LPAREN e1= numericScalarExpr RPAREN | op= MINUS e10= numericScalarFactor | op= ABS LPAREN e12= numericScalarExpr RPAREN | op= SQRT LPAREN e11= numericScalarExpr RPAREN | op= ROUND LPAREN e1= numericScalarExpr RPAREN | e= INTEGERCONSTANT | e= FLOATCONSTANT | e2= complexConstant | e3= condenseExpr | e4= variableName );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA51_11 = input.LA(1); + int LA52_11 = input.LA(1); - int index51_11 = input.index(); + int index52_11 = input.index(); input.rewind(); s = -1; - if ( (synpred124_wcps()) ) {s = 12;} + if ( (synpred125_wcps()) ) {s = 12;} - else if ( (synpred131_wcps()) ) {s = 21;} + else if ( (synpred132_wcps()) ) {s = 21;} - input.seek(index51_11); + input.seek(index52_11); if ( s>=0 ) return s; break; } if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = - new NoViableAltException(getDescription(), 51, _s, input); + new NoViableAltException(getDescription(), 52, _s, input); error(nvae); throw nvae; } } - static final String DFA55_eotS = + static final String DFA56_eotS = "\30\uffff"; - static final String DFA55_eofS = + static final String DFA56_eofS = "\30\uffff"; - static final String DFA55_minS = + static final String DFA56_minS = "\1\6\4\uffff\1\6\20\uffff\1\0\1\uffff"; - static final String DFA55_maxS = + static final String DFA56_maxS = "\1\154\4\uffff\1\6\20\uffff\1\0\1\uffff"; - static final String DFA55_acceptS = + static final String DFA56_acceptS = "\1\uffff\1\1\25\uffff\1\2"; - static final String DFA55_specialS = + static final String DFA56_specialS = "\26\uffff\1\0\1\uffff}>"; - static final String[] DFA55_transitionS = { + static final String[] DFA56_transitionS = { "\1\1\20\uffff\1\1\3\uffff\7\1\1\5\10\1\21\uffff\2\1\16\uffff"+ "\1\1\1\uffff\3\1\20\uffff\2\1\11\uffff\1\1", "", @@ -17757,61 +17778,61 @@ public class wcpsParser extends Parser { "" }; - static final short[] DFA55_eot = DFA.unpackEncodedString(DFA55_eotS); - static final short[] DFA55_eof = DFA.unpackEncodedString(DFA55_eofS); - static final char[] DFA55_min = DFA.unpackEncodedStringToUnsignedChars(DFA55_minS); - static final char[] DFA55_max = DFA.unpackEncodedStringToUnsignedChars(DFA55_maxS); - static final short[] DFA55_accept = DFA.unpackEncodedString(DFA55_acceptS); - static final short[] DFA55_special = DFA.unpackEncodedString(DFA55_specialS); - static final short[][] DFA55_transition; + static final short[] DFA56_eot = DFA.unpackEncodedString(DFA56_eotS); + static final short[] DFA56_eof = DFA.unpackEncodedString(DFA56_eofS); + static final char[] DFA56_min = DFA.unpackEncodedStringToUnsignedChars(DFA56_minS); + static final char[] DFA56_max = DFA.unpackEncodedStringToUnsignedChars(DFA56_maxS); + static final short[] DFA56_accept = DFA.unpackEncodedString(DFA56_acceptS); + static final short[] DFA56_special = DFA.unpackEncodedString(DFA56_specialS); + static final short[][] DFA56_transition; static { - int numStates = DFA55_transitionS.length; - DFA55_transition = new short[numStates][]; + int numStates = DFA56_transitionS.length; + DFA56_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA55_transition[i] = DFA.unpackEncodedString(DFA55_transitionS[i]); + DFA56_transition[i] = DFA.unpackEncodedString(DFA56_transitionS[i]); } } - class DFA55 extends DFA { + class DFA56 extends DFA { - public DFA55(BaseRecognizer recognizer) { + public DFA56(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 55; - this.eot = DFA55_eot; - this.eof = DFA55_eof; - this.min = DFA55_min; - this.max = DFA55_max; - this.accept = DFA55_accept; - this.special = DFA55_special; - this.transition = DFA55_transition; + this.decisionNumber = 56; + this.eot = DFA56_eot; + this.eof = DFA56_eof; + this.min = DFA56_min; + this.max = DFA56_max; + this.accept = DFA56_accept; + this.special = DFA56_special; + this.transition = DFA56_transition; } public String getDescription() { - return "330:1: dimensionIntervalExpr returns [DimensionIntervalExpr value] : (e1= scalarExpr COLON e2= scalarExpr | DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN );"; + return "332:1: dimensionIntervalExpr returns [DimensionIntervalExpr value] : (e1= scalarExpr COLON e2= scalarExpr | DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : - int LA55_22 = input.LA(1); + int LA56_22 = input.LA(1); - int index55_22 = input.index(); + int index56_22 = input.index(); input.rewind(); s = -1; - if ( (synpred140_wcps()) ) {s = 1;} + if ( (synpred141_wcps()) ) {s = 1;} else if ( (true) ) {s = 23;} - input.seek(index55_22); + input.seek(index56_22); if ( s>=0 ) return s; break; } if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = - new NoViableAltException(getDescription(), 55, _s, input); + new NoViableAltException(getDescription(), 56, _s, input); error(nvae); throw nvae; } @@ -18126,163 +18147,163 @@ public class wcpsParser extends Parser { public static final BitSet FOLLOW_LPAREN_in_scaleExpr2501 = new BitSet(new long[]{0xFDF847FFF8C01840L,0x000018060073FFFFL}); public static final BitSet FOLLOW_coverageExpr_in_scaleExpr2505 = new BitSet(new long[]{0x0000000000000100L}); public static final BitSet FOLLOW_COMMA_in_scaleExpr2507 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); - public static final BitSet FOLLOW_dimensionIntervalList_in_scaleExpr2511 = new BitSet(new long[]{0x0000000000000100L}); - public static final BitSet FOLLOW_COMMA_in_scaleExpr2513 = new BitSet(new long[]{0x0100000000000000L}); - public static final BitSet FOLLOW_fieldInterpolationList_in_scaleExpr2517 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_scaleExpr2519 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_trimExpr_in_subsetExpr2538 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_sliceExpr_in_subsetExpr2547 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_extendExpr_in_subsetExpr2556 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_coverageAtom_in_trimExpr2573 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040000L}); - public static final BitSet FOLLOW_LBRACKET_in_trimExpr2575 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); - public static final BitSet FOLLOW_dimensionIntervalList_in_trimExpr2579 = new BitSet(new long[]{0x0000000000000000L,0x0000000000080000L}); - public static final BitSet FOLLOW_RBRACKET_in_trimExpr2581 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_TRIM_in_trimExpr2590 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_LPAREN_in_trimExpr2592 = new BitSet(new long[]{0xFDF847FFF8C01840L,0x000018060073FFFFL}); - public static final BitSet FOLLOW_coverageExpr_in_trimExpr2596 = new BitSet(new long[]{0x0000000000000100L}); - public static final BitSet FOLLOW_COMMA_in_trimExpr2598 = new BitSet(new long[]{0x0100000000000000L}); - public static final BitSet FOLLOW_LBRACE_in_trimExpr2600 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); - public static final BitSet FOLLOW_dimensionIntervalList_in_trimExpr2604 = new BitSet(new long[]{0x0200000000000000L}); - public static final BitSet FOLLOW_RBRACE_in_trimExpr2606 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_trimExpr2608 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_coverageAtom_in_sliceExpr2625 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040000L}); - public static final BitSet FOLLOW_LBRACKET_in_sliceExpr2627 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); - public static final BitSet FOLLOW_dimensionPointList_in_sliceExpr2631 = new BitSet(new long[]{0x0000000000000000L,0x0000000000080000L}); - public static final BitSet FOLLOW_RBRACKET_in_sliceExpr2633 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_SLICE_in_sliceExpr2640 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_LPAREN_in_sliceExpr2642 = new BitSet(new long[]{0xFDF847FFF8C01840L,0x000018060073FFFFL}); - public static final BitSet FOLLOW_coverageExpr_in_sliceExpr2646 = new BitSet(new long[]{0x0000000000000100L}); - public static final BitSet FOLLOW_COMMA_in_sliceExpr2648 = new BitSet(new long[]{0x0100000000000000L}); - public static final BitSet FOLLOW_LBRACE_in_sliceExpr2650 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); - public static final BitSet FOLLOW_dimensionPointList_in_sliceExpr2654 = new BitSet(new long[]{0x0200000000000000L}); - public static final BitSet FOLLOW_RBRACE_in_sliceExpr2656 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_sliceExpr2658 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_EXTEND_in_extendExpr2673 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_LPAREN_in_extendExpr2675 = new BitSet(new long[]{0xFDF847FFF8C01840L,0x000018060073FFFFL}); - public static final BitSet FOLLOW_coverageExpr_in_extendExpr2679 = new BitSet(new long[]{0x0000000000000100L}); - public static final BitSet FOLLOW_COMMA_in_extendExpr2681 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); - public static final BitSet FOLLOW_dimensionIntervalList_in_extendExpr2685 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_extendExpr2687 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_LPAREN_in_castExpr2705 = new BitSet(new long[]{0x0000000000000000L,0x00000000FF800000L}); - public static final BitSet FOLLOW_rangeType_in_castExpr2709 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_castExpr2711 = new BitSet(new long[]{0xFDF847FFF8C01840L,0x000018060073FFFFL}); - public static final BitSet FOLLOW_coverageExpr_in_castExpr2715 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_set_in_rangeType2738 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_UNSIGNED_in_rangeType2764 = new BitSet(new long[]{0x0000000000000000L,0x0000000007000000L}); - public static final BitSet FOLLOW_set_in_rangeType2768 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_coverageAtom_in_fieldExpr2797 = new BitSet(new long[]{0x0000000000000000L,0x0000000100000000L}); - public static final BitSet FOLLOW_DOT_in_fieldExpr2799 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); - public static final BitSet FOLLOW_fieldName_in_fieldExpr2803 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_booleanScalarTerm_in_booleanScalarExpr2828 = new BitSet(new long[]{0x0000000000006002L}); - public static final BitSet FOLLOW_set_in_booleanScalarExpr2841 = new BitSet(new long[]{0x300007F808800040L,0x000010060001D000L}); - public static final BitSet FOLLOW_booleanScalarTerm_in_booleanScalarExpr2849 = new BitSet(new long[]{0x0000000000006002L}); - public static final BitSet FOLLOW_booleanScalarNegation_in_booleanScalarTerm2871 = new BitSet(new long[]{0x0000000000008002L}); - public static final BitSet FOLLOW_AND_in_booleanScalarTerm2881 = new BitSet(new long[]{0x300007F808800040L,0x000010060001D000L}); - public static final BitSet FOLLOW_booleanScalarNegation_in_booleanScalarTerm2885 = new BitSet(new long[]{0x0000000000008002L}); - public static final BitSet FOLLOW_booleanScalarAtom_in_booleanScalarNegation2906 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_NOT_in_booleanScalarNegation2915 = new BitSet(new long[]{0x300007F808800040L,0x000010060001C000L}); - public static final BitSet FOLLOW_booleanScalarAtom_in_booleanScalarNegation2919 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_LPAREN_in_booleanScalarAtom2934 = new BitSet(new long[]{0x300007F808800040L,0x000010060001D000L}); - public static final BitSet FOLLOW_booleanScalarExpr_in_booleanScalarAtom2938 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_booleanScalarAtom2940 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_stringScalarExpr_in_booleanScalarAtom2949 = new BitSet(new long[]{0x00000000003F0000L}); - public static final BitSet FOLLOW_compOp_in_booleanScalarAtom2953 = new BitSet(new long[]{0x0000000008000000L,0x0000000000010000L}); - public static final BitSet FOLLOW_stringScalarExpr_in_booleanScalarAtom2957 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_numericScalarExpr_in_booleanScalarAtom2967 = new BitSet(new long[]{0x00000000003F0000L}); - public static final BitSet FOLLOW_compOp_in_booleanScalarAtom2971 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); - public static final BitSet FOLLOW_numericScalarExpr_in_booleanScalarAtom2975 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_BOOLEANCONSTANT_in_booleanScalarAtom2985 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_numericScalarTerm_in_numericScalarExpr3002 = new BitSet(new long[]{0x0000000000C00002L}); - public static final BitSet FOLLOW_set_in_numericScalarExpr3012 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); - public static final BitSet FOLLOW_numericScalarTerm_in_numericScalarExpr3020 = new BitSet(new long[]{0x0000000000C00002L}); - public static final BitSet FOLLOW_numericScalarFactor_in_numericScalarTerm3039 = new BitSet(new long[]{0x0000000003000002L}); - public static final BitSet FOLLOW_set_in_numericScalarTerm3048 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); - public static final BitSet FOLLOW_numericScalarFactor_in_numericScalarTerm3056 = new BitSet(new long[]{0x0000000003000002L}); - public static final BitSet FOLLOW_LPAREN_in_numericScalarFactor3076 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); - public static final BitSet FOLLOW_numericScalarExpr_in_numericScalarFactor3080 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_numericScalarFactor3082 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_MINUS_in_numericScalarFactor3094 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); - public static final BitSet FOLLOW_numericScalarFactor_in_numericScalarFactor3098 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ABS_in_numericScalarFactor3110 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_LPAREN_in_numericScalarFactor3112 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); - public static final BitSet FOLLOW_numericScalarExpr_in_numericScalarFactor3116 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_numericScalarFactor3118 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_SQRT_in_numericScalarFactor3130 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_LPAREN_in_numericScalarFactor3132 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); - public static final BitSet FOLLOW_numericScalarExpr_in_numericScalarFactor3136 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_numericScalarFactor3138 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ROUND_in_numericScalarFactor3150 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_LPAREN_in_numericScalarFactor3152 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); - public static final BitSet FOLLOW_numericScalarExpr_in_numericScalarFactor3156 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_numericScalarFactor3158 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_INTEGERCONSTANT_in_numericScalarFactor3170 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_FLOATCONSTANT_in_numericScalarFactor3182 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_complexConstant_in_numericScalarFactor3194 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_condenseExpr_in_numericScalarFactor3206 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_variableName_in_numericScalarFactor3218 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_EQUALS_in_compOp3236 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_NOTEQUALS_in_compOp3243 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_LT_in_compOp3250 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_GT_in_compOp3257 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_LTE_in_compOp3264 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_GTE_in_compOp3271 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_dimensionIntervalElement_in_dimensionIntervalList3291 = new BitSet(new long[]{0x0000000000000102L}); - public static final BitSet FOLLOW_COMMA_in_dimensionIntervalList3304 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); - public static final BitSet FOLLOW_dimensionIntervalElement_in_dimensionIntervalList3308 = new BitSet(new long[]{0x0000000000000102L}); - public static final BitSet FOLLOW_axisName_in_dimensionIntervalElement3333 = new BitSet(new long[]{0x0000200000000040L}); - public static final BitSet FOLLOW_COLON_in_dimensionIntervalElement3338 = new BitSet(new long[]{0x0000000000000000L,0x0000000000010000L}); - public static final BitSet FOLLOW_crsName_in_dimensionIntervalElement3342 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_LPAREN_in_dimensionIntervalElement3353 = new BitSet(new long[]{0x300007FFF8801840L,0x000010060001D000L}); - public static final BitSet FOLLOW_dimensionIntervalExpr_in_dimensionIntervalElement3357 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_dimensionIntervalElement3359 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_scalarExpr_in_dimensionIntervalExpr3382 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_COLON_in_dimensionIntervalExpr3384 = new BitSet(new long[]{0x300007FFF8801840L,0x000010060001D000L}); - public static final BitSet FOLLOW_scalarExpr_in_dimensionIntervalExpr3388 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_DOMAIN_in_dimensionIntervalExpr3398 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_LPAREN_in_dimensionIntervalExpr3400 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); - public static final BitSet FOLLOW_coverageName_in_dimensionIntervalExpr3404 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_COLON_in_dimensionIntervalExpr3406 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); - public static final BitSet FOLLOW_axisName_in_dimensionIntervalExpr3410 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_COLON_in_dimensionIntervalExpr3412 = new BitSet(new long[]{0x0000000000000000L,0x0000000000010000L}); - public static final BitSet FOLLOW_crsName_in_dimensionIntervalExpr3416 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_dimensionIntervalExpr3418 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_dimensionPointElement_in_dimensionPointList3441 = new BitSet(new long[]{0x0000000000000102L}); - public static final BitSet FOLLOW_COMMA_in_dimensionPointList3451 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); - public static final BitSet FOLLOW_dimensionPointElement_in_dimensionPointList3455 = new BitSet(new long[]{0x0000000000000102L}); - public static final BitSet FOLLOW_axisName_in_dimensionPointElement3480 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_LPAREN_in_dimensionPointElement3482 = new BitSet(new long[]{0x300007FFF8801840L,0x000010060001D000L}); - public static final BitSet FOLLOW_dimensionPoint_in_dimensionPointElement3486 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_dimensionPointElement3488 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_axisName_in_dimensionPointElement3500 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_COLON_in_dimensionPointElement3502 = new BitSet(new long[]{0x0000000000000000L,0x0000000000010000L}); - public static final BitSet FOLLOW_crsName_in_dimensionPointElement3506 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_LPAREN_in_dimensionPointElement3508 = new BitSet(new long[]{0x300007FFF8801840L,0x000010060001D000L}); - public static final BitSet FOLLOW_dimensionPoint_in_dimensionPointElement3512 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_dimensionPointElement3514 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_scalarExpr_in_dimensionPoint3537 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_LPAREN_in_interpolationMethod3555 = new BitSet(new long[]{0x0000000000000000L,0x0000007800000000L}); - public static final BitSet FOLLOW_interpolationType_in_interpolationMethod3559 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_COLON_in_interpolationMethod3561 = new BitSet(new long[]{0x0000000000000000L,0x0000078000000000L}); - public static final BitSet FOLLOW_nullResistence_in_interpolationMethod3565 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_interpolationMethod3567 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_set_in_interpolationType3584 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_set_in_nullResistence3609 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_set_in_condenseOpType3634 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_name_in_fieldName3661 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_set_in_constant3678 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_complexConstant_in_constant3695 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_LPAREN_in_complexConstant3710 = new BitSet(new long[]{0x0000000000000000L,0x0000000400000000L}); - public static final BitSet FOLLOW_FLOATCONSTANT_in_complexConstant3714 = new BitSet(new long[]{0x0000000000000100L}); - public static final BitSet FOLLOW_COMMA_in_complexConstant3716 = new BitSet(new long[]{0x0000000000000000L,0x0000000400000000L}); - public static final BitSet FOLLOW_FLOATCONSTANT_in_complexConstant3720 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_complexConstant3722 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_STRING_in_stringConstant3739 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_set_in_name3756 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_stringConstant_in_crsName3783 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_name_in_axisName3800 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_VARIABLE_DOLLAR_in_variableName3817 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_NAME_in_coverageVariable3834 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_name_in_coverageName3849 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_dimensionIntervalList_in_scaleExpr2511 = new BitSet(new long[]{0x0000000000000180L}); + public static final BitSet FOLLOW_COMMA_in_scaleExpr2528 = new BitSet(new long[]{0x0100000000000000L}); + public static final BitSet FOLLOW_fieldInterpolationList_in_scaleExpr2532 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_scaleExpr2557 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_trimExpr_in_subsetExpr2575 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_sliceExpr_in_subsetExpr2584 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_extendExpr_in_subsetExpr2593 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_coverageAtom_in_trimExpr2610 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040000L}); + public static final BitSet FOLLOW_LBRACKET_in_trimExpr2612 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); + public static final BitSet FOLLOW_dimensionIntervalList_in_trimExpr2616 = new BitSet(new long[]{0x0000000000000000L,0x0000000000080000L}); + public static final BitSet FOLLOW_RBRACKET_in_trimExpr2618 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_TRIM_in_trimExpr2627 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_LPAREN_in_trimExpr2629 = new BitSet(new long[]{0xFDF847FFF8C01840L,0x000018060073FFFFL}); + public static final BitSet FOLLOW_coverageExpr_in_trimExpr2633 = new BitSet(new long[]{0x0000000000000100L}); + public static final BitSet FOLLOW_COMMA_in_trimExpr2635 = new BitSet(new long[]{0x0100000000000000L}); + public static final BitSet FOLLOW_LBRACE_in_trimExpr2637 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); + public static final BitSet FOLLOW_dimensionIntervalList_in_trimExpr2641 = new BitSet(new long[]{0x0200000000000000L}); + public static final BitSet FOLLOW_RBRACE_in_trimExpr2643 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_trimExpr2645 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_coverageAtom_in_sliceExpr2662 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040000L}); + public static final BitSet FOLLOW_LBRACKET_in_sliceExpr2664 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); + public static final BitSet FOLLOW_dimensionPointList_in_sliceExpr2668 = new BitSet(new long[]{0x0000000000000000L,0x0000000000080000L}); + public static final BitSet FOLLOW_RBRACKET_in_sliceExpr2670 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_SLICE_in_sliceExpr2677 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_LPAREN_in_sliceExpr2679 = new BitSet(new long[]{0xFDF847FFF8C01840L,0x000018060073FFFFL}); + public static final BitSet FOLLOW_coverageExpr_in_sliceExpr2683 = new BitSet(new long[]{0x0000000000000100L}); + public static final BitSet FOLLOW_COMMA_in_sliceExpr2685 = new BitSet(new long[]{0x0100000000000000L}); + public static final BitSet FOLLOW_LBRACE_in_sliceExpr2687 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); + public static final BitSet FOLLOW_dimensionPointList_in_sliceExpr2691 = new BitSet(new long[]{0x0200000000000000L}); + public static final BitSet FOLLOW_RBRACE_in_sliceExpr2693 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_sliceExpr2695 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_EXTEND_in_extendExpr2710 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_LPAREN_in_extendExpr2712 = new BitSet(new long[]{0xFDF847FFF8C01840L,0x000018060073FFFFL}); + public static final BitSet FOLLOW_coverageExpr_in_extendExpr2716 = new BitSet(new long[]{0x0000000000000100L}); + public static final BitSet FOLLOW_COMMA_in_extendExpr2718 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); + public static final BitSet FOLLOW_dimensionIntervalList_in_extendExpr2722 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_extendExpr2724 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_LPAREN_in_castExpr2742 = new BitSet(new long[]{0x0000000000000000L,0x00000000FF800000L}); + public static final BitSet FOLLOW_rangeType_in_castExpr2746 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_castExpr2748 = new BitSet(new long[]{0xFDF847FFF8C01840L,0x000018060073FFFFL}); + public static final BitSet FOLLOW_coverageExpr_in_castExpr2752 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_set_in_rangeType2775 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_UNSIGNED_in_rangeType2801 = new BitSet(new long[]{0x0000000000000000L,0x0000000007000000L}); + public static final BitSet FOLLOW_set_in_rangeType2805 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_coverageAtom_in_fieldExpr2834 = new BitSet(new long[]{0x0000000000000000L,0x0000000100000000L}); + public static final BitSet FOLLOW_DOT_in_fieldExpr2836 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); + public static final BitSet FOLLOW_fieldName_in_fieldExpr2840 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_booleanScalarTerm_in_booleanScalarExpr2865 = new BitSet(new long[]{0x0000000000006002L}); + public static final BitSet FOLLOW_set_in_booleanScalarExpr2878 = new BitSet(new long[]{0x300007F808800040L,0x000010060001D000L}); + public static final BitSet FOLLOW_booleanScalarTerm_in_booleanScalarExpr2886 = new BitSet(new long[]{0x0000000000006002L}); + public static final BitSet FOLLOW_booleanScalarNegation_in_booleanScalarTerm2908 = new BitSet(new long[]{0x0000000000008002L}); + public static final BitSet FOLLOW_AND_in_booleanScalarTerm2918 = new BitSet(new long[]{0x300007F808800040L,0x000010060001D000L}); + public static final BitSet FOLLOW_booleanScalarNegation_in_booleanScalarTerm2922 = new BitSet(new long[]{0x0000000000008002L}); + public static final BitSet FOLLOW_booleanScalarAtom_in_booleanScalarNegation2943 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_NOT_in_booleanScalarNegation2952 = new BitSet(new long[]{0x300007F808800040L,0x000010060001C000L}); + public static final BitSet FOLLOW_booleanScalarAtom_in_booleanScalarNegation2956 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_LPAREN_in_booleanScalarAtom2971 = new BitSet(new long[]{0x300007F808800040L,0x000010060001D000L}); + public static final BitSet FOLLOW_booleanScalarExpr_in_booleanScalarAtom2975 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_booleanScalarAtom2977 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_stringScalarExpr_in_booleanScalarAtom2986 = new BitSet(new long[]{0x00000000003F0000L}); + public static final BitSet FOLLOW_compOp_in_booleanScalarAtom2990 = new BitSet(new long[]{0x0000000008000000L,0x0000000000010000L}); + public static final BitSet FOLLOW_stringScalarExpr_in_booleanScalarAtom2994 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_numericScalarExpr_in_booleanScalarAtom3004 = new BitSet(new long[]{0x00000000003F0000L}); + public static final BitSet FOLLOW_compOp_in_booleanScalarAtom3008 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); + public static final BitSet FOLLOW_numericScalarExpr_in_booleanScalarAtom3012 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_BOOLEANCONSTANT_in_booleanScalarAtom3022 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_numericScalarTerm_in_numericScalarExpr3039 = new BitSet(new long[]{0x0000000000C00002L}); + public static final BitSet FOLLOW_set_in_numericScalarExpr3049 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); + public static final BitSet FOLLOW_numericScalarTerm_in_numericScalarExpr3057 = new BitSet(new long[]{0x0000000000C00002L}); + public static final BitSet FOLLOW_numericScalarFactor_in_numericScalarTerm3076 = new BitSet(new long[]{0x0000000003000002L}); + public static final BitSet FOLLOW_set_in_numericScalarTerm3085 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); + public static final BitSet FOLLOW_numericScalarFactor_in_numericScalarTerm3093 = new BitSet(new long[]{0x0000000003000002L}); + public static final BitSet FOLLOW_LPAREN_in_numericScalarFactor3113 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); + public static final BitSet FOLLOW_numericScalarExpr_in_numericScalarFactor3117 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_numericScalarFactor3119 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_MINUS_in_numericScalarFactor3131 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); + public static final BitSet FOLLOW_numericScalarFactor_in_numericScalarFactor3135 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ABS_in_numericScalarFactor3147 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_LPAREN_in_numericScalarFactor3149 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); + public static final BitSet FOLLOW_numericScalarExpr_in_numericScalarFactor3153 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_numericScalarFactor3155 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_SQRT_in_numericScalarFactor3167 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_LPAREN_in_numericScalarFactor3169 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); + public static final BitSet FOLLOW_numericScalarExpr_in_numericScalarFactor3173 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_numericScalarFactor3175 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ROUND_in_numericScalarFactor3187 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_LPAREN_in_numericScalarFactor3189 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); + public static final BitSet FOLLOW_numericScalarExpr_in_numericScalarFactor3193 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_numericScalarFactor3195 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_INTEGERCONSTANT_in_numericScalarFactor3207 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_FLOATCONSTANT_in_numericScalarFactor3219 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_complexConstant_in_numericScalarFactor3231 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_condenseExpr_in_numericScalarFactor3243 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_variableName_in_numericScalarFactor3255 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_EQUALS_in_compOp3273 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_NOTEQUALS_in_compOp3280 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_LT_in_compOp3287 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_GT_in_compOp3294 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_LTE_in_compOp3301 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_GTE_in_compOp3308 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_dimensionIntervalElement_in_dimensionIntervalList3328 = new BitSet(new long[]{0x0000000000000102L}); + public static final BitSet FOLLOW_COMMA_in_dimensionIntervalList3341 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); + public static final BitSet FOLLOW_dimensionIntervalElement_in_dimensionIntervalList3345 = new BitSet(new long[]{0x0000000000000102L}); + public static final BitSet FOLLOW_axisName_in_dimensionIntervalElement3370 = new BitSet(new long[]{0x0000200000000040L}); + public static final BitSet FOLLOW_COLON_in_dimensionIntervalElement3375 = new BitSet(new long[]{0x0000000000000000L,0x0000000000010000L}); + public static final BitSet FOLLOW_crsName_in_dimensionIntervalElement3379 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_LPAREN_in_dimensionIntervalElement3390 = new BitSet(new long[]{0x300007FFF8801840L,0x000010060001D000L}); + public static final BitSet FOLLOW_dimensionIntervalExpr_in_dimensionIntervalElement3394 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_dimensionIntervalElement3396 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_scalarExpr_in_dimensionIntervalExpr3419 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_COLON_in_dimensionIntervalExpr3421 = new BitSet(new long[]{0x300007FFF8801840L,0x000010060001D000L}); + public static final BitSet FOLLOW_scalarExpr_in_dimensionIntervalExpr3425 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_DOMAIN_in_dimensionIntervalExpr3435 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_LPAREN_in_dimensionIntervalExpr3437 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); + public static final BitSet FOLLOW_coverageName_in_dimensionIntervalExpr3441 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_COLON_in_dimensionIntervalExpr3443 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); + public static final BitSet FOLLOW_axisName_in_dimensionIntervalExpr3447 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_COLON_in_dimensionIntervalExpr3449 = new BitSet(new long[]{0x0000000000000000L,0x0000000000010000L}); + public static final BitSet FOLLOW_crsName_in_dimensionIntervalExpr3453 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_dimensionIntervalExpr3455 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_dimensionPointElement_in_dimensionPointList3478 = new BitSet(new long[]{0x0000000000000102L}); + public static final BitSet FOLLOW_COMMA_in_dimensionPointList3488 = new BitSet(new long[]{0x0000000000000000L,0x0000080000014000L}); + public static final BitSet FOLLOW_dimensionPointElement_in_dimensionPointList3492 = new BitSet(new long[]{0x0000000000000102L}); + public static final BitSet FOLLOW_axisName_in_dimensionPointElement3517 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_LPAREN_in_dimensionPointElement3519 = new BitSet(new long[]{0x300007FFF8801840L,0x000010060001D000L}); + public static final BitSet FOLLOW_dimensionPoint_in_dimensionPointElement3523 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_dimensionPointElement3525 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_axisName_in_dimensionPointElement3537 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_COLON_in_dimensionPointElement3539 = new BitSet(new long[]{0x0000000000000000L,0x0000000000010000L}); + public static final BitSet FOLLOW_crsName_in_dimensionPointElement3543 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_LPAREN_in_dimensionPointElement3545 = new BitSet(new long[]{0x300007FFF8801840L,0x000010060001D000L}); + public static final BitSet FOLLOW_dimensionPoint_in_dimensionPointElement3549 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_dimensionPointElement3551 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_scalarExpr_in_dimensionPoint3574 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_LPAREN_in_interpolationMethod3592 = new BitSet(new long[]{0x0000000000000000L,0x0000007800000000L}); + public static final BitSet FOLLOW_interpolationType_in_interpolationMethod3596 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_COLON_in_interpolationMethod3598 = new BitSet(new long[]{0x0000000000000000L,0x0000078000000000L}); + public static final BitSet FOLLOW_nullResistence_in_interpolationMethod3602 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_interpolationMethod3604 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_set_in_interpolationType3621 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_set_in_nullResistence3646 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_set_in_condenseOpType3671 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_name_in_fieldName3698 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_set_in_constant3715 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_complexConstant_in_constant3732 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_LPAREN_in_complexConstant3747 = new BitSet(new long[]{0x0000000000000000L,0x0000000400000000L}); + public static final BitSet FOLLOW_FLOATCONSTANT_in_complexConstant3751 = new BitSet(new long[]{0x0000000000000100L}); + public static final BitSet FOLLOW_COMMA_in_complexConstant3753 = new BitSet(new long[]{0x0000000000000000L,0x0000000400000000L}); + public static final BitSet FOLLOW_FLOATCONSTANT_in_complexConstant3757 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_complexConstant3759 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_STRING_in_stringConstant3776 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_set_in_name3793 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_stringConstant_in_crsName3820 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_name_in_axisName3837 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_VARIABLE_DOLLAR_in_variableName3854 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_NAME_in_coverageVariable3871 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_name_in_coverageName3886 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_set_in_synpred8_wcps366 = new BitSet(new long[]{0xFDF847FFF8C01840L,0x000018060073FFFFL}); public static final BitSet FOLLOW_coverageLogicTerm_in_synpred8_wcps374 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_AND_in_synpred9_wcps416 = new BitSet(new long[]{0xFDF847FFF8C01840L,0x000018060073FFFFL}); @@ -18311,28 +18332,28 @@ public class wcpsParser extends Parser { public static final BitSet FOLLOW_fieldExpr_in_synpred70_wcps2013 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_unaryArithmeticExpr_in_synpred71_wcps2022 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_booleanExpr_in_synpred74_wcps2058 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_trimExpr_in_synpred99_wcps2538 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_sliceExpr_in_synpred100_wcps2547 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_set_in_synpred114_wcps2841 = new BitSet(new long[]{0x300007F808800040L,0x000010060001D000L}); - public static final BitSet FOLLOW_booleanScalarTerm_in_synpred114_wcps2849 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_AND_in_synpred115_wcps2881 = new BitSet(new long[]{0x300007F808800040L,0x000010060001D000L}); - public static final BitSet FOLLOW_booleanScalarNegation_in_synpred115_wcps2885 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_LPAREN_in_synpred117_wcps2934 = new BitSet(new long[]{0x300007F808800040L,0x000010060001D000L}); - public static final BitSet FOLLOW_booleanScalarExpr_in_synpred117_wcps2938 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_synpred117_wcps2940 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_numericScalarExpr_in_synpred119_wcps2967 = new BitSet(new long[]{0x00000000003F0000L}); - public static final BitSet FOLLOW_compOp_in_synpred119_wcps2971 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); - public static final BitSet FOLLOW_numericScalarExpr_in_synpred119_wcps2975 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_set_in_synpred121_wcps3012 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); - public static final BitSet FOLLOW_numericScalarTerm_in_synpred121_wcps3020 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_set_in_synpred123_wcps3048 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); - public static final BitSet FOLLOW_numericScalarFactor_in_synpred123_wcps3056 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_LPAREN_in_synpred124_wcps3076 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); - public static final BitSet FOLLOW_numericScalarExpr_in_synpred124_wcps3080 = new BitSet(new long[]{0x0000000000000080L}); - public static final BitSet FOLLOW_RPAREN_in_synpred124_wcps3082 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_complexConstant_in_synpred131_wcps3194 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_scalarExpr_in_synpred140_wcps3382 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_COLON_in_synpred140_wcps3384 = new BitSet(new long[]{0x300007FFF8801840L,0x000010060001D000L}); - public static final BitSet FOLLOW_scalarExpr_in_synpred140_wcps3388 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_trimExpr_in_synpred100_wcps2575 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_sliceExpr_in_synpred101_wcps2584 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_set_in_synpred115_wcps2878 = new BitSet(new long[]{0x300007F808800040L,0x000010060001D000L}); + public static final BitSet FOLLOW_booleanScalarTerm_in_synpred115_wcps2886 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_AND_in_synpred116_wcps2918 = new BitSet(new long[]{0x300007F808800040L,0x000010060001D000L}); + public static final BitSet FOLLOW_booleanScalarNegation_in_synpred116_wcps2922 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_LPAREN_in_synpred118_wcps2971 = new BitSet(new long[]{0x300007F808800040L,0x000010060001D000L}); + public static final BitSet FOLLOW_booleanScalarExpr_in_synpred118_wcps2975 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_synpred118_wcps2977 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_numericScalarExpr_in_synpred120_wcps3004 = new BitSet(new long[]{0x00000000003F0000L}); + public static final BitSet FOLLOW_compOp_in_synpred120_wcps3008 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); + public static final BitSet FOLLOW_numericScalarExpr_in_synpred120_wcps3012 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_set_in_synpred122_wcps3049 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); + public static final BitSet FOLLOW_numericScalarTerm_in_synpred122_wcps3057 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_set_in_synpred124_wcps3085 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); + public static final BitSet FOLLOW_numericScalarFactor_in_synpred124_wcps3093 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_LPAREN_in_synpred125_wcps3113 = new BitSet(new long[]{0x300007F800800040L,0x000010040000C000L}); + public static final BitSet FOLLOW_numericScalarExpr_in_synpred125_wcps3117 = new BitSet(new long[]{0x0000000000000080L}); + public static final BitSet FOLLOW_RPAREN_in_synpred125_wcps3119 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_complexConstant_in_synpred132_wcps3231 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_scalarExpr_in_synpred141_wcps3419 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_COLON_in_synpred141_wcps3421 = new BitSet(new long[]{0x300007FFF8801840L,0x000010060001D000L}); + public static final BitSet FOLLOW_scalarExpr_in_synpred141_wcps3425 = new BitSet(new long[]{0x0000000000000002L}); }
\ No newline at end of file diff --git a/src/petascope/wcps/server/core/FieldInterpolationElement.java b/src/petascope/wcps/server/core/FieldInterpolationElement.java new file mode 100644 index 0000000..74af1cf --- /dev/null +++ b/src/petascope/wcps/server/core/FieldInterpolationElement.java @@ -0,0 +1,79 @@ + /*
+ * This file is part of PetaScope.
+ *
+ * PetaScope is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of
+ * the License, or (at your option) any later version.
+ *
+ * PetaScope is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with PetaScope. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * For more information please see <http://www.PetaScope.org>
+ * or contact Peter Baumann via <baumann@rasdaman.com>.
+ *
+ * Copyright 2009 Jacobs University Bremen, Peter Baumann.
+ */
+package petascope.wcps.server.core;
+
+import petascope.wcps.server.exceptions.WCPSException;
+import org.w3c.dom.*;
+import petascope.wcps.server.exceptions.InvalidWcpsRequestException;
+
+public class FieldInterpolationElement implements IRasNode {
+
+ private FieldName name;
+ private InterpolationMethod interp;
+ private Node nextNode;
+
+ public FieldInterpolationElement(Node node, XmlQuery xq) throws WCPSException {
+
+ throw new InvalidWcpsRequestException("Currently, our implementation does not allow specifying " +
+ "interpolation methods or null resistances for the scale operation.");
+
+ /*
+ while ((node != null) && node.getNodeName().equals("#text")) {
+ node = node.getNextSibling();
+ }
+
+ if (node == null) {
+ throw new WCPSException("FieldInterpolationElementType parsing error!");
+ }
+
+ while (node != null)
+ {
+ String nodeName = node.getNodeName();
+ while (node.getNodeName().equals("#text"))
+ node = node.getNextSibling();
+
+ if (nodeName.equals("name")) {
+ this.name = new FieldName(node, xq);
+ node = node.getNextSibling();
+ continue;
+ }
+ else
+ {
+ interp = new InterpolationMethod(node, xq);
+ node = interp.getNextNode();
+ }
+ }
+ nextNode = node;
+
+ */
+ }
+
+ public Node getNextNode()
+ {
+ return nextNode;
+ }
+
+ public String toRasQL() {
+ // Since we only accept the default rasdaman interpolation methods, we do not need to specify it further
+ return "";
+ }
+};
diff --git a/src/petascope/wcps/server/core/ScaleCoverageExpr.java b/src/petascope/wcps/server/core/ScaleCoverageExpr.java index 32e835b..feb7e3f 100644 --- a/src/petascope/wcps/server/core/ScaleCoverageExpr.java +++ b/src/petascope/wcps/server/core/ScaleCoverageExpr.java @@ -21,22 +21,129 @@ */
package petascope.wcps.server.core;
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import petascope.wcps.server.exceptions.InvalidCrsException;
import petascope.wcps.server.exceptions.WCPSException;
import org.w3c.dom.*;
+import petascope.wcps.server.exceptions.InvalidWcpsRequestException;
+
-// TODO: Implement class ScaleCoverageExprType
public class ScaleCoverageExpr implements IRasNode, ICoverageInfo {
- public ScaleCoverageExpr(Node node, XmlQuery xq)
- throws WCPSException {
- throw new WCPSException("Method not implemented");
+ private List<DimensionIntervalElement> axisList;
+ private CoverageExpr coverageExprType;
+ private CoverageInfo coverageInfo;
+ private String[] dim;
+ private int dims;
+ private DimensionIntervalElement elem;
+ private FieldInterpolationElement fieldInterp;
+
+ public ScaleCoverageExpr(Node node, XmlQuery xq) throws WCPSException, InvalidCrsException
+ {
+ Node child;
+ String nodeName;
+
+ axisList = new ArrayList<DimensionIntervalElement>();
+
+ child = node.getFirstChild();
+ while (child != null) {
+ nodeName = child.getNodeName();
+
+ if (nodeName.equals("#text")) {
+ child = child.getNextSibling();
+ continue;
+ }
+
+ try {
+ System.err.println("Trying out an CoverageExprType group...");
+ coverageExprType = new CoverageExpr(child, xq);
+ coverageInfo = coverageExprType.getCoverageInfo();
+ child = child.getNextSibling();
+ continue;
+ } catch (WCPSException e) {
+ System.err.println("This was no CoverageExprType: " + nodeName);
+ }
+
+ try {
+ // Start a new axis and save it
+ elem = new DimensionIntervalElement(child, xq, coverageInfo);
+ axisList.add(elem);
+ child = elem.getNextNode();
+ continue;
+ } catch (WCPSException e) {
+ System.err.println("This was no Dimension Interval ELement: " + child.getNodeName());
+ }
+
+ try {
+ fieldInterp = new FieldInterpolationElement(child, xq);
+ child = fieldInterp.getNextNode();
+ continue;
+ }
+ catch (InvalidWcpsRequestException e2)
+ {
+ throw e2;
+ }
+ catch (WCPSException e)
+ {
+ System.err.println("This was no Field Interpolation Element: " + child.getNodeName());
+ }
+
+ // else unknown element
+ throw new WCPSException("Unknown node for ScaleCoverageExpr expression:" + child.getNodeName());
+ }
+
+ dims = coverageInfo.getNumDimensions();
+ dim = new String[dims];
+
+ for (int j = 0; j < dims; ++j) {
+ dim[j] = "*:*";
+ }
+
+
+ Iterator<DimensionIntervalElement> i = axisList.iterator();
+
+ System.out.println("Axis List count:" + axisList.size());
+ DimensionIntervalElement axis;
+ int axisId;
+ int axisLo, axisHi;
+
+ while (i.hasNext()) {
+ axis = i.next();
+ axisId = coverageInfo.getDomainIndexByName(axis.getAxisName());
+ System.out.println("Axis ID: " + axisId);
+ System.out.println("Axis name: " + axis.getAxisName());
+ System.out.print("Axis coords: ");
+
+ axisLo = Integer.parseInt(axis.getLowCoord());
+ axisHi = Integer.parseInt(axis.getHighCoord());
+ dim[axisId] = axisLo + ":" + axisHi;
+ coverageInfo.setCellDimension(
+ axisId,
+ new CellDomainElement(
+ BigInteger.valueOf(axisLo), BigInteger.valueOf(axisHi)));
+ }
+
}
public String toRasQL() {
- return "";
+ String result = "scale( " + coverageExprType.toRasQL() + ", [";
+
+ for (int j = 0; j < dims; ++j) {
+ if (j > 0) {
+ result += ",";
+ }
+
+ result += dim[j];
+ }
+
+ result += "] )";
+ return result;
}
public CoverageInfo getCoverageInfo() {
- return null;
+ return coverageInfo;
}
}
diff --git a/test/testcases-wcps/44-scaling_operation.rasql b/test/testcases-wcps/44-scaling_operation.rasql new file mode 100644 index 0000000..5cc051a --- /dev/null +++ b/test/testcases-wcps/44-scaling_operation.rasql @@ -0,0 +1 @@ +select png(scale( c, [1:600,1:600] )) from rgb AS c
\ No newline at end of file diff --git a/test/testcases-wcps/44-scaling_operation.test b/test/testcases-wcps/44-scaling_operation.test new file mode 100644 index 0000000..2bd7b3d --- /dev/null +++ b/test/testcases-wcps/44-scaling_operation.test @@ -0,0 +1,2 @@ +for a in (mr) return + encode(a,"dem", "startx=0,starty=0,endx=1000,endy=1000,resx=0.1,resy=0.15")
\ No newline at end of file diff --git a/test/testcases-wcps/44-scaling_operation.xml b/test/testcases-wcps/44-scaling_operation.xml new file mode 100644 index 0000000..4ec2b9c --- /dev/null +++ b/test/testcases-wcps/44-scaling_operation.xml @@ -0,0 +1,30 @@ +<ProcessCoveragesRequest xmlns="http://www.opengis.net/wcps/1.0" service="WCPS" version="1.0.0"> + <query> + <xmlSyntax> + <coverageIterator> + <iteratorVar>c</iteratorVar> + <coverageName>rgb</coverageName> + </coverageIterator> + <encode store="false"> + <scale> + <coverage>c</coverage> + <axis>x</axis> + <lowerBound> + <numericConstant>1</numericConstant> + </lowerBound> + <upperBound> + <numericConstant>600</numericConstant> + </upperBound> + <axis>y</axis> + <lowerBound> + <numericConstant>1</numericConstant> + </lowerBound> + <upperBound> + <numericConstant>600</numericConstant> + </upperBound> + </scale> + <format>png</format> + </encode> + </xmlSyntax> + </query> +</ProcessCoveragesRequest>
\ No newline at end of file |