diff options
| author | Andrei Aiordachioaie <a.aiordachioaie@jacobs-university.de> | 2009-05-29 12:38:32 +0200 |
|---|---|---|
| committer | Andrei <a.aiordachioaie@jacobs-university.de> | 2009-07-07 10:52:30 +0200 |
| commit | c86977b6aaea3f635fc8ebee7c03cb3a0080c9ec (patch) | |
| tree | 15bac9f8ea3eecc87d26d08f23a003b13376f1f0 /src | |
| parent | f8a46d792930649163ccc3c08b379b16d9d7f772 (diff) | |
Class renaming + file cleanup
Diffstat (limited to 'src')
| -rw-r--r-- | src/grammar/CondenseOperation.java (renamed from src/grammar/CondenseOperationType.java) | 4 | ||||
| -rw-r--r-- | src/grammar/CoverageList.java | 2 | ||||
| -rw-r--r-- | src/grammar/ForClauseElements.java | 2 | ||||
| -rw-r--r-- | src/grammar/GeneralCondenseExpr.java | 4 | ||||
| -rw-r--r-- | src/grammar/WCPSRequest.java | 2 | ||||
| -rw-r--r-- | src/grammar/wcps.g | 5 | ||||
| -rw-r--r-- | src/grammar/wcpsLexer.java | 546 | ||||
| -rw-r--r-- | src/grammar/wcpsParser.java | 954 | ||||
| -rw-r--r-- | src/grammar/wcps_no_actions.g (renamed from src/grammar/wcps_grammar.g) | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/AxisIterator.java | 80 | ||||
| -rw-r--r-- | src/wcps/server/core/AxisName.java (renamed from src/wcps/server/core/AxisNameType.java) | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/BinaryOperationCoverageExpr.java (renamed from src/wcps/server/core/BinaryOperationCoverageExprType.java) | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/BooleanScalarExpr.java (renamed from src/wcps/server/core/BooleanScalarExprType.java) | 12 | ||||
| -rw-r--r-- | src/wcps/server/core/ComplexConstant.java (renamed from src/wcps/server/core/ComplexConstantType.java) | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/CondenseScalarExpr.java (renamed from src/wcps/server/core/CondenseScalarExprType.java) | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/ConstantCoverageExpr.java (renamed from src/wcps/server/core/ConstantCoverageExprType.java) | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/ConstructCoverageExpr.java (renamed from src/wcps/server/core/ConstructCoverageExprType.java) | 16 | ||||
| -rw-r--r-- | src/wcps/server/core/CoverageExpr.java (renamed from src/wcps/server/core/CoverageExprType.java) | 22 | ||||
| -rw-r--r-- | src/wcps/server/core/CoverageExprPairType.java | 12 | ||||
| -rw-r--r-- | src/wcps/server/core/CoverageIterator.java | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/CrsName.java (renamed from src/wcps/server/core/CrsNameType.java) | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/CrsTransformCoverageExpr.java (renamed from src/wcps/server/core/CrsTransformCoverageExprType.java) | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/DbMetadataSource.java | 28 | ||||
| -rw-r--r-- | src/wcps/server/core/DimensionIntervalElement.java | 12 | ||||
| -rw-r--r-- | src/wcps/server/core/DimensionPointElement.java | 10 | ||||
| -rw-r--r-- | src/wcps/server/core/DomainMetadataExpr.java (renamed from src/wcps/server/core/DomainMetadataExprType.java) | 8 | ||||
| -rw-r--r-- | src/wcps/server/core/EncodeDataExpr.java (renamed from src/wcps/server/core/EncodeDataExprType.java) | 6 | ||||
| -rw-r--r-- | src/wcps/server/core/ExtendCoverageExpr.java (renamed from src/wcps/server/core/ExtendCoverageExprType.java) | 8 | ||||
| -rw-r--r-- | src/wcps/server/core/FieldName.java (renamed from src/wcps/server/core/FieldNameType.java) | 8 | ||||
| -rw-r--r-- | src/wcps/server/core/InducedOperationCoverageExpr.java (renamed from src/wcps/server/core/InducedOperationCoverageExprType.java) | 10 | ||||
| -rw-r--r-- | src/wcps/server/core/MetadataScalarExpr.java (renamed from src/wcps/server/core/MetadataScalarExprType.java) | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/NumericScalarExpr.java (renamed from src/wcps/server/core/NumericScalarExprType.java) | 16 | ||||
| -rw-r--r-- | src/wcps/server/core/RangeCoverageExpr.java (renamed from src/wcps/server/core/RangeCoverageExprType.java) | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/RangeElementType.java | 94 | ||||
| -rw-r--r-- | src/wcps/server/core/RangeField.java (renamed from src/wcps/server/core/RangeFieldType.java) | 8 | ||||
| -rw-r--r-- | src/wcps/server/core/ReduceScalarExpr.java (renamed from src/wcps/server/core/ReduceScalarExprType.java) | 8 | ||||
| -rw-r--r-- | src/wcps/server/core/ScalarExpr.java (renamed from src/wcps/server/core/ScalarExprType.java) | 14 | ||||
| -rw-r--r-- | src/wcps/server/core/ScaleCoverageExpr.java (renamed from src/wcps/server/core/ScaleCoverageExprType.java) | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/SetMetadataCoverageExpr.java (renamed from src/wcps/server/core/SetMetadataCoverageExprType.java) | 4 | ||||
| -rw-r--r-- | src/wcps/server/core/SliceCoverageExpr.java (renamed from src/wcps/server/core/SliceCoverageExprType.java) | 8 | ||||
| -rw-r--r-- | src/wcps/server/core/StringScalarExpr.java (renamed from src/wcps/server/core/StringScalarExprType.java) | 8 | ||||
| -rw-r--r-- | src/wcps/server/core/SubsetOperationCoverageExpr.java (renamed from src/wcps/server/core/SubsetOperationCoverageExprType.java) | 16 | ||||
| -rw-r--r-- | src/wcps/server/core/TrimCoverageExpr.java (renamed from src/wcps/server/core/TrimCoverageExprType.java) | 8 | ||||
| -rw-r--r-- | src/wcps/server/core/UnaryOperationCoverageExpr.java (renamed from src/wcps/server/core/UnaryOperationCoverageExprType.java) | 22 | ||||
| -rw-r--r-- | src/wcps/server/core/XmlQuery.java | 12 | ||||
| -rw-r--r-- | src/wcps/server/test/GrammarTest.java | 2 | ||||
| -rw-r--r-- | src/wcps/server/test/XmlTest.java | 13 |
47 files changed, 1015 insertions, 1017 deletions
diff --git a/src/grammar/CondenseOperationType.java b/src/grammar/CondenseOperation.java index 4216502..2898710 100644 --- a/src/grammar/CondenseOperationType.java +++ b/src/grammar/CondenseOperation.java @@ -30,11 +30,11 @@ package grammar; *
* @author Andrei Aiordachioaie
*/
-public class CondenseOperationType implements IParseTreeNode
+public class CondenseOperation implements IParseTreeNode
{
String op;
- public CondenseOperationType(String op)
+ public CondenseOperation(String op)
{
this.op = op;
}
diff --git a/src/grammar/CoverageList.java b/src/grammar/CoverageList.java index e080b9a..d69fc5b 100644 --- a/src/grammar/CoverageList.java +++ b/src/grammar/CoverageList.java @@ -38,14 +38,12 @@ public class CoverageList implements IParseTreeNode public CoverageList(String c)
{
- System.err.println("Adding coverage name: " + c );
coverageName = c;
next = null;
}
public CoverageList(String c, CoverageList l)
{
- System.err.println("Adding coverage name: " + c );
coverageName = c;
next = l;
}
diff --git a/src/grammar/ForClauseElements.java b/src/grammar/ForClauseElements.java index 03b7ce8..d35a1dd 100644 --- a/src/grammar/ForClauseElements.java +++ b/src/grammar/ForClauseElements.java @@ -39,14 +39,12 @@ public class ForClauseElements implements IParseTreeNode public ForClauseElements(String v, CoverageList c)
{
- System.err.println("For Clause Element... variable: " + v + " for coverage list: " + c);
var = v;
coverageList = c;
}
public ForClauseElements(String v, CoverageList c, ForClauseElements next)
{
- System.err.println("For Clause Element... variable: " + v + " for coverage list : " + c);
var = v;
coverageList = c;
this.next = next;
diff --git a/src/grammar/GeneralCondenseExpr.java b/src/grammar/GeneralCondenseExpr.java index 07b12c2..50529e5 100644 --- a/src/grammar/GeneralCondenseExpr.java +++ b/src/grammar/GeneralCondenseExpr.java @@ -33,11 +33,11 @@ package grammar; public class GeneralCondenseExpr implements IParseTreeNode
{
AxisIteratorList alist;
- CondenseOperationType op;
+ CondenseOperation op;
ScalarExpr using;
BooleanScalarExpr where;
- public GeneralCondenseExpr(CondenseOperationType op, AxisIteratorList al)
+ public GeneralCondenseExpr(CondenseOperation op, AxisIteratorList al)
{
this.op = op;
alist = al;
diff --git a/src/grammar/WCPSRequest.java b/src/grammar/WCPSRequest.java index 048808b..031f74e 100644 --- a/src/grammar/WCPSRequest.java +++ b/src/grammar/WCPSRequest.java @@ -49,13 +49,11 @@ public class WCPSRequest implements IParseTreeNode public void setWhere(WhereClause w)
{
- System.err.println("Adding where clause !");
whereClause = w;
}
public void setReturn(ReturnClause r)
{
- System.err.println("Adding return clause !");
returnClause = r;
}
diff --git a/src/grammar/wcps.g b/src/grammar/wcps.g index e6f43ea..1e3bd04 100644 --- a/src/grammar/wcps.g +++ b/src/grammar/wcps.g @@ -8,6 +8,7 @@ History: 21 04 2009 andreia Removed comments. 04 05 2009 andreia Fixed bugs in integer declaration. 19 05 2009 andreia Fixed some other weird bugs. Grammar passes all tests now. +28 05 2009 andreia Updated class actions names. */ grammar wcps; options{ @@ -343,8 +344,8 @@ interpolationType returns[String value] nullResistence returns[String value] : resistance=(FULL|NONE|HALF|OTHER) { $value = new String($resistance.text); } ; -condenseOpType returns[CondenseOperationType value] - : op=(PLUS|MULT|MAX|MIN|AND|OR) { $value = new CondenseOperationType($op.text); } +condenseOpType returns[CondenseOperation value] + : op=(PLUS|MULT|MAX|MIN|AND|OR) { $value = new CondenseOperation($op.text); } ; fieldName returns[String value] : name { $value = new String($name.value);} diff --git a/src/grammar/wcpsLexer.java b/src/grammar/wcpsLexer.java index 81f12ef..cadfe93 100644 --- a/src/grammar/wcpsLexer.java +++ b/src/grammar/wcpsLexer.java @@ -1,4 +1,4 @@ -// $ANTLR 3.1.2 src/grammar/wcps.g 2009-05-26 13:56:45 +// $ANTLR 3.1.2 src/grammar/wcps.g 2009-05-29 12:32:50 package grammar; import org.antlr.runtime.*; @@ -138,8 +138,8 @@ public class wcpsLexer extends Lexer { try { int _type = PLUS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:387:5: ( '+' ) - // src/grammar/wcps.g:387:8: '+' + // src/grammar/wcps.g:388:5: ( '+' ) + // src/grammar/wcps.g:388:8: '+' { match('+'); @@ -158,8 +158,8 @@ public class wcpsLexer extends Lexer { try { int _type = MINUS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:388:6: ( '-' ) - // src/grammar/wcps.g:388:9: '-' + // src/grammar/wcps.g:389:6: ( '-' ) + // src/grammar/wcps.g:389:9: '-' { match('-'); @@ -178,8 +178,8 @@ public class wcpsLexer extends Lexer { try { int _type = DIVIDE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:389:7: ( '/' ) - // src/grammar/wcps.g:389:9: '/' + // src/grammar/wcps.g:390:7: ( '/' ) + // src/grammar/wcps.g:390:9: '/' { match('/'); @@ -198,8 +198,8 @@ public class wcpsLexer extends Lexer { try { int _type = MULT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:390:5: ( '*' ) - // src/grammar/wcps.g:390:7: '*' + // src/grammar/wcps.g:391:5: ( '*' ) + // src/grammar/wcps.g:391:7: '*' { match('*'); @@ -218,8 +218,8 @@ public class wcpsLexer extends Lexer { try { int _type = EQUALS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:391:7: ( '=' ) - // src/grammar/wcps.g:391:9: '=' + // src/grammar/wcps.g:392:7: ( '=' ) + // src/grammar/wcps.g:392:9: '=' { match('='); @@ -238,8 +238,8 @@ public class wcpsLexer extends Lexer { try { int _type = NOTEQUALS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:392:10: ( '!=' ) - // src/grammar/wcps.g:392:12: '!=' + // src/grammar/wcps.g:393:10: ( '!=' ) + // src/grammar/wcps.g:393:12: '!=' { match("!="); @@ -259,8 +259,8 @@ public class wcpsLexer extends Lexer { try { int _type = LT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:393:3: ( '<' ) - // src/grammar/wcps.g:393:5: '<' + // src/grammar/wcps.g:394:3: ( '<' ) + // src/grammar/wcps.g:394:5: '<' { match('<'); @@ -279,8 +279,8 @@ public class wcpsLexer extends Lexer { try { int _type = GT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:394:3: ( '>' ) - // src/grammar/wcps.g:394:5: '>' + // src/grammar/wcps.g:395:3: ( '>' ) + // src/grammar/wcps.g:395:5: '>' { match('>'); @@ -299,8 +299,8 @@ public class wcpsLexer extends Lexer { try { int _type = LTE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:395:4: ( '<=' ) - // src/grammar/wcps.g:395:6: '<=' + // src/grammar/wcps.g:396:4: ( '<=' ) + // src/grammar/wcps.g:396:6: '<=' { match("<="); @@ -320,8 +320,8 @@ public class wcpsLexer extends Lexer { try { int _type = GTE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:396:4: ( '>=' ) - // src/grammar/wcps.g:396:6: '>=' + // src/grammar/wcps.g:397:4: ( '>=' ) + // src/grammar/wcps.g:397:6: '>=' { match(">="); @@ -341,8 +341,8 @@ public class wcpsLexer extends Lexer { try { int _type = DOT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:397:4: ( '.' ) - // src/grammar/wcps.g:397:6: '.' + // src/grammar/wcps.g:398:4: ( '.' ) + // src/grammar/wcps.g:398:6: '.' { match('.'); @@ -361,8 +361,8 @@ public class wcpsLexer extends Lexer { try { int _type = LPAREN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:398:7: ( '(' ) - // src/grammar/wcps.g:398:9: '(' + // src/grammar/wcps.g:399:7: ( '(' ) + // src/grammar/wcps.g:399:9: '(' { match('('); @@ -381,8 +381,8 @@ public class wcpsLexer extends Lexer { try { int _type = RPAREN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:399:7: ( ')' ) - // src/grammar/wcps.g:399:9: ')' + // src/grammar/wcps.g:400:7: ( ')' ) + // src/grammar/wcps.g:400:9: ')' { match(')'); @@ -401,8 +401,8 @@ public class wcpsLexer extends Lexer { try { int _type = LBRACKET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:400:9: ( '[' ) - // src/grammar/wcps.g:400:11: '[' + // src/grammar/wcps.g:401:9: ( '[' ) + // src/grammar/wcps.g:401:11: '[' { match('['); @@ -421,8 +421,8 @@ public class wcpsLexer extends Lexer { try { int _type = RBRACKET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:401:9: ( ']' ) - // src/grammar/wcps.g:401:11: ']' + // src/grammar/wcps.g:402:9: ( ']' ) + // src/grammar/wcps.g:402:11: ']' { match(']'); @@ -441,8 +441,8 @@ public class wcpsLexer extends Lexer { try { int _type = LBRACE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:402:7: ( '{' ) - // src/grammar/wcps.g:402:9: '{' + // src/grammar/wcps.g:403:7: ( '{' ) + // src/grammar/wcps.g:403:9: '{' { match('{'); @@ -461,8 +461,8 @@ public class wcpsLexer extends Lexer { try { int _type = RBRACE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:403:7: ( '}' ) - // src/grammar/wcps.g:403:9: '}' + // src/grammar/wcps.g:404:7: ( '}' ) + // src/grammar/wcps.g:404:9: '}' { match('}'); @@ -481,8 +481,8 @@ public class wcpsLexer extends Lexer { try { int _type = COMMA; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:404:6: ( ',' ) - // src/grammar/wcps.g:404:8: ',' + // src/grammar/wcps.g:405:6: ( ',' ) + // src/grammar/wcps.g:405:8: ',' { match(','); @@ -501,8 +501,8 @@ public class wcpsLexer extends Lexer { try { int _type = COLON; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:405:6: ( ':' ) - // src/grammar/wcps.g:405:8: ':' + // src/grammar/wcps.g:406:6: ( ':' ) + // src/grammar/wcps.g:406:8: ':' { match(':'); @@ -521,8 +521,8 @@ public class wcpsLexer extends Lexer { try { int _type = SEMICOLON; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:406:10: ( ';' ) - // src/grammar/wcps.g:406:12: ';' + // src/grammar/wcps.g:407:10: ( ';' ) + // src/grammar/wcps.g:407:12: ';' { match(';'); @@ -541,8 +541,8 @@ public class wcpsLexer extends Lexer { try { int _type = FOR; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:407:4: ( ( 'f' | 'F' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ) - // src/grammar/wcps.g:407:6: ( 'f' | 'F' ) ( 'o' | 'O' ) ( 'r' | 'R' ) + // src/grammar/wcps.g:408:4: ( ( 'f' | 'F' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ) + // src/grammar/wcps.g:408:6: ( 'f' | 'F' ) ( 'o' | 'O' ) ( 'r' | 'R' ) { if ( input.LA(1)=='F'||input.LA(1)=='f' ) { input.consume(); @@ -587,8 +587,8 @@ public class wcpsLexer extends Lexer { try { int _type = IN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:408:3: ( ( 'i' | 'I' ) ( 'n' | 'N' ) ) - // src/grammar/wcps.g:408:5: ( 'i' | 'I' ) ( 'n' | 'N' ) + // src/grammar/wcps.g:409:3: ( ( 'i' | 'I' ) ( 'n' | 'N' ) ) + // src/grammar/wcps.g:409:5: ( 'i' | 'I' ) ( 'n' | 'N' ) { if ( input.LA(1)=='I'||input.LA(1)=='i' ) { input.consume(); @@ -624,8 +624,8 @@ public class wcpsLexer extends Lexer { try { int _type = WHERE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:409:6: ( ( 'w' | 'W' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:409:8: ( 'w' | 'W' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:410:6: ( ( 'w' | 'W' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:410:8: ( 'w' | 'W' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'e' | 'E' ) { if ( input.LA(1)=='W'||input.LA(1)=='w' ) { input.consume(); @@ -688,8 +688,8 @@ public class wcpsLexer extends Lexer { try { int _type = RETURN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:410:7: ( ( 'r' | 'R' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'u' | 'U' ) ( 'r' | 'R' ) ( 'n' | 'N' ) ) - // src/grammar/wcps.g:410:9: ( 'r' | 'R' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'u' | 'U' ) ( 'r' | 'R' ) ( 'n' | 'N' ) + // src/grammar/wcps.g:411:7: ( ( 'r' | 'R' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'u' | 'U' ) ( 'r' | 'R' ) ( 'n' | 'N' ) ) + // src/grammar/wcps.g:411:9: ( 'r' | 'R' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'u' | 'U' ) ( 'r' | 'R' ) ( 'n' | 'N' ) { if ( input.LA(1)=='R'||input.LA(1)=='r' ) { input.consume(); @@ -761,8 +761,8 @@ public class wcpsLexer extends Lexer { try { int _type = STORE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:411:6: ( ( 's' | 'S' ) ( 't' | 'T' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:411:8: ( 's' | 'S' ) ( 't' | 'T' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:412:6: ( ( 's' | 'S' ) ( 't' | 'T' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:412:8: ( 's' | 'S' ) ( 't' | 'T' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 'e' | 'E' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -825,8 +825,8 @@ public class wcpsLexer extends Lexer { try { int _type = ENCODE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:412:7: ( ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:412:9: ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'd' | 'D' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:413:7: ( ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:413:9: ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'd' | 'D' ) ( 'e' | 'E' ) { if ( input.LA(1)=='E'||input.LA(1)=='e' ) { input.consume(); @@ -898,8 +898,8 @@ public class wcpsLexer extends Lexer { try { int _type = SQRT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:413:5: ( ( 's' | 'S' ) ( 'q' | 'Q' ) ( 'r' | 'R' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:413:7: ( 's' | 'S' ) ( 'q' | 'Q' ) ( 'r' | 'R' ) ( 't' | 'T' ) + // src/grammar/wcps.g:414:5: ( ( 's' | 'S' ) ( 'q' | 'Q' ) ( 'r' | 'R' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:414:7: ( 's' | 'S' ) ( 'q' | 'Q' ) ( 'r' | 'R' ) ( 't' | 'T' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -953,8 +953,8 @@ public class wcpsLexer extends Lexer { try { int _type = SIN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:414:4: ( ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) - // src/grammar/wcps.g:414:6: ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) + // src/grammar/wcps.g:415:4: ( ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) + // src/grammar/wcps.g:415:6: ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -999,8 +999,8 @@ public class wcpsLexer extends Lexer { try { int _type = COS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:415:4: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ) - // src/grammar/wcps.g:415:6: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) + // src/grammar/wcps.g:416:4: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ) + // src/grammar/wcps.g:416:6: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -1045,8 +1045,8 @@ public class wcpsLexer extends Lexer { try { int _type = TAN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:416:4: ( ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ) - // src/grammar/wcps.g:416:6: ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) + // src/grammar/wcps.g:417:4: ( ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ) + // src/grammar/wcps.g:417:6: ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) { if ( input.LA(1)=='T'||input.LA(1)=='t' ) { input.consume(); @@ -1091,8 +1091,8 @@ public class wcpsLexer extends Lexer { try { int _type = SINH; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:417:5: ( ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'h' | 'H' ) ) - // src/grammar/wcps.g:417:7: ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'h' | 'H' ) + // src/grammar/wcps.g:418:5: ( ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'h' | 'H' ) ) + // src/grammar/wcps.g:418:7: ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'h' | 'H' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -1146,8 +1146,8 @@ public class wcpsLexer extends Lexer { try { int _type = COSH; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:418:5: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ( 'h' | 'H' ) ) - // src/grammar/wcps.g:418:7: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ( 'h' | 'H' ) + // src/grammar/wcps.g:419:5: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ( 'h' | 'H' ) ) + // src/grammar/wcps.g:419:7: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ( 'h' | 'H' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -1201,8 +1201,8 @@ public class wcpsLexer extends Lexer { try { int _type = TANH; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:419:5: ( ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'h' | 'H' ) ) - // src/grammar/wcps.g:419:7: ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'h' | 'H' ) + // src/grammar/wcps.g:420:5: ( ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'h' | 'H' ) ) + // src/grammar/wcps.g:420:7: ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'h' | 'H' ) { if ( input.LA(1)=='T'||input.LA(1)=='t' ) { input.consume(); @@ -1256,8 +1256,8 @@ public class wcpsLexer extends Lexer { try { int _type = ARCSIN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:420:7: ( ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) - // src/grammar/wcps.g:420:9: ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) + // src/grammar/wcps.g:421:7: ( ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) + // src/grammar/wcps.g:421:9: ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -1329,8 +1329,8 @@ public class wcpsLexer extends Lexer { try { int _type = ARCCOS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:421:7: ( ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ) - // src/grammar/wcps.g:421:9: ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) + // src/grammar/wcps.g:422:7: ( ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) ) + // src/grammar/wcps.g:422:9: ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 'c' | 'C' ) ( 'o' | 'O' ) ( 's' | 'S' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -1402,8 +1402,8 @@ public class wcpsLexer extends Lexer { try { int _type = ARCTAN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:422:7: ( ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ) - // src/grammar/wcps.g:422:9: ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) + // src/grammar/wcps.g:423:7: ( ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ) + // src/grammar/wcps.g:423:9: ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'c' | 'C' ) ( 't' | 'T' ) ( 'a' | 'A' ) ( 'n' | 'N' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -1475,8 +1475,8 @@ public class wcpsLexer extends Lexer { try { int _type = EXP; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:423:4: ( ( 'e' | 'E' ) ( 'x' | 'X' ) ( 'p' | 'P' ) ) - // src/grammar/wcps.g:423:6: ( 'e' | 'E' ) ( 'x' | 'X' ) ( 'p' | 'P' ) + // src/grammar/wcps.g:424:4: ( ( 'e' | 'E' ) ( 'x' | 'X' ) ( 'p' | 'P' ) ) + // src/grammar/wcps.g:424:6: ( 'e' | 'E' ) ( 'x' | 'X' ) ( 'p' | 'P' ) { if ( input.LA(1)=='E'||input.LA(1)=='e' ) { input.consume(); @@ -1521,8 +1521,8 @@ public class wcpsLexer extends Lexer { try { int _type = LN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:424:3: ( ( 'l' | 'L' ) ( 'n' | 'N' ) ) - // src/grammar/wcps.g:424:5: ( 'l' | 'L' ) ( 'n' | 'N' ) + // src/grammar/wcps.g:425:3: ( ( 'l' | 'L' ) ( 'n' | 'N' ) ) + // src/grammar/wcps.g:425:5: ( 'l' | 'L' ) ( 'n' | 'N' ) { if ( input.LA(1)=='L'||input.LA(1)=='l' ) { input.consume(); @@ -1558,8 +1558,8 @@ public class wcpsLexer extends Lexer { try { int _type = LOG; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:425:4: ( ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'g' | 'G' ) ) - // src/grammar/wcps.g:425:6: ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'g' | 'G' ) + // src/grammar/wcps.g:426:4: ( ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'g' | 'G' ) ) + // src/grammar/wcps.g:426:6: ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'g' | 'G' ) { if ( input.LA(1)=='L'||input.LA(1)=='l' ) { input.consume(); @@ -1604,8 +1604,8 @@ public class wcpsLexer extends Lexer { try { int _type = ROUND; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:426:6: ( ( 'r' | 'R' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ) - // src/grammar/wcps.g:426:8: ( 'r' | 'R' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 'd' | 'D' ) + // src/grammar/wcps.g:427:6: ( ( 'r' | 'R' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ) + // src/grammar/wcps.g:427:8: ( 'r' | 'R' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 'd' | 'D' ) { if ( input.LA(1)=='R'||input.LA(1)=='r' ) { input.consume(); @@ -1668,8 +1668,8 @@ public class wcpsLexer extends Lexer { try { int _type = ABS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:427:4: ( ( 'a' | 'A' ) ( 'b' | 'B' ) ( 's' | 'S' ) ) - // src/grammar/wcps.g:427:6: ( 'a' | 'A' ) ( 'b' | 'B' ) ( 's' | 'S' ) + // src/grammar/wcps.g:428:4: ( ( 'a' | 'A' ) ( 'b' | 'B' ) ( 's' | 'S' ) ) + // src/grammar/wcps.g:428:6: ( 'a' | 'A' ) ( 'b' | 'B' ) ( 's' | 'S' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -1714,8 +1714,8 @@ public class wcpsLexer extends Lexer { try { int _type = OVERLAY; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:428:8: ( ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 'y' | 'Y' ) ) - // src/grammar/wcps.g:428:10: ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 'y' | 'Y' ) + // src/grammar/wcps.g:429:8: ( ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'l' | 'L' ) ( 'a' | 'A' ) ( 'y' | 'Y' ) ) + // src/grammar/wcps.g:429: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(); @@ -1796,8 +1796,8 @@ public class wcpsLexer extends Lexer { try { int _type = STRUCT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:429:7: ( ( 's' | 'S' ) ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'c' | 'C' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:429:9: ( 's' | 'S' ) ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'c' | 'C' ) ( 't' | 'T' ) + // src/grammar/wcps.g:430:7: ( ( 's' | 'S' ) ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'c' | 'C' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:430:9: ( 's' | 'S' ) ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'c' | 'C' ) ( 't' | 'T' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -1869,8 +1869,8 @@ public class wcpsLexer extends Lexer { try { int _type = RE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:430:3: ( ( 'r' | 'R' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:430:5: ( 'r' | 'R' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:431:3: ( ( 'r' | 'R' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:431:5: ( 'r' | 'R' ) ( 'e' | 'E' ) { if ( input.LA(1)=='R'||input.LA(1)=='r' ) { input.consume(); @@ -1906,8 +1906,8 @@ public class wcpsLexer extends Lexer { try { int _type = IM; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:431:3: ( ( 'i' | 'I' ) ( 'm' | 'M' ) ) - // src/grammar/wcps.g:431:5: ( 'i' | 'I' ) ( 'm' | 'M' ) + // src/grammar/wcps.g:432:3: ( ( 'i' | 'I' ) ( 'm' | 'M' ) ) + // src/grammar/wcps.g:432:5: ( 'i' | 'I' ) ( 'm' | 'M' ) { if ( input.LA(1)=='I'||input.LA(1)=='i' ) { input.consume(); @@ -1943,8 +1943,8 @@ public class wcpsLexer extends Lexer { try { int _type = AND; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:432:4: ( ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ) - // src/grammar/wcps.g:432:6: ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'd' | 'D' ) + // src/grammar/wcps.g:433:4: ( ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ) + // src/grammar/wcps.g:433:6: ( 'a' | 'A' ) ( 'n' | 'N' ) ( 'd' | 'D' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -1989,8 +1989,8 @@ public class wcpsLexer extends Lexer { try { int _type = OR; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:433:3: ( ( 'o' | 'O' ) ( 'r' | 'R' ) ) - // src/grammar/wcps.g:433:5: ( 'o' | 'O' ) ( 'r' | 'R' ) + // src/grammar/wcps.g:434:3: ( ( 'o' | 'O' ) ( 'r' | 'R' ) ) + // src/grammar/wcps.g:434:5: ( 'o' | 'O' ) ( 'r' | 'R' ) { if ( input.LA(1)=='O'||input.LA(1)=='o' ) { input.consume(); @@ -2026,8 +2026,8 @@ public class wcpsLexer extends Lexer { try { int _type = XOR; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:434:4: ( ( 'x' | 'X' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ) - // src/grammar/wcps.g:434:6: ( 'x' | 'X' ) ( 'o' | 'O' ) ( 'r' | 'R' ) + // src/grammar/wcps.g:435:4: ( ( 'x' | 'X' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ) + // src/grammar/wcps.g:435:6: ( 'x' | 'X' ) ( 'o' | 'O' ) ( 'r' | 'R' ) { if ( input.LA(1)=='X'||input.LA(1)=='x' ) { input.consume(); @@ -2072,8 +2072,8 @@ public class wcpsLexer extends Lexer { try { int _type = NOT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:435:4: ( ( 'n' | 'N' ) ( 'o' | 'O' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:435:6: ( 'n' | 'N' ) ( 'o' | 'O' ) ( 't' | 'T' ) + // src/grammar/wcps.g:436:4: ( ( 'n' | 'N' ) ( 'o' | 'O' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:436:6: ( 'n' | 'N' ) ( 'o' | 'O' ) ( 't' | 'T' ) { if ( input.LA(1)=='N'||input.LA(1)=='n' ) { input.consume(); @@ -2118,8 +2118,8 @@ public class wcpsLexer extends Lexer { try { int _type = IDENTIFIER; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:436:11: ( ( 'i' | 'I' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'f' | 'F' ) ( 'i' | 'I' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) - // src/grammar/wcps.g:436:13: ( 'i' | 'I' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'f' | 'F' ) ( 'i' | 'I' ) ( 'e' | 'E' ) ( 'r' | 'R' ) + // src/grammar/wcps.g:437:11: ( ( 'i' | 'I' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'f' | 'F' ) ( 'i' | 'I' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) + // src/grammar/wcps.g:437: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(); @@ -2227,8 +2227,8 @@ public class wcpsLexer extends Lexer { try { int _type = IMAGECRS; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:437:9: ( ( 'i' | 'I' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ) - // src/grammar/wcps.g:437:11: ( 'i' | 'I' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) + // src/grammar/wcps.g:438:9: ( ( 'i' | 'I' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ) + // src/grammar/wcps.g:438: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(); @@ -2318,8 +2318,8 @@ public class wcpsLexer extends Lexer { try { int _type = IMAGECRSDOMAIN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:438: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/grammar/wcps.g:438: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/grammar/wcps.g:439: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/grammar/wcps.g:439: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(); @@ -2463,8 +2463,8 @@ public class wcpsLexer extends Lexer { try { int _type = CRSSET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:439:7: ( ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:439:9: ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) + // src/grammar/wcps.g:440:7: ( ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:440:9: ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -2536,8 +2536,8 @@ public class wcpsLexer extends Lexer { try { int _type = DOMAIN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:440:7: ( ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) - // src/grammar/wcps.g:440:9: ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'i' | 'I' ) ( 'n' | 'N' ) + // src/grammar/wcps.g:441:7: ( ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) + // src/grammar/wcps.g:441:9: ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'i' | 'I' ) ( 'n' | 'N' ) { if ( input.LA(1)=='D'||input.LA(1)=='d' ) { input.consume(); @@ -2609,8 +2609,8 @@ public class wcpsLexer extends Lexer { try { int _type = NULLSET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:441:8: ( ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:441:10: ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) + // src/grammar/wcps.g:442:8: ( ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:442: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(); @@ -2691,8 +2691,8 @@ public class wcpsLexer extends Lexer { try { int _type = NULLDEFAULT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:442:12: ( ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:442:14: ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) + // src/grammar/wcps.g:443:12: ( ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:443: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(); @@ -2809,8 +2809,8 @@ public class wcpsLexer extends Lexer { try { int _type = INTERPOLATIONDEFAULT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:443: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/grammar/wcps.g:443: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/grammar/wcps.g:444: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/grammar/wcps.g:444: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(); @@ -3008,8 +3008,8 @@ public class wcpsLexer extends Lexer { try { int _type = INTERPOLATIONSET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:444: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/grammar/wcps.g:444: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/grammar/wcps.g:445: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/grammar/wcps.g:445: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(); @@ -3171,8 +3171,8 @@ public class wcpsLexer extends Lexer { try { int _type = SETIDENTIFIER; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:445: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/grammar/wcps.g:445: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/grammar/wcps.g:446: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/grammar/wcps.g:446: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(); @@ -3307,8 +3307,8 @@ public class wcpsLexer extends Lexer { try { int _type = SETNULLSET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:446:11: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:446:13: ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) + // src/grammar/wcps.g:447:11: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'n' | 'N' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:447: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(); @@ -3416,8 +3416,8 @@ public class wcpsLexer extends Lexer { try { int _type = SETINTERPOLATIONDEFAULT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:447: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/grammar/wcps.g:447: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/grammar/wcps.g:448: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/grammar/wcps.g:448: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(); @@ -3642,8 +3642,8 @@ public class wcpsLexer extends Lexer { try { int _type = SETINTERPOLATIONSET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:448: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/grammar/wcps.g:448: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/grammar/wcps.g:449: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/grammar/wcps.g:449: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(); @@ -3832,8 +3832,8 @@ public class wcpsLexer extends Lexer { try { int _type = SETCRSSET; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:449:10: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:449:12: ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) + // src/grammar/wcps.g:450:10: ( ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ( 'c' | 'C' ) ( 'r' | 'R' ) ( 's' | 'S' ) ( 's' | 'S' ) ( 'e' | 'E' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:450: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(); @@ -3932,8 +3932,8 @@ public class wcpsLexer extends Lexer { try { int _type = TRIM; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:450:5: ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'i' | 'I' ) ( 'm' | 'M' ) ) - // src/grammar/wcps.g:450:7: ( 't' | 'T' ) ( 'r' | 'R' ) ( 'i' | 'I' ) ( 'm' | 'M' ) + // src/grammar/wcps.g:451:5: ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'i' | 'I' ) ( 'm' | 'M' ) ) + // src/grammar/wcps.g:451:7: ( 't' | 'T' ) ( 'r' | 'R' ) ( 'i' | 'I' ) ( 'm' | 'M' ) { if ( input.LA(1)=='T'||input.LA(1)=='t' ) { input.consume(); @@ -3987,8 +3987,8 @@ public class wcpsLexer extends Lexer { try { int _type = SLICE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:451:6: ( ( 's' | 'S' ) ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:451:8: ( 's' | 'S' ) ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:452:6: ( ( 's' | 'S' ) ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:452:8: ( 's' | 'S' ) ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ( 'e' | 'E' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -4051,8 +4051,8 @@ public class wcpsLexer extends Lexer { try { int _type = EXTEND; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:452:7: ( ( 'e' | 'E' ) ( 'x' | 'X' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ) - // src/grammar/wcps.g:452:9: ( 'e' | 'E' ) ( 'x' | 'X' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'd' | 'D' ) + // src/grammar/wcps.g:453:7: ( ( 'e' | 'E' ) ( 'x' | 'X' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ) + // src/grammar/wcps.g:453:9: ( 'e' | 'E' ) ( 'x' | 'X' ) ( 't' | 'T' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 'd' | 'D' ) { if ( input.LA(1)=='E'||input.LA(1)=='e' ) { input.consume(); @@ -4124,8 +4124,8 @@ public class wcpsLexer extends Lexer { try { int _type = SCALE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:453:6: ( ( 's' | 'S' ) ( 'c' | 'C' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:453:8: ( 's' | 'S' ) ( 'c' | 'C' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:454:6: ( ( 's' | 'S' ) ( 'c' | 'C' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:454:8: ( 's' | 'S' ) ( 'c' | 'C' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'e' | 'E' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -4188,8 +4188,8 @@ public class wcpsLexer extends Lexer { try { int _type = CRSTRANSFORM; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:454: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/grammar/wcps.g:454: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/grammar/wcps.g:455: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/grammar/wcps.g:455: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(); @@ -4315,8 +4315,8 @@ public class wcpsLexer extends Lexer { try { int _type = COUNT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:455:6: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:455:8: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 't' | 'T' ) + // src/grammar/wcps.g:456:6: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:456:8: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'n' | 'N' ) ( 't' | 'T' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -4379,8 +4379,8 @@ public class wcpsLexer extends Lexer { try { int _type = ADD; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:456:4: ( ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'd' | 'D' ) ) - // src/grammar/wcps.g:456:6: ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'd' | 'D' ) + // src/grammar/wcps.g:457:4: ( ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'd' | 'D' ) ) + // src/grammar/wcps.g:457:6: ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'd' | 'D' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -4425,8 +4425,8 @@ public class wcpsLexer extends Lexer { try { int _type = AVG; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:457:4: ( ( 'a' | 'A' ) ( 'v' | 'V' ) ( 'g' | 'G' ) ) - // src/grammar/wcps.g:457:6: ( 'a' | 'A' ) ( 'v' | 'V' ) ( 'g' | 'G' ) + // src/grammar/wcps.g:458:4: ( ( 'a' | 'A' ) ( 'v' | 'V' ) ( 'g' | 'G' ) ) + // src/grammar/wcps.g:458:6: ( 'a' | 'A' ) ( 'v' | 'V' ) ( 'g' | 'G' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -4471,8 +4471,8 @@ public class wcpsLexer extends Lexer { try { int _type = MAX; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:458:4: ( ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'x' | 'X' ) ) - // src/grammar/wcps.g:458:6: ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'x' | 'X' ) + // src/grammar/wcps.g:459:4: ( ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'x' | 'X' ) ) + // src/grammar/wcps.g:459:6: ( 'm' | 'M' ) ( 'a' | 'A' ) ( 'x' | 'X' ) { if ( input.LA(1)=='M'||input.LA(1)=='m' ) { input.consume(); @@ -4517,8 +4517,8 @@ public class wcpsLexer extends Lexer { try { int _type = MIN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:459:4: ( ( 'm' | 'M' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) - // src/grammar/wcps.g:459:6: ( 'm' | 'M' ) ( 'i' | 'I' ) ( 'n' | 'N' ) + // src/grammar/wcps.g:460:4: ( ( 'm' | 'M' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ) + // src/grammar/wcps.g:460:6: ( 'm' | 'M' ) ( 'i' | 'I' ) ( 'n' | 'N' ) { if ( input.LA(1)=='M'||input.LA(1)=='m' ) { input.consume(); @@ -4563,8 +4563,8 @@ public class wcpsLexer extends Lexer { try { int _type = SOME; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:460:5: ( ( 's' | 'S' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:460:7: ( 's' | 'S' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:461:5: ( ( 's' | 'S' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:461:7: ( 's' | 'S' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'e' | 'E' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -4618,8 +4618,8 @@ public class wcpsLexer extends Lexer { try { int _type = ALL; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:461:4: ( ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ) - // src/grammar/wcps.g:461:6: ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'l' | 'L' ) + // src/grammar/wcps.g:462:4: ( ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ) + // src/grammar/wcps.g:462:6: ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'l' | 'L' ) { if ( input.LA(1)=='A'||input.LA(1)=='a' ) { input.consume(); @@ -4664,8 +4664,8 @@ public class wcpsLexer extends Lexer { try { int _type = COVERAGE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:462:9: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:462:11: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:463:9: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 'g' | 'G' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:463: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(); @@ -4755,8 +4755,8 @@ public class wcpsLexer extends Lexer { try { int _type = OVER; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:463:5: ( ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) - // src/grammar/wcps.g:463:7: ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) + // src/grammar/wcps.g:464:5: ( ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) + // src/grammar/wcps.g:464:7: ( 'o' | 'O' ) ( 'v' | 'V' ) ( 'e' | 'E' ) ( 'r' | 'R' ) { if ( input.LA(1)=='O'||input.LA(1)=='o' ) { input.consume(); @@ -4810,8 +4810,8 @@ public class wcpsLexer extends Lexer { try { int _type = VALUE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:464:6: ( ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:464:8: ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:465:6: ( ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:465:8: ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) { if ( input.LA(1)=='V'||input.LA(1)=='v' ) { input.consume(); @@ -4874,8 +4874,8 @@ public class wcpsLexer extends Lexer { try { int _type = VALUES; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:465:7: ( ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ( 's' | 'S' ) ) - // src/grammar/wcps.g:465:9: ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ( 's' | 'S' ) + // src/grammar/wcps.g:466:7: ( ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ( 's' | 'S' ) ) + // src/grammar/wcps.g:466:9: ( 'v' | 'V' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ( 's' | 'S' ) { if ( input.LA(1)=='V'||input.LA(1)=='v' ) { input.consume(); @@ -4947,8 +4947,8 @@ public class wcpsLexer extends Lexer { try { int _type = LIST; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:466:5: ( ( 'l' | 'L' ) ( 'i' | 'I' ) ( 's' | 'S' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:466:7: ( 'l' | 'L' ) ( 'i' | 'I' ) ( 's' | 'S' ) ( 't' | 'T' ) + // src/grammar/wcps.g:467:5: ( ( 'l' | 'L' ) ( 'i' | 'I' ) ( 's' | 'S' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:467:7: ( 'l' | 'L' ) ( 'i' | 'I' ) ( 's' | 'S' ) ( 't' | 'T' ) { if ( input.LA(1)=='L'||input.LA(1)=='l' ) { input.consume(); @@ -5002,8 +5002,8 @@ public class wcpsLexer extends Lexer { try { int _type = CONDENSE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:467:9: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:467:11: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:468:9: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'd' | 'D' ) ( 'e' | 'E' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:468: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(); @@ -5093,8 +5093,8 @@ public class wcpsLexer extends Lexer { try { int _type = USING; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:468:6: ( ( 'u' | 'U' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'g' | 'G' ) ) - // src/grammar/wcps.g:468:8: ( 'u' | 'U' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'g' | 'G' ) + // src/grammar/wcps.g:469:6: ( ( 'u' | 'U' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'g' | 'G' ) ) + // src/grammar/wcps.g:469:8: ( 'u' | 'U' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'g' | 'G' ) { if ( input.LA(1)=='U'||input.LA(1)=='u' ) { input.consume(); @@ -5157,8 +5157,8 @@ public class wcpsLexer extends Lexer { try { int _type = NEAREST; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:469:8: ( ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ( 's' | 'S' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:469:10: ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ( 's' | 'S' ) ( 't' | 'T' ) + // src/grammar/wcps.g:470:8: ( ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ( 'e' | 'E' ) ( 's' | 'S' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:470: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(); @@ -5239,8 +5239,8 @@ public class wcpsLexer extends Lexer { try { int _type = LINEAR; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:470:7: ( ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ) - // src/grammar/wcps.g:470:9: ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) + // src/grammar/wcps.g:471:7: ( ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ) + // src/grammar/wcps.g:471:9: ( 'l' | 'L' ) ( 'i' | 'I' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'r' | 'R' ) { if ( input.LA(1)=='L'||input.LA(1)=='l' ) { input.consume(); @@ -5312,8 +5312,8 @@ public class wcpsLexer extends Lexer { try { int _type = QUADRATIC; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:471:10: ( ( 'q' | 'Q' ) ( 'u' | 'U' ) ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ) - // src/grammar/wcps.g:471:12: ( 'q' | 'Q' ) ( 'u' | 'U' ) ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'c' | 'C' ) + // src/grammar/wcps.g:472:10: ( ( 'q' | 'Q' ) ( 'u' | 'U' ) ( 'a' | 'A' ) ( 'd' | 'D' ) ( 'r' | 'R' ) ( 'a' | 'A' ) ( 't' | 'T' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ) + // src/grammar/wcps.g:472: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(); @@ -5412,8 +5412,8 @@ public class wcpsLexer extends Lexer { try { int _type = CUBIC; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:472:6: ( ( 'c' | 'C' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ) - // src/grammar/wcps.g:472:8: ( 'c' | 'C' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'i' | 'I' ) ( 'c' | 'C' ) + // src/grammar/wcps.g:473:6: ( ( 'c' | 'C' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'i' | 'I' ) ( 'c' | 'C' ) ) + // src/grammar/wcps.g:473:8: ( 'c' | 'C' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'i' | 'I' ) ( 'c' | 'C' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -5476,8 +5476,8 @@ public class wcpsLexer extends Lexer { try { int _type = FULL; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:473:5: ( ( 'f' | 'F' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ) - // src/grammar/wcps.g:473:7: ( 'f' | 'F' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) + // src/grammar/wcps.g:474:5: ( ( 'f' | 'F' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) ) + // src/grammar/wcps.g:474:7: ( 'f' | 'F' ) ( 'u' | 'U' ) ( 'l' | 'L' ) ( 'l' | 'L' ) { if ( input.LA(1)=='F'||input.LA(1)=='f' ) { input.consume(); @@ -5531,8 +5531,8 @@ public class wcpsLexer extends Lexer { try { int _type = NONE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:474:5: ( ( 'n' | 'N' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:474:7: ( 'n' | 'N' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:475:5: ( ( 'n' | 'N' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:475:7: ( 'n' | 'N' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'e' | 'E' ) { if ( input.LA(1)=='N'||input.LA(1)=='n' ) { input.consume(); @@ -5586,8 +5586,8 @@ public class wcpsLexer extends Lexer { try { int _type = HALF; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:475:5: ( ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'f' | 'F' ) ) - // src/grammar/wcps.g:475:7: ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'f' | 'F' ) + // src/grammar/wcps.g:476:5: ( ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'f' | 'F' ) ) + // src/grammar/wcps.g:476:7: ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 'f' | 'F' ) { if ( input.LA(1)=='H'||input.LA(1)=='h' ) { input.consume(); @@ -5641,8 +5641,8 @@ public class wcpsLexer extends Lexer { try { int _type = OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:476:6: ( ( 'o' | 'O' ) ( 't' | 'T' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) - // src/grammar/wcps.g:476:8: ( 'o' | 'O' ) ( 't' | 'T' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) + // src/grammar/wcps.g:477:6: ( ( 'o' | 'O' ) ( 't' | 'T' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) ) + // src/grammar/wcps.g:477:8: ( 'o' | 'O' ) ( 't' | 'T' ) ( 'h' | 'H' ) ( 'e' | 'E' ) ( 'r' | 'R' ) { if ( input.LA(1)=='O'||input.LA(1)=='o' ) { input.consume(); @@ -5705,8 +5705,8 @@ public class wcpsLexer extends Lexer { try { int _type = PHI; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:477:4: ( ( 'p' | 'P' ) ( 'h' | 'H' ) ( 'i' | 'I' ) ) - // src/grammar/wcps.g:477:6: ( 'p' | 'P' ) ( 'h' | 'H' ) ( 'i' | 'I' ) + // src/grammar/wcps.g:478:4: ( ( 'p' | 'P' ) ( 'h' | 'H' ) ( 'i' | 'I' ) ) + // src/grammar/wcps.g:478:6: ( 'p' | 'P' ) ( 'h' | 'H' ) ( 'i' | 'I' ) { if ( input.LA(1)=='P'||input.LA(1)=='p' ) { input.consume(); @@ -5751,8 +5751,8 @@ public class wcpsLexer extends Lexer { try { int _type = BIT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:478:4: ( ( 'b' | 'B' ) ( 'i' | 'I' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:478:6: ( 'b' | 'B' ) ( 'i' | 'I' ) ( 't' | 'T' ) + // src/grammar/wcps.g:479:4: ( ( 'b' | 'B' ) ( 'i' | 'I' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:479:6: ( 'b' | 'B' ) ( 'i' | 'I' ) ( 't' | 'T' ) { if ( input.LA(1)=='B'||input.LA(1)=='b' ) { input.consume(); @@ -5797,8 +5797,8 @@ public class wcpsLexer extends Lexer { try { int _type = UNSIGNED; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:479:9: ( ( 'u' | 'U' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'g' | 'G' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'd' | 'D' ) ) - // src/grammar/wcps.g:479:11: ( 'u' | 'U' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'g' | 'G' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'd' | 'D' ) + // src/grammar/wcps.g:480:9: ( ( 'u' | 'U' ) ( 'n' | 'N' ) ( 's' | 'S' ) ( 'i' | 'I' ) ( 'g' | 'G' ) ( 'n' | 'N' ) ( 'e' | 'E' ) ( 'd' | 'D' ) ) + // src/grammar/wcps.g:480: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(); @@ -5888,8 +5888,8 @@ public class wcpsLexer extends Lexer { try { int _type = BOOLEAN; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:480:8: ( ( 'b' | 'B' ) ( 'o' | 'O' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ) - // src/grammar/wcps.g:480:10: ( 'b' | 'B' ) ( 'o' | 'O' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'n' | 'N' ) + // src/grammar/wcps.g:481:8: ( ( 'b' | 'B' ) ( 'o' | 'O' ) ( 'o' | 'O' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'a' | 'A' ) ( 'n' | 'N' ) ) + // src/grammar/wcps.g:481: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(); @@ -5970,8 +5970,8 @@ public class wcpsLexer extends Lexer { try { int _type = CHAR; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:481:5: ( ( 'c' | 'C' ) ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ) - // src/grammar/wcps.g:481:7: ( 'c' | 'C' ) ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'r' | 'R' ) + // src/grammar/wcps.g:482:5: ( ( 'c' | 'C' ) ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'r' | 'R' ) ) + // src/grammar/wcps.g:482:7: ( 'c' | 'C' ) ( 'h' | 'H' ) ( 'a' | 'A' ) ( 'r' | 'R' ) { if ( input.LA(1)=='C'||input.LA(1)=='c' ) { input.consume(); @@ -6025,8 +6025,8 @@ public class wcpsLexer extends Lexer { try { int _type = SHORT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:482:6: ( ( 's' | 'S' ) ( 'h' | 'H' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:482:8: ( 's' | 'S' ) ( 'h' | 'H' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 't' | 'T' ) + // src/grammar/wcps.g:483:6: ( ( 's' | 'S' ) ( 'h' | 'H' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:483:8: ( 's' | 'S' ) ( 'h' | 'H' ) ( 'o' | 'O' ) ( 'r' | 'R' ) ( 't' | 'T' ) { if ( input.LA(1)=='S'||input.LA(1)=='s' ) { input.consume(); @@ -6089,8 +6089,8 @@ public class wcpsLexer extends Lexer { try { int _type = LONG; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:483:5: ( ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'g' | 'G' ) ) - // src/grammar/wcps.g:483:7: ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'g' | 'G' ) + // src/grammar/wcps.g:484:5: ( ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'g' | 'G' ) ) + // src/grammar/wcps.g:484:7: ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'n' | 'N' ) ( 'g' | 'G' ) { if ( input.LA(1)=='L'||input.LA(1)=='l' ) { input.consume(); @@ -6144,8 +6144,8 @@ public class wcpsLexer extends Lexer { try { int _type = FLOAT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:484:6: ( ( 'f' | 'F' ) ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'a' | 'A' ) ( 't' | 'T' ) ) - // src/grammar/wcps.g:484:8: ( 'f' | 'F' ) ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'a' | 'A' ) ( 't' | 'T' ) + // src/grammar/wcps.g:485:6: ( ( 'f' | 'F' ) ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'a' | 'A' ) ( 't' | 'T' ) ) + // src/grammar/wcps.g:485:8: ( 'f' | 'F' ) ( 'l' | 'L' ) ( 'o' | 'O' ) ( 'a' | 'A' ) ( 't' | 'T' ) { if ( input.LA(1)=='F'||input.LA(1)=='f' ) { input.consume(); @@ -6208,8 +6208,8 @@ public class wcpsLexer extends Lexer { try { int _type = DOUBLE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:485:7: ( ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:485:9: ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'l' | 'L' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:486:7: ( ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:486:9: ( 'd' | 'D' ) ( 'o' | 'O' ) ( 'u' | 'U' ) ( 'b' | 'B' ) ( 'l' | 'L' ) ( 'e' | 'E' ) { if ( input.LA(1)=='D'||input.LA(1)=='d' ) { input.consume(); @@ -6281,8 +6281,8 @@ public class wcpsLexer extends Lexer { try { int _type = COMPLEX; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:486:8: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) ) - // src/grammar/wcps.g:486:10: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) + // src/grammar/wcps.g:487:8: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) ) + // src/grammar/wcps.g:487: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(); @@ -6363,8 +6363,8 @@ public class wcpsLexer extends Lexer { try { int _type = COMPLEX2; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:487:9: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) '2' ) - // src/grammar/wcps.g:487:11: ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) '2' + // src/grammar/wcps.g:488:9: ( ( 'c' | 'C' ) ( 'o' | 'O' ) ( 'm' | 'M' ) ( 'p' | 'P' ) ( 'l' | 'L' ) ( 'e' | 'E' ) ( 'x' | 'X' ) '2' ) + // src/grammar/wcps.g:488: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(); @@ -6446,7 +6446,7 @@ public class wcpsLexer extends Lexer { try { int _type = BOOLEANCONSTANT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:488:16: ( ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) | ( ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) ) + // src/grammar/wcps.g:489: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); @@ -6464,10 +6464,10 @@ public class wcpsLexer extends Lexer { } switch (alt1) { case 1 : - // src/grammar/wcps.g:488:18: ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:489:18: ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) { - // src/grammar/wcps.g:488:18: ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:488:19: ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:489:18: ( ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:489:19: ( 't' | 'T' ) ( 'r' | 'R' ) ( 'u' | 'U' ) ( 'e' | 'E' ) { if ( input.LA(1)=='T'||input.LA(1)=='t' ) { input.consume(); @@ -6512,10 +6512,10 @@ public class wcpsLexer extends Lexer { } break; case 2 : - // src/grammar/wcps.g:488:57: ( ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:489:57: ( ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) { - // src/grammar/wcps.g:488:57: ( ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) - // src/grammar/wcps.g:488:58: ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) + // src/grammar/wcps.g:489:57: ( ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) ) + // src/grammar/wcps.g:489:58: ( 'f' | 'F' ) ( 'a' | 'A' ) ( 'l' | 'L' ) ( 's' | 'S' ) ( 'e' | 'E' ) { if ( input.LA(1)=='F'||input.LA(1)=='f' ) { input.consume(); @@ -6581,7 +6581,7 @@ public class wcpsLexer extends Lexer { // $ANTLR start "DECIMALCONSTANT" public final void mDECIMALCONSTANT() throws RecognitionException { try { - // src/grammar/wcps.g:489:25: ( ( '1' .. '9' ) ( ( '0' .. '9' )* ) | '0' ) + // src/grammar/wcps.g:490:25: ( ( '1' .. '9' ) ( ( '0' .. '9' )* ) | '0' ) int alt3=2; int LA3_0 = input.LA(1); @@ -6599,19 +6599,19 @@ public class wcpsLexer extends Lexer { } switch (alt3) { case 1 : - // src/grammar/wcps.g:490:2: ( '1' .. '9' ) ( ( '0' .. '9' )* ) + // src/grammar/wcps.g:491:2: ( '1' .. '9' ) ( ( '0' .. '9' )* ) { - // src/grammar/wcps.g:490:2: ( '1' .. '9' ) - // src/grammar/wcps.g:490:3: '1' .. '9' + // src/grammar/wcps.g:491:2: ( '1' .. '9' ) + // src/grammar/wcps.g:491:3: '1' .. '9' { matchRange('1','9'); } - // src/grammar/wcps.g:490:12: ( ( '0' .. '9' )* ) - // src/grammar/wcps.g:490:13: ( '0' .. '9' )* + // src/grammar/wcps.g:491:12: ( ( '0' .. '9' )* ) + // src/grammar/wcps.g:491:13: ( '0' .. '9' )* { - // src/grammar/wcps.g:490:13: ( '0' .. '9' )* + // src/grammar/wcps.g:491:13: ( '0' .. '9' )* loop2: do { int alt2=2; @@ -6624,7 +6624,7 @@ public class wcpsLexer extends Lexer { switch (alt2) { case 1 : - // src/grammar/wcps.g:490:14: '0' .. '9' + // src/grammar/wcps.g:491:14: '0' .. '9' { matchRange('0','9'); @@ -6643,7 +6643,7 @@ public class wcpsLexer extends Lexer { } break; case 2 : - // src/grammar/wcps.g:491:4: '0' + // src/grammar/wcps.g:492:4: '0' { match('0'); @@ -6660,21 +6660,21 @@ public class wcpsLexer extends Lexer { // $ANTLR start "OCTALCONSTANT" public final void mOCTALCONSTANT() throws RecognitionException { try { - // src/grammar/wcps.g:492:23: ( '0' ( '1' .. '7' ) ( ( '0' .. '7' )* ) ) - // src/grammar/wcps.g:493:2: '0' ( '1' .. '7' ) ( ( '0' .. '7' )* ) + // src/grammar/wcps.g:493:23: ( '0' ( '1' .. '7' ) ( ( '0' .. '7' )* ) ) + // src/grammar/wcps.g:494:2: '0' ( '1' .. '7' ) ( ( '0' .. '7' )* ) { match('0'); - // src/grammar/wcps.g:493:6: ( '1' .. '7' ) - // src/grammar/wcps.g:493:7: '1' .. '7' + // src/grammar/wcps.g:494:6: ( '1' .. '7' ) + // src/grammar/wcps.g:494:7: '1' .. '7' { matchRange('1','7'); } - // src/grammar/wcps.g:493:17: ( ( '0' .. '7' )* ) - // src/grammar/wcps.g:493:18: ( '0' .. '7' )* + // src/grammar/wcps.g:494:17: ( ( '0' .. '7' )* ) + // src/grammar/wcps.g:494:18: ( '0' .. '7' )* { - // src/grammar/wcps.g:493:18: ( '0' .. '7' )* + // src/grammar/wcps.g:494:18: ( '0' .. '7' )* loop4: do { int alt4=2; @@ -6687,7 +6687,7 @@ public class wcpsLexer extends Lexer { switch (alt4) { case 1 : - // src/grammar/wcps.g:493:19: '0' .. '7' + // src/grammar/wcps.g:494:19: '0' .. '7' { matchRange('0','7'); @@ -6714,10 +6714,10 @@ public class wcpsLexer extends Lexer { // $ANTLR start "HEXACONSTANT" public final void mHEXACONSTANT() throws RecognitionException { try { - // src/grammar/wcps.g:494:22: ( ( '0x' | '0X' ) ( '1' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )* ) ) - // src/grammar/wcps.g:495:2: ( '0x' | '0X' ) ( '1' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )* ) + // src/grammar/wcps.g:495:22: ( ( '0x' | '0X' ) ( '1' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )* ) ) + // src/grammar/wcps.g:496:2: ( '0x' | '0X' ) ( '1' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )* ) { - // src/grammar/wcps.g:495:2: ( '0x' | '0X' ) + // src/grammar/wcps.g:496:2: ( '0x' | '0X' ) int alt5=2; int LA5_0 = input.LA(1); @@ -6745,7 +6745,7 @@ public class wcpsLexer extends Lexer { } switch (alt5) { case 1 : - // src/grammar/wcps.g:495:3: '0x' + // src/grammar/wcps.g:496:3: '0x' { match("0x"); @@ -6753,7 +6753,7 @@ public class wcpsLexer extends Lexer { } break; case 2 : - // src/grammar/wcps.g:495:8: '0X' + // src/grammar/wcps.g:496:8: '0X' { match("0X"); @@ -6772,10 +6772,10 @@ public class wcpsLexer extends Lexer { recover(mse); throw mse;} - // src/grammar/wcps.g:495:43: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )* ) - // src/grammar/wcps.g:495:44: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )* + // src/grammar/wcps.g:496:43: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )* ) + // src/grammar/wcps.g:496:44: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )* { - // src/grammar/wcps.g:495:44: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )* + // src/grammar/wcps.g:496:44: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )* loop6: do { int alt6=2; @@ -6825,7 +6825,7 @@ public class wcpsLexer extends Lexer { try { int _type = INTEGERCONSTANT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:496:16: ( DECIMALCONSTANT | OCTALCONSTANT | HEXACONSTANT ) + // src/grammar/wcps.g:497:16: ( DECIMALCONSTANT | OCTALCONSTANT | HEXACONSTANT ) int alt7=3; int LA7_0 = input.LA(1); @@ -6863,21 +6863,21 @@ public class wcpsLexer extends Lexer { } switch (alt7) { case 1 : - // src/grammar/wcps.g:496:18: DECIMALCONSTANT + // src/grammar/wcps.g:497:18: DECIMALCONSTANT { mDECIMALCONSTANT(); } break; case 2 : - // src/grammar/wcps.g:496:36: OCTALCONSTANT + // src/grammar/wcps.g:497:36: OCTALCONSTANT { mOCTALCONSTANT(); } break; case 3 : - // src/grammar/wcps.g:496:52: HEXACONSTANT + // src/grammar/wcps.g:497:52: HEXACONSTANT { mHEXACONSTANT(); @@ -6898,21 +6898,21 @@ public class wcpsLexer extends Lexer { try { int _type = FLOATCONSTANT; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:497:14: ( DECIMALCONSTANT ( '.' ) ( ( '0' .. '9' )+ ) ( ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) )? ) - // src/grammar/wcps.g:497:16: DECIMALCONSTANT ( '.' ) ( ( '0' .. '9' )+ ) ( ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) )? + // src/grammar/wcps.g:498:14: ( DECIMALCONSTANT ( '.' ) ( ( '0' .. '9' )+ ) ( ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) )? ) + // src/grammar/wcps.g:498:16: DECIMALCONSTANT ( '.' ) ( ( '0' .. '9' )+ ) ( ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) )? { mDECIMALCONSTANT(); - // src/grammar/wcps.g:497:32: ( '.' ) - // src/grammar/wcps.g:497:33: '.' + // src/grammar/wcps.g:498:32: ( '.' ) + // src/grammar/wcps.g:498:33: '.' { match('.'); } - // src/grammar/wcps.g:497:37: ( ( '0' .. '9' )+ ) - // src/grammar/wcps.g:497:38: ( '0' .. '9' )+ + // src/grammar/wcps.g:498:37: ( ( '0' .. '9' )+ ) + // src/grammar/wcps.g:498:38: ( '0' .. '9' )+ { - // src/grammar/wcps.g:497:38: ( '0' .. '9' )+ + // src/grammar/wcps.g:498:38: ( '0' .. '9' )+ int cnt8=0; loop8: do { @@ -6926,7 +6926,7 @@ public class wcpsLexer extends Lexer { switch (alt8) { case 1 : - // src/grammar/wcps.g:497:38: '0' .. '9' + // src/grammar/wcps.g:498:38: '0' .. '9' { matchRange('0','9'); @@ -6945,7 +6945,7 @@ public class wcpsLexer extends Lexer { } - // src/grammar/wcps.g:497:48: ( ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) )? + // src/grammar/wcps.g:498:48: ( ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) )? int alt11=2; int LA11_0 = input.LA(1); @@ -6954,7 +6954,7 @@ public class wcpsLexer extends Lexer { } switch (alt11) { case 1 : - // src/grammar/wcps.g:497:49: ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) + // src/grammar/wcps.g:498:49: ( 'e' | 'E' ) ( ( '-' | '+' )? ) ( ( '0' .. '9' )+ ) { if ( input.LA(1)=='E'||input.LA(1)=='e' ) { input.consume(); @@ -6965,10 +6965,10 @@ public class wcpsLexer extends Lexer { recover(mse); throw mse;} - // src/grammar/wcps.g:497:58: ( ( '-' | '+' )? ) - // src/grammar/wcps.g:497:59: ( '-' | '+' )? + // src/grammar/wcps.g:498:58: ( ( '-' | '+' )? ) + // src/grammar/wcps.g:498:59: ( '-' | '+' )? { - // src/grammar/wcps.g:497:59: ( '-' | '+' )? + // src/grammar/wcps.g:498:59: ( '-' | '+' )? int alt9=2; int LA9_0 = input.LA(1); @@ -6997,10 +6997,10 @@ public class wcpsLexer extends Lexer { } - // src/grammar/wcps.g:497:70: ( ( '0' .. '9' )+ ) - // src/grammar/wcps.g:497:71: ( '0' .. '9' )+ + // src/grammar/wcps.g:498:70: ( ( '0' .. '9' )+ ) + // src/grammar/wcps.g:498:71: ( '0' .. '9' )+ { - // src/grammar/wcps.g:497:71: ( '0' .. '9' )+ + // src/grammar/wcps.g:498:71: ( '0' .. '9' )+ int cnt10=0; loop10: do { @@ -7014,7 +7014,7 @@ public class wcpsLexer extends Lexer { switch (alt10) { case 1 : - // src/grammar/wcps.g:497:71: '0' .. '9' + // src/grammar/wcps.g:498:71: '0' .. '9' { matchRange('0','9'); @@ -7055,11 +7055,11 @@ public class wcpsLexer extends Lexer { try { int _type = STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:499:7: ( '\"' ( options {greedy=false; } : . )* '\"' ) - // src/grammar/wcps.g:499:9: '\"' ( options {greedy=false; } : . )* '\"' + // src/grammar/wcps.g:500:7: ( '\"' ( options {greedy=false; } : . )* '\"' ) + // src/grammar/wcps.g:500:9: '\"' ( options {greedy=false; } : . )* '\"' { match('\"'); - // src/grammar/wcps.g:499:13: ( options {greedy=false; } : . )* + // src/grammar/wcps.g:500:13: ( options {greedy=false; } : . )* loop12: do { int alt12=2; @@ -7075,7 +7075,7 @@ public class wcpsLexer extends Lexer { switch (alt12) { case 1 : - // src/grammar/wcps.g:499:41: . + // src/grammar/wcps.g:500:41: . { matchAny(); @@ -7105,8 +7105,8 @@ public class wcpsLexer extends Lexer { try { int _type = NAME; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:500:5: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) ) - // src/grammar/wcps.g:500:7: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) + // src/grammar/wcps.g:501:5: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) ) + // src/grammar/wcps.g:501: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(); @@ -7117,10 +7117,10 @@ public class wcpsLexer extends Lexer { recover(mse); throw mse;} - // src/grammar/wcps.g:500:30: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) - // src/grammar/wcps.g:500:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* + // src/grammar/wcps.g:501:30: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) + // src/grammar/wcps.g:501:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* { - // src/grammar/wcps.g:500:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* + // src/grammar/wcps.g:501:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* loop13: do { int alt13=2; @@ -7172,14 +7172,14 @@ public class wcpsLexer extends Lexer { try { int _type = VARIABLE_DOLLAR; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:501:16: ( '$' ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) ) - // src/grammar/wcps.g:501:18: '$' ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) + // src/grammar/wcps.g:502:16: ( '$' ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) ) + // src/grammar/wcps.g:502:18: '$' ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) { match('$'); - // src/grammar/wcps.g:501:21: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) - // src/grammar/wcps.g:501:22: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* + // src/grammar/wcps.g:502:21: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) + // src/grammar/wcps.g:502:22: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* { - // src/grammar/wcps.g:501:22: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* + // src/grammar/wcps.g:502:22: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* loop14: do { int alt14=2; @@ -7231,10 +7231,10 @@ public class wcpsLexer extends Lexer { try { int _type = WHITESPACE; int _channel = DEFAULT_TOKEN_CHANNEL; - // src/grammar/wcps.g:502:11: ( ( ' ' | '\\t' | '\\r' | '\\n' | '\\u000C' )+ ) - // src/grammar/wcps.g:502:13: ( ' ' | '\\t' | '\\r' | '\\n' | '\\u000C' )+ + // src/grammar/wcps.g:503:11: ( ( ' ' | '\\t' | '\\r' | '\\n' | '\\u000C' )+ ) + // src/grammar/wcps.g:503:13: ( ' ' | '\\t' | '\\r' | '\\n' | '\\u000C' )+ { - // src/grammar/wcps.g:502:13: ( ' ' | '\\t' | '\\r' | '\\n' | '\\u000C' )+ + // src/grammar/wcps.g:503:13: ( ' ' | '\\t' | '\\r' | '\\n' | '\\u000C' )+ int cnt15=0; loop15: do { diff --git a/src/grammar/wcpsParser.java b/src/grammar/wcpsParser.java index f3f60e1..0976014 100644 --- a/src/grammar/wcpsParser.java +++ b/src/grammar/wcpsParser.java @@ -1,4 +1,4 @@ -// $ANTLR 3.1.2 src/grammar/wcps.g 2009-05-26 13:56:43 +// $ANTLR 3.1.2 src/grammar/wcps.g 2009-05-29 12:32:49 package grammar; import org.antlr.runtime.*; @@ -161,7 +161,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "wcpsRequest" - // src/grammar/wcps.g:27:1: wcpsRequest returns [WCPSRequest value] : e1= forClause (e2= whereClause )? e3= returnClause ; + // src/grammar/wcps.g:28:1: wcpsRequest returns [WCPSRequest value] : e1= forClause (e2= whereClause )? e3= returnClause ; public final wcpsParser.wcpsRequest_return wcpsRequest() throws RecognitionException { wcpsParser.wcpsRequest_return retval = new wcpsParser.wcpsRequest_return(); retval.start = input.LT(1); @@ -178,8 +178,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 1) ) { return retval; } - // src/grammar/wcps.g:28:2: (e1= forClause (e2= whereClause )? e3= returnClause ) - // src/grammar/wcps.g:28:4: e1= forClause (e2= whereClause )? e3= returnClause + // src/grammar/wcps.g:29:2: (e1= forClause (e2= whereClause )? e3= returnClause ) + // src/grammar/wcps.g:29:4: e1= forClause (e2= whereClause )? e3= returnClause { root_0 = (Object)adaptor.nil(); @@ -192,7 +192,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new WCPSRequest((e1!=null?e1.value:null)); } - // src/grammar/wcps.g:29:3: (e2= whereClause )? + // src/grammar/wcps.g:30:3: (e2= whereClause )? int alt1=2; int LA1_0 = input.LA(1); @@ -201,7 +201,7 @@ public class wcpsParser extends Parser { } switch (alt1) { case 1 : - // src/grammar/wcps.g:29:4: e2= whereClause + // src/grammar/wcps.g:30:4: e2= whereClause { pushFollow(FOLLOW_whereClause_in_wcpsRequest72); e2=whereClause(); @@ -258,7 +258,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "forClause" - // src/grammar/wcps.g:32:1: forClause returns [ForClauseElements value] : FOR v= variableName IN LPAREN list= coverageList RPAREN ( COMMA v= variableName IN LPAREN list= coverageList RPAREN )* ; + // src/grammar/wcps.g:33:1: forClause returns [ForClauseElements value] : FOR v= variableName IN LPAREN list= coverageList RPAREN ( COMMA v= variableName IN LPAREN list= coverageList RPAREN )* ; public final wcpsParser.forClause_return forClause() throws RecognitionException { wcpsParser.forClause_return retval = new wcpsParser.forClause_return(); retval.start = input.LT(1); @@ -289,8 +289,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 2) ) { return retval; } - // src/grammar/wcps.g:33:2: ( FOR v= variableName IN LPAREN list= coverageList RPAREN ( COMMA v= variableName IN LPAREN list= coverageList RPAREN )* ) - // src/grammar/wcps.g:33:4: FOR v= variableName IN LPAREN list= coverageList RPAREN ( COMMA v= variableName IN LPAREN list= coverageList RPAREN )* + // src/grammar/wcps.g:34:2: ( FOR v= variableName IN LPAREN list= coverageList RPAREN ( COMMA v= variableName IN LPAREN list= coverageList RPAREN )* ) + // src/grammar/wcps.g:34:4: FOR v= variableName IN LPAREN list= coverageList RPAREN ( COMMA v= variableName IN LPAREN list= coverageList RPAREN )* { root_0 = (Object)adaptor.nil(); @@ -329,7 +329,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new ForClauseElements((v!=null?v.value:null), (list!=null?list.value:null)); } - // src/grammar/wcps.g:35:4: ( COMMA v= variableName IN LPAREN list= coverageList RPAREN )* + // src/grammar/wcps.g:36:4: ( COMMA v= variableName IN LPAREN list= coverageList RPAREN )* loop2: do { int alt2=2; @@ -342,7 +342,7 @@ public class wcpsParser extends Parser { switch (alt2) { case 1 : - // src/grammar/wcps.g:35:5: COMMA v= variableName IN LPAREN list= coverageList RPAREN + // src/grammar/wcps.g:36:5: COMMA v= variableName IN LPAREN list= coverageList RPAREN { COMMA5=(Token)match(input,COMMA,FOLLOW_COMMA_in_forClause122); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -419,7 +419,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "whereClause" - // src/grammar/wcps.g:38:1: whereClause returns [WhereClause value] : WHERE e1= booleanScalarExpr ; + // src/grammar/wcps.g:39:1: whereClause returns [WhereClause value] : WHERE e1= booleanScalarExpr ; public final wcpsParser.whereClause_return whereClause() throws RecognitionException { wcpsParser.whereClause_return retval = new wcpsParser.whereClause_return(); retval.start = input.LT(1); @@ -434,8 +434,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 3) ) { return retval; } - // src/grammar/wcps.g:39:2: ( WHERE e1= booleanScalarExpr ) - // src/grammar/wcps.g:39:4: WHERE e1= booleanScalarExpr + // src/grammar/wcps.g:40:2: ( WHERE e1= booleanScalarExpr ) + // src/grammar/wcps.g:40:4: WHERE e1= booleanScalarExpr { root_0 = (Object)adaptor.nil(); @@ -484,7 +484,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "returnClause" - // src/grammar/wcps.g:41:1: returnClause returns [ReturnClause value] : RETURN e1= processingExpr ; + // src/grammar/wcps.g:42:1: returnClause returns [ReturnClause value] : RETURN e1= processingExpr ; public final wcpsParser.returnClause_return returnClause() throws RecognitionException { wcpsParser.returnClause_return retval = new wcpsParser.returnClause_return(); retval.start = input.LT(1); @@ -499,8 +499,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 4) ) { return retval; } - // src/grammar/wcps.g:42:2: ( RETURN e1= processingExpr ) - // src/grammar/wcps.g:42:4: RETURN e1= processingExpr + // src/grammar/wcps.g:43:2: ( RETURN e1= processingExpr ) + // src/grammar/wcps.g:43:4: RETURN e1= processingExpr { root_0 = (Object)adaptor.nil(); @@ -549,7 +549,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageList" - // src/grammar/wcps.g:44:1: coverageList returns [CoverageList value] : cname= coverageName ( COMMA next= coverageName )* ; + // src/grammar/wcps.g:45:1: coverageList returns [CoverageList value] : cname= coverageName ( COMMA next= coverageName )* ; public final wcpsParser.coverageList_return coverageList() throws RecognitionException { wcpsParser.coverageList_return retval = new wcpsParser.coverageList_return(); retval.start = input.LT(1); @@ -566,8 +566,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 5) ) { return retval; } - // src/grammar/wcps.g:45:2: (cname= coverageName ( COMMA next= coverageName )* ) - // src/grammar/wcps.g:45:4: cname= coverageName ( COMMA next= coverageName )* + // src/grammar/wcps.g:46:2: (cname= coverageName ( COMMA next= coverageName )* ) + // src/grammar/wcps.g:46:4: cname= coverageName ( COMMA next= coverageName )* { root_0 = (Object)adaptor.nil(); @@ -580,7 +580,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new CoverageList((cname!=null?cname.value:null)); } - // src/grammar/wcps.g:46:3: ( COMMA next= coverageName )* + // src/grammar/wcps.g:47:3: ( COMMA next= coverageName )* loop3: do { int alt3=2; @@ -593,7 +593,7 @@ public class wcpsParser extends Parser { switch (alt3) { case 1 : - // src/grammar/wcps.g:46:4: COMMA next= coverageName + // src/grammar/wcps.g:47:4: COMMA next= coverageName { COMMA11=(Token)match(input,COMMA,FOLLOW_COMMA_in_coverageList204); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -649,7 +649,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "processingExpr" - // src/grammar/wcps.g:48:1: processingExpr returns [ProcessingExpr value] : (e1= encodedCoverageExpr | e2= storeExpr | e3= scalarExpr ); + // src/grammar/wcps.g:49:1: processingExpr returns [ProcessingExpr value] : (e1= encodedCoverageExpr | e2= storeExpr | e3= scalarExpr ); public final wcpsParser.processingExpr_return processingExpr() throws RecognitionException { wcpsParser.processingExpr_return retval = new wcpsParser.processingExpr_return(); retval.start = input.LT(1); @@ -666,12 +666,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 6) ) { return retval; } - // src/grammar/wcps.g:49:5: (e1= encodedCoverageExpr | e2= storeExpr | e3= scalarExpr ) + // src/grammar/wcps.g:50:5: (e1= encodedCoverageExpr | e2= storeExpr | e3= scalarExpr ) int alt4=3; alt4 = dfa4.predict(input); switch (alt4) { case 1 : - // src/grammar/wcps.g:49:7: e1= encodedCoverageExpr + // src/grammar/wcps.g:50:7: e1= encodedCoverageExpr { root_0 = (Object)adaptor.nil(); @@ -688,7 +688,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:50:7: e2= storeExpr + // src/grammar/wcps.g:51:7: e2= storeExpr { root_0 = (Object)adaptor.nil(); @@ -705,7 +705,7 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/grammar/wcps.g:51:7: e3= scalarExpr + // src/grammar/wcps.g:52:7: e3= scalarExpr { root_0 = (Object)adaptor.nil(); @@ -751,7 +751,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "encodedCoverageExpr" - // src/grammar/wcps.g:53:1: encodedCoverageExpr returns [EncodedCoverageExpr value] : ENCODE LPAREN cov= coverageExpr COMMA format= stringConstant ( COMMA params= stringConstant )? RPAREN ; + // src/grammar/wcps.g:54:1: encodedCoverageExpr returns [EncodedCoverageExpr value] : ENCODE LPAREN cov= coverageExpr COMMA format= stringConstant ( COMMA params= stringConstant )? RPAREN ; public final wcpsParser.encodedCoverageExpr_return encodedCoverageExpr() throws RecognitionException { wcpsParser.encodedCoverageExpr_return retval = new wcpsParser.encodedCoverageExpr_return(); retval.start = input.LT(1); @@ -778,8 +778,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 7) ) { return retval; } - // src/grammar/wcps.g:54:2: ( ENCODE LPAREN cov= coverageExpr COMMA format= stringConstant ( COMMA params= stringConstant )? RPAREN ) - // src/grammar/wcps.g:54:4: ENCODE LPAREN cov= coverageExpr COMMA format= stringConstant ( COMMA params= stringConstant )? RPAREN + // src/grammar/wcps.g:55:2: ( ENCODE LPAREN cov= coverageExpr COMMA format= stringConstant ( COMMA params= stringConstant )? RPAREN ) + // src/grammar/wcps.g:55:4: ENCODE LPAREN cov= coverageExpr COMMA format= stringConstant ( COMMA params= stringConstant )? RPAREN { root_0 = (Object)adaptor.nil(); @@ -813,7 +813,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new EncodedCoverageExpr((cov!=null?cov.value:null), (format!=null?input.toString(format.start,format.stop):null)); } - // src/grammar/wcps.g:55:3: ( COMMA params= stringConstant )? + // src/grammar/wcps.g:56:3: ( COMMA params= stringConstant )? int alt5=2; int LA5_0 = input.LA(1); @@ -822,7 +822,7 @@ public class wcpsParser extends Parser { } switch (alt5) { case 1 : - // src/grammar/wcps.g:55:4: COMMA params= stringConstant + // src/grammar/wcps.g:56:4: COMMA params= stringConstant { COMMA15=(Token)match(input,COMMA,FOLLOW_COMMA_in_encodedCoverageExpr291); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -880,7 +880,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "storeExpr" - // src/grammar/wcps.g:57:1: storeExpr returns [StoreExpr value] : STORE LPAREN e1= encodedCoverageExpr RPAREN ; + // src/grammar/wcps.g:58:1: storeExpr returns [StoreExpr value] : STORE LPAREN e1= encodedCoverageExpr RPAREN ; public final wcpsParser.storeExpr_return storeExpr() throws RecognitionException { wcpsParser.storeExpr_return retval = new wcpsParser.storeExpr_return(); retval.start = input.LT(1); @@ -899,8 +899,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 8) ) { return retval; } - // src/grammar/wcps.g:58:5: ( STORE LPAREN e1= encodedCoverageExpr RPAREN ) - // src/grammar/wcps.g:58:7: STORE LPAREN e1= encodedCoverageExpr RPAREN + // src/grammar/wcps.g:59:5: ( STORE LPAREN e1= encodedCoverageExpr RPAREN ) + // src/grammar/wcps.g:59:7: STORE LPAREN e1= encodedCoverageExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -959,7 +959,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageExpr" - // src/grammar/wcps.g:60:1: coverageExpr returns [CoverageExpr value] : e1= coverageLogicTerm (op= ( OR | XOR ) e2= coverageLogicTerm )* ; + // src/grammar/wcps.g:61:1: coverageExpr returns [CoverageExpr value] : e1= coverageLogicTerm (op= ( OR | XOR ) e2= coverageLogicTerm )* ; public final wcpsParser.coverageExpr_return coverageExpr() throws RecognitionException { wcpsParser.coverageExpr_return retval = new wcpsParser.coverageExpr_return(); retval.start = input.LT(1); @@ -976,8 +976,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 9) ) { return retval; } - // src/grammar/wcps.g:61:5: (e1= coverageLogicTerm (op= ( OR | XOR ) e2= coverageLogicTerm )* ) - // src/grammar/wcps.g:61:7: e1= coverageLogicTerm (op= ( OR | XOR ) e2= coverageLogicTerm )* + // src/grammar/wcps.g:62:5: (e1= coverageLogicTerm (op= ( OR | XOR ) e2= coverageLogicTerm )* ) + // src/grammar/wcps.g:62:7: e1= coverageLogicTerm (op= ( OR | XOR ) e2= coverageLogicTerm )* { root_0 = (Object)adaptor.nil(); @@ -990,14 +990,14 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/grammar/wcps.g:62:9: (op= ( OR | XOR ) e2= coverageLogicTerm )* + // src/grammar/wcps.g:63:9: (op= ( OR | XOR ) e2= coverageLogicTerm )* loop6: do { int alt6=2; alt6 = dfa6.predict(input); switch (alt6) { case 1 : - // src/grammar/wcps.g:62:10: op= ( OR | XOR ) e2= coverageLogicTerm + // src/grammar/wcps.g:63:10: op= ( OR | XOR ) e2= coverageLogicTerm { op=(Token)input.LT(1); if ( (input.LA(1)>=OR && input.LA(1)<=XOR) ) { @@ -1060,7 +1060,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageLogicTerm" - // src/grammar/wcps.g:64:1: coverageLogicTerm returns [CoverageExpr value] : e1= coverageLogicFactor (op= ( AND ) e2= coverageLogicFactor )* ; + // src/grammar/wcps.g:65:1: coverageLogicTerm returns [CoverageExpr value] : e1= coverageLogicFactor (op= ( AND ) e2= coverageLogicFactor )* ; public final wcpsParser.coverageLogicTerm_return coverageLogicTerm() throws RecognitionException { wcpsParser.coverageLogicTerm_return retval = new wcpsParser.coverageLogicTerm_return(); retval.start = input.LT(1); @@ -1079,8 +1079,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 10) ) { return retval; } - // src/grammar/wcps.g:65:5: (e1= coverageLogicFactor (op= ( AND ) e2= coverageLogicFactor )* ) - // src/grammar/wcps.g:65:7: e1= coverageLogicFactor (op= ( AND ) e2= coverageLogicFactor )* + // src/grammar/wcps.g:66:5: (e1= coverageLogicFactor (op= ( AND ) e2= coverageLogicFactor )* ) + // src/grammar/wcps.g:66:7: e1= coverageLogicFactor (op= ( AND ) e2= coverageLogicFactor )* { root_0 = (Object)adaptor.nil(); @@ -1093,17 +1093,17 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/grammar/wcps.g:66:9: (op= ( AND ) e2= coverageLogicFactor )* + // src/grammar/wcps.g:67:9: (op= ( AND ) e2= coverageLogicFactor )* loop7: do { int alt7=2; alt7 = dfa7.predict(input); switch (alt7) { case 1 : - // src/grammar/wcps.g:66:10: op= ( AND ) e2= coverageLogicFactor + // src/grammar/wcps.g:67:10: op= ( AND ) e2= coverageLogicFactor { - // src/grammar/wcps.g:66:13: ( AND ) - // src/grammar/wcps.g:66:14: AND + // src/grammar/wcps.g:67:13: ( AND ) + // src/grammar/wcps.g:67:14: AND { AND20=(Token)match(input,AND,FOLLOW_AND_in_coverageLogicTerm417); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -1162,7 +1162,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageLogicFactor" - // src/grammar/wcps.g:68:1: coverageLogicFactor returns [CoverageExpr value] : e1= coverageArithmeticExpr (op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr )? ; + // src/grammar/wcps.g:69:1: coverageLogicFactor returns [CoverageExpr value] : e1= coverageArithmeticExpr (op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr )? ; public final wcpsParser.coverageLogicFactor_return coverageLogicFactor() throws RecognitionException { wcpsParser.coverageLogicFactor_return retval = new wcpsParser.coverageLogicFactor_return(); retval.start = input.LT(1); @@ -1179,8 +1179,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 11) ) { return retval; } - // src/grammar/wcps.g:69:5: (e1= coverageArithmeticExpr (op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr )? ) - // src/grammar/wcps.g:69:7: e1= coverageArithmeticExpr (op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr )? + // src/grammar/wcps.g:70:5: (e1= coverageArithmeticExpr (op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr )? ) + // src/grammar/wcps.g:70:7: e1= coverageArithmeticExpr (op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr )? { root_0 = (Object)adaptor.nil(); @@ -1193,12 +1193,12 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/grammar/wcps.g:70:9: (op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr )? + // src/grammar/wcps.g:71:9: (op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr )? int alt8=2; alt8 = dfa8.predict(input); switch (alt8) { case 1 : - // src/grammar/wcps.g:70:10: op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr + // src/grammar/wcps.g:71:10: op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr { op=(Token)input.LT(1); if ( (input.LA(1)>=EQUALS && input.LA(1)<=GTE) ) { @@ -1258,7 +1258,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageArithmeticExpr" - // src/grammar/wcps.g:72:1: coverageArithmeticExpr returns [CoverageExpr value] : e1= coverageArithmeticTerm (op= ( PLUS | MINUS ) e2= coverageArithmeticTerm )* ; + // src/grammar/wcps.g:73:1: coverageArithmeticExpr returns [CoverageExpr value] : e1= coverageArithmeticTerm (op= ( PLUS | MINUS ) e2= coverageArithmeticTerm )* ; public final wcpsParser.coverageArithmeticExpr_return coverageArithmeticExpr() throws RecognitionException { wcpsParser.coverageArithmeticExpr_return retval = new wcpsParser.coverageArithmeticExpr_return(); retval.start = input.LT(1); @@ -1275,8 +1275,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 12) ) { return retval; } - // src/grammar/wcps.g:73:5: (e1= coverageArithmeticTerm (op= ( PLUS | MINUS ) e2= coverageArithmeticTerm )* ) - // src/grammar/wcps.g:73:7: e1= coverageArithmeticTerm (op= ( PLUS | MINUS ) e2= coverageArithmeticTerm )* + // src/grammar/wcps.g:74:5: (e1= coverageArithmeticTerm (op= ( PLUS | MINUS ) e2= coverageArithmeticTerm )* ) + // src/grammar/wcps.g:74:7: e1= coverageArithmeticTerm (op= ( PLUS | MINUS ) e2= coverageArithmeticTerm )* { root_0 = (Object)adaptor.nil(); @@ -1289,14 +1289,14 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/grammar/wcps.g:74:9: (op= ( PLUS | MINUS ) e2= coverageArithmeticTerm )* + // src/grammar/wcps.g:75:9: (op= ( PLUS | MINUS ) e2= coverageArithmeticTerm )* loop9: do { int alt9=2; alt9 = dfa9.predict(input); switch (alt9) { case 1 : - // src/grammar/wcps.g:74:10: op= ( PLUS | MINUS ) e2= coverageArithmeticTerm + // src/grammar/wcps.g:75:10: op= ( PLUS | MINUS ) e2= coverageArithmeticTerm { op=(Token)input.LT(1); if ( (input.LA(1)>=PLUS && input.LA(1)<=MINUS) ) { @@ -1359,7 +1359,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageArithmeticTerm" - // src/grammar/wcps.g:76:1: coverageArithmeticTerm returns [CoverageExpr value] : e1= coverageArithmeticFactor (op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor )* ; + // src/grammar/wcps.g:77:1: coverageArithmeticTerm returns [CoverageExpr value] : e1= coverageArithmeticFactor (op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor )* ; public final wcpsParser.coverageArithmeticTerm_return coverageArithmeticTerm() throws RecognitionException { wcpsParser.coverageArithmeticTerm_return retval = new wcpsParser.coverageArithmeticTerm_return(); retval.start = input.LT(1); @@ -1376,8 +1376,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 13) ) { return retval; } - // src/grammar/wcps.g:77:5: (e1= coverageArithmeticFactor (op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor )* ) - // src/grammar/wcps.g:77:9: e1= coverageArithmeticFactor (op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor )* + // src/grammar/wcps.g:78:5: (e1= coverageArithmeticFactor (op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor )* ) + // src/grammar/wcps.g:78:9: e1= coverageArithmeticFactor (op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor )* { root_0 = (Object)adaptor.nil(); @@ -1390,14 +1390,14 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/grammar/wcps.g:78:9: (op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor )* + // src/grammar/wcps.g:79:9: (op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor )* loop10: do { int alt10=2; alt10 = dfa10.predict(input); switch (alt10) { case 1 : - // src/grammar/wcps.g:78:10: op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor + // src/grammar/wcps.g:79:10: op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor { op=(Token)input.LT(1); if ( (input.LA(1)>=MULT && input.LA(1)<=DIVIDE) ) { @@ -1460,7 +1460,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageArithmeticFactor" - // src/grammar/wcps.g:80:1: coverageArithmeticFactor returns [CoverageExpr value] : e1= coverageValue (op= ( OVERLAY ) e2= coverageValue )* ; + // src/grammar/wcps.g:81:1: coverageArithmeticFactor returns [CoverageExpr value] : e1= coverageValue (op= ( OVERLAY ) e2= coverageValue )* ; public final wcpsParser.coverageArithmeticFactor_return coverageArithmeticFactor() throws RecognitionException { wcpsParser.coverageArithmeticFactor_return retval = new wcpsParser.coverageArithmeticFactor_return(); retval.start = input.LT(1); @@ -1479,8 +1479,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 14) ) { return retval; } - // src/grammar/wcps.g:81:5: (e1= coverageValue (op= ( OVERLAY ) e2= coverageValue )* ) - // src/grammar/wcps.g:81:7: e1= coverageValue (op= ( OVERLAY ) e2= coverageValue )* + // src/grammar/wcps.g:82:5: (e1= coverageValue (op= ( OVERLAY ) e2= coverageValue )* ) + // src/grammar/wcps.g:82:7: e1= coverageValue (op= ( OVERLAY ) e2= coverageValue )* { root_0 = (Object)adaptor.nil(); @@ -1493,17 +1493,17 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/grammar/wcps.g:82:9: (op= ( OVERLAY ) e2= coverageValue )* + // src/grammar/wcps.g:83:9: (op= ( OVERLAY ) e2= coverageValue )* loop11: do { int alt11=2; alt11 = dfa11.predict(input); switch (alt11) { case 1 : - // src/grammar/wcps.g:82:10: op= ( OVERLAY ) e2= coverageValue + // src/grammar/wcps.g:83:10: op= ( OVERLAY ) e2= coverageValue { - // src/grammar/wcps.g:82:13: ( OVERLAY ) - // src/grammar/wcps.g:82:14: OVERLAY + // src/grammar/wcps.g:83:13: ( OVERLAY ) + // src/grammar/wcps.g:83:14: OVERLAY { OVERLAY21=(Token)match(input,OVERLAY,FOLLOW_OVERLAY_in_coverageArithmeticFactor628); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -1562,7 +1562,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageValue" - // src/grammar/wcps.g:84:1: coverageValue returns [CoverageExpr value] : (e5= subsetExpr | e2= unaryInducedExpr | e4= scaleExpr | e3= crsTransformExpr | e1= coverageAtom ); + // src/grammar/wcps.g:85:1: coverageValue returns [CoverageExpr value] : (e5= subsetExpr | e2= unaryInducedExpr | e4= scaleExpr | e3= crsTransformExpr | e1= coverageAtom ); public final wcpsParser.coverageValue_return coverageValue() throws RecognitionException { wcpsParser.coverageValue_return retval = new wcpsParser.coverageValue_return(); retval.start = input.LT(1); @@ -1583,12 +1583,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 15) ) { return retval; } - // src/grammar/wcps.g:85:5: (e5= subsetExpr | e2= unaryInducedExpr | e4= scaleExpr | e3= crsTransformExpr | e1= coverageAtom ) + // src/grammar/wcps.g:86:5: (e5= subsetExpr | e2= unaryInducedExpr | e4= scaleExpr | e3= crsTransformExpr | e1= coverageAtom ) int alt12=5; alt12 = dfa12.predict(input); switch (alt12) { case 1 : - // src/grammar/wcps.g:85:7: e5= subsetExpr + // src/grammar/wcps.g:86:7: e5= subsetExpr { root_0 = (Object)adaptor.nil(); @@ -1605,7 +1605,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:86:7: e2= unaryInducedExpr + // src/grammar/wcps.g:87:7: e2= unaryInducedExpr { root_0 = (Object)adaptor.nil(); @@ -1622,7 +1622,7 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/grammar/wcps.g:87:7: e4= scaleExpr + // src/grammar/wcps.g:88:7: e4= scaleExpr { root_0 = (Object)adaptor.nil(); @@ -1639,7 +1639,7 @@ public class wcpsParser extends Parser { } break; case 4 : - // src/grammar/wcps.g:88:7: e3= crsTransformExpr + // src/grammar/wcps.g:89:7: e3= crsTransformExpr { root_0 = (Object)adaptor.nil(); @@ -1656,7 +1656,7 @@ public class wcpsParser extends Parser { } break; case 5 : - // src/grammar/wcps.g:89:7: e1= coverageAtom + // src/grammar/wcps.g:90:7: e1= coverageAtom { root_0 = (Object)adaptor.nil(); @@ -1702,7 +1702,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageAtom" - // src/grammar/wcps.g:91:1: coverageAtom returns [CoverageExpr value] : (e2= scalarExpr | e1= variableName | LPAREN e7= coverageExpr RPAREN | e3= coverageConstantExpr | e4= coverageConstructorExpr | e5= setMetaDataExpr | e6= rangeConstructorExpr ); + // src/grammar/wcps.g:92:1: coverageAtom returns [CoverageExpr value] : (e2= scalarExpr | e1= variableName | LPAREN e7= coverageExpr RPAREN | e3= coverageConstantExpr | e4= coverageConstructorExpr | e5= setMetaDataExpr | e6= rangeConstructorExpr ); public final wcpsParser.coverageAtom_return coverageAtom() throws RecognitionException { wcpsParser.coverageAtom_return retval = new wcpsParser.coverageAtom_return(); retval.start = input.LT(1); @@ -1731,12 +1731,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 16) ) { return retval; } - // src/grammar/wcps.g:92:5: (e2= scalarExpr | e1= variableName | LPAREN e7= coverageExpr RPAREN | e3= coverageConstantExpr | e4= coverageConstructorExpr | e5= setMetaDataExpr | e6= rangeConstructorExpr ) + // src/grammar/wcps.g:93:5: (e2= scalarExpr | e1= variableName | LPAREN e7= coverageExpr RPAREN | e3= coverageConstantExpr | e4= coverageConstructorExpr | e5= setMetaDataExpr | e6= rangeConstructorExpr ) int alt13=7; alt13 = dfa13.predict(input); switch (alt13) { case 1 : - // src/grammar/wcps.g:92:7: e2= scalarExpr + // src/grammar/wcps.g:93:7: e2= scalarExpr { root_0 = (Object)adaptor.nil(); @@ -1753,7 +1753,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:93:7: e1= variableName + // src/grammar/wcps.g:94:7: e1= variableName { root_0 = (Object)adaptor.nil(); @@ -1770,7 +1770,7 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/grammar/wcps.g:94:7: LPAREN e7= coverageExpr RPAREN + // src/grammar/wcps.g:95:7: LPAREN e7= coverageExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -1797,7 +1797,7 @@ public class wcpsParser extends Parser { } break; case 4 : - // src/grammar/wcps.g:95:7: e3= coverageConstantExpr + // src/grammar/wcps.g:96:7: e3= coverageConstantExpr { root_0 = (Object)adaptor.nil(); @@ -1814,7 +1814,7 @@ public class wcpsParser extends Parser { } break; case 5 : - // src/grammar/wcps.g:96:7: e4= coverageConstructorExpr + // src/grammar/wcps.g:97:7: e4= coverageConstructorExpr { root_0 = (Object)adaptor.nil(); @@ -1831,7 +1831,7 @@ public class wcpsParser extends Parser { } break; case 6 : - // src/grammar/wcps.g:97:7: e5= setMetaDataExpr + // src/grammar/wcps.g:98:7: e5= setMetaDataExpr { root_0 = (Object)adaptor.nil(); @@ -1848,7 +1848,7 @@ public class wcpsParser extends Parser { } break; case 7 : - // src/grammar/wcps.g:98:7: e6= rangeConstructorExpr + // src/grammar/wcps.g:99:7: e6= rangeConstructorExpr { root_0 = (Object)adaptor.nil(); @@ -1894,7 +1894,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "scalarExpr" - // src/grammar/wcps.g:100:1: scalarExpr returns [ScalarExpr value] : (e1= metaDataExpr | e2= condenseExpr | e3= booleanScalarExpr | e4= numericScalarExpr | e5= stringScalarExpr | LPAREN e6= scalarExpr RPAREN ); + // src/grammar/wcps.g:101:1: scalarExpr returns [ScalarExpr value] : (e1= metaDataExpr | e2= condenseExpr | e3= booleanScalarExpr | e4= numericScalarExpr | e5= stringScalarExpr | LPAREN e6= scalarExpr RPAREN ); public final wcpsParser.scalarExpr_return scalarExpr() throws RecognitionException { wcpsParser.scalarExpr_return retval = new wcpsParser.scalarExpr_return(); retval.start = input.LT(1); @@ -1921,12 +1921,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 17) ) { return retval; } - // src/grammar/wcps.g:101:5: (e1= metaDataExpr | e2= condenseExpr | e3= booleanScalarExpr | e4= numericScalarExpr | e5= stringScalarExpr | LPAREN e6= scalarExpr RPAREN ) + // src/grammar/wcps.g:102:5: (e1= metaDataExpr | e2= condenseExpr | e3= booleanScalarExpr | e4= numericScalarExpr | e5= stringScalarExpr | LPAREN e6= scalarExpr RPAREN ) int alt14=6; alt14 = dfa14.predict(input); switch (alt14) { case 1 : - // src/grammar/wcps.g:101:7: e1= metaDataExpr + // src/grammar/wcps.g:102:7: e1= metaDataExpr { root_0 = (Object)adaptor.nil(); @@ -1943,7 +1943,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:102:7: e2= condenseExpr + // src/grammar/wcps.g:103:7: e2= condenseExpr { root_0 = (Object)adaptor.nil(); @@ -1960,7 +1960,7 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/grammar/wcps.g:103:7: e3= booleanScalarExpr + // src/grammar/wcps.g:104:7: e3= booleanScalarExpr { root_0 = (Object)adaptor.nil(); @@ -1977,7 +1977,7 @@ public class wcpsParser extends Parser { } break; case 4 : - // src/grammar/wcps.g:104:7: e4= numericScalarExpr + // src/grammar/wcps.g:105:7: e4= numericScalarExpr { root_0 = (Object)adaptor.nil(); @@ -1994,7 +1994,7 @@ public class wcpsParser extends Parser { } break; case 5 : - // src/grammar/wcps.g:105:7: e5= stringScalarExpr + // src/grammar/wcps.g:106:7: e5= stringScalarExpr { root_0 = (Object)adaptor.nil(); @@ -2011,7 +2011,7 @@ public class wcpsParser extends Parser { } break; case 6 : - // src/grammar/wcps.g:106:7: LPAREN e6= scalarExpr RPAREN + // src/grammar/wcps.g:107:7: LPAREN e6= scalarExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -2067,7 +2067,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "metaDataExpr" - // src/grammar/wcps.g:108:1: metaDataExpr returns [MetaDataExpr value] : (op= IDENTIFIER LPAREN e1= coverageExpr RPAREN | op= IMAGECRS LPAREN e1= coverageExpr RPAREN | op= IMAGECRSDOMAIN LPAREN e1= coverageExpr ( COMMA e2= axisName )? RPAREN | op= CRSSET LPAREN e1= coverageExpr RPAREN | de= domainExpr | op= NULLSET LPAREN e1= coverageExpr RPAREN | op= INTERPOLATIONDEFAULT LPAREN e1= coverageExpr COMMA f1= fieldName RPAREN | op= INTERPOLATIONSET LPAREN e1= coverageExpr COMMA f1= fieldName RPAREN ); + // src/grammar/wcps.g:109:1: metaDataExpr returns [MetaDataExpr value] : (op= IDENTIFIER LPAREN e1= coverageExpr RPAREN | op= IMAGECRS LPAREN e1= coverageExpr RPAREN | op= IMAGECRSDOMAIN LPAREN e1= coverageExpr ( COMMA e2= axisName )? RPAREN | op= CRSSET LPAREN e1= coverageExpr RPAREN | de= domainExpr | op= NULLSET LPAREN e1= coverageExpr RPAREN | op= INTERPOLATIONDEFAULT LPAREN e1= coverageExpr COMMA f1= fieldName RPAREN | op= INTERPOLATIONSET LPAREN e1= coverageExpr COMMA f1= fieldName RPAREN ); public final wcpsParser.metaDataExpr_return metaDataExpr() throws RecognitionException { wcpsParser.metaDataExpr_return retval = new wcpsParser.metaDataExpr_return(); retval.start = input.LT(1); @@ -2122,7 +2122,7 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 18) ) { return retval; } - // src/grammar/wcps.g:109:5: (op= IDENTIFIER LPAREN e1= coverageExpr RPAREN | op= IMAGECRS LPAREN e1= coverageExpr RPAREN | op= IMAGECRSDOMAIN LPAREN e1= coverageExpr ( COMMA e2= axisName )? RPAREN | op= CRSSET LPAREN e1= coverageExpr RPAREN | de= domainExpr | op= NULLSET LPAREN e1= coverageExpr RPAREN | op= INTERPOLATIONDEFAULT LPAREN e1= coverageExpr COMMA f1= fieldName RPAREN | op= INTERPOLATIONSET LPAREN e1= coverageExpr COMMA f1= fieldName RPAREN ) + // src/grammar/wcps.g:110:5: (op= IDENTIFIER LPAREN e1= coverageExpr RPAREN | op= IMAGECRS LPAREN e1= coverageExpr RPAREN | op= IMAGECRSDOMAIN LPAREN e1= coverageExpr ( COMMA e2= axisName )? RPAREN | op= CRSSET LPAREN e1= coverageExpr RPAREN | de= domainExpr | op= NULLSET LPAREN e1= coverageExpr RPAREN | op= INTERPOLATIONDEFAULT LPAREN e1= coverageExpr COMMA f1= fieldName RPAREN | op= INTERPOLATIONSET LPAREN e1= coverageExpr COMMA f1= fieldName RPAREN ) int alt16=8; switch ( input.LA(1) ) { case IDENTIFIER: @@ -2175,7 +2175,7 @@ public class wcpsParser extends Parser { switch (alt16) { case 1 : - // src/grammar/wcps.g:109:7: op= IDENTIFIER LPAREN e1= coverageExpr RPAREN + // src/grammar/wcps.g:110:7: op= IDENTIFIER LPAREN e1= coverageExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -2207,7 +2207,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:110:7: op= IMAGECRS LPAREN e1= coverageExpr RPAREN + // src/grammar/wcps.g:111:7: op= IMAGECRS LPAREN e1= coverageExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -2239,7 +2239,7 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/grammar/wcps.g:111:7: op= IMAGECRSDOMAIN LPAREN e1= coverageExpr ( COMMA e2= axisName )? RPAREN + // src/grammar/wcps.g:112:7: op= IMAGECRSDOMAIN LPAREN e1= coverageExpr ( COMMA e2= axisName )? RPAREN { root_0 = (Object)adaptor.nil(); @@ -2259,7 +2259,7 @@ public class wcpsParser extends Parser { state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) adaptor.addChild(root_0, e1.getTree()); - // src/grammar/wcps.g:111:48: ( COMMA e2= axisName )? + // src/grammar/wcps.g:112:48: ( COMMA e2= axisName )? int alt15=2; int LA15_0 = input.LA(1); @@ -2268,7 +2268,7 @@ public class wcpsParser extends Parser { } switch (alt15) { case 1 : - // src/grammar/wcps.g:111:49: COMMA e2= axisName + // src/grammar/wcps.g:112:49: COMMA e2= axisName { COMMA31=(Token)match(input,COMMA,FOLLOW_COMMA_in_metaDataExpr977); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -2299,7 +2299,7 @@ public class wcpsParser extends Parser { } break; case 4 : - // src/grammar/wcps.g:112:7: op= CRSSET LPAREN e1= coverageExpr RPAREN + // src/grammar/wcps.g:113:7: op= CRSSET LPAREN e1= coverageExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -2331,7 +2331,7 @@ public class wcpsParser extends Parser { } break; case 5 : - // src/grammar/wcps.g:113:7: de= domainExpr + // src/grammar/wcps.g:114:7: de= domainExpr { root_0 = (Object)adaptor.nil(); @@ -2348,7 +2348,7 @@ public class wcpsParser extends Parser { } break; case 6 : - // src/grammar/wcps.g:114:7: op= NULLSET LPAREN e1= coverageExpr RPAREN + // src/grammar/wcps.g:115:7: op= NULLSET LPAREN e1= coverageExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -2380,7 +2380,7 @@ public class wcpsParser extends Parser { } break; case 7 : - // src/grammar/wcps.g:115:7: op= INTERPOLATIONDEFAULT LPAREN e1= coverageExpr COMMA f1= fieldName RPAREN + // src/grammar/wcps.g:116:7: op= INTERPOLATIONDEFAULT LPAREN e1= coverageExpr COMMA f1= fieldName RPAREN { root_0 = (Object)adaptor.nil(); @@ -2423,7 +2423,7 @@ public class wcpsParser extends Parser { } break; case 8 : - // src/grammar/wcps.g:116:7: op= INTERPOLATIONSET LPAREN e1= coverageExpr COMMA f1= fieldName RPAREN + // src/grammar/wcps.g:117:7: op= INTERPOLATIONSET LPAREN e1= coverageExpr COMMA f1= fieldName RPAREN { root_0 = (Object)adaptor.nil(); @@ -2495,7 +2495,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "domainExpr" - // src/grammar/wcps.g:118:1: domainExpr returns [DomainExpr value] : DOMAIN LPAREN var= variableName COMMA axis= axisName COMMA crs= crsName RPAREN ; + // src/grammar/wcps.g:119:1: domainExpr returns [DomainExpr value] : DOMAIN LPAREN var= variableName COMMA axis= axisName COMMA crs= crsName RPAREN ; public final wcpsParser.domainExpr_return domainExpr() throws RecognitionException { wcpsParser.domainExpr_return retval = new wcpsParser.domainExpr_return(); retval.start = input.LT(1); @@ -2522,8 +2522,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 19) ) { return retval; } - // src/grammar/wcps.g:119:2: ( DOMAIN LPAREN var= variableName COMMA axis= axisName COMMA crs= crsName RPAREN ) - // src/grammar/wcps.g:119:4: DOMAIN LPAREN var= variableName COMMA axis= axisName COMMA crs= crsName RPAREN + // src/grammar/wcps.g:120:2: ( DOMAIN LPAREN var= variableName COMMA axis= axisName COMMA crs= crsName RPAREN ) + // src/grammar/wcps.g:120:4: DOMAIN LPAREN var= variableName COMMA axis= axisName COMMA crs= crsName RPAREN { root_0 = (Object)adaptor.nil(); @@ -2604,7 +2604,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "condenseExpr" - // src/grammar/wcps.g:121:1: condenseExpr returns [CondenseExpr value] : (e1= reduceExpr | e2= generalCondenseExpr ); + // src/grammar/wcps.g:122:1: condenseExpr returns [CondenseExpr value] : (e1= reduceExpr | e2= generalCondenseExpr ); public final wcpsParser.condenseExpr_return condenseExpr() throws RecognitionException { wcpsParser.condenseExpr_return retval = new wcpsParser.condenseExpr_return(); retval.start = input.LT(1); @@ -2619,7 +2619,7 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 20) ) { return retval; } - // src/grammar/wcps.g:122:2: (e1= reduceExpr | e2= generalCondenseExpr ) + // src/grammar/wcps.g:123:2: (e1= reduceExpr | e2= generalCondenseExpr ) int alt17=2; int LA17_0 = input.LA(1); @@ -2638,7 +2638,7 @@ public class wcpsParser extends Parser { } switch (alt17) { case 1 : - // src/grammar/wcps.g:122:4: e1= reduceExpr + // src/grammar/wcps.g:123:4: e1= reduceExpr { root_0 = (Object)adaptor.nil(); @@ -2655,7 +2655,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:123:4: e2= generalCondenseExpr + // src/grammar/wcps.g:124:4: e2= generalCondenseExpr { root_0 = (Object)adaptor.nil(); @@ -2701,7 +2701,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "reduceExpr" - // src/grammar/wcps.g:125:1: reduceExpr returns [ReduceExpr value] : op= ( ALL | SOME | COUNT | ADD | AVG | MIN | MAX ) LPAREN e1= coverageExpr RPAREN ; + // src/grammar/wcps.g:126:1: reduceExpr returns [ReduceExpr value] : op= ( ALL | SOME | COUNT | ADD | AVG | MIN | MAX ) LPAREN e1= coverageExpr RPAREN ; public final wcpsParser.reduceExpr_return reduceExpr() throws RecognitionException { wcpsParser.reduceExpr_return retval = new wcpsParser.reduceExpr_return(); retval.start = input.LT(1); @@ -2720,8 +2720,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 21) ) { return retval; } - // src/grammar/wcps.g:126:2: (op= ( ALL | SOME | COUNT | ADD | AVG | MIN | MAX ) LPAREN e1= coverageExpr RPAREN ) - // src/grammar/wcps.g:126:4: op= ( ALL | SOME | COUNT | ADD | AVG | MIN | MAX ) LPAREN e1= coverageExpr RPAREN + // src/grammar/wcps.g:127:2: (op= ( ALL | SOME | COUNT | ADD | AVG | MIN | MAX ) LPAREN e1= coverageExpr RPAREN ) + // src/grammar/wcps.g:127:4: op= ( ALL | SOME | COUNT | ADD | AVG | MIN | MAX ) LPAREN e1= coverageExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -2787,7 +2787,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "generalCondenseExpr" - // src/grammar/wcps.g:128:1: generalCondenseExpr returns [GeneralCondenseExpr value] : CONDENSE op= condenseOpType OVER ail= axisIteratorList ( WHERE cond= booleanScalarExpr )? USING se= scalarExpr ; + // src/grammar/wcps.g:129:1: generalCondenseExpr returns [GeneralCondenseExpr value] : CONDENSE op= condenseOpType OVER ail= axisIteratorList ( WHERE cond= booleanScalarExpr )? USING se= scalarExpr ; public final wcpsParser.generalCondenseExpr_return generalCondenseExpr() throws RecognitionException { wcpsParser.generalCondenseExpr_return retval = new wcpsParser.generalCondenseExpr_return(); retval.start = input.LT(1); @@ -2814,8 +2814,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 22) ) { return retval; } - // src/grammar/wcps.g:129:2: ( CONDENSE op= condenseOpType OVER ail= axisIteratorList ( WHERE cond= booleanScalarExpr )? USING se= scalarExpr ) - // src/grammar/wcps.g:129:4: CONDENSE op= condenseOpType OVER ail= axisIteratorList ( WHERE cond= booleanScalarExpr )? USING se= scalarExpr + // src/grammar/wcps.g:130:2: ( CONDENSE op= condenseOpType OVER ail= axisIteratorList ( WHERE cond= booleanScalarExpr )? USING se= scalarExpr ) + // src/grammar/wcps.g:130:4: CONDENSE op= condenseOpType OVER ail= axisIteratorList ( WHERE cond= booleanScalarExpr )? USING se= scalarExpr { root_0 = (Object)adaptor.nil(); @@ -2844,7 +2844,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new GeneralCondenseExpr((op!=null?op.value:null), (ail!=null?ail.value:null)); } - // src/grammar/wcps.g:130:3: ( WHERE cond= booleanScalarExpr )? + // src/grammar/wcps.g:131:3: ( WHERE cond= booleanScalarExpr )? int alt18=2; int LA18_0 = input.LA(1); @@ -2853,7 +2853,7 @@ public class wcpsParser extends Parser { } switch (alt18) { case 1 : - // src/grammar/wcps.g:130:4: WHERE cond= booleanScalarExpr + // src/grammar/wcps.g:131:4: WHERE cond= booleanScalarExpr { WHERE52=(Token)match(input,WHERE,FOLLOW_WHERE_in_generalCondenseExpr1225); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -2920,7 +2920,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "axisIteratorList" - // src/grammar/wcps.g:133:1: axisIteratorList returns [AxisIteratorList value] : vn= variableName an= axisName LPAREN ie= intervalExpr RPAREN ( COMMA vn2= variableName an2= axisName LPAREN ie2= intervalExpr RPAREN )* ; + // src/grammar/wcps.g:134:1: axisIteratorList returns [AxisIteratorList value] : vn= variableName an= axisName LPAREN ie= intervalExpr RPAREN ( COMMA vn2= variableName an2= axisName LPAREN ie2= intervalExpr RPAREN )* ; public final wcpsParser.axisIteratorList_return axisIteratorList() throws RecognitionException { wcpsParser.axisIteratorList_return retval = new wcpsParser.axisIteratorList_return(); retval.start = input.LT(1); @@ -2953,8 +2953,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 23) ) { return retval; } - // src/grammar/wcps.g:134:2: (vn= variableName an= axisName LPAREN ie= intervalExpr RPAREN ( COMMA vn2= variableName an2= axisName LPAREN ie2= intervalExpr RPAREN )* ) - // src/grammar/wcps.g:134:4: vn= variableName an= axisName LPAREN ie= intervalExpr RPAREN ( COMMA vn2= variableName an2= axisName LPAREN ie2= intervalExpr RPAREN )* + // src/grammar/wcps.g:135:2: (vn= variableName an= axisName LPAREN ie= intervalExpr RPAREN ( COMMA vn2= variableName an2= axisName LPAREN ie2= intervalExpr RPAREN )* ) + // src/grammar/wcps.g:135:4: vn= variableName an= axisName LPAREN ie= intervalExpr RPAREN ( COMMA vn2= variableName an2= axisName LPAREN ie2= intervalExpr RPAREN )* { root_0 = (Object)adaptor.nil(); @@ -2989,7 +2989,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new AxisIteratorList(new AxisIterator((vn!=null?vn.value:null), (an!=null?an.value:null), (ie!=null?ie.value:null))); } - // src/grammar/wcps.g:136:2: ( COMMA vn2= variableName an2= axisName LPAREN ie2= intervalExpr RPAREN )* + // src/grammar/wcps.g:137:2: ( COMMA vn2= variableName an2= axisName LPAREN ie2= intervalExpr RPAREN )* loop19: do { int alt19=2; @@ -3002,7 +3002,7 @@ public class wcpsParser extends Parser { switch (alt19) { case 1 : - // src/grammar/wcps.g:136:3: COMMA vn2= variableName an2= axisName LPAREN ie2= intervalExpr RPAREN + // src/grammar/wcps.g:137:3: COMMA vn2= variableName an2= axisName LPAREN ie2= intervalExpr RPAREN { COMMA56=(Token)match(input,COMMA,FOLLOW_COMMA_in_axisIteratorList1278); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -3080,7 +3080,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "intervalExpr" - // src/grammar/wcps.g:139:1: intervalExpr returns [IntervalExpr value] : (lo= indexExpr COLON hi= indexExpr | IMAGECRSDOMAIN LPAREN e1= coverageName COMMA e2= axisName RPAREN ); + // src/grammar/wcps.g:140:1: intervalExpr returns [IntervalExpr value] : (lo= indexExpr COLON hi= indexExpr | IMAGECRSDOMAIN LPAREN e1= coverageName COMMA e2= axisName RPAREN ); public final wcpsParser.intervalExpr_return intervalExpr() throws RecognitionException { wcpsParser.intervalExpr_return retval = new wcpsParser.intervalExpr_return(); retval.start = input.LT(1); @@ -3109,7 +3109,7 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 24) ) { return retval; } - // src/grammar/wcps.g:140:5: (lo= indexExpr COLON hi= indexExpr | IMAGECRSDOMAIN LPAREN e1= coverageName COMMA e2= axisName RPAREN ) + // src/grammar/wcps.g:141:5: (lo= indexExpr COLON hi= indexExpr | IMAGECRSDOMAIN LPAREN e1= coverageName COMMA e2= axisName RPAREN ) int alt20=2; int LA20_0 = input.LA(1); @@ -3128,7 +3128,7 @@ public class wcpsParser extends Parser { } switch (alt20) { case 1 : - // src/grammar/wcps.g:140:7: lo= indexExpr COLON hi= indexExpr + // src/grammar/wcps.g:141:7: lo= indexExpr COLON hi= indexExpr { root_0 = (Object)adaptor.nil(); @@ -3156,7 +3156,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:142:7: IMAGECRSDOMAIN LPAREN e1= coverageName COMMA e2= axisName RPAREN + // src/grammar/wcps.g:143:7: IMAGECRSDOMAIN LPAREN e1= coverageName COMMA e2= axisName RPAREN { root_0 = (Object)adaptor.nil(); @@ -3228,7 +3228,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageConstantExpr" - // src/grammar/wcps.g:145:1: coverageConstantExpr returns [CoverageConstantExpr value] : COVERAGE aname= coverageName OVER iter= axisIteratorList VALUE LIST LT values= constantList GT ; + // src/grammar/wcps.g:146:1: coverageConstantExpr returns [CoverageConstantExpr value] : COVERAGE aname= coverageName OVER iter= axisIteratorList VALUE LIST LT values= constantList GT ; public final wcpsParser.coverageConstantExpr_return coverageConstantExpr() throws RecognitionException { wcpsParser.coverageConstantExpr_return retval = new wcpsParser.coverageConstantExpr_return(); retval.start = input.LT(1); @@ -3257,8 +3257,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 25) ) { return retval; } - // src/grammar/wcps.g:146:5: ( COVERAGE aname= coverageName OVER iter= axisIteratorList VALUE LIST LT values= constantList GT ) - // src/grammar/wcps.g:146:7: COVERAGE aname= coverageName OVER iter= axisIteratorList VALUE LIST LT values= constantList GT + // src/grammar/wcps.g:147:5: ( COVERAGE aname= coverageName OVER iter= axisIteratorList VALUE LIST LT values= constantList GT ) + // src/grammar/wcps.g:147:7: COVERAGE aname= coverageName OVER iter= axisIteratorList VALUE LIST LT values= constantList GT { root_0 = (Object)adaptor.nil(); @@ -3344,7 +3344,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "constantList" - // src/grammar/wcps.g:149:1: constantList returns [ConstantList value] : c= constant ( SEMICOLON c= constant )* ; + // src/grammar/wcps.g:150:1: constantList returns [ConstantList value] : c= constant ( SEMICOLON c= constant )* ; public final wcpsParser.constantList_return constantList() throws RecognitionException { wcpsParser.constantList_return retval = new wcpsParser.constantList_return(); retval.start = input.LT(1); @@ -3359,8 +3359,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 26) ) { return retval; } - // src/grammar/wcps.g:150:5: (c= constant ( SEMICOLON c= constant )* ) - // src/grammar/wcps.g:150:7: c= constant ( SEMICOLON c= constant )* + // src/grammar/wcps.g:151:5: (c= constant ( SEMICOLON c= constant )* ) + // src/grammar/wcps.g:151:7: c= constant ( SEMICOLON c= constant )* { root_0 = (Object)adaptor.nil(); @@ -3373,7 +3373,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new ConstantList((c!=null?c.value:null)); } - // src/grammar/wcps.g:150:59: ( SEMICOLON c= constant )* + // src/grammar/wcps.g:151:59: ( SEMICOLON c= constant )* loop21: do { int alt21=2; @@ -3386,7 +3386,7 @@ public class wcpsParser extends Parser { switch (alt21) { case 1 : - // src/grammar/wcps.g:150:60: SEMICOLON c= constant + // src/grammar/wcps.g:151:60: SEMICOLON c= constant { SEMICOLON70=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_constantList1437); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -3442,7 +3442,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageConstructorExpr" - // src/grammar/wcps.g:152:1: coverageConstructorExpr returns [CoverageConstructorExpr value] : COVERAGE coverage= coverageName OVER ail= axisIteratorList VALUES se= scalarExpr ; + // src/grammar/wcps.g:153:1: coverageConstructorExpr returns [CoverageConstructorExpr value] : COVERAGE coverage= coverageName OVER ail= axisIteratorList VALUES se= scalarExpr ; public final wcpsParser.coverageConstructorExpr_return coverageConstructorExpr() throws RecognitionException { wcpsParser.coverageConstructorExpr_return retval = new wcpsParser.coverageConstructorExpr_return(); retval.start = input.LT(1); @@ -3465,8 +3465,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 27) ) { return retval; } - // src/grammar/wcps.g:153:2: ( COVERAGE coverage= coverageName OVER ail= axisIteratorList VALUES se= scalarExpr ) - // src/grammar/wcps.g:153:4: COVERAGE coverage= coverageName OVER ail= axisIteratorList VALUES se= scalarExpr + // src/grammar/wcps.g:154:2: ( COVERAGE coverage= coverageName OVER ail= axisIteratorList VALUES se= scalarExpr ) + // src/grammar/wcps.g:154:4: COVERAGE coverage= coverageName OVER ail= axisIteratorList VALUES se= scalarExpr { root_0 = (Object)adaptor.nil(); @@ -3537,7 +3537,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "setMetaDataExpr" - // src/grammar/wcps.g:156:1: setMetaDataExpr returns [SetMetaDataExpr value] : (op= SETIDENTIFIER LPAREN s= stringConstant COMMA e1= coverageExpr RPAREN | op= SETCRSSET LPAREN e1= coverageExpr COMMA crs= crsList RPAREN | op= SETNULLSET LPAREN e1= coverageExpr COMMA rel= rangeExprList RPAREN | op= SETINTERPOLATIONDEFAULT LPAREN e1= coverageExpr COMMA fn= fieldName COMMA im= interpolationMethod RPAREN | op= SETINTERPOLATIONSET LPAREN e1= coverageExpr COMMA fn= fieldName COMMA iml= interpolationMethodList RPAREN ); + // src/grammar/wcps.g:157:1: setMetaDataExpr returns [SetMetaDataExpr value] : (op= SETIDENTIFIER LPAREN s= stringConstant COMMA e1= coverageExpr RPAREN | op= SETCRSSET LPAREN e1= coverageExpr COMMA crs= crsList RPAREN | op= SETNULLSET LPAREN e1= coverageExpr COMMA rel= rangeExprList RPAREN | op= SETINTERPOLATIONDEFAULT LPAREN e1= coverageExpr COMMA fn= fieldName COMMA im= interpolationMethod RPAREN | op= SETINTERPOLATIONSET LPAREN e1= coverageExpr COMMA fn= fieldName COMMA iml= interpolationMethodList RPAREN ); public final wcpsParser.setMetaDataExpr_return setMetaDataExpr() throws RecognitionException { wcpsParser.setMetaDataExpr_return retval = new wcpsParser.setMetaDataExpr_return(); retval.start = input.LT(1); @@ -3598,7 +3598,7 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 28) ) { return retval; } - // src/grammar/wcps.g:157:5: (op= SETIDENTIFIER LPAREN s= stringConstant COMMA e1= coverageExpr RPAREN | op= SETCRSSET LPAREN e1= coverageExpr COMMA crs= crsList RPAREN | op= SETNULLSET LPAREN e1= coverageExpr COMMA rel= rangeExprList RPAREN | op= SETINTERPOLATIONDEFAULT LPAREN e1= coverageExpr COMMA fn= fieldName COMMA im= interpolationMethod RPAREN | op= SETINTERPOLATIONSET LPAREN e1= coverageExpr COMMA fn= fieldName COMMA iml= interpolationMethodList RPAREN ) + // src/grammar/wcps.g:158:5: (op= SETIDENTIFIER LPAREN s= stringConstant COMMA e1= coverageExpr RPAREN | op= SETCRSSET LPAREN e1= coverageExpr COMMA crs= crsList RPAREN | op= SETNULLSET LPAREN e1= coverageExpr COMMA rel= rangeExprList RPAREN | op= SETINTERPOLATIONDEFAULT LPAREN e1= coverageExpr COMMA fn= fieldName COMMA im= interpolationMethod RPAREN | op= SETINTERPOLATIONSET LPAREN e1= coverageExpr COMMA fn= fieldName COMMA iml= interpolationMethodList RPAREN ) int alt22=5; switch ( input.LA(1) ) { case SETIDENTIFIER: @@ -3636,7 +3636,7 @@ public class wcpsParser extends Parser { switch (alt22) { case 1 : - // src/grammar/wcps.g:157:7: op= SETIDENTIFIER LPAREN s= stringConstant COMMA e1= coverageExpr RPAREN + // src/grammar/wcps.g:158:7: op= SETIDENTIFIER LPAREN s= stringConstant COMMA e1= coverageExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -3679,7 +3679,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:159:7: op= SETCRSSET LPAREN e1= coverageExpr COMMA crs= crsList RPAREN + // src/grammar/wcps.g:160:7: op= SETCRSSET LPAREN e1= coverageExpr COMMA crs= crsList RPAREN { root_0 = (Object)adaptor.nil(); @@ -3722,7 +3722,7 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/grammar/wcps.g:161:7: op= SETNULLSET LPAREN e1= coverageExpr COMMA rel= rangeExprList RPAREN + // src/grammar/wcps.g:162:7: op= SETNULLSET LPAREN e1= coverageExpr COMMA rel= rangeExprList RPAREN { root_0 = (Object)adaptor.nil(); @@ -3765,7 +3765,7 @@ public class wcpsParser extends Parser { } break; case 4 : - // src/grammar/wcps.g:163:7: op= SETINTERPOLATIONDEFAULT LPAREN e1= coverageExpr COMMA fn= fieldName COMMA im= interpolationMethod RPAREN + // src/grammar/wcps.g:164:7: op= SETINTERPOLATIONDEFAULT LPAREN e1= coverageExpr COMMA fn= fieldName COMMA im= interpolationMethod RPAREN { root_0 = (Object)adaptor.nil(); @@ -3819,7 +3819,7 @@ public class wcpsParser extends Parser { } break; case 5 : - // src/grammar/wcps.g:165:7: op= SETINTERPOLATIONSET LPAREN e1= coverageExpr COMMA fn= fieldName COMMA iml= interpolationMethodList RPAREN + // src/grammar/wcps.g:166:7: op= SETINTERPOLATIONSET LPAREN e1= coverageExpr COMMA fn= fieldName COMMA iml= interpolationMethodList RPAREN { root_0 = (Object)adaptor.nil(); @@ -3902,7 +3902,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "crsList" - // src/grammar/wcps.g:168:1: crsList returns [CrsList value] : LBRACE (crs= crsName ( COMMA crs= crsName )* )? RBRACE ; + // src/grammar/wcps.g:169:1: crsList returns [CrsList value] : LBRACE (crs= crsName ( COMMA crs= crsName )* )? RBRACE ; public final wcpsParser.crsList_return crsList() throws RecognitionException { wcpsParser.crsList_return retval = new wcpsParser.crsList_return(); retval.start = input.LT(1); @@ -3921,8 +3921,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 29) ) { return retval; } - // src/grammar/wcps.g:169:5: ( LBRACE (crs= crsName ( COMMA crs= crsName )* )? RBRACE ) - // src/grammar/wcps.g:169:7: LBRACE (crs= crsName ( COMMA crs= crsName )* )? RBRACE + // src/grammar/wcps.g:170:5: ( LBRACE (crs= crsName ( COMMA crs= crsName )* )? RBRACE ) + // src/grammar/wcps.g:170:7: LBRACE (crs= crsName ( COMMA crs= crsName )* )? RBRACE { root_0 = (Object)adaptor.nil(); @@ -3934,7 +3934,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new CrsList(); } - // src/grammar/wcps.g:169:40: (crs= crsName ( COMMA crs= crsName )* )? + // src/grammar/wcps.g:170:40: (crs= crsName ( COMMA crs= crsName )* )? int alt24=2; int LA24_0 = input.LA(1); @@ -3943,7 +3943,7 @@ public class wcpsParser extends Parser { } switch (alt24) { case 1 : - // src/grammar/wcps.g:169:41: crs= crsName ( COMMA crs= crsName )* + // src/grammar/wcps.g:170:41: crs= crsName ( COMMA crs= crsName )* { pushFollow(FOLLOW_crsName_in_crsList1684); crs=crsName(); @@ -3954,7 +3954,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value.add((crs!=null?crs.value:null)); } - // src/grammar/wcps.g:169:81: ( COMMA crs= crsName )* + // src/grammar/wcps.g:170:81: ( COMMA crs= crsName )* loop23: do { int alt23=2; @@ -3967,7 +3967,7 @@ public class wcpsParser extends Parser { switch (alt23) { case 1 : - // src/grammar/wcps.g:169:82: COMMA crs= crsName + // src/grammar/wcps.g:170:82: COMMA crs= crsName { COMMA92=(Token)match(input,COMMA,FOLLOW_COMMA_in_crsList1689); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -4034,7 +4034,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "rangeExprList" - // src/grammar/wcps.g:171:1: rangeExprList returns [RangeExprList value] : LBRACE (re1= rangeExpr ( COMMA re2= rangeExpr )* )? RBRACE ; + // src/grammar/wcps.g:172:1: rangeExprList returns [RangeExprList value] : LBRACE (re1= rangeExpr ( COMMA re2= rangeExpr )* )? RBRACE ; public final wcpsParser.rangeExprList_return rangeExprList() throws RecognitionException { wcpsParser.rangeExprList_return retval = new wcpsParser.rangeExprList_return(); retval.start = input.LT(1); @@ -4055,8 +4055,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 30) ) { return retval; } - // src/grammar/wcps.g:172:5: ( LBRACE (re1= rangeExpr ( COMMA re2= rangeExpr )* )? RBRACE ) - // src/grammar/wcps.g:172:7: LBRACE (re1= rangeExpr ( COMMA re2= rangeExpr )* )? RBRACE + // src/grammar/wcps.g:173:5: ( LBRACE (re1= rangeExpr ( COMMA re2= rangeExpr )* )? RBRACE ) + // src/grammar/wcps.g:173:7: LBRACE (re1= rangeExpr ( COMMA re2= rangeExpr )* )? RBRACE { root_0 = (Object)adaptor.nil(); @@ -4068,7 +4068,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new RangeExprList(); } - // src/grammar/wcps.g:172:48: (re1= rangeExpr ( COMMA re2= rangeExpr )* )? + // src/grammar/wcps.g:173:48: (re1= rangeExpr ( COMMA re2= rangeExpr )* )? int alt26=2; int LA26_0 = input.LA(1); @@ -4077,7 +4077,7 @@ public class wcpsParser extends Parser { } switch (alt26) { case 1 : - // src/grammar/wcps.g:172:49: re1= rangeExpr ( COMMA re2= rangeExpr )* + // src/grammar/wcps.g:173:49: re1= rangeExpr ( COMMA re2= rangeExpr )* { pushFollow(FOLLOW_rangeExpr_in_rangeExprList1728); re1=rangeExpr(); @@ -4088,7 +4088,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value.add((re1!=null?re1.value:null)); } - // src/grammar/wcps.g:172:91: ( COMMA re2= rangeExpr )* + // src/grammar/wcps.g:173:91: ( COMMA re2= rangeExpr )* loop25: do { int alt25=2; @@ -4101,7 +4101,7 @@ public class wcpsParser extends Parser { switch (alt25) { case 1 : - // src/grammar/wcps.g:172:92: COMMA re2= rangeExpr + // src/grammar/wcps.g:173:92: COMMA re2= rangeExpr { COMMA95=(Token)match(input,COMMA,FOLLOW_COMMA_in_rangeExprList1733); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -4168,7 +4168,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "interpolationMethodList" - // src/grammar/wcps.g:174:1: interpolationMethodList returns [InterpolationMethodList value] : LBRACE (e= interpolationMethod ( COMMA e= interpolationMethod )* )? RBRACE ; + // src/grammar/wcps.g:175:1: interpolationMethodList returns [InterpolationMethodList value] : LBRACE (e= interpolationMethod ( COMMA e= interpolationMethod )* )? RBRACE ; public final wcpsParser.interpolationMethodList_return interpolationMethodList() throws RecognitionException { wcpsParser.interpolationMethodList_return retval = new wcpsParser.interpolationMethodList_return(); retval.start = input.LT(1); @@ -4187,8 +4187,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 31) ) { return retval; } - // src/grammar/wcps.g:175:2: ( LBRACE (e= interpolationMethod ( COMMA e= interpolationMethod )* )? RBRACE ) - // src/grammar/wcps.g:175:4: LBRACE (e= interpolationMethod ( COMMA e= interpolationMethod )* )? RBRACE + // src/grammar/wcps.g:176:2: ( LBRACE (e= interpolationMethod ( COMMA e= interpolationMethod )* )? RBRACE ) + // src/grammar/wcps.g:176:4: LBRACE (e= interpolationMethod ( COMMA e= interpolationMethod )* )? RBRACE { root_0 = (Object)adaptor.nil(); @@ -4200,7 +4200,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new InterpolationMethodList(); } - // src/grammar/wcps.g:175:53: (e= interpolationMethod ( COMMA e= interpolationMethod )* )? + // src/grammar/wcps.g:176:53: (e= interpolationMethod ( COMMA e= interpolationMethod )* )? int alt28=2; int LA28_0 = input.LA(1); @@ -4209,7 +4209,7 @@ public class wcpsParser extends Parser { } switch (alt28) { case 1 : - // src/grammar/wcps.g:175:54: e= interpolationMethod ( COMMA e= interpolationMethod )* + // src/grammar/wcps.g:176:54: e= interpolationMethod ( COMMA e= interpolationMethod )* { pushFollow(FOLLOW_interpolationMethod_in_interpolationMethodList1769); e=interpolationMethod(); @@ -4220,7 +4220,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value.add((e!=null?e.value:null)); } - // src/grammar/wcps.g:175:102: ( COMMA e= interpolationMethod )* + // src/grammar/wcps.g:176:102: ( COMMA e= interpolationMethod )* loop27: do { int alt27=2; @@ -4233,7 +4233,7 @@ public class wcpsParser extends Parser { switch (alt27) { case 1 : - // src/grammar/wcps.g:175:103: COMMA e= interpolationMethod + // src/grammar/wcps.g:176:103: COMMA e= interpolationMethod { COMMA98=(Token)match(input,COMMA,FOLLOW_COMMA_in_interpolationMethodList1774); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -4300,7 +4300,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "rangeExpr" - // src/grammar/wcps.g:177:1: rangeExpr returns [RangeExpr value] : STRUCT LBRACE (field= fieldName COLON expr= scalarExpr ( COLON field= fieldName COLON expr= scalarExpr )* )? RBRACE ; + // src/grammar/wcps.g:178:1: rangeExpr returns [RangeExpr value] : STRUCT LBRACE (field= fieldName COLON expr= scalarExpr ( COLON field= fieldName COLON expr= scalarExpr )* )? RBRACE ; public final wcpsParser.rangeExpr_return rangeExpr() throws RecognitionException { wcpsParser.rangeExpr_return retval = new wcpsParser.rangeExpr_return(); retval.start = input.LT(1); @@ -4327,8 +4327,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 32) ) { return retval; } - // src/grammar/wcps.g:178:2: ( STRUCT LBRACE (field= fieldName COLON expr= scalarExpr ( COLON field= fieldName COLON expr= scalarExpr )* )? RBRACE ) - // src/grammar/wcps.g:178:4: STRUCT LBRACE (field= fieldName COLON expr= scalarExpr ( COLON field= fieldName COLON expr= scalarExpr )* )? RBRACE + // src/grammar/wcps.g:179:2: ( STRUCT LBRACE (field= fieldName COLON expr= scalarExpr ( COLON field= fieldName COLON expr= scalarExpr )* )? RBRACE ) + // src/grammar/wcps.g:179:4: STRUCT LBRACE (field= fieldName COLON expr= scalarExpr ( COLON field= fieldName COLON expr= scalarExpr )* )? RBRACE { root_0 = (Object)adaptor.nil(); @@ -4345,7 +4345,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value =new RangeExpr(); } - // src/grammar/wcps.g:179:2: (field= fieldName COLON expr= scalarExpr ( COLON field= fieldName COLON expr= scalarExpr )* )? + // src/grammar/wcps.g:180:2: (field= fieldName COLON expr= scalarExpr ( COLON field= fieldName COLON expr= scalarExpr )* )? int alt30=2; int LA30_0 = input.LA(1); @@ -4354,7 +4354,7 @@ public class wcpsParser extends Parser { } switch (alt30) { case 1 : - // src/grammar/wcps.g:179:3: field= fieldName COLON expr= scalarExpr ( COLON field= fieldName COLON expr= scalarExpr )* + // src/grammar/wcps.g:180:3: field= fieldName COLON expr= scalarExpr ( COLON field= fieldName COLON expr= scalarExpr )* { pushFollow(FOLLOW_fieldName_in_rangeExpr1809); field=fieldName(); @@ -4376,7 +4376,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value.add((field!=null?field.value:null), (expr!=null?expr.value:null)); } - // src/grammar/wcps.g:180:3: ( COLON field= fieldName COLON expr= scalarExpr )* + // src/grammar/wcps.g:181:3: ( COLON field= fieldName COLON expr= scalarExpr )* loop29: do { int alt29=2; @@ -4389,7 +4389,7 @@ public class wcpsParser extends Parser { switch (alt29) { case 1 : - // src/grammar/wcps.g:180:4: COLON field= fieldName COLON expr= scalarExpr + // src/grammar/wcps.g:181:4: COLON field= fieldName COLON expr= scalarExpr { COLON103=(Token)match(input,COLON,FOLLOW_COLON_in_rangeExpr1822); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -4467,7 +4467,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "rangeConstructorExpr" - // src/grammar/wcps.g:183:1: rangeConstructorExpr returns [RangeConstructorExpr value] : ( STRUCT )? LBRACE field= fieldName COLON expr= coverageExpr ( SEMICOLON field= fieldName COLON expr= coverageExpr )* RBRACE ; + // src/grammar/wcps.g:184:1: rangeConstructorExpr returns [RangeConstructorExpr value] : ( STRUCT )? LBRACE field= fieldName COLON expr= coverageExpr ( SEMICOLON field= fieldName COLON expr= coverageExpr )* RBRACE ; public final wcpsParser.rangeConstructorExpr_return rangeConstructorExpr() throws RecognitionException { wcpsParser.rangeConstructorExpr_return retval = new wcpsParser.rangeConstructorExpr_return(); retval.start = input.LT(1); @@ -4494,12 +4494,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 33) ) { return retval; } - // src/grammar/wcps.g:184:5: ( ( STRUCT )? LBRACE field= fieldName COLON expr= coverageExpr ( SEMICOLON field= fieldName COLON expr= coverageExpr )* RBRACE ) - // src/grammar/wcps.g:184:7: ( STRUCT )? LBRACE field= fieldName COLON expr= coverageExpr ( SEMICOLON field= fieldName COLON expr= coverageExpr )* RBRACE + // src/grammar/wcps.g:185:5: ( ( STRUCT )? LBRACE field= fieldName COLON expr= coverageExpr ( SEMICOLON field= fieldName COLON expr= coverageExpr )* RBRACE ) + // src/grammar/wcps.g:185:7: ( STRUCT )? LBRACE field= fieldName COLON expr= coverageExpr ( SEMICOLON field= fieldName COLON expr= coverageExpr )* RBRACE { root_0 = (Object)adaptor.nil(); - // src/grammar/wcps.g:184:7: ( STRUCT )? + // src/grammar/wcps.g:185:7: ( STRUCT )? int alt31=2; int LA31_0 = input.LA(1); @@ -4508,7 +4508,7 @@ public class wcpsParser extends Parser { } switch (alt31) { case 1 : - // src/grammar/wcps.g:184:8: STRUCT + // src/grammar/wcps.g:185:8: STRUCT { STRUCT106=(Token)match(input,STRUCT,FOLLOW_STRUCT_in_rangeConstructorExpr1860); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -4546,7 +4546,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new RangeConstructorExpr((field!=null?field.value:null), (expr!=null?expr.value:null)); } - // src/grammar/wcps.g:185:9: ( SEMICOLON field= fieldName COLON expr= coverageExpr )* + // src/grammar/wcps.g:186:9: ( SEMICOLON field= fieldName COLON expr= coverageExpr )* loop32: do { int alt32=2; @@ -4559,7 +4559,7 @@ public class wcpsParser extends Parser { switch (alt32) { case 1 : - // src/grammar/wcps.g:185:10: SEMICOLON field= fieldName COLON expr= coverageExpr + // src/grammar/wcps.g:186:10: SEMICOLON field= fieldName COLON expr= coverageExpr { SEMICOLON109=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_rangeConstructorExpr1887); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -4631,7 +4631,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "crsTransformExpr" - // src/grammar/wcps.g:187:1: crsTransformExpr returns [CrsTransformExpr value] : CRSTRANSFORM LPAREN e1= coverageExpr COMMA dcl= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN ; + // src/grammar/wcps.g:188:1: crsTransformExpr returns [CrsTransformExpr value] : CRSTRANSFORM LPAREN e1= coverageExpr COMMA dcl= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN ; public final wcpsParser.crsTransformExpr_return crsTransformExpr() throws RecognitionException { wcpsParser.crsTransformExpr_return retval = new wcpsParser.crsTransformExpr_return(); retval.start = input.LT(1); @@ -4658,8 +4658,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 34) ) { return retval; } - // src/grammar/wcps.g:188:2: ( CRSTRANSFORM LPAREN e1= coverageExpr COMMA dcl= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN ) - // src/grammar/wcps.g:188:4: CRSTRANSFORM LPAREN e1= coverageExpr COMMA dcl= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN + // src/grammar/wcps.g:189:2: ( CRSTRANSFORM LPAREN e1= coverageExpr COMMA dcl= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN ) + // src/grammar/wcps.g:189:4: CRSTRANSFORM LPAREN e1= coverageExpr COMMA dcl= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN { root_0 = (Object)adaptor.nil(); @@ -4740,7 +4740,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "fieldInterpolationList" - // src/grammar/wcps.g:191:1: fieldInterpolationList returns [FieldInterpolationList value] : LBRACE elem= fieldInterpolationElement ( COMMA elem= fieldInterpolationElement )* RBRACE ; + // src/grammar/wcps.g:192:1: fieldInterpolationList returns [FieldInterpolationList value] : LBRACE elem= fieldInterpolationElement ( COMMA elem= fieldInterpolationElement )* RBRACE ; public final wcpsParser.fieldInterpolationList_return fieldInterpolationList() throws RecognitionException { wcpsParser.fieldInterpolationList_return retval = new wcpsParser.fieldInterpolationList_return(); retval.start = input.LT(1); @@ -4759,8 +4759,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 35) ) { return retval; } - // src/grammar/wcps.g:192:2: ( LBRACE elem= fieldInterpolationElement ( COMMA elem= fieldInterpolationElement )* RBRACE ) - // src/grammar/wcps.g:192:4: LBRACE elem= fieldInterpolationElement ( COMMA elem= fieldInterpolationElement )* RBRACE + // src/grammar/wcps.g:193:2: ( LBRACE elem= fieldInterpolationElement ( COMMA elem= fieldInterpolationElement )* RBRACE ) + // src/grammar/wcps.g:193:4: LBRACE elem= fieldInterpolationElement ( COMMA elem= fieldInterpolationElement )* RBRACE { root_0 = (Object)adaptor.nil(); @@ -4778,7 +4778,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new FieldInterpolationList((elem!=null?elem.value:null)); } - // src/grammar/wcps.g:193:3: ( COMMA elem= fieldInterpolationElement )* + // src/grammar/wcps.g:194:3: ( COMMA elem= fieldInterpolationElement )* loop33: do { int alt33=2; @@ -4791,7 +4791,7 @@ public class wcpsParser extends Parser { switch (alt33) { case 1 : - // src/grammar/wcps.g:193:4: COMMA elem= fieldInterpolationElement + // src/grammar/wcps.g:194:4: COMMA elem= fieldInterpolationElement { COMMA118=(Token)match(input,COMMA,FOLLOW_COMMA_in_fieldInterpolationList1967); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -4852,7 +4852,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "fieldInterpolationElement" - // src/grammar/wcps.g:195:1: fieldInterpolationElement returns [FieldInterpolationElement value] : aname= fieldName method= interpolationMethod ; + // src/grammar/wcps.g:196:1: fieldInterpolationElement returns [FieldInterpolationElement value] : aname= fieldName method= interpolationMethod ; public final wcpsParser.fieldInterpolationElement_return fieldInterpolationElement() throws RecognitionException { wcpsParser.fieldInterpolationElement_return retval = new wcpsParser.fieldInterpolationElement_return(); retval.start = input.LT(1); @@ -4867,8 +4867,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 36) ) { return retval; } - // src/grammar/wcps.g:196:2: (aname= fieldName method= interpolationMethod ) - // src/grammar/wcps.g:196:4: aname= fieldName method= interpolationMethod + // src/grammar/wcps.g:197:2: (aname= fieldName method= interpolationMethod ) + // src/grammar/wcps.g:197:4: aname= fieldName method= interpolationMethod { root_0 = (Object)adaptor.nil(); @@ -4918,7 +4918,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "unaryInducedExpr" - // src/grammar/wcps.g:198:1: unaryInducedExpr returns [CoverageExpr value] : (e6= fieldExpr | e1= unaryArithmeticExpr | e2= exponentialExpr | e3= trigonometricExpr | e4= booleanExpr | e5= castExpr | e7= rangeConstructorExpr ); + // src/grammar/wcps.g:199:1: unaryInducedExpr returns [CoverageExpr value] : (e6= fieldExpr | e1= unaryArithmeticExpr | e2= exponentialExpr | e3= trigonometricExpr | e4= booleanExpr | e5= castExpr | e7= rangeConstructorExpr ); public final wcpsParser.unaryInducedExpr_return unaryInducedExpr() throws RecognitionException { wcpsParser.unaryInducedExpr_return retval = new wcpsParser.unaryInducedExpr_return(); retval.start = input.LT(1); @@ -4943,12 +4943,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 37) ) { return retval; } - // src/grammar/wcps.g:199:5: (e6= fieldExpr | e1= unaryArithmeticExpr | e2= exponentialExpr | e3= trigonometricExpr | e4= booleanExpr | e5= castExpr | e7= rangeConstructorExpr ) + // src/grammar/wcps.g:200:5: (e6= fieldExpr | e1= unaryArithmeticExpr | e2= exponentialExpr | e3= trigonometricExpr | e4= booleanExpr | e5= castExpr | e7= rangeConstructorExpr ) int alt34=7; alt34 = dfa34.predict(input); switch (alt34) { case 1 : - // src/grammar/wcps.g:199:7: e6= fieldExpr + // src/grammar/wcps.g:200:7: e6= fieldExpr { root_0 = (Object)adaptor.nil(); @@ -4965,7 +4965,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:200:4: e1= unaryArithmeticExpr + // src/grammar/wcps.g:201:4: e1= unaryArithmeticExpr { root_0 = (Object)adaptor.nil(); @@ -4982,7 +4982,7 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/grammar/wcps.g:201:7: e2= exponentialExpr + // src/grammar/wcps.g:202:7: e2= exponentialExpr { root_0 = (Object)adaptor.nil(); @@ -4999,7 +4999,7 @@ public class wcpsParser extends Parser { } break; case 4 : - // src/grammar/wcps.g:202:7: e3= trigonometricExpr + // src/grammar/wcps.g:203:7: e3= trigonometricExpr { root_0 = (Object)adaptor.nil(); @@ -5016,7 +5016,7 @@ public class wcpsParser extends Parser { } break; case 5 : - // src/grammar/wcps.g:203:7: e4= booleanExpr + // src/grammar/wcps.g:204:7: e4= booleanExpr { root_0 = (Object)adaptor.nil(); @@ -5033,7 +5033,7 @@ public class wcpsParser extends Parser { } break; case 6 : - // src/grammar/wcps.g:204:7: e5= castExpr + // src/grammar/wcps.g:205:7: e5= castExpr { root_0 = (Object)adaptor.nil(); @@ -5050,7 +5050,7 @@ public class wcpsParser extends Parser { } break; case 7 : - // src/grammar/wcps.g:205:7: e7= rangeConstructorExpr + // src/grammar/wcps.g:206:7: e7= rangeConstructorExpr { root_0 = (Object)adaptor.nil(); @@ -5096,7 +5096,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "unaryArithmeticExpr" - // src/grammar/wcps.g:207:1: unaryArithmeticExpr returns [CoverageExpr value] : (op= ( MINUS | PLUS ) e1= coverageAtom | op= ( SQRT | ABS | RE | IM ) LPAREN e2= coverageExpr RPAREN ); + // src/grammar/wcps.g:208:1: unaryArithmeticExpr returns [CoverageExpr value] : (op= ( MINUS | PLUS ) e1= coverageAtom | op= ( SQRT | ABS | RE | IM ) LPAREN e2= coverageExpr RPAREN ); public final wcpsParser.unaryArithmeticExpr_return unaryArithmeticExpr() throws RecognitionException { wcpsParser.unaryArithmeticExpr_return retval = new wcpsParser.unaryArithmeticExpr_return(); retval.start = input.LT(1); @@ -5117,7 +5117,7 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 38) ) { return retval; } - // src/grammar/wcps.g:208:5: (op= ( MINUS | PLUS ) e1= coverageAtom | op= ( SQRT | ABS | RE | IM ) LPAREN e2= coverageExpr RPAREN ) + // src/grammar/wcps.g:209:5: (op= ( MINUS | PLUS ) e1= coverageAtom | op= ( SQRT | ABS | RE | IM ) LPAREN e2= coverageExpr RPAREN ) int alt35=2; int LA35_0 = input.LA(1); @@ -5136,7 +5136,7 @@ public class wcpsParser extends Parser { } switch (alt35) { case 1 : - // src/grammar/wcps.g:208:7: op= ( MINUS | PLUS ) e1= coverageAtom + // src/grammar/wcps.g:209:7: op= ( MINUS | PLUS ) e1= coverageAtom { root_0 = (Object)adaptor.nil(); @@ -5165,7 +5165,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:209:7: op= ( SQRT | ABS | RE | IM ) LPAREN e2= coverageExpr RPAREN + // src/grammar/wcps.g:210:7: op= ( SQRT | ABS | RE | IM ) LPAREN e2= coverageExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -5233,7 +5233,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "exponentialExpr" - // src/grammar/wcps.g:211:1: exponentialExpr returns [ExponentialExpr value] : op= ( EXP | LOG | LN ) LPAREN e1= coverageExpr RPAREN ; + // src/grammar/wcps.g:212:1: exponentialExpr returns [ExponentialExpr value] : op= ( EXP | LOG | LN ) LPAREN e1= coverageExpr RPAREN ; public final wcpsParser.exponentialExpr_return exponentialExpr() throws RecognitionException { wcpsParser.exponentialExpr_return retval = new wcpsParser.exponentialExpr_return(); retval.start = input.LT(1); @@ -5252,8 +5252,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 39) ) { return retval; } - // src/grammar/wcps.g:212:5: (op= ( EXP | LOG | LN ) LPAREN e1= coverageExpr RPAREN ) - // src/grammar/wcps.g:212:7: op= ( EXP | LOG | LN ) LPAREN e1= coverageExpr RPAREN + // src/grammar/wcps.g:213:5: (op= ( EXP | LOG | LN ) LPAREN e1= coverageExpr RPAREN ) + // src/grammar/wcps.g:213:7: op= ( EXP | LOG | LN ) LPAREN e1= coverageExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -5319,7 +5319,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "trigonometricExpr" - // src/grammar/wcps.g:214:1: trigonometricExpr returns [TrigonometricExpr value] : op= ( SIN | COS | TAN | SINH | COSH | TANH | ARCSIN | ARCCOS | ARCTAN ) LPAREN e1= coverageExpr RPAREN ; + // src/grammar/wcps.g:215:1: trigonometricExpr returns [TrigonometricExpr value] : op= ( SIN | COS | TAN | SINH | COSH | TANH | ARCSIN | ARCCOS | ARCTAN ) LPAREN e1= coverageExpr RPAREN ; public final wcpsParser.trigonometricExpr_return trigonometricExpr() throws RecognitionException { wcpsParser.trigonometricExpr_return retval = new wcpsParser.trigonometricExpr_return(); retval.start = input.LT(1); @@ -5338,8 +5338,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 40) ) { return retval; } - // src/grammar/wcps.g:215:5: (op= ( SIN | COS | TAN | SINH | COSH | TANH | ARCSIN | ARCCOS | ARCTAN ) LPAREN e1= coverageExpr RPAREN ) - // src/grammar/wcps.g:215:7: op= ( SIN | COS | TAN | SINH | COSH | TANH | ARCSIN | ARCCOS | ARCTAN ) LPAREN e1= coverageExpr RPAREN + // src/grammar/wcps.g:216:5: (op= ( SIN | COS | TAN | SINH | COSH | TANH | ARCSIN | ARCCOS | ARCTAN ) LPAREN e1= coverageExpr RPAREN ) + // src/grammar/wcps.g:216:7: op= ( SIN | COS | TAN | SINH | COSH | TANH | ARCSIN | ARCCOS | ARCTAN ) LPAREN e1= coverageExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -5405,7 +5405,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "booleanExpr" - // src/grammar/wcps.g:217:1: booleanExpr returns [BooleanExpr value] : (op= NOT e1= coverageExpr | op= BIT LPAREN e1= coverageExpr COMMA e2= indexExpr RPAREN ); + // src/grammar/wcps.g:218:1: booleanExpr returns [BooleanExpr value] : (op= NOT e1= coverageExpr | op= BIT LPAREN e1= coverageExpr COMMA e2= indexExpr RPAREN ); public final wcpsParser.booleanExpr_return booleanExpr() throws RecognitionException { wcpsParser.booleanExpr_return retval = new wcpsParser.booleanExpr_return(); retval.start = input.LT(1); @@ -5428,7 +5428,7 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 41) ) { return retval; } - // src/grammar/wcps.g:218:5: (op= NOT e1= coverageExpr | op= BIT LPAREN e1= coverageExpr COMMA e2= indexExpr RPAREN ) + // src/grammar/wcps.g:219:5: (op= NOT e1= coverageExpr | op= BIT LPAREN e1= coverageExpr COMMA e2= indexExpr RPAREN ) int alt36=2; int LA36_0 = input.LA(1); @@ -5447,7 +5447,7 @@ public class wcpsParser extends Parser { } switch (alt36) { case 1 : - // src/grammar/wcps.g:218:7: op= NOT e1= coverageExpr + // src/grammar/wcps.g:219:7: op= NOT e1= coverageExpr { root_0 = (Object)adaptor.nil(); @@ -5469,7 +5469,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:219:7: op= BIT LPAREN e1= coverageExpr COMMA e2= indexExpr RPAREN + // src/grammar/wcps.g:220:7: op= BIT LPAREN e1= coverageExpr COMMA e2= indexExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -5541,7 +5541,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "indexExpr" - // src/grammar/wcps.g:221:1: indexExpr returns [IndexExpr value] : e1= indexTerm (op= ( PLUS | MINUS ) e2= indexTerm )* ; + // src/grammar/wcps.g:222:1: indexExpr returns [IndexExpr value] : e1= indexTerm (op= ( PLUS | MINUS ) e2= indexTerm )* ; public final wcpsParser.indexExpr_return indexExpr() throws RecognitionException { wcpsParser.indexExpr_return retval = new wcpsParser.indexExpr_return(); retval.start = input.LT(1); @@ -5562,8 +5562,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 42) ) { return retval; } - // src/grammar/wcps.g:222:5: (e1= indexTerm (op= ( PLUS | MINUS ) e2= indexTerm )* ) - // src/grammar/wcps.g:222:7: e1= indexTerm (op= ( PLUS | MINUS ) e2= indexTerm )* + // src/grammar/wcps.g:223:5: (e1= indexTerm (op= ( PLUS | MINUS ) e2= indexTerm )* ) + // src/grammar/wcps.g:223:7: e1= indexTerm (op= ( PLUS | MINUS ) e2= indexTerm )* { root_0 = (Object)adaptor.nil(); @@ -5576,7 +5576,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/grammar/wcps.g:223:3: (op= ( PLUS | MINUS ) e2= indexTerm )* + // src/grammar/wcps.g:224:3: (op= ( PLUS | MINUS ) e2= indexTerm )* loop38: do { int alt38=2; @@ -5589,9 +5589,9 @@ public class wcpsParser extends Parser { switch (alt38) { case 1 : - // src/grammar/wcps.g:223:4: op= ( PLUS | MINUS ) e2= indexTerm + // src/grammar/wcps.g:224:4: op= ( PLUS | MINUS ) e2= indexTerm { - // src/grammar/wcps.g:223:7: ( PLUS | MINUS ) + // src/grammar/wcps.g:224:7: ( PLUS | MINUS ) int alt37=2; int LA37_0 = input.LA(1); @@ -5610,7 +5610,7 @@ public class wcpsParser extends Parser { } switch (alt37) { case 1 : - // src/grammar/wcps.g:223:8: PLUS + // src/grammar/wcps.g:224:8: PLUS { PLUS129=(Token)match(input,PLUS,FOLLOW_PLUS_in_indexExpr2318); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -5621,7 +5621,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:223:14: MINUS + // src/grammar/wcps.g:224:14: MINUS { MINUS130=(Token)match(input,MINUS,FOLLOW_MINUS_in_indexExpr2321); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -5683,7 +5683,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "indexTerm" - // src/grammar/wcps.g:225:1: indexTerm returns [IndexExpr value] : e1= indexFactor ( (op= ( MULT | DIVIDE ) e2= indexFactor ) )* ; + // src/grammar/wcps.g:226:1: indexTerm returns [IndexExpr value] : e1= indexFactor ( (op= ( MULT | DIVIDE ) e2= indexFactor ) )* ; public final wcpsParser.indexTerm_return indexTerm() throws RecognitionException { wcpsParser.indexTerm_return retval = new wcpsParser.indexTerm_return(); retval.start = input.LT(1); @@ -5700,8 +5700,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 43) ) { return retval; } - // src/grammar/wcps.g:226:5: (e1= indexFactor ( (op= ( MULT | DIVIDE ) e2= indexFactor ) )* ) - // src/grammar/wcps.g:226:7: e1= indexFactor ( (op= ( MULT | DIVIDE ) e2= indexFactor ) )* + // src/grammar/wcps.g:227:5: (e1= indexFactor ( (op= ( MULT | DIVIDE ) e2= indexFactor ) )* ) + // src/grammar/wcps.g:227:7: e1= indexFactor ( (op= ( MULT | DIVIDE ) e2= indexFactor ) )* { root_0 = (Object)adaptor.nil(); @@ -5714,7 +5714,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/grammar/wcps.g:227:6: ( (op= ( MULT | DIVIDE ) e2= indexFactor ) )* + // src/grammar/wcps.g:228:6: ( (op= ( MULT | DIVIDE ) e2= indexFactor ) )* loop39: do { int alt39=2; @@ -5727,10 +5727,10 @@ public class wcpsParser extends Parser { switch (alt39) { case 1 : - // src/grammar/wcps.g:227:7: (op= ( MULT | DIVIDE ) e2= indexFactor ) + // src/grammar/wcps.g:228:7: (op= ( MULT | DIVIDE ) e2= indexFactor ) { - // src/grammar/wcps.g:227:7: (op= ( MULT | DIVIDE ) e2= indexFactor ) - // src/grammar/wcps.g:227:8: op= ( MULT | DIVIDE ) e2= indexFactor + // src/grammar/wcps.g:228:7: (op= ( MULT | DIVIDE ) e2= indexFactor ) + // src/grammar/wcps.g:228:8: op= ( MULT | DIVIDE ) e2= indexFactor { op=(Token)input.LT(1); if ( (input.LA(1)>=MULT && input.LA(1)<=DIVIDE) ) { @@ -5796,7 +5796,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "indexFactor" - // src/grammar/wcps.g:229:1: indexFactor returns [IndexExpr value] : (e= INTEGERCONSTANT | op= ROUND LPAREN e1= numericScalarExpr RPAREN | ( LPAREN e2= indexExpr RPAREN ) ); + // src/grammar/wcps.g:230:1: indexFactor returns [IndexExpr value] : (e= INTEGERCONSTANT | op= ROUND LPAREN e1= numericScalarExpr RPAREN | ( LPAREN e2= indexExpr RPAREN ) ); public final wcpsParser.indexFactor_return indexFactor() throws RecognitionException { wcpsParser.indexFactor_return retval = new wcpsParser.indexFactor_return(); retval.start = input.LT(1); @@ -5823,7 +5823,7 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 44) ) { return retval; } - // src/grammar/wcps.g:230:5: (e= INTEGERCONSTANT | op= ROUND LPAREN e1= numericScalarExpr RPAREN | ( LPAREN e2= indexExpr RPAREN ) ) + // src/grammar/wcps.g:231:5: (e= INTEGERCONSTANT | op= ROUND LPAREN e1= numericScalarExpr RPAREN | ( LPAREN e2= indexExpr RPAREN ) ) int alt40=3; switch ( input.LA(1) ) { case INTEGERCONSTANT: @@ -5851,7 +5851,7 @@ public class wcpsParser extends Parser { switch (alt40) { case 1 : - // src/grammar/wcps.g:230:7: e= INTEGERCONSTANT + // src/grammar/wcps.g:231:7: e= INTEGERCONSTANT { root_0 = (Object)adaptor.nil(); @@ -5867,7 +5867,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:231:7: op= ROUND LPAREN e1= numericScalarExpr RPAREN + // src/grammar/wcps.g:232:7: op= ROUND LPAREN e1= numericScalarExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -5899,12 +5899,12 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/grammar/wcps.g:232:7: ( LPAREN e2= indexExpr RPAREN ) + // src/grammar/wcps.g:233:7: ( LPAREN e2= indexExpr RPAREN ) { root_0 = (Object)adaptor.nil(); - // src/grammar/wcps.g:232:7: ( LPAREN e2= indexExpr RPAREN ) - // src/grammar/wcps.g:232:8: LPAREN e2= indexExpr RPAREN + // src/grammar/wcps.g:233:7: ( LPAREN e2= indexExpr RPAREN ) + // src/grammar/wcps.g:233:8: LPAREN e2= indexExpr RPAREN { LPAREN133=(Token)match(input,LPAREN,FOLLOW_LPAREN_in_indexFactor2433); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -5961,7 +5961,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "stringScalarExpr" - // src/grammar/wcps.g:234:1: stringScalarExpr returns [StringScalarExpr value] : (op= IDENTIFIER LPAREN e1= coverageExpr RPAREN | e= STRING ); + // src/grammar/wcps.g:235:1: stringScalarExpr returns [StringScalarExpr value] : (op= IDENTIFIER LPAREN e1= coverageExpr RPAREN | e= STRING ); public final wcpsParser.stringScalarExpr_return stringScalarExpr() throws RecognitionException { wcpsParser.stringScalarExpr_return retval = new wcpsParser.stringScalarExpr_return(); retval.start = input.LT(1); @@ -5982,7 +5982,7 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 45) ) { return retval; } - // src/grammar/wcps.g:236:5: (op= IDENTIFIER LPAREN e1= coverageExpr RPAREN | e= STRING ) + // src/grammar/wcps.g:237:5: (op= IDENTIFIER LPAREN e1= coverageExpr RPAREN | e= STRING ) int alt41=2; int LA41_0 = input.LA(1); @@ -6001,7 +6001,7 @@ public class wcpsParser extends Parser { } switch (alt41) { case 1 : - // src/grammar/wcps.g:236:7: op= IDENTIFIER LPAREN e1= coverageExpr RPAREN + // src/grammar/wcps.g:237:7: op= IDENTIFIER LPAREN e1= coverageExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -6033,7 +6033,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:237:7: e= STRING + // src/grammar/wcps.g:238:7: e= STRING { root_0 = (Object)adaptor.nil(); @@ -6078,7 +6078,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "scaleExpr" - // src/grammar/wcps.g:239:1: scaleExpr returns [ScaleExpr value] : SCALE LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN ; + // src/grammar/wcps.g:240: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); @@ -6105,8 +6105,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 46) ) { return retval; } - // src/grammar/wcps.g:240:2: ( SCALE LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN ) - // src/grammar/wcps.g:240:4: SCALE LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN + // src/grammar/wcps.g:241:2: ( SCALE LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN ) + // src/grammar/wcps.g:241:4: SCALE LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList COMMA fil= fieldInterpolationList RPAREN { root_0 = (Object)adaptor.nil(); @@ -6187,7 +6187,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "subsetExpr" - // src/grammar/wcps.g:243:1: subsetExpr returns [SubsetExpr value] : (e1= trimExpr | e2= sliceExpr | e3= extendExpr ); + // src/grammar/wcps.g:244: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); @@ -6204,12 +6204,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 47) ) { return retval; } - // src/grammar/wcps.g:244:2: (e1= trimExpr | e2= sliceExpr | e3= extendExpr ) + // src/grammar/wcps.g:245:2: (e1= trimExpr | e2= sliceExpr | e3= extendExpr ) int alt42=3; alt42 = dfa42.predict(input); switch (alt42) { case 1 : - // src/grammar/wcps.g:244:4: e1= trimExpr + // src/grammar/wcps.g:245:4: e1= trimExpr { root_0 = (Object)adaptor.nil(); @@ -6226,7 +6226,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:245:4: e2= sliceExpr + // src/grammar/wcps.g:246:4: e2= sliceExpr { root_0 = (Object)adaptor.nil(); @@ -6243,7 +6243,7 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/grammar/wcps.g:246:4: e3= extendExpr + // src/grammar/wcps.g:247:4: e3= extendExpr { root_0 = (Object)adaptor.nil(); @@ -6289,7 +6289,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "trimExpr" - // src/grammar/wcps.g:248:1: trimExpr returns [TrimExpr value] : (e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET | TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN ); + // src/grammar/wcps.g:249: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); @@ -6322,12 +6322,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 48) ) { return retval; } - // src/grammar/wcps.g:249:2: (e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET | TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN ) + // src/grammar/wcps.g:250: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/grammar/wcps.g:249:4: e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET + // src/grammar/wcps.g:250:4: e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET { root_0 = (Object)adaptor.nil(); @@ -6360,7 +6360,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:250:6: TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN + // src/grammar/wcps.g:251:6: TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN { root_0 = (Object)adaptor.nil(); @@ -6442,7 +6442,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "sliceExpr" - // src/grammar/wcps.g:252:1: sliceExpr returns [SliceExpr value] : (e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET | SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN ); + // src/grammar/wcps.g:253: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); @@ -6475,12 +6475,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 49) ) { return retval; } - // src/grammar/wcps.g:253:2: (e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET | SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN ) + // src/grammar/wcps.g:254: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/grammar/wcps.g:253:4: e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET + // src/grammar/wcps.g:254:4: e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET { root_0 = (Object)adaptor.nil(); @@ -6513,7 +6513,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:254:4: SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN + // src/grammar/wcps.g:255:4: SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN { root_0 = (Object)adaptor.nil(); @@ -6595,7 +6595,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "extendExpr" - // src/grammar/wcps.g:256:1: extendExpr returns [ExtendExpr value] : EXTEND LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList RPAREN ; + // src/grammar/wcps.g:257: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); @@ -6618,8 +6618,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 50) ) { return retval; } - // src/grammar/wcps.g:257:2: ( EXTEND LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList RPAREN ) - // src/grammar/wcps.g:257:4: EXTEND LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList RPAREN + // src/grammar/wcps.g:258:2: ( EXTEND LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList RPAREN ) + // src/grammar/wcps.g:258:4: EXTEND LPAREN e1= coverageExpr COMMA dil= dimensionIntervalList RPAREN { root_0 = (Object)adaptor.nil(); @@ -6689,7 +6689,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "castExpr" - // src/grammar/wcps.g:259:1: castExpr returns [CastExpr value] : LPAREN e1= rangeType RPAREN e2= coverageExpr ; + // src/grammar/wcps.g:260: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); @@ -6708,8 +6708,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 51) ) { return retval; } - // src/grammar/wcps.g:260:5: ( LPAREN e1= rangeType RPAREN e2= coverageExpr ) - // src/grammar/wcps.g:260:7: LPAREN e1= rangeType RPAREN e2= coverageExpr + // src/grammar/wcps.g:261:5: ( LPAREN e1= rangeType RPAREN e2= coverageExpr ) + // src/grammar/wcps.g:261:7: LPAREN e1= rangeType RPAREN e2= coverageExpr { root_0 = (Object)adaptor.nil(); @@ -6769,7 +6769,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "rangeType" - // src/grammar/wcps.g:262:1: rangeType returns [String value] : (type= ( BOOLEAN | CHAR | SHORT | LONG | FLOAT | DOUBLE | COMPLEX | COMPLEX2 ) | UNSIGNED type= ( CHAR | SHORT | LONG ) ); + // src/grammar/wcps.g:263: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); @@ -6784,7 +6784,7 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 52) ) { return retval; } - // src/grammar/wcps.g:263:5: (type= ( BOOLEAN | CHAR | SHORT | LONG | FLOAT | DOUBLE | COMPLEX | COMPLEX2 ) | UNSIGNED type= ( CHAR | SHORT | LONG ) ) + // src/grammar/wcps.g:264:5: (type= ( BOOLEAN | CHAR | SHORT | LONG | FLOAT | DOUBLE | COMPLEX | COMPLEX2 ) | UNSIGNED type= ( CHAR | SHORT | LONG ) ) int alt45=2; int LA45_0 = input.LA(1); @@ -6803,7 +6803,7 @@ public class wcpsParser extends Parser { } switch (alt45) { case 1 : - // src/grammar/wcps.g:263:7: type= ( BOOLEAN | CHAR | SHORT | LONG | FLOAT | DOUBLE | COMPLEX | COMPLEX2 ) + // src/grammar/wcps.g:264:7: type= ( BOOLEAN | CHAR | SHORT | LONG | FLOAT | DOUBLE | COMPLEX | COMPLEX2 ) { root_0 = (Object)adaptor.nil(); @@ -6826,7 +6826,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:264:7: UNSIGNED type= ( CHAR | SHORT | LONG ) + // src/grammar/wcps.g:265:7: UNSIGNED type= ( CHAR | SHORT | LONG ) { root_0 = (Object)adaptor.nil(); @@ -6883,7 +6883,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "fieldExpr" - // src/grammar/wcps.g:266:1: fieldExpr returns [SelectExpr value] : e1= coverageAtom DOT e2= fieldName ; + // src/grammar/wcps.g:267: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); @@ -6900,8 +6900,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 53) ) { return retval; } - // src/grammar/wcps.g:267:5: (e1= coverageAtom DOT e2= fieldName ) - // src/grammar/wcps.g:267:7: e1= coverageAtom DOT e2= fieldName + // src/grammar/wcps.g:268:5: (e1= coverageAtom DOT e2= fieldName ) + // src/grammar/wcps.g:268:7: e1= coverageAtom DOT e2= fieldName { root_0 = (Object)adaptor.nil(); @@ -6956,7 +6956,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "booleanScalarExpr" - // src/grammar/wcps.g:271:1: booleanScalarExpr returns [BooleanScalarExpr value] : e1= booleanScalarTerm (op= ( OR | XOR ) e2= booleanScalarTerm )* ; + // src/grammar/wcps.g:272: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); @@ -6977,8 +6977,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 54) ) { return retval; } - // src/grammar/wcps.g:272:5: (e1= booleanScalarTerm (op= ( OR | XOR ) e2= booleanScalarTerm )* ) - // src/grammar/wcps.g:272:7: e1= booleanScalarTerm (op= ( OR | XOR ) e2= booleanScalarTerm )* + // src/grammar/wcps.g:273:5: (e1= booleanScalarTerm (op= ( OR | XOR ) e2= booleanScalarTerm )* ) + // src/grammar/wcps.g:273:7: e1= booleanScalarTerm (op= ( OR | XOR ) e2= booleanScalarTerm )* { root_0 = (Object)adaptor.nil(); @@ -6991,16 +6991,16 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/grammar/wcps.g:273:7: (op= ( OR | XOR ) e2= booleanScalarTerm )* + // src/grammar/wcps.g:274:7: (op= ( OR | XOR ) e2= booleanScalarTerm )* loop47: do { int alt47=2; alt47 = dfa47.predict(input); switch (alt47) { case 1 : - // src/grammar/wcps.g:273:8: op= ( OR | XOR ) e2= booleanScalarTerm + // src/grammar/wcps.g:274:8: op= ( OR | XOR ) e2= booleanScalarTerm { - // src/grammar/wcps.g:273:11: ( OR | XOR ) + // src/grammar/wcps.g:274:11: ( OR | XOR ) int alt46=2; int LA46_0 = input.LA(1); @@ -7019,7 +7019,7 @@ public class wcpsParser extends Parser { } switch (alt46) { case 1 : - // src/grammar/wcps.g:273:12: OR + // src/grammar/wcps.g:274:12: OR { OR166=(Token)match(input,OR,FOLLOW_OR_in_booleanScalarExpr2848); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -7030,7 +7030,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:273:16: XOR + // src/grammar/wcps.g:274:16: XOR { XOR167=(Token)match(input,XOR,FOLLOW_XOR_in_booleanScalarExpr2851); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -7092,7 +7092,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "booleanScalarTerm" - // src/grammar/wcps.g:275:1: booleanScalarTerm returns [BooleanScalarExpr value] : e1= booleanScalarNegation (op= AND e2= booleanScalarNegation )* ; + // src/grammar/wcps.g:276: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); @@ -7109,8 +7109,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 55) ) { return retval; } - // src/grammar/wcps.g:276:2: (e1= booleanScalarNegation (op= AND e2= booleanScalarNegation )* ) - // src/grammar/wcps.g:276:4: e1= booleanScalarNegation (op= AND e2= booleanScalarNegation )* + // src/grammar/wcps.g:277:2: (e1= booleanScalarNegation (op= AND e2= booleanScalarNegation )* ) + // src/grammar/wcps.g:277:4: e1= booleanScalarNegation (op= AND e2= booleanScalarNegation )* { root_0 = (Object)adaptor.nil(); @@ -7123,14 +7123,14 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/grammar/wcps.g:277:4: (op= AND e2= booleanScalarNegation )* + // src/grammar/wcps.g:278:4: (op= AND e2= booleanScalarNegation )* loop48: do { int alt48=2; alt48 = dfa48.predict(input); switch (alt48) { case 1 : - // src/grammar/wcps.g:277:5: op= AND e2= booleanScalarNegation + // src/grammar/wcps.g:278:5: op= AND e2= booleanScalarNegation { op=(Token)match(input,AND,FOLLOW_AND_in_booleanScalarTerm2889); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -7186,7 +7186,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "booleanScalarNegation" - // src/grammar/wcps.g:279:1: booleanScalarNegation returns [BooleanScalarExpr value] : (e1= booleanScalarAtom | op= NOT e1= booleanScalarAtom ); + // src/grammar/wcps.g:280: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); @@ -7201,12 +7201,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 56) ) { return retval; } - // src/grammar/wcps.g:280:2: (e1= booleanScalarAtom | op= NOT e1= booleanScalarAtom ) + // src/grammar/wcps.g:281:2: (e1= booleanScalarAtom | op= NOT e1= booleanScalarAtom ) int alt49=2; alt49 = dfa49.predict(input); switch (alt49) { case 1 : - // src/grammar/wcps.g:280:4: e1= booleanScalarAtom + // src/grammar/wcps.g:281:4: e1= booleanScalarAtom { root_0 = (Object)adaptor.nil(); @@ -7223,7 +7223,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:281:4: op= NOT e1= booleanScalarAtom + // src/grammar/wcps.g:282:4: op= NOT e1= booleanScalarAtom { root_0 = (Object)adaptor.nil(); @@ -7274,7 +7274,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "booleanScalarAtom" - // src/grammar/wcps.g:283:1: booleanScalarAtom returns [BooleanScalarExpr value] : ( LPAREN e1= booleanScalarExpr RPAREN | s1= stringScalarExpr cop= compOp s2= stringScalarExpr | n1= numericScalarExpr cop= compOp n2= numericScalarExpr | e= BOOLEANCONSTANT ); + // src/grammar/wcps.g:284: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); @@ -7303,12 +7303,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 57) ) { return retval; } - // src/grammar/wcps.g:284:2: ( LPAREN e1= booleanScalarExpr RPAREN | s1= stringScalarExpr cop= compOp s2= stringScalarExpr | n1= numericScalarExpr cop= compOp n2= numericScalarExpr | e= BOOLEANCONSTANT ) + // src/grammar/wcps.g:285:2: ( LPAREN e1= booleanScalarExpr RPAREN | s1= stringScalarExpr cop= compOp s2= stringScalarExpr | n1= numericScalarExpr cop= compOp n2= numericScalarExpr | e= BOOLEANCONSTANT ) int alt50=4; alt50 = dfa50.predict(input); switch (alt50) { case 1 : - // src/grammar/wcps.g:284:4: LPAREN e1= booleanScalarExpr RPAREN + // src/grammar/wcps.g:285:4: LPAREN e1= booleanScalarExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -7335,7 +7335,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:285:4: s1= stringScalarExpr cop= compOp s2= stringScalarExpr + // src/grammar/wcps.g:286:4: s1= stringScalarExpr cop= compOp s2= stringScalarExpr { root_0 = (Object)adaptor.nil(); @@ -7364,7 +7364,7 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/grammar/wcps.g:286:4: n1= numericScalarExpr cop= compOp n2= numericScalarExpr + // src/grammar/wcps.g:287:4: n1= numericScalarExpr cop= compOp n2= numericScalarExpr { root_0 = (Object)adaptor.nil(); @@ -7393,7 +7393,7 @@ public class wcpsParser extends Parser { } break; case 4 : - // src/grammar/wcps.g:287:4: e= BOOLEANCONSTANT + // src/grammar/wcps.g:288:4: e= BOOLEANCONSTANT { root_0 = (Object)adaptor.nil(); @@ -7438,7 +7438,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "numericScalarExpr" - // src/grammar/wcps.g:289:1: numericScalarExpr returns [NumericScalarExpr value] : e1= numericScalarTerm (op= ( PLUS | MINUS ) e2= numericScalarTerm )* ; + // src/grammar/wcps.g:290: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); @@ -7455,8 +7455,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 58) ) { return retval; } - // src/grammar/wcps.g:290:2: (e1= numericScalarTerm (op= ( PLUS | MINUS ) e2= numericScalarTerm )* ) - // src/grammar/wcps.g:290:4: e1= numericScalarTerm (op= ( PLUS | MINUS ) e2= numericScalarTerm )* + // src/grammar/wcps.g:291:2: (e1= numericScalarTerm (op= ( PLUS | MINUS ) e2= numericScalarTerm )* ) + // src/grammar/wcps.g:291:4: e1= numericScalarTerm (op= ( PLUS | MINUS ) e2= numericScalarTerm )* { root_0 = (Object)adaptor.nil(); @@ -7469,14 +7469,14 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/grammar/wcps.g:291:4: (op= ( PLUS | MINUS ) e2= numericScalarTerm )* + // src/grammar/wcps.g:292:4: (op= ( PLUS | MINUS ) e2= numericScalarTerm )* loop51: do { int alt51=2; alt51 = dfa51.predict(input); switch (alt51) { case 1 : - // src/grammar/wcps.g:291:5: op= ( PLUS | MINUS ) e2= numericScalarTerm + // src/grammar/wcps.g:292:5: op= ( PLUS | MINUS ) e2= numericScalarTerm { op=(Token)input.LT(1); if ( (input.LA(1)>=PLUS && input.LA(1)<=MINUS) ) { @@ -7539,7 +7539,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "numericScalarTerm" - // src/grammar/wcps.g:293:1: numericScalarTerm returns [NumericScalarExpr value] : e1= numericScalarFactor (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* ; + // src/grammar/wcps.g:294: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); @@ -7556,8 +7556,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 59) ) { return retval; } - // src/grammar/wcps.g:294:2: (e1= numericScalarFactor (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* ) - // src/grammar/wcps.g:294:4: e1= numericScalarFactor (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* + // src/grammar/wcps.g:295:2: (e1= numericScalarFactor (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* ) + // src/grammar/wcps.g:295:4: e1= numericScalarFactor (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* { root_0 = (Object)adaptor.nil(); @@ -7570,14 +7570,14 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = (e1!=null?e1.value:null); } - // src/grammar/wcps.g:295:3: (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* + // src/grammar/wcps.g:296:3: (op= ( MULT | DIVIDE ) e2= numericScalarFactor )* loop52: do { int alt52=2; alt52 = dfa52.predict(input); switch (alt52) { case 1 : - // src/grammar/wcps.g:295:4: op= ( MULT | DIVIDE ) e2= numericScalarFactor + // src/grammar/wcps.g:296:4: op= ( MULT | DIVIDE ) e2= numericScalarFactor { op=(Token)input.LT(1); if ( (input.LA(1)>=MULT && input.LA(1)<=DIVIDE) ) { @@ -7640,7 +7640,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "numericScalarFactor" - // src/grammar/wcps.g:297:1: numericScalarFactor returns [NumericScalarExpr value] : ( LPAREN e1= numericScalarExpr RPAREN | op= MINUS e10= numericScalarFactor | op= ROUND LPAREN e1= numericScalarExpr RPAREN | e= INTEGERCONSTANT | e= FLOATCONSTANT | e2= complexConstant | e3= condenseExpr ); + // src/grammar/wcps.g:298:1: numericScalarFactor returns [NumericScalarExpr value] : ( LPAREN e1= numericScalarExpr RPAREN | op= MINUS e10= numericScalarFactor | op= ROUND LPAREN e1= numericScalarExpr RPAREN | e= INTEGERCONSTANT | e= FLOATCONSTANT | e2= complexConstant | e3= condenseExpr ); public final wcpsParser.numericScalarFactor_return numericScalarFactor() throws RecognitionException { wcpsParser.numericScalarFactor_return retval = new wcpsParser.numericScalarFactor_return(); retval.start = input.LT(1); @@ -7671,12 +7671,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 60) ) { return retval; } - // src/grammar/wcps.g:298:5: ( LPAREN e1= numericScalarExpr RPAREN | op= MINUS e10= numericScalarFactor | op= ROUND LPAREN e1= numericScalarExpr RPAREN | e= INTEGERCONSTANT | e= FLOATCONSTANT | e2= complexConstant | e3= condenseExpr ) + // src/grammar/wcps.g:299:5: ( LPAREN e1= numericScalarExpr RPAREN | op= MINUS e10= numericScalarFactor | op= ROUND LPAREN e1= numericScalarExpr RPAREN | e= INTEGERCONSTANT | e= FLOATCONSTANT | e2= complexConstant | e3= condenseExpr ) int alt53=7; alt53 = dfa53.predict(input); switch (alt53) { case 1 : - // src/grammar/wcps.g:298:7: LPAREN e1= numericScalarExpr RPAREN + // src/grammar/wcps.g:299:7: LPAREN e1= numericScalarExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -7703,7 +7703,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:299:7: op= MINUS e10= numericScalarFactor + // src/grammar/wcps.g:300:7: op= MINUS e10= numericScalarFactor { root_0 = (Object)adaptor.nil(); @@ -7725,7 +7725,7 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/grammar/wcps.g:300:7: op= ROUND LPAREN e1= numericScalarExpr RPAREN + // src/grammar/wcps.g:301:7: op= ROUND LPAREN e1= numericScalarExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -7757,7 +7757,7 @@ public class wcpsParser extends Parser { } break; case 4 : - // src/grammar/wcps.g:301:7: e= INTEGERCONSTANT + // src/grammar/wcps.g:302:7: e= INTEGERCONSTANT { root_0 = (Object)adaptor.nil(); @@ -7773,7 +7773,7 @@ public class wcpsParser extends Parser { } break; case 5 : - // src/grammar/wcps.g:302:7: e= FLOATCONSTANT + // src/grammar/wcps.g:303:7: e= FLOATCONSTANT { root_0 = (Object)adaptor.nil(); @@ -7789,7 +7789,7 @@ public class wcpsParser extends Parser { } break; case 6 : - // src/grammar/wcps.g:303:7: e2= complexConstant + // src/grammar/wcps.g:304:7: e2= complexConstant { root_0 = (Object)adaptor.nil(); @@ -7806,7 +7806,7 @@ public class wcpsParser extends Parser { } break; case 7 : - // src/grammar/wcps.g:304:7: e3= condenseExpr + // src/grammar/wcps.g:305:7: e3= condenseExpr { root_0 = (Object)adaptor.nil(); @@ -7852,7 +7852,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "compOp" - // src/grammar/wcps.g:306:1: compOp returns [String value] : ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ); + // src/grammar/wcps.g:307: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); @@ -7875,7 +7875,7 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 61) ) { return retval; } - // src/grammar/wcps.g:307:2: ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) + // src/grammar/wcps.g:308:2: ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) int alt54=6; switch ( input.LA(1) ) { case EQUALS: @@ -7918,7 +7918,7 @@ public class wcpsParser extends Parser { switch (alt54) { case 1 : - // src/grammar/wcps.g:307:4: EQUALS + // src/grammar/wcps.g:308:4: EQUALS { root_0 = (Object)adaptor.nil(); @@ -7934,7 +7934,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:308:4: NOTEQUALS + // src/grammar/wcps.g:309:4: NOTEQUALS { root_0 = (Object)adaptor.nil(); @@ -7950,7 +7950,7 @@ public class wcpsParser extends Parser { } break; case 3 : - // src/grammar/wcps.g:309:4: LT + // src/grammar/wcps.g:310:4: LT { root_0 = (Object)adaptor.nil(); @@ -7966,7 +7966,7 @@ public class wcpsParser extends Parser { } break; case 4 : - // src/grammar/wcps.g:310:4: GT + // src/grammar/wcps.g:311:4: GT { root_0 = (Object)adaptor.nil(); @@ -7982,7 +7982,7 @@ public class wcpsParser extends Parser { } break; case 5 : - // src/grammar/wcps.g:311:4: LTE + // src/grammar/wcps.g:312:4: LTE { root_0 = (Object)adaptor.nil(); @@ -7998,7 +7998,7 @@ public class wcpsParser extends Parser { } break; case 6 : - // src/grammar/wcps.g:312:4: GTE + // src/grammar/wcps.g:313:4: GTE { root_0 = (Object)adaptor.nil(); @@ -8043,7 +8043,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "dimensionIntervalList" - // src/grammar/wcps.g:314:1: dimensionIntervalList returns [DimensionIntervalList value] : elem= dimensionIntervalElement ( COMMA elem= dimensionIntervalElement )* ; + // src/grammar/wcps.g:315: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); @@ -8058,8 +8058,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 62) ) { return retval; } - // src/grammar/wcps.g:315:5: (elem= dimensionIntervalElement ( COMMA elem= dimensionIntervalElement )* ) - // src/grammar/wcps.g:315:7: elem= dimensionIntervalElement ( COMMA elem= dimensionIntervalElement )* + // src/grammar/wcps.g:316:5: (elem= dimensionIntervalElement ( COMMA elem= dimensionIntervalElement )* ) + // src/grammar/wcps.g:316:7: elem= dimensionIntervalElement ( COMMA elem= dimensionIntervalElement )* { root_0 = (Object)adaptor.nil(); @@ -8072,7 +8072,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new DimensionIntervalList((elem!=null?elem.value:null)); } - // src/grammar/wcps.g:316:9: ( COMMA elem= dimensionIntervalElement )* + // src/grammar/wcps.g:317:9: ( COMMA elem= dimensionIntervalElement )* loop55: do { int alt55=2; @@ -8091,7 +8091,7 @@ public class wcpsParser extends Parser { switch (alt55) { case 1 : - // src/grammar/wcps.g:316:10: COMMA elem= dimensionIntervalElement + // src/grammar/wcps.g:317:10: COMMA elem= dimensionIntervalElement { COMMA180=(Token)match(input,COMMA,FOLLOW_COMMA_in_dimensionIntervalList3260); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -8147,7 +8147,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "dimensionIntervalElement" - // src/grammar/wcps.g:318:1: dimensionIntervalElement returns [DimensionIntervalElement value] : aname= axisName ( COLON crs= crsName )? LPAREN die= dimensionIntervalExpr RPAREN ; + // src/grammar/wcps.g:319: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); @@ -8170,8 +8170,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 63) ) { return retval; } - // src/grammar/wcps.g:319:5: (aname= axisName ( COLON crs= crsName )? LPAREN die= dimensionIntervalExpr RPAREN ) - // src/grammar/wcps.g:319:7: aname= axisName ( COLON crs= crsName )? LPAREN die= dimensionIntervalExpr RPAREN + // src/grammar/wcps.g:320:5: (aname= axisName ( COLON crs= crsName )? LPAREN die= dimensionIntervalExpr RPAREN ) + // src/grammar/wcps.g:320:7: aname= axisName ( COLON crs= crsName )? LPAREN die= dimensionIntervalExpr RPAREN { root_0 = (Object)adaptor.nil(); @@ -8184,7 +8184,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new DimensionIntervalElement((aname!=null?aname.value:null)); } - // src/grammar/wcps.g:319:79: ( COLON crs= crsName )? + // src/grammar/wcps.g:320:79: ( COLON crs= crsName )? int alt56=2; int LA56_0 = input.LA(1); @@ -8193,7 +8193,7 @@ public class wcpsParser extends Parser { } switch (alt56) { case 1 : - // src/grammar/wcps.g:319:80: COLON crs= crsName + // src/grammar/wcps.g:320:80: COLON crs= crsName { COLON181=(Token)match(input,COLON,FOLLOW_COLON_in_dimensionIntervalElement3294); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -8265,7 +8265,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "dimensionIntervalExpr" - // src/grammar/wcps.g:322:1: dimensionIntervalExpr returns [DimensionIntervalExpr value] : (e1= scalarExpr COLON e2= scalarExpr | DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN ); + // src/grammar/wcps.g:323: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); @@ -8298,12 +8298,12 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 64) ) { return retval; } - // src/grammar/wcps.g:323:5: (e1= scalarExpr COLON e2= scalarExpr | DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN ) + // src/grammar/wcps.g:324:5: (e1= scalarExpr COLON e2= scalarExpr | DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN ) int alt57=2; alt57 = dfa57.predict(input); switch (alt57) { case 1 : - // src/grammar/wcps.g:323:7: e1= scalarExpr COLON e2= scalarExpr + // src/grammar/wcps.g:324:7: e1= scalarExpr COLON e2= scalarExpr { root_0 = (Object)adaptor.nil(); @@ -8331,7 +8331,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:324:7: DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN + // src/grammar/wcps.g:325:7: DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN { root_0 = (Object)adaptor.nil(); @@ -8414,7 +8414,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "dimensionPointList" - // src/grammar/wcps.g:326:1: dimensionPointList returns [DimensionPointList value] : elem1= dimensionPointElement ( COMMA elem2= dimensionPointElement )* ; + // src/grammar/wcps.g:327: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); @@ -8431,8 +8431,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 65) ) { return retval; } - // src/grammar/wcps.g:327:5: (elem1= dimensionPointElement ( COMMA elem2= dimensionPointElement )* ) - // src/grammar/wcps.g:327:7: elem1= dimensionPointElement ( COMMA elem2= dimensionPointElement )* + // src/grammar/wcps.g:328:5: (elem1= dimensionPointElement ( COMMA elem2= dimensionPointElement )* ) + // src/grammar/wcps.g:328:7: elem1= dimensionPointElement ( COMMA elem2= dimensionPointElement )* { root_0 = (Object)adaptor.nil(); @@ -8445,7 +8445,7 @@ public class wcpsParser extends Parser { if ( state.backtracking==0 ) { retval.value = new DimensionPointList((elem1!=null?elem1.value:null)); } - // src/grammar/wcps.g:328:6: ( COMMA elem2= dimensionPointElement )* + // src/grammar/wcps.g:329:6: ( COMMA elem2= dimensionPointElement )* loop58: do { int alt58=2; @@ -8458,7 +8458,7 @@ public class wcpsParser extends Parser { switch (alt58) { case 1 : - // src/grammar/wcps.g:328:7: COMMA elem2= dimensionPointElement + // src/grammar/wcps.g:329:7: COMMA elem2= dimensionPointElement { COMMA190=(Token)match(input,COMMA,FOLLOW_COMMA_in_dimensionPointList3407); if (state.failed) return retval; if ( state.backtracking==0 ) { @@ -8514,7 +8514,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "dimensionPointElement" - // src/grammar/wcps.g:330:1: dimensionPointElement returns [DimensionPointElement value] : (aname= axisName LPAREN dpe= dimensionPoint RPAREN | aname= axisName COLON crs= crsName LPAREN dpe= dimensionPoint RPAREN ); + // src/grammar/wcps.g:331: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); @@ -8541,7 +8541,7 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 66) ) { return retval; } - // src/grammar/wcps.g:331:5: (aname= axisName LPAREN dpe= dimensionPoint RPAREN | aname= axisName COLON crs= crsName LPAREN dpe= dimensionPoint RPAREN ) + // src/grammar/wcps.g:332:5: (aname= axisName LPAREN dpe= dimensionPoint RPAREN | aname= axisName COLON crs= crsName LPAREN dpe= dimensionPoint RPAREN ) int alt59=2; int LA59_0 = input.LA(1); @@ -8571,7 +8571,7 @@ public class wcpsParser extends Parser { } switch (alt59) { case 1 : - // src/grammar/wcps.g:331:7: aname= axisName LPAREN dpe= dimensionPoint RPAREN + // src/grammar/wcps.g:332:7: aname= axisName LPAREN dpe= dimensionPoint RPAREN { root_0 = (Object)adaptor.nil(); @@ -8604,7 +8604,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:332:7: aname= axisName COLON crs= crsName LPAREN dpe= dimensionPoint RPAREN + // src/grammar/wcps.g:333:7: aname= axisName COLON crs= crsName LPAREN dpe= dimensionPoint RPAREN { root_0 = (Object)adaptor.nil(); @@ -8677,7 +8677,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "dimensionPoint" - // src/grammar/wcps.g:334:1: dimensionPoint returns [ScalarExpr value] : e1= scalarExpr ; + // src/grammar/wcps.g:335: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); @@ -8690,8 +8690,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 67) ) { return retval; } - // src/grammar/wcps.g:335:5: (e1= scalarExpr ) - // src/grammar/wcps.g:335:7: e1= scalarExpr + // src/grammar/wcps.g:336:5: (e1= scalarExpr ) + // src/grammar/wcps.g:336:7: e1= scalarExpr { root_0 = (Object)adaptor.nil(); @@ -8735,7 +8735,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "interpolationMethod" - // src/grammar/wcps.g:337:1: interpolationMethod returns [InterpolationMethod value] : LPAREN type= interpolationType COLON res= nullResistence RPAREN ; + // src/grammar/wcps.g:338: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); @@ -8756,8 +8756,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 68) ) { return retval; } - // src/grammar/wcps.g:338:2: ( LPAREN type= interpolationType COLON res= nullResistence RPAREN ) - // src/grammar/wcps.g:338:4: LPAREN type= interpolationType COLON res= nullResistence RPAREN + // src/grammar/wcps.g:339:2: ( LPAREN type= interpolationType COLON res= nullResistence RPAREN ) + // src/grammar/wcps.g:339:4: LPAREN type= interpolationType COLON res= nullResistence RPAREN { root_0 = (Object)adaptor.nil(); @@ -8822,7 +8822,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "interpolationType" - // src/grammar/wcps.g:340:1: interpolationType returns [String value] : type= ( NEAREST | LINEAR | QUADRATIC | CUBIC ) ; + // src/grammar/wcps.g:341: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); @@ -8835,8 +8835,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 69) ) { return retval; } - // src/grammar/wcps.g:341:2: (type= ( NEAREST | LINEAR | QUADRATIC | CUBIC ) ) - // src/grammar/wcps.g:341:4: type= ( NEAREST | LINEAR | QUADRATIC | CUBIC ) + // src/grammar/wcps.g:342:2: (type= ( NEAREST | LINEAR | QUADRATIC | CUBIC ) ) + // src/grammar/wcps.g:342:4: type= ( NEAREST | LINEAR | QUADRATIC | CUBIC ) { root_0 = (Object)adaptor.nil(); @@ -8886,7 +8886,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "nullResistence" - // src/grammar/wcps.g:343:1: nullResistence returns [String value] : resistance= ( FULL | NONE | HALF | OTHER ) ; + // src/grammar/wcps.g:344: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); @@ -8899,8 +8899,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 70) ) { return retval; } - // src/grammar/wcps.g:344:2: (resistance= ( FULL | NONE | HALF | OTHER ) ) - // src/grammar/wcps.g:344:4: resistance= ( FULL | NONE | HALF | OTHER ) + // src/grammar/wcps.g:345:2: (resistance= ( FULL | NONE | HALF | OTHER ) ) + // src/grammar/wcps.g:345:4: resistance= ( FULL | NONE | HALF | OTHER ) { root_0 = (Object)adaptor.nil(); @@ -8944,13 +8944,13 @@ public class wcpsParser extends Parser { // $ANTLR end "nullResistence" public static class condenseOpType_return extends ParserRuleReturnScope { - public CondenseOperationType value; + public CondenseOperation value; Object tree; public Object getTree() { return tree; } }; // $ANTLR start "condenseOpType" - // src/grammar/wcps.g:346:1: condenseOpType returns [CondenseOperationType value] : op= ( PLUS | MULT | MAX | MIN | AND | OR ) ; + // src/grammar/wcps.g:347: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); @@ -8963,8 +8963,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 71) ) { return retval; } - // src/grammar/wcps.g:347:2: (op= ( PLUS | MULT | MAX | MIN | AND | OR ) ) - // src/grammar/wcps.g:347:4: op= ( PLUS | MULT | MAX | MIN | AND | OR ) + // src/grammar/wcps.g:348:2: (op= ( PLUS | MULT | MAX | MIN | AND | OR ) ) + // src/grammar/wcps.g:348:4: op= ( PLUS | MULT | MAX | MIN | AND | OR ) { root_0 = (Object)adaptor.nil(); @@ -8981,7 +8981,7 @@ public class wcpsParser extends Parser { } if ( state.backtracking==0 ) { - retval.value = new CondenseOperationType((op!=null?op.getText():null)); + retval.value = new CondenseOperation((op!=null?op.getText():null)); } } @@ -9014,7 +9014,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "fieldName" - // src/grammar/wcps.g:349:1: fieldName returns [String value] : name ; + // src/grammar/wcps.g:350: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); @@ -9027,8 +9027,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 72) ) { return retval; } - // src/grammar/wcps.g:350:2: ( name ) - // src/grammar/wcps.g:350:4: name + // src/grammar/wcps.g:351:2: ( name ) + // src/grammar/wcps.g:351:4: name { root_0 = (Object)adaptor.nil(); @@ -9072,7 +9072,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "constant" - // src/grammar/wcps.g:352:1: constant returns [String value] : (e= ( STRING | BOOLEANCONSTANT | INTEGERCONSTANT | FLOATCONSTANT ) | e1= complexConstant ); + // src/grammar/wcps.g:353: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); @@ -9087,7 +9087,7 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 73) ) { return retval; } - // src/grammar/wcps.g:353:2: (e= ( STRING | BOOLEANCONSTANT | INTEGERCONSTANT | FLOATCONSTANT ) | e1= complexConstant ) + // src/grammar/wcps.g:354:2: (e= ( STRING | BOOLEANCONSTANT | INTEGERCONSTANT | FLOATCONSTANT ) | e1= complexConstant ) int alt60=2; int LA60_0 = input.LA(1); @@ -9106,7 +9106,7 @@ public class wcpsParser extends Parser { } switch (alt60) { case 1 : - // src/grammar/wcps.g:353:4: e= ( STRING | BOOLEANCONSTANT | INTEGERCONSTANT | FLOATCONSTANT ) + // src/grammar/wcps.g:354:4: e= ( STRING | BOOLEANCONSTANT | INTEGERCONSTANT | FLOATCONSTANT ) { root_0 = (Object)adaptor.nil(); @@ -9129,7 +9129,7 @@ public class wcpsParser extends Parser { } break; case 2 : - // src/grammar/wcps.g:354:4: e1= complexConstant + // src/grammar/wcps.g:355:4: e1= complexConstant { root_0 = (Object)adaptor.nil(); @@ -9175,7 +9175,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "complexConstant" - // src/grammar/wcps.g:356:1: complexConstant returns [String value] : LPAREN re1= FLOATCONSTANT COMMA im1= FLOATCONSTANT RPAREN ; + // src/grammar/wcps.g:357: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); @@ -9196,8 +9196,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 74) ) { return retval; } - // src/grammar/wcps.g:357:2: ( LPAREN re1= FLOATCONSTANT COMMA im1= FLOATCONSTANT RPAREN ) - // src/grammar/wcps.g:357:4: LPAREN re1= FLOATCONSTANT COMMA im1= FLOATCONSTANT RPAREN + // src/grammar/wcps.g:358:2: ( LPAREN re1= FLOATCONSTANT COMMA im1= FLOATCONSTANT RPAREN ) + // src/grammar/wcps.g:358:4: LPAREN re1= FLOATCONSTANT COMMA im1= FLOATCONSTANT RPAREN { root_0 = (Object)adaptor.nil(); @@ -9260,7 +9260,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "stringConstant" - // src/grammar/wcps.g:359:1: stringConstant returns [String value] : s= STRING ; + // src/grammar/wcps.g:360: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); @@ -9273,8 +9273,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 75) ) { return retval; } - // src/grammar/wcps.g:360:2: (s= STRING ) - // src/grammar/wcps.g:360:4: s= STRING + // src/grammar/wcps.g:361:2: (s= STRING ) + // src/grammar/wcps.g:361:4: s= STRING { root_0 = (Object)adaptor.nil(); @@ -9317,7 +9317,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "name" - // src/grammar/wcps.g:362:1: name returns [String value] : var= ( NAME | STRING | INTEGERCONSTANT ) ; + // src/grammar/wcps.g:363: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); @@ -9330,8 +9330,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 76) ) { return retval; } - // src/grammar/wcps.g:363:2: (var= ( NAME | STRING | INTEGERCONSTANT ) ) - // src/grammar/wcps.g:363:4: var= ( NAME | STRING | INTEGERCONSTANT ) + // src/grammar/wcps.g:364:2: (var= ( NAME | STRING | INTEGERCONSTANT ) ) + // src/grammar/wcps.g:364:4: var= ( NAME | STRING | INTEGERCONSTANT ) { root_0 = (Object)adaptor.nil(); @@ -9381,7 +9381,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "crsName" - // src/grammar/wcps.g:365:1: crsName returns [String value] : s= stringConstant ; + // src/grammar/wcps.g:366: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); @@ -9394,8 +9394,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 77) ) { return retval; } - // src/grammar/wcps.g:366:2: (s= stringConstant ) - // src/grammar/wcps.g:366:4: s= stringConstant + // src/grammar/wcps.g:367:2: (s= stringConstant ) + // src/grammar/wcps.g:367:4: s= stringConstant { root_0 = (Object)adaptor.nil(); @@ -9439,7 +9439,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "axisName" - // src/grammar/wcps.g:368:1: axisName returns [String value] : type1= name ; + // src/grammar/wcps.g:369: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); @@ -9452,8 +9452,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 78) ) { return retval; } - // src/grammar/wcps.g:369:2: (type1= name ) - // src/grammar/wcps.g:369:4: type1= name + // src/grammar/wcps.g:370:2: (type1= name ) + // src/grammar/wcps.g:370:4: type1= name { root_0 = (Object)adaptor.nil(); @@ -9497,7 +9497,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "variableName" - // src/grammar/wcps.g:371:1: variableName returns [String value] : var= ( VARIABLE_DOLLAR | NAME ) ; + // src/grammar/wcps.g:372:1: variableName returns [String value] : var= ( VARIABLE_DOLLAR | NAME ) ; public final wcpsParser.variableName_return variableName() throws RecognitionException { wcpsParser.variableName_return retval = new wcpsParser.variableName_return(); retval.start = input.LT(1); @@ -9510,8 +9510,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 79) ) { return retval; } - // src/grammar/wcps.g:372:2: (var= ( VARIABLE_DOLLAR | NAME ) ) - // src/grammar/wcps.g:372:4: var= ( VARIABLE_DOLLAR | NAME ) + // src/grammar/wcps.g:373:2: (var= ( VARIABLE_DOLLAR | NAME ) ) + // src/grammar/wcps.g:373:4: var= ( VARIABLE_DOLLAR | NAME ) { root_0 = (Object)adaptor.nil(); @@ -9561,7 +9561,7 @@ public class wcpsParser extends Parser { }; // $ANTLR start "coverageName" - // src/grammar/wcps.g:374:1: coverageName returns [String value] : name ; + // src/grammar/wcps.g:375: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); @@ -9574,8 +9574,8 @@ public class wcpsParser extends Parser { try { if ( state.backtracking>0 && alreadyParsedRule(input, 80) ) { return retval; } - // src/grammar/wcps.g:375:2: ( name ) - // src/grammar/wcps.g:375:4: name + // src/grammar/wcps.g:376:2: ( name ) + // src/grammar/wcps.g:376:4: name { root_0 = (Object)adaptor.nil(); @@ -9618,8 +9618,8 @@ public class wcpsParser extends Parser { wcpsParser.coverageLogicTerm_return e2 = null; - // src/grammar/wcps.g:62:10: (op= ( OR | XOR ) e2= coverageLogicTerm ) - // src/grammar/wcps.g:62:10: op= ( OR | XOR ) e2= coverageLogicTerm + // src/grammar/wcps.g:63:10: (op= ( OR | XOR ) e2= coverageLogicTerm ) + // src/grammar/wcps.g:63:10: op= ( OR | XOR ) e2= coverageLogicTerm { op=(Token)input.LT(1); if ( (input.LA(1)>=OR && input.LA(1)<=XOR) ) { @@ -9648,11 +9648,11 @@ public class wcpsParser extends Parser { wcpsParser.coverageLogicFactor_return e2 = null; - // src/grammar/wcps.g:66:10: (op= ( AND ) e2= coverageLogicFactor ) - // src/grammar/wcps.g:66:10: op= ( AND ) e2= coverageLogicFactor + // src/grammar/wcps.g:67:10: (op= ( AND ) e2= coverageLogicFactor ) + // src/grammar/wcps.g:67:10: op= ( AND ) e2= coverageLogicFactor { - // src/grammar/wcps.g:66:13: ( AND ) - // src/grammar/wcps.g:66:14: AND + // src/grammar/wcps.g:67:13: ( AND ) + // src/grammar/wcps.g:67:14: AND { match(input,AND,FOLLOW_AND_in_synpred9_wcps417); if (state.failed) return ; @@ -9674,8 +9674,8 @@ public class wcpsParser extends Parser { wcpsParser.coverageArithmeticExpr_return e2 = null; - // src/grammar/wcps.g:70:10: (op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr ) - // src/grammar/wcps.g:70:10: op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr + // src/grammar/wcps.g:71:10: (op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr ) + // src/grammar/wcps.g:71:10: op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr { op=(Token)input.LT(1); if ( (input.LA(1)>=EQUALS && input.LA(1)<=GTE) ) { @@ -9704,8 +9704,8 @@ public class wcpsParser extends Parser { wcpsParser.coverageArithmeticTerm_return e2 = null; - // src/grammar/wcps.g:74:10: (op= ( PLUS | MINUS ) e2= coverageArithmeticTerm ) - // src/grammar/wcps.g:74:10: op= ( PLUS | MINUS ) e2= coverageArithmeticTerm + // src/grammar/wcps.g:75:10: (op= ( PLUS | MINUS ) e2= coverageArithmeticTerm ) + // src/grammar/wcps.g:75:10: op= ( PLUS | MINUS ) e2= coverageArithmeticTerm { op=(Token)input.LT(1); if ( (input.LA(1)>=PLUS && input.LA(1)<=MINUS) ) { @@ -9734,8 +9734,8 @@ public class wcpsParser extends Parser { wcpsParser.coverageArithmeticFactor_return e2 = null; - // src/grammar/wcps.g:78:10: (op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor ) - // src/grammar/wcps.g:78:10: op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor + // src/grammar/wcps.g:79:10: (op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor ) + // src/grammar/wcps.g:79:10: op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor { op=(Token)input.LT(1); if ( (input.LA(1)>=MULT && input.LA(1)<=DIVIDE) ) { @@ -9764,11 +9764,11 @@ public class wcpsParser extends Parser { wcpsParser.coverageValue_return e2 = null; - // src/grammar/wcps.g:82:10: (op= ( OVERLAY ) e2= coverageValue ) - // src/grammar/wcps.g:82:10: op= ( OVERLAY ) e2= coverageValue + // src/grammar/wcps.g:83:10: (op= ( OVERLAY ) e2= coverageValue ) + // src/grammar/wcps.g:83:10: op= ( OVERLAY ) e2= coverageValue { - // src/grammar/wcps.g:82:13: ( OVERLAY ) - // src/grammar/wcps.g:82:14: OVERLAY + // src/grammar/wcps.g:83:13: ( OVERLAY ) + // src/grammar/wcps.g:83:14: OVERLAY { match(input,OVERLAY,FOLLOW_OVERLAY_in_synpred20_wcps628); if (state.failed) return ; @@ -9789,8 +9789,8 @@ public class wcpsParser extends Parser { wcpsParser.subsetExpr_return e5 = null; - // src/grammar/wcps.g:85:7: (e5= subsetExpr ) - // src/grammar/wcps.g:85:7: e5= subsetExpr + // src/grammar/wcps.g:86:7: (e5= subsetExpr ) + // src/grammar/wcps.g:86:7: e5= subsetExpr { pushFollow(FOLLOW_subsetExpr_in_synpred21_wcps659); e5=subsetExpr(); @@ -9807,8 +9807,8 @@ public class wcpsParser extends Parser { wcpsParser.unaryInducedExpr_return e2 = null; - // src/grammar/wcps.g:86:7: (e2= unaryInducedExpr ) - // src/grammar/wcps.g:86:7: e2= unaryInducedExpr + // src/grammar/wcps.g:87:7: (e2= unaryInducedExpr ) + // src/grammar/wcps.g:87:7: e2= unaryInducedExpr { pushFollow(FOLLOW_unaryInducedExpr_in_synpred22_wcps672); e2=unaryInducedExpr(); @@ -9825,8 +9825,8 @@ public class wcpsParser extends Parser { wcpsParser.scalarExpr_return e2 = null; - // src/grammar/wcps.g:92:7: (e2= scalarExpr ) - // src/grammar/wcps.g:92:7: e2= scalarExpr + // src/grammar/wcps.g:93:7: (e2= scalarExpr ) + // src/grammar/wcps.g:93:7: e2= scalarExpr { pushFollow(FOLLOW_scalarExpr_in_synpred25_wcps731); e2=scalarExpr(); @@ -9843,8 +9843,8 @@ public class wcpsParser extends Parser { wcpsParser.coverageExpr_return e7 = null; - // src/grammar/wcps.g:94:7: ( LPAREN e7= coverageExpr RPAREN ) - // src/grammar/wcps.g:94:7: LPAREN e7= coverageExpr RPAREN + // src/grammar/wcps.g:95:7: ( LPAREN e7= coverageExpr RPAREN ) + // src/grammar/wcps.g:95:7: LPAREN e7= coverageExpr RPAREN { match(input,LPAREN,FOLLOW_LPAREN_in_synpred27_wcps753); if (state.failed) return ; pushFollow(FOLLOW_coverageExpr_in_synpred27_wcps757); @@ -9863,8 +9863,8 @@ public class wcpsParser extends Parser { wcpsParser.coverageConstantExpr_return e3 = null; - // src/grammar/wcps.g:95:7: (e3= coverageConstantExpr ) - // src/grammar/wcps.g:95:7: e3= coverageConstantExpr + // src/grammar/wcps.g:96:7: (e3= coverageConstantExpr ) + // src/grammar/wcps.g:96:7: e3= coverageConstantExpr { pushFollow(FOLLOW_coverageConstantExpr_in_synpred28_wcps772); e3=coverageConstantExpr(); @@ -9881,8 +9881,8 @@ public class wcpsParser extends Parser { wcpsParser.coverageConstructorExpr_return e4 = null; - // src/grammar/wcps.g:96:7: (e4= coverageConstructorExpr ) - // src/grammar/wcps.g:96:7: e4= coverageConstructorExpr + // src/grammar/wcps.g:97:7: (e4= coverageConstructorExpr ) + // src/grammar/wcps.g:97:7: e4= coverageConstructorExpr { pushFollow(FOLLOW_coverageConstructorExpr_in_synpred29_wcps784); e4=coverageConstructorExpr(); @@ -9899,8 +9899,8 @@ public class wcpsParser extends Parser { wcpsParser.metaDataExpr_return e1 = null; - // src/grammar/wcps.g:101:7: (e1= metaDataExpr ) - // src/grammar/wcps.g:101:7: e1= metaDataExpr + // src/grammar/wcps.g:102:7: (e1= metaDataExpr ) + // src/grammar/wcps.g:102:7: e1= metaDataExpr { pushFollow(FOLLOW_metaDataExpr_in_synpred31_wcps834); e1=metaDataExpr(); @@ -9917,8 +9917,8 @@ public class wcpsParser extends Parser { wcpsParser.condenseExpr_return e2 = null; - // src/grammar/wcps.g:102:7: (e2= condenseExpr ) - // src/grammar/wcps.g:102:7: e2= condenseExpr + // src/grammar/wcps.g:103:7: (e2= condenseExpr ) + // src/grammar/wcps.g:103:7: e2= condenseExpr { pushFollow(FOLLOW_condenseExpr_in_synpred32_wcps847); e2=condenseExpr(); @@ -9935,8 +9935,8 @@ public class wcpsParser extends Parser { wcpsParser.booleanScalarExpr_return e3 = null; - // src/grammar/wcps.g:103:7: (e3= booleanScalarExpr ) - // src/grammar/wcps.g:103:7: e3= booleanScalarExpr + // src/grammar/wcps.g:104:7: (e3= booleanScalarExpr ) + // src/grammar/wcps.g:104:7: e3= booleanScalarExpr { pushFollow(FOLLOW_booleanScalarExpr_in_synpred33_wcps860); e3=booleanScalarExpr(); @@ -9953,8 +9953,8 @@ public class wcpsParser extends Parser { wcpsParser.numericScalarExpr_return e4 = null; - // src/grammar/wcps.g:104:7: (e4= numericScalarExpr ) - // src/grammar/wcps.g:104:7: e4= numericScalarExpr + // src/grammar/wcps.g:105:7: (e4= numericScalarExpr ) + // src/grammar/wcps.g:105:7: e4= numericScalarExpr { pushFollow(FOLLOW_numericScalarExpr_in_synpred34_wcps874); e4=numericScalarExpr(); @@ -9971,8 +9971,8 @@ public class wcpsParser extends Parser { wcpsParser.stringScalarExpr_return e5 = null; - // src/grammar/wcps.g:105:7: (e5= stringScalarExpr ) - // src/grammar/wcps.g:105:7: e5= stringScalarExpr + // src/grammar/wcps.g:106:7: (e5= stringScalarExpr ) + // src/grammar/wcps.g:106:7: e5= stringScalarExpr { pushFollow(FOLLOW_stringScalarExpr_in_synpred35_wcps887); e5=stringScalarExpr(); @@ -9989,8 +9989,8 @@ public class wcpsParser extends Parser { wcpsParser.fieldExpr_return e6 = null; - // src/grammar/wcps.g:199:7: (e6= fieldExpr ) - // src/grammar/wcps.g:199:7: e6= fieldExpr + // src/grammar/wcps.g:200:7: (e6= fieldExpr ) + // src/grammar/wcps.g:200:7: e6= fieldExpr { pushFollow(FOLLOW_fieldExpr_in_synpred70_wcps2017); e6=fieldExpr(); @@ -10007,8 +10007,8 @@ public class wcpsParser extends Parser { wcpsParser.unaryArithmeticExpr_return e1 = null; - // src/grammar/wcps.g:200:4: (e1= unaryArithmeticExpr ) - // src/grammar/wcps.g:200:4: e1= unaryArithmeticExpr + // src/grammar/wcps.g:201:4: (e1= unaryArithmeticExpr ) + // src/grammar/wcps.g:201:4: e1= unaryArithmeticExpr { pushFollow(FOLLOW_unaryArithmeticExpr_in_synpred71_wcps2026); e1=unaryArithmeticExpr(); @@ -10025,8 +10025,8 @@ public class wcpsParser extends Parser { wcpsParser.booleanExpr_return e4 = null; - // src/grammar/wcps.g:203:7: (e4= booleanExpr ) - // src/grammar/wcps.g:203:7: e4= booleanExpr + // src/grammar/wcps.g:204:7: (e4= booleanExpr ) + // src/grammar/wcps.g:204:7: e4= booleanExpr { pushFollow(FOLLOW_booleanExpr_in_synpred74_wcps2062); e4=booleanExpr(); @@ -10043,8 +10043,8 @@ public class wcpsParser extends Parser { wcpsParser.trimExpr_return e1 = null; - // src/grammar/wcps.g:244:4: (e1= trimExpr ) - // src/grammar/wcps.g:244:4: e1= trimExpr + // src/grammar/wcps.g:245:4: (e1= trimExpr ) + // src/grammar/wcps.g:245:4: e1= trimExpr { pushFollow(FOLLOW_trimExpr_in_synpred99_wcps2544); e1=trimExpr(); @@ -10061,8 +10061,8 @@ public class wcpsParser extends Parser { wcpsParser.sliceExpr_return e2 = null; - // src/grammar/wcps.g:245:4: (e2= sliceExpr ) - // src/grammar/wcps.g:245:4: e2= sliceExpr + // src/grammar/wcps.g:246:4: (e2= sliceExpr ) + // src/grammar/wcps.g:246:4: e2= sliceExpr { pushFollow(FOLLOW_sliceExpr_in_synpred100_wcps2553); e2=sliceExpr(); @@ -10080,8 +10080,8 @@ public class wcpsParser extends Parser { wcpsParser.booleanScalarTerm_return e2 = null; - // src/grammar/wcps.g:273:8: (op= ( OR | XOR ) e2= booleanScalarTerm ) - // src/grammar/wcps.g:273:8: op= ( OR | XOR ) e2= booleanScalarTerm + // src/grammar/wcps.g:274:8: (op= ( OR | XOR ) e2= booleanScalarTerm ) + // src/grammar/wcps.g:274:8: op= ( OR | XOR ) e2= booleanScalarTerm { op=(Token)input.LT(1); if ( (input.LA(1)>=OR && input.LA(1)<=XOR) ) { @@ -10110,8 +10110,8 @@ public class wcpsParser extends Parser { wcpsParser.booleanScalarNegation_return e2 = null; - // src/grammar/wcps.g:277:5: (op= AND e2= booleanScalarNegation ) - // src/grammar/wcps.g:277:5: op= AND e2= booleanScalarNegation + // src/grammar/wcps.g:278:5: (op= AND e2= booleanScalarNegation ) + // src/grammar/wcps.g:278:5: op= AND e2= booleanScalarNegation { op=(Token)match(input,AND,FOLLOW_AND_in_synpred115_wcps2889); if (state.failed) return ; pushFollow(FOLLOW_booleanScalarNegation_in_synpred115_wcps2893); @@ -10129,8 +10129,8 @@ public class wcpsParser extends Parser { wcpsParser.booleanScalarExpr_return e1 = null; - // src/grammar/wcps.g:284:4: ( LPAREN e1= booleanScalarExpr RPAREN ) - // src/grammar/wcps.g:284:4: LPAREN e1= booleanScalarExpr RPAREN + // src/grammar/wcps.g:285:4: ( LPAREN e1= booleanScalarExpr RPAREN ) + // src/grammar/wcps.g:285:4: LPAREN e1= booleanScalarExpr RPAREN { match(input,LPAREN,FOLLOW_LPAREN_in_synpred117_wcps2942); if (state.failed) return ; pushFollow(FOLLOW_booleanScalarExpr_in_synpred117_wcps2946); @@ -10153,8 +10153,8 @@ public class wcpsParser extends Parser { wcpsParser.numericScalarExpr_return n2 = null; - // src/grammar/wcps.g:286:4: (n1= numericScalarExpr cop= compOp n2= numericScalarExpr ) - // src/grammar/wcps.g:286:4: n1= numericScalarExpr cop= compOp n2= numericScalarExpr + // src/grammar/wcps.g:287:4: (n1= numericScalarExpr cop= compOp n2= numericScalarExpr ) + // src/grammar/wcps.g:287:4: n1= numericScalarExpr cop= compOp n2= numericScalarExpr { pushFollow(FOLLOW_numericScalarExpr_in_synpred119_wcps2975); n1=numericScalarExpr(); @@ -10182,8 +10182,8 @@ public class wcpsParser extends Parser { wcpsParser.numericScalarTerm_return e2 = null; - // src/grammar/wcps.g:291:5: (op= ( PLUS | MINUS ) e2= numericScalarTerm ) - // src/grammar/wcps.g:291:5: op= ( PLUS | MINUS ) e2= numericScalarTerm + // src/grammar/wcps.g:292:5: (op= ( PLUS | MINUS ) e2= numericScalarTerm ) + // src/grammar/wcps.g:292:5: op= ( PLUS | MINUS ) e2= numericScalarTerm { op=(Token)input.LT(1); if ( (input.LA(1)>=PLUS && input.LA(1)<=MINUS) ) { @@ -10212,8 +10212,8 @@ public class wcpsParser extends Parser { wcpsParser.numericScalarFactor_return e2 = null; - // src/grammar/wcps.g:295:4: (op= ( MULT | DIVIDE ) e2= numericScalarFactor ) - // src/grammar/wcps.g:295:4: op= ( MULT | DIVIDE ) e2= numericScalarFactor + // src/grammar/wcps.g:296:4: (op= ( MULT | DIVIDE ) e2= numericScalarFactor ) + // src/grammar/wcps.g:296:4: op= ( MULT | DIVIDE ) e2= numericScalarFactor { op=(Token)input.LT(1); if ( (input.LA(1)>=MULT && input.LA(1)<=DIVIDE) ) { @@ -10241,8 +10241,8 @@ public class wcpsParser extends Parser { wcpsParser.numericScalarExpr_return e1 = null; - // src/grammar/wcps.g:298:7: ( LPAREN e1= numericScalarExpr RPAREN ) - // src/grammar/wcps.g:298:7: LPAREN e1= numericScalarExpr RPAREN + // src/grammar/wcps.g:299:7: ( LPAREN e1= numericScalarExpr RPAREN ) + // src/grammar/wcps.g:299:7: LPAREN e1= numericScalarExpr RPAREN { match(input,LPAREN,FOLLOW_LPAREN_in_synpred124_wcps3084); if (state.failed) return ; pushFollow(FOLLOW_numericScalarExpr_in_synpred124_wcps3088); @@ -10261,8 +10261,8 @@ public class wcpsParser extends Parser { wcpsParser.complexConstant_return e2 = null; - // src/grammar/wcps.g:303:7: (e2= complexConstant ) - // src/grammar/wcps.g:303:7: e2= complexConstant + // src/grammar/wcps.g:304:7: (e2= complexConstant ) + // src/grammar/wcps.g:304:7: e2= complexConstant { pushFollow(FOLLOW_complexConstant_in_synpred129_wcps3162); e2=complexConstant(); @@ -10281,8 +10281,8 @@ public class wcpsParser extends Parser { wcpsParser.scalarExpr_return e2 = null; - // src/grammar/wcps.g:323:7: (e1= scalarExpr COLON e2= scalarExpr ) - // src/grammar/wcps.g:323:7: e1= scalarExpr COLON e2= scalarExpr + // src/grammar/wcps.g:324:7: (e1= scalarExpr COLON e2= scalarExpr ) + // src/grammar/wcps.g:324:7: e1= scalarExpr COLON e2= scalarExpr { pushFollow(FOLLOW_scalarExpr_in_synpred137_wcps3338); e1=scalarExpr(); @@ -10827,7 +10827,7 @@ public class wcpsParser extends Parser { this.transition = DFA4_transition; } public String getDescription() { - return "48:1: processingExpr returns [ProcessingExpr value] : (e1= encodedCoverageExpr | e2= storeExpr | e3= scalarExpr );"; + return "49:1: processingExpr returns [ProcessingExpr value] : (e1= encodedCoverageExpr | e2= storeExpr | e3= scalarExpr );"; } } static final String DFA6_eotS = @@ -10925,7 +10925,7 @@ public class wcpsParser extends Parser { this.transition = DFA6_transition; } public String getDescription() { - return "()* loopback of 62:9: (op= ( OR | XOR ) e2= coverageLogicTerm )*"; + return "()* loopback of 63:9: (op= ( OR | XOR ) e2= coverageLogicTerm )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -11049,7 +11049,7 @@ public class wcpsParser extends Parser { this.transition = DFA7_transition; } public String getDescription() { - return "()* loopback of 66:9: (op= ( AND ) e2= coverageLogicFactor )*"; + return "()* loopback of 67:9: (op= ( AND ) e2= coverageLogicFactor )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -11173,7 +11173,7 @@ public class wcpsParser extends Parser { this.transition = DFA8_transition; } public String getDescription() { - return "70:9: (op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr )?"; + return "71:9: (op= ( EQUALS | NOTEQUALS | LT | GT | LTE | GTE ) e2= coverageArithmeticExpr )?"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -11297,7 +11297,7 @@ public class wcpsParser extends Parser { this.transition = DFA9_transition; } public String getDescription() { - return "()* loopback of 74:9: (op= ( PLUS | MINUS ) e2= coverageArithmeticTerm )*"; + return "()* loopback of 75:9: (op= ( PLUS | MINUS ) e2= coverageArithmeticTerm )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -11421,7 +11421,7 @@ public class wcpsParser extends Parser { this.transition = DFA10_transition; } public String getDescription() { - return "()* loopback of 78:9: (op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor )*"; + return "()* loopback of 79:9: (op= ( MULT | DIVIDE ) e2= coverageArithmeticFactor )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -11545,7 +11545,7 @@ public class wcpsParser extends Parser { this.transition = DFA11_transition; } public String getDescription() { - return "()* loopback of 82:9: (op= ( OVERLAY ) e2= coverageValue )*"; + return "()* loopback of 83:9: (op= ( OVERLAY ) e2= coverageValue )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -11663,7 +11663,7 @@ public class wcpsParser extends Parser { this.transition = DFA12_transition; } public String getDescription() { - return "84:1: coverageValue returns [CoverageExpr value] : (e5= subsetExpr | e2= unaryInducedExpr | e4= scaleExpr | e3= crsTransformExpr | e1= coverageAtom );"; + return "85:1: coverageValue returns [CoverageExpr value] : (e5= subsetExpr | e2= unaryInducedExpr | e4= scaleExpr | e3= crsTransformExpr | e1= coverageAtom );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -12257,7 +12257,7 @@ public class wcpsParser extends Parser { this.transition = DFA13_transition; } public String getDescription() { - return "91:1: coverageAtom returns [CoverageExpr value] : (e2= scalarExpr | e1= variableName | LPAREN e7= coverageExpr RPAREN | e3= coverageConstantExpr | e4= coverageConstructorExpr | e5= setMetaDataExpr | e6= rangeConstructorExpr );"; + return "92:1: coverageAtom returns [CoverageExpr value] : (e2= scalarExpr | e1= variableName | LPAREN e7= coverageExpr RPAREN | e3= coverageConstantExpr | e4= coverageConstructorExpr | e5= setMetaDataExpr | e6= rangeConstructorExpr );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -12727,7 +12727,7 @@ public class wcpsParser extends Parser { this.transition = DFA14_transition; } public String getDescription() { - return "100:1: scalarExpr returns [ScalarExpr value] : (e1= metaDataExpr | e2= condenseExpr | e3= booleanScalarExpr | e4= numericScalarExpr | e5= stringScalarExpr | LPAREN e6= scalarExpr RPAREN );"; + return "101:1: scalarExpr returns [ScalarExpr value] : (e1= metaDataExpr | e2= condenseExpr | e3= booleanScalarExpr | e4= numericScalarExpr | e5= stringScalarExpr | LPAREN e6= scalarExpr RPAREN );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -13406,7 +13406,7 @@ public class wcpsParser extends Parser { this.transition = DFA34_transition; } public String getDescription() { - return "198:1: unaryInducedExpr returns [CoverageExpr value] : (e6= fieldExpr | e1= unaryArithmeticExpr | e2= exponentialExpr | e3= trigonometricExpr | e4= booleanExpr | e5= castExpr | e7= rangeConstructorExpr );"; + return "199:1: unaryInducedExpr returns [CoverageExpr value] : (e6= fieldExpr | e1= unaryArithmeticExpr | e2= exponentialExpr | e3= trigonometricExpr | e4= booleanExpr | e5= castExpr | e7= rangeConstructorExpr );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -13905,7 +13905,7 @@ public class wcpsParser extends Parser { this.transition = DFA42_transition; } public String getDescription() { - return "243:1: subsetExpr returns [SubsetExpr value] : (e1= trimExpr | e2= sliceExpr | e3= extendExpr );"; + return "244:1: subsetExpr returns [SubsetExpr value] : (e1= trimExpr | e2= sliceExpr | e3= extendExpr );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -15540,7 +15540,7 @@ public class wcpsParser extends Parser { this.transition = DFA43_transition; } public String getDescription() { - return "248:1: trimExpr returns [TrimExpr value] : (e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET | TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN );"; + return "249:1: trimExpr returns [TrimExpr value] : (e1= coverageAtom LBRACKET dil= dimensionIntervalList RBRACKET | TRIM LPAREN e2= coverageExpr COMMA LBRACE dil= dimensionIntervalList RBRACE RPAREN );"; } } static final String DFA44_eotS = @@ -15619,7 +15619,7 @@ public class wcpsParser extends Parser { this.transition = DFA44_transition; } public String getDescription() { - return "252:1: sliceExpr returns [SliceExpr value] : (e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET | SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN );"; + return "253:1: sliceExpr returns [SliceExpr value] : (e1= coverageAtom LBRACKET dpl= dimensionPointList RBRACKET | SLICE LPAREN e2= coverageExpr COMMA LBRACE dpl= dimensionPointList RBRACE RPAREN );"; } } static final String DFA47_eotS = @@ -15766,7 +15766,7 @@ public class wcpsParser extends Parser { this.transition = DFA47_transition; } public String getDescription() { - return "()* loopback of 273:7: (op= ( OR | XOR ) e2= booleanScalarTerm )*"; + return "()* loopback of 274:7: (op= ( OR | XOR ) e2= booleanScalarTerm )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -15917,7 +15917,7 @@ public class wcpsParser extends Parser { this.transition = DFA48_transition; } public String getDescription() { - return "()* loopback of 277:4: (op= AND e2= booleanScalarNegation )*"; + return "()* loopback of 278:4: (op= AND e2= booleanScalarNegation )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -16004,7 +16004,7 @@ public class wcpsParser extends Parser { this.transition = DFA49_transition; } public String getDescription() { - return "279:1: booleanScalarNegation returns [BooleanScalarExpr value] : (e1= booleanScalarAtom | op= NOT e1= booleanScalarAtom );"; + return "280:1: booleanScalarNegation returns [BooleanScalarExpr value] : (e1= booleanScalarAtom | op= NOT e1= booleanScalarAtom );"; } } static final String DFA50_eotS = @@ -16076,7 +16076,7 @@ public class wcpsParser extends Parser { this.transition = DFA50_transition; } public String getDescription() { - return "283:1: booleanScalarAtom returns [BooleanScalarExpr value] : ( LPAREN e1= booleanScalarExpr RPAREN | s1= stringScalarExpr cop= compOp s2= stringScalarExpr | n1= numericScalarExpr cop= compOp n2= numericScalarExpr | e= BOOLEANCONSTANT );"; + return "284: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; @@ -16302,7 +16302,7 @@ public class wcpsParser extends Parser { this.transition = DFA51_transition; } public String getDescription() { - return "()* loopback of 291:4: (op= ( PLUS | MINUS ) e2= numericScalarTerm )*"; + return "()* loopback of 292:4: (op= ( PLUS | MINUS ) e2= numericScalarTerm )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -16438,7 +16438,7 @@ public class wcpsParser extends Parser { this.transition = DFA52_transition; } public String getDescription() { - return "()* loopback of 295:3: (op= ( MULT | DIVIDE ) e2= numericScalarFactor )*"; + return "()* loopback of 296:3: (op= ( MULT | DIVIDE ) e2= numericScalarFactor )*"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -16530,7 +16530,7 @@ public class wcpsParser extends Parser { this.transition = DFA53_transition; } public String getDescription() { - return "297:1: numericScalarFactor returns [NumericScalarExpr value] : ( LPAREN e1= numericScalarExpr RPAREN | op= MINUS e10= numericScalarFactor | op= ROUND LPAREN e1= numericScalarExpr RPAREN | e= INTEGERCONSTANT | e= FLOATCONSTANT | e2= complexConstant | e3= condenseExpr );"; + return "298:1: numericScalarFactor returns [NumericScalarExpr value] : ( LPAREN e1= numericScalarExpr RPAREN | op= MINUS e10= numericScalarFactor | op= ROUND LPAREN e1= numericScalarExpr RPAREN | e= INTEGERCONSTANT | e= FLOATCONSTANT | e2= complexConstant | e3= condenseExpr );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; @@ -16626,7 +16626,7 @@ public class wcpsParser extends Parser { this.transition = DFA57_transition; } public String getDescription() { - return "322:1: dimensionIntervalExpr returns [DimensionIntervalExpr value] : (e1= scalarExpr COLON e2= scalarExpr | DOMAIN LPAREN e3= coverageName COLON e4= axisName COLON e5= crsName RPAREN );"; + return "323: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; diff --git a/src/grammar/wcps_grammar.g b/src/grammar/wcps_no_actions.g index 0524f4f..807b7e5 100644 --- a/src/grammar/wcps_grammar.g +++ b/src/grammar/wcps_no_actions.g @@ -8,9 +8,9 @@ History: 13 02 2009 andreia Fixed small bugs in grammar. Now it can fully compile. 21 04 2009 andreia Removed comments. 04 05 2009 andreia Fixed bugs in integer declaration. -19 05 2009 andreia Fixed some other weird bugs. Grammar passes all tests now. +19 05 2009 andreia Fixed some other weird bugs. Grammar passes all tests now. */ -grammar wcps_grammar; +grammar wcps_no_actions; options{ backtrack=true; memoize=true; diff --git a/src/wcps/server/core/AxisIterator.java b/src/wcps/server/core/AxisIterator.java new file mode 100644 index 0000000..3e3b568 --- /dev/null +++ b/src/wcps/server/core/AxisIterator.java @@ -0,0 +1,80 @@ +/*
+ * 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 wcps.server.core;
+
+import org.w3c.dom.*;
+
+public class AxisIterator implements IRasNode
+{
+ private String var;
+ private AxisName axis;
+ private NumericScalarExpr hi,lo;
+
+ public AxisIterator(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ {
+
+ while ((node != null) && node.getNodeName().equals("#text"))
+ {
+ node = node.getNextSibling();
+ }
+ System.err.println("Trying to parse AxisIterator ");
+
+ while (node != null)
+ {
+ String nodeName = node.getNodeName();
+
+ if (nodeName.equals("iteratorVar"))
+ {
+ var = node.getTextContent();
+ }
+ else if (nodeName.equals("axis"))
+ {
+ axis = new AxisName(node, pcr);
+ }
+ else
+ {
+ // Should contain the limits
+ // TODO: Implement ImageCrsDomainMetadataType class
+ if (lo == null)
+ lo = new NumericScalarExpr(node, pcr);
+ else if (hi == null)
+ hi = new NumericScalarExpr(node, pcr);
+ else
+ throw new WCPSException("Unknown node in AxisIterator: " + nodeName);
+ }
+
+ node = node.getNextSibling();
+ while ((node != null) && node.getNodeName().equals("#text"))
+ {
+ node = node.getNextSibling();
+ }
+ }
+ }
+
+ public String toRasQL()
+ {
+ String result = var + " in (" + lo.toRasQL() + "):(" + hi.toRasQL() + ")";
+ return result;
+ }
+}
diff --git a/src/wcps/server/core/AxisNameType.java b/src/wcps/server/core/AxisName.java index bc2af50..16b6e1f 100644 --- a/src/wcps/server/core/AxisNameType.java +++ b/src/wcps/server/core/AxisName.java @@ -25,11 +25,11 @@ package wcps.server.core; import org.w3c.dom.*;
-public class AxisNameType implements IRasNode
+public class AxisName implements IRasNode
{
private String name;
- public AxisNameType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public AxisName(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
System.err.println("Trying axis node: " + node.getNodeName());
diff --git a/src/wcps/server/core/BinaryOperationCoverageExprType.java b/src/wcps/server/core/BinaryOperationCoverageExpr.java index dec51c9..e77529d 100644 --- a/src/wcps/server/core/BinaryOperationCoverageExprType.java +++ b/src/wcps/server/core/BinaryOperationCoverageExpr.java @@ -25,14 +25,14 @@ package wcps.server.core; import org.w3c.dom.*;
-public class BinaryOperationCoverageExprType implements IRasNode, ICoverageInfo
+public class BinaryOperationCoverageExpr implements IRasNode, ICoverageInfo
{
private IRasNode first, second;
private CoverageExprPairType pair;
private CoverageInfo info;
private String operation;
- public BinaryOperationCoverageExprType(Node node, ProcessCoveragesRequest pcr)
+ public BinaryOperationCoverageExpr(Node node, ProcessCoveragesRequest pcr)
throws WCPSException
{
String nodeName = node.getNodeName();
diff --git a/src/wcps/server/core/BooleanScalarExprType.java b/src/wcps/server/core/BooleanScalarExpr.java index e44dca4..95daa26 100644 --- a/src/wcps/server/core/BooleanScalarExprType.java +++ b/src/wcps/server/core/BooleanScalarExpr.java @@ -25,14 +25,14 @@ package wcps.server.core; import org.w3c.dom.*;
-public class BooleanScalarExprType implements IRasNode
+public class BooleanScalarExpr implements IRasNode
{
- private BooleanScalarExprType first, second;
+ private BooleanScalarExpr first, second;
private String op;
private boolean simple; // true if the expression is just a value
private String value;
- public BooleanScalarExprType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public BooleanScalarExpr(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
if (node == null)
throw new WCPSException("Unexpected null node !");
@@ -87,14 +87,14 @@ public class BooleanScalarExprType implements IRasNode Node child = node.getFirstChild();
- first = new BooleanScalarExprType(child, pcr);
+ first = new BooleanScalarExpr(child, pcr);
child = child.getNextSibling();
- second = new BooleanScalarExprType(child, pcr);
+ second = new BooleanScalarExpr(child, pcr);
}
else if (nodeName.equals("booleanNot"))
{
op = "not";
- first = new BooleanScalarExprType(node.getFirstChild(), pcr);
+ first = new BooleanScalarExpr(node.getFirstChild(), pcr);
}
else
{
diff --git a/src/wcps/server/core/ComplexConstantType.java b/src/wcps/server/core/ComplexConstant.java index 38a08ff..a222442 100644 --- a/src/wcps/server/core/ComplexConstantType.java +++ b/src/wcps/server/core/ComplexConstant.java @@ -25,11 +25,11 @@ package wcps.server.core; import org.w3c.dom.*;
-public class ComplexConstantType implements IRasNode
+public class ComplexConstant implements IRasNode
{
private String re, im;
- public ComplexConstantType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public ComplexConstant(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
System.err.println("Parsing complex constant: " + node.getNodeName());
diff --git a/src/wcps/server/core/CondenseScalarExprType.java b/src/wcps/server/core/CondenseScalarExpr.java index 67f0220..f469120 100644 --- a/src/wcps/server/core/CondenseScalarExprType.java +++ b/src/wcps/server/core/CondenseScalarExpr.java @@ -26,9 +26,9 @@ package wcps.server.core; import org.w3c.dom.*;
// TODO: implement CondenseScalarExprType
-public class CondenseScalarExprType implements IRasNode
+public class CondenseScalarExpr implements IRasNode
{
- public CondenseScalarExprType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public CondenseScalarExpr(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
throw new WCPSException("Method not implemented");
}
diff --git a/src/wcps/server/core/ConstantCoverageExprType.java b/src/wcps/server/core/ConstantCoverageExpr.java index c5de6c9..70180c0 100644 --- a/src/wcps/server/core/ConstantCoverageExprType.java +++ b/src/wcps/server/core/ConstantCoverageExpr.java @@ -26,9 +26,9 @@ package wcps.server.core; import org.w3c.dom.*;
// TODO: implement class ConstantCoverageExprType
-public class ConstantCoverageExprType implements IRasNode, ICoverageInfo
+public class ConstantCoverageExpr implements IRasNode, ICoverageInfo
{
- public ConstantCoverageExprType(Node node, ProcessCoveragesRequest pcr)
+ public ConstantCoverageExpr(Node node, ProcessCoveragesRequest pcr)
throws WCPSException
{
throw new WCPSException("Method not implemented");
diff --git a/src/wcps/server/core/ConstructCoverageExprType.java b/src/wcps/server/core/ConstructCoverageExpr.java index 2a127e4..086a1e0 100644 --- a/src/wcps/server/core/ConstructCoverageExprType.java +++ b/src/wcps/server/core/ConstructCoverageExpr.java @@ -23,12 +23,19 @@ package wcps.server.core;
+import java.util.Vector;
import org.w3c.dom.*;
-// TODO: implement class ConstructCoverageExprType
-public class ConstructCoverageExprType implements IRasNode, ICoverageInfo
+// TODO implement class ConstructCoverage Expr
+public class ConstructCoverageExpr implements IRasNode, ICoverageInfo
{
- public ConstructCoverageExprType(Node node, ProcessCoveragesRequest pcr)
+
+ private String covName;
+ private Vector<AxisIterator> iterators;
+ private IRasNode values;
+
+
+ public ConstructCoverageExpr(Node node, ProcessCoveragesRequest pcr)
throws WCPSException
{
throw new WCPSException("Method not implemented");
@@ -36,7 +43,8 @@ public class ConstructCoverageExprType implements IRasNode, ICoverageInfo public String toRasQL()
{
- return "";
+ String result = "";
+ return result;
}
public CoverageInfo getCoverageInfo()
diff --git a/src/wcps/server/core/CoverageExprType.java b/src/wcps/server/core/CoverageExpr.java index 0225682..740bb53 100644 --- a/src/wcps/server/core/CoverageExprType.java +++ b/src/wcps/server/core/CoverageExpr.java @@ -27,14 +27,16 @@ import org.w3c.dom.*; import java.util.Iterator;
-public class CoverageExprType implements IRasNode, ICoverageInfo
+
+
+public class CoverageExpr implements IRasNode, ICoverageInfo
{
private IRasNode child;
private String childInfo;
private CoverageInfo info;
private boolean simpleCoverage; // True is the coverage is just a string
- public CoverageExprType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public CoverageExpr(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
while ((node != null) && node.getNodeName().equals("#text"))
{
@@ -84,22 +86,22 @@ public class CoverageExprType implements IRasNode, ICoverageInfo else if (nodeName.equals("crsTransform"))
{
// TODO: implement CrsTransform class
- child = new CrsTransformCoverageExprType(node, pcr);
+ child = new CrsTransformCoverageExpr(node, pcr);
}
else if (nodeName.equals("scale"))
{
// TODO: implement class ScaleCoverageExprType
- child = new ScaleCoverageExprType(node, pcr);
+ child = new ScaleCoverageExpr(node, pcr);
}
else if (nodeName.equals("construct"))
{
// TODO: implement ConstructCoverageExprType class
- child = new ConstructCoverageExprType(node, pcr);
+ child = new ConstructCoverageExpr(node, pcr);
}
else if (nodeName.equals("const"))
{
// TODO: implement class ConstantCoverageExprType
- child = new ConstantCoverageExprType(node.getFirstChild(), pcr);
+ child = new ConstantCoverageExpr(node.getFirstChild(), pcr);
}
else
{ // Try one of the groups
@@ -109,7 +111,7 @@ public class CoverageExprType implements IRasNode, ICoverageInfo {
try
{
- child = new SetMetadataCoverageExprType(node, pcr);
+ child = new SetMetadataCoverageExpr(node, pcr);
System.err.println("Matched set metadata operation.");
}
catch (WCPSException e)
@@ -124,7 +126,7 @@ public class CoverageExprType implements IRasNode, ICoverageInfo {
try
{
- child = new InducedOperationCoverageExprType(node, pcr);
+ child = new InducedOperationCoverageExpr(node, pcr);
System.err.println("Matched induced coverage expression operation.");
}
catch (WCPSException e)
@@ -141,7 +143,7 @@ public class CoverageExprType implements IRasNode, ICoverageInfo {
try
{
- child = new SubsetOperationCoverageExprType(node, pcr);
+ child = new SubsetOperationCoverageExpr(node, pcr);
System.err.println("Matched subset operation.");
}
catch (WCPSException e)
@@ -184,6 +186,4 @@ public class CoverageExprType implements IRasNode, ICoverageInfo }
}
}
-
-
;
diff --git a/src/wcps/server/core/CoverageExprPairType.java b/src/wcps/server/core/CoverageExprPairType.java index eac6cc9..71bed2e 100644 --- a/src/wcps/server/core/CoverageExprPairType.java +++ b/src/wcps/server/core/CoverageExprPairType.java @@ -42,8 +42,8 @@ public class CoverageExprPairType implements IRasNode, ICoverageInfo // Combination 1: CoverageExprType + CoverageExprType
try
{
- first = new CoverageExprType(node, pcr);
- second = new CoverageExprType(node.getNextSibling(), pcr);
+ first = new CoverageExpr(node, pcr);
+ second = new CoverageExpr(node.getNextSibling(), pcr);
info = new CoverageInfo(((ICoverageInfo) first).getCoverageInfo());
ok = true;
}
@@ -56,8 +56,8 @@ public class CoverageExprPairType implements IRasNode, ICoverageInfo if (ok == false)
try
{
- first = new CoverageExprType(node, pcr);
- second = new ScalarExprType(node.getNextSibling(), pcr);
+ first = new CoverageExpr(node, pcr);
+ second = new ScalarExpr(node.getNextSibling(), pcr);
info = new CoverageInfo(((ICoverageInfo) first).getCoverageInfo());
ok = true;
}
@@ -70,8 +70,8 @@ public class CoverageExprPairType implements IRasNode, ICoverageInfo if (ok == false)
try
{
- first = new ScalarExprType(node, pcr);
- second = new CoverageExprType(node.getNextSibling(), pcr);
+ first = new ScalarExpr(node, pcr);
+ second = new CoverageExpr(node.getNextSibling(), pcr);
info = new CoverageInfo(((ICoverageInfo) second).getCoverageInfo());
ok = true;
}
diff --git a/src/wcps/server/core/CoverageIterator.java b/src/wcps/server/core/CoverageIterator.java index dd94a7b..c62a970 100644 --- a/src/wcps/server/core/CoverageIterator.java +++ b/src/wcps/server/core/CoverageIterator.java @@ -42,8 +42,8 @@ public class CoverageIterator implements IRasNode if (! x.getNodeName().equals("coverageIterator"))
{
- throw new WCPSException("Invalid cast form " + x.getNodeName()
- + " XML node to CoverageIterator class");
+ throw new WCPSException("Invalid cast from " + x.getNodeName()
+ + " XML node to CoverageIterator node");
}
Node it = x.getFirstChild();
diff --git a/src/wcps/server/core/CrsNameType.java b/src/wcps/server/core/CrsName.java index 6bf71c0..308b891 100644 --- a/src/wcps/server/core/CrsNameType.java +++ b/src/wcps/server/core/CrsName.java @@ -25,11 +25,11 @@ package wcps.server.core; import org.w3c.dom.*;
-public class CrsNameType implements IRasNode
+public class CrsName implements IRasNode
{
private String crs;
- public CrsNameType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public CrsName(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
System.err.println("Parsing crs name ...");
diff --git a/src/wcps/server/core/CrsTransformCoverageExprType.java b/src/wcps/server/core/CrsTransformCoverageExpr.java index d1cc9ec..08a303e 100644 --- a/src/wcps/server/core/CrsTransformCoverageExprType.java +++ b/src/wcps/server/core/CrsTransformCoverageExpr.java @@ -26,9 +26,9 @@ package wcps.server.core; import org.w3c.dom.*;
//TODO(smsorin): how do we do combine this ?
-public class CrsTransformCoverageExprType implements IRasNode, ICoverageInfo
+public class CrsTransformCoverageExpr implements IRasNode, ICoverageInfo
{
- public CrsTransformCoverageExprType(Node node, ProcessCoveragesRequest pcr)
+ public CrsTransformCoverageExpr(Node node, ProcessCoveragesRequest pcr)
throws WCPSException
{
throw new WCPSException("Method not implemented");
diff --git a/src/wcps/server/core/DbMetadataSource.java b/src/wcps/server/core/DbMetadataSource.java index 3667251..a7c5d42 100644 --- a/src/wcps/server/core/DbMetadataSource.java +++ b/src/wcps/server/core/DbMetadataSource.java @@ -102,7 +102,7 @@ public class DbMetadataSource implements MetadataSource axisTypes = new HashMap<Integer, String>(5);
s = connection.createStatement();
- ResultSet r = s.executeQuery("SELECT id, axisType FROM WCPS_AxisType");
+ ResultSet r = s.executeQuery("SELECT id, axisType FROM PS_AxisType");
while (r.next())
{
@@ -110,7 +110,7 @@ public class DbMetadataSource implements MetadataSource }
dataTypes = new HashMap<Integer, String>(13);
- r = s.executeQuery("SELECT id, dataType FROM WCPS_Datatype");
+ r = s.executeQuery("SELECT id, dataType FROM PS_Datatype");
while (r.next())
{
@@ -119,7 +119,7 @@ public class DbMetadataSource implements MetadataSource interpolationTypes = new HashMap<Integer, String>(5);
r = s.executeQuery(
- "SELECT id, interpolationType FROM WCPS_InterpolationType");
+ "SELECT id, interpolationType FROM PS_InterpolationType");
while (r.next())
{
@@ -129,7 +129,7 @@ public class DbMetadataSource implements MetadataSource nullResistances = new HashMap<Integer, String>(4);
r = s.executeQuery(
- "SELECT id, nullResistance FROM WCPS_NullResistance");
+ "SELECT id, nullResistance FROM PS_NullResistance");
while (r.next())
{
@@ -137,7 +137,7 @@ public class DbMetadataSource implements MetadataSource }
crss = new HashMap<Integer, String>();
- r = s.executeQuery("SELECT id, name FROM WCPS_Crs");
+ r = s.executeQuery("SELECT id, name FROM PS_Crs");
while (r.next())
{
@@ -145,7 +145,7 @@ public class DbMetadataSource implements MetadataSource }
supportedFormats = new HashMap<String, String>(6);
- r = s.executeQuery("SELECT name, mimetype FROM WCPS_Format");
+ r = s.executeQuery("SELECT name, mimetype FROM PS_Format");
while (r.next())
{
@@ -226,7 +226,7 @@ public class DbMetadataSource implements MetadataSource ensureConnection();
s = connection.createStatement();
- ResultSet r = s.executeQuery("SELECT name FROM WCPS_Coverage");
+ ResultSet r = s.executeQuery("SELECT name FROM PS_Coverage");
coverages = new HashSet<String>(r.getFetchSize());
@@ -280,7 +280,7 @@ public class DbMetadataSource implements MetadataSource ResultSet r =
s.executeQuery(
- "SELECT id, nullDefault, interpolationTypeDefault, nullResistanceDefault FROM WCPS_Coverage WHERE name = '"
+ "SELECT id, nullDefault, interpolationTypeDefault, nullResistanceDefault FROM PS_Coverage WHERE name = '"
+ coverageName + "'");
if (!r.next())
@@ -296,7 +296,7 @@ public class DbMetadataSource implements MetadataSource String nullResistanceDefault =
nullResistances.get(r.getInt("nullResistanceDefault"));
- r = s.executeQuery("SELECT lo, hi FROM WCPS_CellDomain WHERE coverage = '"
+ r = s.executeQuery("SELECT lo, hi FROM PS_CellDomain WHERE coverage = '"
+ coverage + "' ORDER BY i ASC");
List<CellDomainElement> cellDomain =
new ArrayList<CellDomainElement>(r.getFetchSize());
@@ -309,7 +309,7 @@ public class DbMetadataSource implements MetadataSource BigInteger.valueOf(r.getInt("hi"))));
}
- r = s.executeQuery("SELECT name, type FROM WCPS_Range WHERE coverage = '"
+ r = s.executeQuery("SELECT name, type FROM PS_Range WHERE coverage = '"
+ coverage + "' ORDER BY i ASC");
List<RangeElement> range = new ArrayList<RangeElement>(r.getFetchSize());
@@ -320,7 +320,7 @@ public class DbMetadataSource implements MetadataSource }
r = s.executeQuery(
- "SELECT interpolationType, nullResistance FROM WCPS_InterpolationSet WHERE coverage = '"
+ "SELECT interpolationType, nullResistance FROM PS_InterpolationSet WHERE coverage = '"
+ coverage + "'");
Set<InterpolationMethod> interpolationSet =
new HashSet<InterpolationMethod>(r.getFetchSize());
@@ -333,7 +333,7 @@ public class DbMetadataSource implements MetadataSource nullResistances.get(r.getInt("nullResistance"))));
}
- r = s.executeQuery("SELECT nullValue FROM WCPS_NullSet WHERE coverage = '"
+ r = s.executeQuery("SELECT nullValue FROM PS_NullSet WHERE coverage = '"
+ coverage + "'");
Set<String> nullSet = new HashSet<String>(r.getFetchSize());
@@ -343,7 +343,7 @@ public class DbMetadataSource implements MetadataSource }
r = s.executeQuery(
- "SELECT id, name, type, numLo, numHi, strLo, strHi FROM WCPS_Domain WHERE coverage = '"
+ "SELECT id, name, type, numLo, numHi, strLo, strHi FROM PS_Domain WHERE coverage = '"
+ coverage + "' ORDER BY i ASC");
List<DomainElement> domain = new ArrayList<DomainElement>(r.getFetchSize());
Statement ss = connection.createStatement();
@@ -365,7 +365,7 @@ public class DbMetadataSource implements MetadataSource }
ResultSet rr = ss.executeQuery(
- "SELECT crs FROM WCPS_CrsSet WHERE axis = '"
+ "SELECT crs FROM PS_CrsSet WHERE axis = '"
+ r.getInt("id") + "'");
Set<String> crsSet = new HashSet<String>(rr.getFetchSize());
diff --git a/src/wcps/server/core/DimensionIntervalElement.java b/src/wcps/server/core/DimensionIntervalElement.java index b4b3504..1374b5a 100644 --- a/src/wcps/server/core/DimensionIntervalElement.java +++ b/src/wcps/server/core/DimensionIntervalElement.java @@ -29,8 +29,8 @@ public class DimensionIntervalElement implements IRasNode, ICoverageInfo {
private IRasNode child;
private CoverageInfo info = null;
- private AxisNameType axis;
- private CrsNameType crs;
+ private AxisName axis;
+ private CrsName crs;
private IRasNode domain1, domain2; // lower and upper bound, or "DomainMetadataExprType" and null
private int counter = 0; // counter for the domain vars
private boolean finished = false;
@@ -86,7 +86,7 @@ public class DimensionIntervalElement implements IRasNode, ICoverageInfo // Try Axis
try
{
- axis = new AxisNameType(node, pcr);
+ axis = new AxisName(node, pcr);
node = node.getNextSibling();
continue;
}
@@ -98,7 +98,7 @@ public class DimensionIntervalElement implements IRasNode, ICoverageInfo // Try CRS name
try
{
- crs = new CrsNameType(node, pcr);
+ crs = new CrsName(node, pcr);
node = node.getNextSibling();
if (axis == null)
throw new WCPSException("Expected Axis node before CRS !");
@@ -127,7 +127,7 @@ public class DimensionIntervalElement implements IRasNode, ICoverageInfo if (node.getNodeName().equals("lowerBound"))
{
counter = 2;
- domain1 = new ScalarExprType(node.getFirstChild(), pcr);
+ domain1 = new ScalarExpr(node.getFirstChild(), pcr);
if (axis == null)
throw new WCPSException("Expected <axis> node before <lowerBound> !");
}
@@ -135,7 +135,7 @@ public class DimensionIntervalElement implements IRasNode, ICoverageInfo if (node.getNodeName().equals("upperBound"))
{
counter = 2;
- domain2 = new ScalarExprType(node.getFirstChild(), pcr);
+ domain2 = new ScalarExpr(node.getFirstChild(), pcr);
if (axis == null)
throw new WCPSException("Expected <lowerBound> node before <upperBound> !");
}
diff --git a/src/wcps/server/core/DimensionPointElement.java b/src/wcps/server/core/DimensionPointElement.java index cd017ce..3d47450 100644 --- a/src/wcps/server/core/DimensionPointElement.java +++ b/src/wcps/server/core/DimensionPointElement.java @@ -28,8 +28,8 @@ import org.w3c.dom.*; public class DimensionPointElement implements IRasNode
{
private IRasNode domain, child;
- private AxisNameType axis;
- private CrsNameType crs;
+ private AxisName axis;
+ private CrsName crs;
private boolean finished = false;
private Node nextNode;
@@ -58,7 +58,7 @@ public class DimensionPointElement implements IRasNode // Try Axis
try
{
- axis = new AxisNameType(node, pcr);
+ axis = new AxisName(node, pcr);
node = node.getNextSibling();
continue;
}
@@ -70,7 +70,7 @@ public class DimensionPointElement implements IRasNode // Try CRS name
try
{
- crs = new CrsNameType(node, pcr);
+ crs = new CrsName(node, pcr);
node = node.getNextSibling();
if (axis == null)
throw new WCPSException("Expected Axis node before CRS !");
@@ -98,7 +98,7 @@ public class DimensionPointElement implements IRasNode // Then it must be a pair of nodes "lowerBound" + "upperBound"
if (node.getNodeName().equals("slicingPosition"))
{
- domain = new ScalarExprType(node.getFirstChild(), pcr);
+ domain = new ScalarExpr(node.getFirstChild(), pcr);
if (axis == null)
throw new WCPSException("Expected <axis> node before <slicingPosition> !");
}
diff --git a/src/wcps/server/core/DomainMetadataExprType.java b/src/wcps/server/core/DomainMetadataExpr.java index f738191..fbc50a3 100644 --- a/src/wcps/server/core/DomainMetadataExprType.java +++ b/src/wcps/server/core/DomainMetadataExpr.java @@ -25,16 +25,16 @@ package wcps.server.core; import org.w3c.dom.*;
-public class DomainMetadataExprType implements IRasNode, ICoverageInfo
+public class DomainMetadataExpr implements IRasNode, ICoverageInfo
{
private IRasNode child;
private CoverageInfo info = null;
- private AxisNameType axis;
- private CrsNameType crs;
+ private AxisName axis;
+ private CrsName crs;
private IRasNode domain1, domain2; // lower and upper bound, or "DomainMetadataExprType" and null
private int counter = 0; // counter for the domain vars
- public DomainMetadataExprType(Node node, ProcessCoveragesRequest pcr)
+ public DomainMetadataExpr(Node node, ProcessCoveragesRequest pcr)
throws WCPSException
{
/*
diff --git a/src/wcps/server/core/EncodeDataExprType.java b/src/wcps/server/core/EncodeDataExpr.java index 130ab3b..dde9bc2 100644 --- a/src/wcps/server/core/EncodeDataExprType.java +++ b/src/wcps/server/core/EncodeDataExpr.java @@ -26,7 +26,7 @@ package wcps.server.core; import org.w3c.dom.*;
// This is the equivalent of the "ProcessingExprType" complex XML type.
-public class EncodeDataExprType implements IRasNode
+public class EncodeDataExpr implements IRasNode
{
private IRasNode coverageExprType;
private String extraParams;
@@ -34,7 +34,7 @@ public class EncodeDataExprType implements IRasNode private String mime;
private Boolean store;
- public EncodeDataExprType(Node node, ProcessCoveragesRequest request) throws WCPSException
+ public EncodeDataExpr(Node node, ProcessCoveragesRequest request) throws WCPSException
{
Node child;
String nodeName;
@@ -63,7 +63,7 @@ public class EncodeDataExprType implements IRasNode continue;
}
- coverageExprType = new CoverageExprType(child, request);
+ coverageExprType = new CoverageExpr(child, request);
}
Node _store = node.getAttributes().getNamedItem("store");
diff --git a/src/wcps/server/core/ExtendCoverageExprType.java b/src/wcps/server/core/ExtendCoverageExpr.java index 43bd9a9..4c75c74 100644 --- a/src/wcps/server/core/ExtendCoverageExprType.java +++ b/src/wcps/server/core/ExtendCoverageExpr.java @@ -30,16 +30,16 @@ import java.util.List; import org.w3c.dom.*;
-public class ExtendCoverageExprType implements IRasNode, ICoverageInfo
+public class ExtendCoverageExpr implements IRasNode, ICoverageInfo
{
private List<DimensionIntervalElement> axisList;
- private CoverageExprType coverageExprType;
+ private CoverageExpr coverageExprType;
private CoverageInfo coverageInfo;
private String[] dim;
private int dims;
private DimensionIntervalElement elem;
- public ExtendCoverageExprType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public ExtendCoverageExpr(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
Node child, axisNode;
@@ -61,7 +61,7 @@ public class ExtendCoverageExprType implements IRasNode, ICoverageInfo try
{
System.err.println("Trying out an CoverageExprType group...");
- coverageExprType = new CoverageExprType(node, pcr);
+ coverageExprType = new CoverageExpr(node, pcr);
coverageInfo = coverageExprType.getCoverageInfo();
child = child.getNextSibling();
continue;
diff --git a/src/wcps/server/core/FieldNameType.java b/src/wcps/server/core/FieldName.java index 00d5be6..aef7ed5 100644 --- a/src/wcps/server/core/FieldNameType.java +++ b/src/wcps/server/core/FieldName.java @@ -26,11 +26,13 @@ package wcps.server.core; import org.w3c.dom.*;
-public class FieldNameType implements IRasNode
+
+
+public class FieldName implements IRasNode
{
private String name;
- public FieldNameType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public FieldName(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
while ((node != null) && node.getNodeName().equals("#text"))
{
@@ -57,6 +59,4 @@ public class FieldNameType implements IRasNode return this.name;
}
}
-
-
;
diff --git a/src/wcps/server/core/InducedOperationCoverageExprType.java b/src/wcps/server/core/InducedOperationCoverageExpr.java index 3732c95..5dfe75a 100644 --- a/src/wcps/server/core/InducedOperationCoverageExprType.java +++ b/src/wcps/server/core/InducedOperationCoverageExpr.java @@ -25,13 +25,13 @@ package wcps.server.core; import org.w3c.dom.*;
-public class InducedOperationCoverageExprType implements IRasNode, ICoverageInfo
+public class InducedOperationCoverageExpr implements IRasNode, ICoverageInfo
{
private IRasNode child;
private CoverageInfo info;
private String operation = "";
- public InducedOperationCoverageExprType(Node node, ProcessCoveragesRequest pcr)
+ public InducedOperationCoverageExpr(Node node, ProcessCoveragesRequest pcr)
throws WCPSException
{
String nodeName = node.getNodeName();
@@ -42,7 +42,7 @@ public class InducedOperationCoverageExprType implements IRasNode, ICoverageInfo if (nodeName.equals("rangeConstructor"))
{
operation = nodeName;
- child = new RangeCoverageExprType(node, pcr);
+ child = new RangeCoverageExpr(node, pcr);
info = new CoverageInfo((((ICoverageInfo)child).getCoverageInfo()));
}
else
@@ -53,7 +53,7 @@ public class InducedOperationCoverageExprType implements IRasNode, ICoverageInfo {
try
{
- child = new UnaryOperationCoverageExprType(node, pcr);
+ child = new UnaryOperationCoverageExpr(node, pcr);
info = new CoverageInfo((((ICoverageInfo)child).getCoverageInfo()));
System.err.println("*** Induced Operation SUCCESS: " + node.getNodeName());
}
@@ -70,7 +70,7 @@ public class InducedOperationCoverageExprType implements IRasNode, ICoverageInfo {
try
{
- child = new BinaryOperationCoverageExprType(node, pcr);
+ child = new BinaryOperationCoverageExpr(node, pcr);
info = new CoverageInfo((((ICoverageInfo)child).getCoverageInfo()));
System.err.println("*** Binary Operation SUCCESS: " + node.getNodeName());
}
diff --git a/src/wcps/server/core/MetadataScalarExprType.java b/src/wcps/server/core/MetadataScalarExpr.java index 5c46994..fe1f96c 100644 --- a/src/wcps/server/core/MetadataScalarExprType.java +++ b/src/wcps/server/core/MetadataScalarExpr.java @@ -26,10 +26,10 @@ package wcps.server.core; import org.w3c.dom.*;
// TODO: implement class MetadataScalarExprType
-public class MetadataScalarExprType implements IRasNode
+public class MetadataScalarExpr implements IRasNode
{
- public MetadataScalarExprType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public MetadataScalarExpr(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
throw new WCPSException("Method not yet implemented !");
}
diff --git a/src/wcps/server/core/NumericScalarExprType.java b/src/wcps/server/core/NumericScalarExpr.java index f9b63d7..83a811a 100644 --- a/src/wcps/server/core/NumericScalarExprType.java +++ b/src/wcps/server/core/NumericScalarExpr.java @@ -25,13 +25,13 @@ package wcps.server.core; import org.w3c.dom.*;
-public class NumericScalarExprType implements IRasNode
+public class NumericScalarExpr implements IRasNode
{
private IRasNode first, second;
private String op, value;
private boolean twoChildren;
- public NumericScalarExprType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public NumericScalarExpr(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
twoChildren = false;
String nodeName = node.getNodeName();
@@ -61,17 +61,17 @@ public class NumericScalarExprType implements IRasNode op = code(nodeName);
twoChildren = false;
if (nodeName.equals("complexConstant"))
- first = new ComplexConstantType(node, pcr);
+ first = new ComplexConstant(node, pcr);
if (nodeName.equals("condense"))
- first = new CondenseScalarExprType(node, pcr);
+ first = new CondenseScalarExpr(node, pcr);
if (nodeName.equals("reduce"))
- first = new ReduceScalarExprType(node, pcr);
+ first = new ReduceScalarExpr(node, pcr);
}
else if (nodeName.equals("numericUnaryMinus"))
{
op = code(nodeName);
twoChildren = false;
- first = new NumericScalarExprType(node.getFirstChild(), pcr);
+ first = new NumericScalarExpr(node.getFirstChild(), pcr);
}
else if (nodeName.equals("numericAdd")
|| nodeName.equals("numericMinus")
@@ -83,8 +83,8 @@ public class NumericScalarExprType implements IRasNode op = code(nodeName);
twoChildren = true;
Node child = node.getFirstChild();
- first = new NumericScalarExprType(child, pcr);
- second = new NumericScalarExprType(child.getNextSibling(), pcr);
+ first = new NumericScalarExpr(child, pcr);
+ second = new NumericScalarExpr(child.getNextSibling(), pcr);
}
catch (WCPSException e)
{
diff --git a/src/wcps/server/core/RangeCoverageExprType.java b/src/wcps/server/core/RangeCoverageExpr.java index f0904c2..bbc2571 100644 --- a/src/wcps/server/core/RangeCoverageExprType.java +++ b/src/wcps/server/core/RangeCoverageExpr.java @@ -28,13 +28,13 @@ import java.util.Iterator; import java.util.List;
import org.w3c.dom.*;
-public class RangeCoverageExprType implements IRasNode, ICoverageInfo
+public class RangeCoverageExpr implements IRasNode, ICoverageInfo
{
private IRasNode child;
private CoverageInfo info = null;
List<IRasNode> components;
- public RangeCoverageExprType(Node node, ProcessCoveragesRequest pcr)
+ public RangeCoverageExpr(Node node, ProcessCoveragesRequest pcr)
throws WCPSException
{
diff --git a/src/wcps/server/core/RangeElementType.java b/src/wcps/server/core/RangeElementType.java deleted file mode 100644 index 53a28e5..0000000 --- a/src/wcps/server/core/RangeElementType.java +++ /dev/null @@ -1,94 +0,0 @@ -/*
- * 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 wcps.server.core;
-
-import org.w3c.dom.*;
-
-public class RangeElementType implements IRasNode, ICoverageInfo
-{
- private IRasNode child;
- private CoverageInfo info;
- private String field;
-
- public RangeElementType(Node node, ProcessCoveragesRequest pcr)
- throws WCPSException
- {
-
- // TODO: Implement RangeCoverageExpr
- throw new WCPSException("Feature not yet implemented !");
-
-
- /*
- String nodeName = node.getNodeName();
- System.err.println("Trying to parse a range coverage expression... Starting at node "
- + nodeName);
-
- Node it = node.getFirstChild();
-
- while (it != null)
- {
- if (it.getNodeName().equals("#text"))
- {
- it = it.getNextSibling();
- continue;
- }
- if (it.getNodeName().equals("field"))
- {
- field = it.getNodeValue();
- continue;
- }
-
- // Try to read a CoverageExprType
- try
- {
- child = new CoverageExprType(node, pcr);
- info = new CoverageInfo(((ICoverageInfo) child).getCoverageInfo());
- }
- catch (WCPSException e)
- {
- System.err.println("Failed to parse a CoverageExprType !");
- child = null;
- }
-
- it = it.getNextSibling();
- }
-
- if (child == null)
- throw new WCPSException("Could not parse a CoverageExpr !");
-
- */
- }
-
- public CoverageInfo getCoverageInfo()
- {
- return info;
- }
-
- public String toRasQL()
- {
- String result = "";
-
- return result;
- }
-}
diff --git a/src/wcps/server/core/RangeFieldType.java b/src/wcps/server/core/RangeField.java index 2582ddf..8184e8d 100644 --- a/src/wcps/server/core/RangeFieldType.java +++ b/src/wcps/server/core/RangeField.java @@ -27,11 +27,13 @@ import org.w3c.dom.*; import java.util.Iterator;
-public class RangeFieldType implements IRasNode
+
+
+public class RangeField implements IRasNode
{
private String type;
- public RangeFieldType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public RangeField(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
while ((node != null) && node.getNodeName().equals("#text"))
{
@@ -58,6 +60,4 @@ public class RangeFieldType implements IRasNode return this.type;
}
}
-
-
;
diff --git a/src/wcps/server/core/ReduceScalarExprType.java b/src/wcps/server/core/ReduceScalarExpr.java index 8f359a6..070b39c 100644 --- a/src/wcps/server/core/ReduceScalarExprType.java +++ b/src/wcps/server/core/ReduceScalarExpr.java @@ -25,12 +25,12 @@ package wcps.server.core; import org.w3c.dom.*;
-public class ReduceScalarExprType implements IRasNode
+public class ReduceScalarExpr implements IRasNode
{
- CoverageExprType expr;
+ CoverageExpr expr;
String op;
- public ReduceScalarExprType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public ReduceScalarExpr(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
System.err.println("Trying to parse ReduceScalarExpr ");
String nodeName = node.getNodeName();
@@ -53,7 +53,7 @@ public class ReduceScalarExprType implements IRasNode node = node.getNextSibling();
}
- expr = new CoverageExprType(node, pcr);
+ expr = new CoverageExpr(node, pcr);
}
else
{
diff --git a/src/wcps/server/core/ScalarExprType.java b/src/wcps/server/core/ScalarExpr.java index d0d8358..10aa2f4 100644 --- a/src/wcps/server/core/ScalarExprType.java +++ b/src/wcps/server/core/ScalarExpr.java @@ -25,7 +25,7 @@ package wcps.server.core; import org.w3c.dom.*;
-public class ScalarExprType implements IRasNode
+public class ScalarExpr implements IRasNode
{
// private IRasNode first, second;
private IRasNode child;
@@ -33,7 +33,7 @@ public class ScalarExprType implements IRasNode // private String type; // can be simple (just a value), unary, binary, function or defered
// private String value;
- public ScalarExprType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public ScalarExpr(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
while ((node != null) && node.getNodeName().equals("#text"))
{
@@ -49,7 +49,7 @@ public class ScalarExprType implements IRasNode {
try
{
- child = new MetadataScalarExprType(node, pcr);
+ child = new MetadataScalarExpr(node, pcr);
System.err.println("Matched metadata scalar expression.");
}
catch (WCPSException e)
@@ -65,7 +65,7 @@ public class ScalarExprType implements IRasNode {
try
{
- child = new BooleanScalarExprType(node, pcr);
+ child = new BooleanScalarExpr(node, pcr);
System.err.println("Matched boolean scalar expression.");
}
catch (WCPSException e)
@@ -81,7 +81,7 @@ public class ScalarExprType implements IRasNode {
try
{
- child = new NumericScalarExprType(node, pcr);
+ child = new NumericScalarExpr(node, pcr);
System.err.println("Matched numeric scalar expression.");
}
catch (WCPSException e)
@@ -97,7 +97,7 @@ public class ScalarExprType implements IRasNode {
try
{
- child = new ReduceScalarExprType(node, pcr);
+ child = new ReduceScalarExpr(node, pcr);
System.err.println("Matched reduce scalar expression.");
}
catch (WCPSException e)
@@ -113,7 +113,7 @@ public class ScalarExprType implements IRasNode {
try
{
- child = new StringScalarExprType(node, pcr);
+ child = new StringScalarExpr(node, pcr);
System.err.println("Matched string scalar expression.");
}
catch (WCPSException e)
diff --git a/src/wcps/server/core/ScaleCoverageExprType.java b/src/wcps/server/core/ScaleCoverageExpr.java index 82a88f2..4beb2a0 100644 --- a/src/wcps/server/core/ScaleCoverageExprType.java +++ b/src/wcps/server/core/ScaleCoverageExpr.java @@ -26,9 +26,9 @@ package wcps.server.core; import org.w3c.dom.*;
// TODO: Implement class ScaleCoverageExprType
-public class ScaleCoverageExprType implements IRasNode, ICoverageInfo
+public class ScaleCoverageExpr implements IRasNode, ICoverageInfo
{
- public ScaleCoverageExprType(Node node, ProcessCoveragesRequest pcr)
+ public ScaleCoverageExpr(Node node, ProcessCoveragesRequest pcr)
throws WCPSException
{
throw new WCPSException("Method not implemented");
diff --git a/src/wcps/server/core/SetMetadataCoverageExprType.java b/src/wcps/server/core/SetMetadataCoverageExpr.java index 09148fd..0bf36da 100644 --- a/src/wcps/server/core/SetMetadataCoverageExprType.java +++ b/src/wcps/server/core/SetMetadataCoverageExpr.java @@ -26,9 +26,9 @@ package wcps.server.core; import org.w3c.dom.*;
// TODO: Implement class SetMetadataCoverageExprType
-public class SetMetadataCoverageExprType implements IRasNode, ICoverageInfo
+public class SetMetadataCoverageExpr implements IRasNode, ICoverageInfo
{
- public SetMetadataCoverageExprType(Node node, ProcessCoveragesRequest pcr)
+ public SetMetadataCoverageExpr(Node node, ProcessCoveragesRequest pcr)
throws WCPSException
{
throw new WCPSException("Method not implemented");
diff --git a/src/wcps/server/core/SliceCoverageExprType.java b/src/wcps/server/core/SliceCoverageExpr.java index 206ac3c..6aaea61 100644 --- a/src/wcps/server/core/SliceCoverageExprType.java +++ b/src/wcps/server/core/SliceCoverageExpr.java @@ -29,17 +29,17 @@ import java.util.Iterator; import java.util.List;
import org.w3c.dom.Node;
-public class SliceCoverageExprType implements IRasNode, ICoverageInfo
+public class SliceCoverageExpr implements IRasNode, ICoverageInfo
{
private List<DimensionPointElement> axisList;
- private CoverageExprType coverageExprType;
+ private CoverageExpr coverageExprType;
private CoverageInfo coverageInfo = null;
private String[] dim;
private DimensionPointElement elem;
private int dims;
- public SliceCoverageExprType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public SliceCoverageExpr(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
Node child = node.getFirstChild();
String nodeName;
@@ -59,7 +59,7 @@ public class SliceCoverageExprType implements IRasNode, ICoverageInfo try
{
System.err.println("Trying out an CoverageExprType group...");
- coverageExprType = new CoverageExprType(child, pcr);
+ coverageExprType = new CoverageExpr(child, pcr);
coverageInfo = coverageExprType.getCoverageInfo();
child = child.getNextSibling();
continue;
diff --git a/src/wcps/server/core/StringScalarExprType.java b/src/wcps/server/core/StringScalarExpr.java index caa11ff..c585aac 100644 --- a/src/wcps/server/core/StringScalarExprType.java +++ b/src/wcps/server/core/StringScalarExpr.java @@ -26,12 +26,12 @@ package wcps.server.core; import org.w3c.dom.*;
-public class StringScalarExprType implements IRasNode
+public class StringScalarExpr implements IRasNode
{
private String op, string;
- private CoverageExprType cov;
- public StringScalarExprType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ private CoverageExpr cov;
+ public StringScalarExpr(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
while ((node != null) && (node.getNodeName().equals("#text")))
{
@@ -43,7 +43,7 @@ public class StringScalarExprType implements IRasNode if (node.getNodeName().equals("stringIdentifier"))
{
Node child = node.getFirstChild();
- cov = new CoverageExprType(child, pcr);
+ cov = new CoverageExpr(child, pcr);
op = "id";
}
else
diff --git a/src/wcps/server/core/SubsetOperationCoverageExprType.java b/src/wcps/server/core/SubsetOperationCoverageExpr.java index e64069b..88f49e1 100644 --- a/src/wcps/server/core/SubsetOperationCoverageExprType.java +++ b/src/wcps/server/core/SubsetOperationCoverageExpr.java @@ -26,12 +26,12 @@ package wcps.server.core; import org.w3c.dom.*;
// TODO: Implement class SubsetOperation
-public class SubsetOperationCoverageExprType implements IRasNode, ICoverageInfo
+public class SubsetOperationCoverageExpr implements IRasNode, ICoverageInfo
{
private IRasNode child;
private CoverageInfo info = null;
- public SubsetOperationCoverageExprType(Node node, ProcessCoveragesRequest pcr)
+ public SubsetOperationCoverageExpr(Node node, ProcessCoveragesRequest pcr)
throws WCPSException
{
@@ -51,18 +51,18 @@ public class SubsetOperationCoverageExprType implements IRasNode, ICoverageInfo if (nodeName.equals("trim"))
{
- child = new TrimCoverageExprType(node, pcr);
- info = ((TrimCoverageExprType) child).getCoverageInfo();
+ child = new TrimCoverageExpr(node, pcr);
+ info = ((TrimCoverageExpr) child).getCoverageInfo();
}
else if (nodeName.equals("extend"))
{
- child = new ExtendCoverageExprType(node, pcr);
- info = ((ExtendCoverageExprType) child).getCoverageInfo();
+ child = new ExtendCoverageExpr(node, pcr);
+ info = ((ExtendCoverageExpr) child).getCoverageInfo();
}
else if (nodeName.equals("slice"))
{
- child = new SliceCoverageExprType(node, pcr);
- info = ((SliceCoverageExprType) child).getCoverageInfo();
+ child = new SliceCoverageExpr(node, pcr);
+ info = ((SliceCoverageExpr) child).getCoverageInfo();
}
else
throw new WCPSException("Failed to match SubsetOperation: " + nodeName);
diff --git a/src/wcps/server/core/TrimCoverageExprType.java b/src/wcps/server/core/TrimCoverageExpr.java index 445ea71..8f15f1e 100644 --- a/src/wcps/server/core/TrimCoverageExprType.java +++ b/src/wcps/server/core/TrimCoverageExpr.java @@ -31,16 +31,16 @@ import java.util.ArrayList; import java.util.Iterator;
import java.util.List;
-public class TrimCoverageExprType implements IRasNode, ICoverageInfo
+public class TrimCoverageExpr implements IRasNode, ICoverageInfo
{
private List<DimensionIntervalElement> axisList;
- private CoverageExprType coverageExprType;
+ private CoverageExpr coverageExprType;
private CoverageInfo coverageInfo;
private String[] dim;
private int dims;
private DimensionIntervalElement elem;
- public TrimCoverageExprType(Node node, ProcessCoveragesRequest pcr) throws WCPSException
+ public TrimCoverageExpr(Node node, ProcessCoveragesRequest pcr) throws WCPSException
{
Node child, axisNode;
String nodeName;
@@ -61,7 +61,7 @@ public class TrimCoverageExprType implements IRasNode, ICoverageInfo try
{
System.err.println("Trying out an CoverageExprType group...");
- coverageExprType = new CoverageExprType(child, pcr);
+ coverageExprType = new CoverageExpr(child, pcr);
coverageInfo = coverageExprType.getCoverageInfo();
child = child.getNextSibling();
continue;
diff --git a/src/wcps/server/core/UnaryOperationCoverageExprType.java b/src/wcps/server/core/UnaryOperationCoverageExpr.java index ace4812..4631bb2 100644 --- a/src/wcps/server/core/UnaryOperationCoverageExprType.java +++ b/src/wcps/server/core/UnaryOperationCoverageExpr.java @@ -25,14 +25,14 @@ package wcps.server.core; import org.w3c.dom.*;
-public class UnaryOperationCoverageExprType implements IRasNode, ICoverageInfo
+public class UnaryOperationCoverageExpr implements IRasNode, ICoverageInfo
{
- private CoverageExprType child;
+ private CoverageExpr child;
private CoverageInfo info;
private String operation;
private String params;
- public UnaryOperationCoverageExprType(Node node, ProcessCoveragesRequest pcr)
+ public UnaryOperationCoverageExpr(Node node, ProcessCoveragesRequest pcr)
throws WCPSException
{
String nodeName = node.getNodeName();
@@ -42,12 +42,12 @@ public class UnaryOperationCoverageExprType implements IRasNode, ICoverageInfo if (nodeName.equals("unaryPlus"))
{
operation = "+";
- child = new CoverageExprType(node.getFirstChild(), pcr);
+ child = new CoverageExpr(node.getFirstChild(), pcr);
}
else if (nodeName.equals("unaryMinus"))
{
operation = "-";
- child = new CoverageExprType(node.getFirstChild(), pcr);
+ child = new CoverageExpr(node.getFirstChild(), pcr);
}
// TODO(andrei): Check if "re" and "im" operations work
else if (nodeName.equals("sqrt") || nodeName.equals("abs")
@@ -59,7 +59,7 @@ public class UnaryOperationCoverageExprType implements IRasNode, ICoverageInfo || nodeName.equals("not") || nodeName.equals("re") || nodeName.equals("im"))
{
operation = nodeName;
- child = new CoverageExprType(node.getFirstChild(), pcr);
+ child = new CoverageExpr(node.getFirstChild(), pcr);
}
else if (nodeName.equals("bit"))
{
@@ -89,7 +89,7 @@ public class UnaryOperationCoverageExprType implements IRasNode, ICoverageInfo }
else
{
- child = new CoverageExprType(c, pcr);
+ child = new CoverageExpr(c, pcr);
}
c = c.getNextSibling();
@@ -110,12 +110,12 @@ public class UnaryOperationCoverageExprType implements IRasNode, ICoverageInfo if (c.getNodeName().equals("type"))
{
- RangeFieldType typeNode = new RangeFieldType(c, pcr);
+ RangeField typeNode = new RangeField(c, pcr);
params = typeNode.toRasQL();
}
else
{
- child = new CoverageExprType(c, pcr);
+ child = new CoverageExpr(c, pcr);
}
c = c.getNextSibling();
@@ -136,12 +136,12 @@ public class UnaryOperationCoverageExprType implements IRasNode, ICoverageInfo if (c.getNodeName().equals("field"))
{
- FieldNameType nameNode = new FieldNameType(c.getFirstChild(), pcr);
+ FieldName nameNode = new FieldName(c.getFirstChild(), pcr);
params = nameNode.toRasQL();
}
else
{
- child = new CoverageExprType(c, pcr);
+ child = new CoverageExpr(c, pcr);
}
c = c.getNextSibling();
diff --git a/src/wcps/server/core/XmlQuery.java b/src/wcps/server/core/XmlQuery.java index 1fdd939..ac5034b 100644 --- a/src/wcps/server/core/XmlQuery.java +++ b/src/wcps/server/core/XmlQuery.java @@ -37,7 +37,7 @@ class XmlQuery implements IRasNode { private String mime; private ArrayList<CoverageIterator> iterators; - private BooleanScalarExprType where; + private BooleanScalarExpr where; private IRasNode coverageExpr; public String getMimeType() @@ -73,20 +73,20 @@ class XmlQuery implements IRasNode } else if (x.getNodeName().equals("where")) { - where = new BooleanScalarExprType(x.getFirstChild(), pcr); + where = new BooleanScalarExpr(x.getFirstChild(), pcr); } else if (x.getNodeName().equals("encode")) { - EncodeDataExprType encode; + EncodeDataExpr encode; - encode = new EncodeDataExprType(x, pcr); + encode = new EncodeDataExpr(x, pcr); coverageExpr = encode; mime = encode.getMime(); } else { - // It has to be a scalar Expr Type - coverageExpr = new ScalarExprType(x, pcr); + // It has to be a scalar Expr + coverageExpr = new ScalarExpr(x, pcr); mime = "text/plain"; } diff --git a/src/wcps/server/test/GrammarTest.java b/src/wcps/server/test/GrammarTest.java index be00682..5ee33eb 100644 --- a/src/wcps/server/test/GrammarTest.java +++ b/src/wcps/server/test/GrammarTest.java @@ -37,7 +37,7 @@ import wcps.server.cli.grammar; public class GrammarTest { // Put new test cases in this folder following the current naming scheme - String folder = "testing/testcases-wcps/"; + String folder = "test/testcases-wcps/"; // How many tests we have to run int numTests = 0; // tests diff --git a/src/wcps/server/test/XmlTest.java b/src/wcps/server/test/XmlTest.java index f888c6f..cc0c02e 100644 --- a/src/wcps/server/test/XmlTest.java +++ b/src/wcps/server/test/XmlTest.java @@ -45,9 +45,10 @@ import org.apache.commons.io.FileUtils; public class XmlTest { // Put new test cases in this folder // public final String PetascopeURL = "http://localhost:8080/PetaScope/WCPService"; - public final String PetascopeURL = "http://kahlua.eecs.jacobs-university.de:8080/petascope/wcps/"; + public final String PetascopeURL = "http://localhost:8080/petascope/wcps/"; +// public final String PetascopeURL = "http://kahlua.eecs.jacobs-university.de:8080/petascope/wcps/"; - String folder = "testing/testcases-wcps/"; + String folder = "test/testcases-wcps/"; // How many tests we have to run int numTests = 0; // tests @@ -142,6 +143,11 @@ public class XmlTest { * Returns a message on error or null otherwise. **/ public String runOneTest(String xml) throws MalformedURLException, IOException { + +// System.out.println("--------------------"); +// System.out.println(xml); +// System.out.println("\t--------------------"); + // connect to the servlet URL servlet = new URL(PetascopeURL); HttpURLConnection conn = (HttpURLConnection) servlet.openConnection(); @@ -173,6 +179,9 @@ public class XmlTest { String line1 = cgiOutput.readLine(); String line2 = cgiOutput.readLine(); String line3 = cgiOutput.readLine(); +// System.out.println("\t" + line1); +// System.out.println("\t" + line2); +// System.out.println("\t" + line3); if (line1 != null && line2 != null && line3 != null && line2.equals("<h1>An error has occured</h1>")) |
