[jboss-svn-commits] JBL Code SVN: r24065 - in labs/jbossrules/branches/etirelli/drools-compiler: src/main/java/org/drools/compiler and 5 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Nov 24 10:31:26 EST 2008
Author: porcelli
Date: 2008-11-24 10:31:25 -0500 (Mon, 24 Nov 2008)
New Revision: 24065
Modified:
labs/jbossrules/branches/etirelli/drools-compiler/pom.xml
labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/compiler/DrlParser.java
labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java
labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DescrBuilderTree.java
labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DroolsParserExceptionFactory.java
labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DroolsTreeAdaptor.java
labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/dsl/DSLMapLexer.java
labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/dsl/DSLMapParser.java
labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/dsl/DSLMapWalker.java
labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaLexer.java
labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaParser.java
labs/jbossrules/branches/etirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g
labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/DRLContextTest.java
labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/DRLIncompleteCodeTest.java
labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/RuleParserTest.java
labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/TestDRL.java
labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/TestTree2TestDRL.java
labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/Tree2TestDRL.java
Log:
update to ANTLR 3.1.1 and improving on dynamic operators syntax
Modified: labs/jbossrules/branches/etirelli/drools-compiler/pom.xml
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/pom.xml 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/pom.xml 2008-11-24 15:31:25 UTC (rev 24065)
@@ -28,7 +28,7 @@
</dependency>
<dependency>
<groupId>org.antlr</groupId>
- <artifactId>gunit</artifactId>
+ <artifactId>antlr</artifactId>
<scope>test</scope>
</dependency>
<dependency>
@@ -44,7 +44,11 @@
<artifactId>xstream</artifactId>
<optional>true</optional>
</dependency>
-
+ <dependency>
+ <groupId>org.mvel</groupId>
+ <artifactId>mvel2</artifactId>
+ </dependency>
+
<!--
<dependency>
<groupId>javax.mail</groupId>
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/compiler/DrlParser.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/compiler/DrlParser.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/compiler/DrlParser.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -51,7 +51,8 @@
private final List results = new ArrayList();
private List<DroolsSentence> editorSentences = null;
private Location location = new Location(Location.LOCATION_UNKNOWN);
- DescrBuilderTree walker = null;
+ private DescrBuilderTree walker = null;
+ private DRLLexer lexer = null;
public DrlParser() {
}
@@ -207,18 +208,16 @@
return null;
}
} catch (Exception e) {
- final ParserError err = new ParserError(GENERIC_ERROR_MESSAGE,
- -1, 0);
+ final ParserError err = new ParserError(GENERIC_ERROR_MESSAGE, -1,
+ 0);
this.results.add(err);
if (isEditor) {
- if (walker == null){
+ if (walker == null) {
return null;
}
return walker.getPackageDescr();
} else {
- throw new DroolsParserException(
- GENERIC_ERROR_MESSAGE,
- e);
+ throw new DroolsParserException(GENERIC_ERROR_MESSAGE, e);
}
}
}
@@ -236,6 +235,13 @@
/** Convert the antlr exceptions to drools parser exceptions */
private void makeErrorList(final DRLParser parser) {
+ for (final Iterator iter = lexer.getErrors().iterator(); iter.hasNext();) {
+ final DroolsParserException recogErr = (DroolsParserException) iter
+ .next();
+ final ParserError err = new ParserError(recogErr.getMessage(),
+ recogErr.getLineNumber(), recogErr.getColumn());
+ this.results.add(err);
+ }
for (final Iterator iter = parser.getErrors().iterator(); iter
.hasNext();) {
final DroolsParserException recogErr = (DroolsParserException) iter
@@ -251,16 +257,16 @@
* not).
*/
private DRLParser getParser(final String text) {
- DRLParser parser = new DRLParser(new CommonTokenStream(new DRLLexer(
- new ANTLRStringStream(text))));
+ lexer = new DRLLexer(new ANTLRStringStream(text));
+ DRLParser parser = new DRLParser(new CommonTokenStream(lexer));
parser.setTreeAdaptor(new DroolsTreeAdaptor());
return parser;
}
private DRLParser getParser(final Reader reader) {
try {
- DRLParser parser = new DRLParser(new CommonTokenStream(
- new DRLLexer(new ANTLRReaderStream(reader))));
+ lexer = new DRLLexer(new ANTLRReaderStream(reader));
+ DRLParser parser = new DRLParser(new CommonTokenStream(lexer));
parser.setTreeAdaptor(new DroolsTreeAdaptor());
return parser;
} catch (final Exception e) {
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -1,8 +1,10 @@
-// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g 2008-11-13 00:52:51
+// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g 2008-11-24 10:27:36
package org.drools.lang;
+ import org.drools.compiler.DroolsParserException;
+
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
@@ -24,13 +26,12 @@
public static final int VK_QUERY=63;
public static final int THEN=117;
public static final int VK_AUTO_FOCUS=49;
- public static final int TILDE=128;
public static final int DOT=86;
public static final int VK_IMPORT=60;
public static final int VT_SLOT=15;
public static final int VT_PACKAGE_ID=40;
public static final int LEFT_SQUARE=115;
- public static final int SH_STYLE_SINGLE_LINE_COMMENT=129;
+ public static final int SH_STYLE_SINGLE_LINE_COMMENT=128;
public static final int VT_DATA_TYPE=38;
public static final int VK_MATCHES=69;
public static final int VT_FACT=6;
@@ -75,7 +76,7 @@
public static final int VT_AND_IMPLICIT=22;
public static final int NULL=114;
public static final int COLON=94;
- public static final int MULTI_LINE_COMMENT=131;
+ public static final int MULTI_LINE_COMMENT=130;
public static final int VT_RULE_ATTRIBUTES=16;
public static final int RIGHT_SQUARE=116;
public static final int VK_AGENDA_GROUP=51;
@@ -138,8 +139,11 @@
public static final int RIGHT_PAREN=92;
public static final int VT_TEMPLATE_ID=10;
public static final int VK_DECLARE=64;
- public static final int C_STYLE_SINGLE_LINE_COMMENT=130;
+ public static final int C_STYLE_SINGLE_LINE_COMMENT=129;
+ private List<DroolsParserException> errors = new ArrayList<DroolsParserException>();
+ private DroolsParserExceptionFactory errorMessageFactory = new DroolsParserExceptionFactory(null, null);
+
/** The standard method called to automatically emit a token at the
* outermost lexical rule. The token object should point into the
* char buffer start..stop. If there is a text override in 'text',
@@ -155,6 +159,15 @@
return t;
}
+ public void reportError(RecognitionException ex) {
+ errors.add(errorMessageFactory.createDroolsException(ex));
+ }
+
+ /** return the raw DroolsParserException errors */
+ public List<DroolsParserException> getErrors() {
+ return errors;
+ }
+
/** Overrided this method to not output mesages */
public void emitErrorMessage(String msg) {
}
@@ -171,17 +184,17 @@
super(input,state);
}
- public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g"; }
+ public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g"; }
// $ANTLR start "WS"
public final void mWS() throws RecognitionException {
try {
int _type = WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1704:9: ( ( ' ' | '\\t' | '\\f' | EOL )+ )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1704:17: ( ' ' | '\\t' | '\\f' | EOL )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1712:9: ( ( ' ' | '\\t' | '\\f' | EOL )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1712:17: ( ' ' | '\\t' | '\\f' | EOL )+
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1704:17: ( ' ' | '\\t' | '\\f' | EOL )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1712:17: ( ' ' | '\\t' | '\\f' | EOL )+
int cnt1=0;
loop1:
do {
@@ -213,28 +226,28 @@
switch (alt1) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1704:19: ' '
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1712:19: ' '
{
match(' '); if (state.failed) return ;
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1705:19: '\\t'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1713:19: '\\t'
{
match('\t'); if (state.failed) return ;
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1706:19: '\\f'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1714:19: '\\f'
{
match('\f'); if (state.failed) return ;
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1707:19: EOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1715:19: EOL
{
mEOL(); if (state.failed) return ;
@@ -268,10 +281,10 @@
// $ANTLR start "EOL"
public final void mEOL() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1713:6: ( ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1714:6: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1721:6: ( ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1722:6: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1714:6: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1722:6: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' )
int alt2=3;
int LA2_0 = input.LA(1);
@@ -296,7 +309,7 @@
}
switch (alt2) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1714:14: ( '\\r\\n' )=> '\\r\\n'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1722:14: ( '\\r\\n' )=> '\\r\\n'
{
match("\r\n"); if (state.failed) return ;
@@ -304,14 +317,14 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1715:25: '\\r'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1723:25: '\\r'
{
match('\r'); if (state.failed) return ;
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1716:25: '\\n'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1724:25: '\\n'
{
match('\n'); if (state.failed) return ;
@@ -334,10 +347,10 @@
try {
int _type = INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1721:2: ( ( '-' )? ( '0' .. '9' )+ )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1721:4: ( '-' )? ( '0' .. '9' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:2: ( ( '-' )? ( '0' .. '9' )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:4: ( '-' )? ( '0' .. '9' )+
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1721:4: ( '-' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:4: ( '-' )?
int alt3=2;
int LA3_0 = input.LA(1);
@@ -346,7 +359,7 @@
}
switch (alt3) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1721:5: '-'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:5: '-'
{
match('-'); if (state.failed) return ;
@@ -355,7 +368,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1721:10: ( '0' .. '9' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:10: ( '0' .. '9' )+
int cnt4=0;
loop4:
do {
@@ -369,7 +382,7 @@
switch (alt4) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1721:11: '0' .. '9'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:11: '0' .. '9'
{
matchRange('0','9'); if (state.failed) return ;
@@ -402,10 +415,10 @@
try {
int _type = FLOAT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1725:2: ( ( '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )+ )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1725:4: ( '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1733:2: ( ( '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1733:4: ( '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )+
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1725:4: ( '-' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1733:4: ( '-' )?
int alt5=2;
int LA5_0 = input.LA(1);
@@ -414,7 +427,7 @@
}
switch (alt5) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1725:5: '-'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1733:5: '-'
{
match('-'); if (state.failed) return ;
@@ -423,7 +436,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1725:10: ( '0' .. '9' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1733:10: ( '0' .. '9' )+
int cnt6=0;
loop6:
do {
@@ -437,7 +450,7 @@
switch (alt6) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1725:11: '0' .. '9'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1733:11: '0' .. '9'
{
matchRange('0','9'); if (state.failed) return ;
@@ -455,7 +468,7 @@
} while (true);
match('.'); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1725:26: ( '0' .. '9' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1733:26: ( '0' .. '9' )+
int cnt7=0;
loop7:
do {
@@ -469,7 +482,7 @@
switch (alt7) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1725:27: '0' .. '9'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1733:27: '0' .. '9'
{
matchRange('0','9'); if (state.failed) return ;
@@ -502,7 +515,7 @@
try {
int _type = STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:5: ( ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' ) | ( '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\'' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1737:5: ( ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' ) | ( '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\'' ) )
int alt10=2;
int LA10_0 = input.LA(1);
@@ -521,13 +534,13 @@
}
switch (alt10) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:8: ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1737:8: ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:8: ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:9: '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1737:8: ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1737:9: '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"'); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:13: ( EscapeSequence | ~ ( '\\\\' | '\"' ) )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1737:13: ( EscapeSequence | ~ ( '\\\\' | '\"' ) )*
loop8:
do {
int alt8=3;
@@ -543,14 +556,14 @@
switch (alt8) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:15: EscapeSequence
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1737:15: EscapeSequence
{
mEscapeSequence(); if (state.failed) return ;
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:32: ~ ( '\\\\' | '\"' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1737:32: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -579,13 +592,13 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1730:8: ( '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\'' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:8: ( '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\'' )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1730:8: ( '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\'' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1730:9: '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\''
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:8: ( '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\'' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:9: '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\''
{
match('\''); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1730:14: ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:14: ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )*
loop9:
do {
int alt9=3;
@@ -601,14 +614,14 @@
switch (alt9) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1730:16: EscapeSequence
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:16: EscapeSequence
{
mEscapeSequence(); if (state.failed) return ;
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1730:33: ~ ( '\\\\' | '\\'' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:33: ~ ( '\\\\' | '\\'' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -649,8 +662,8 @@
// $ANTLR start "HexDigit"
public final void mHexDigit() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1734:10: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1734:12: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1742:10: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1742:12: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) {
input.consume();
@@ -674,7 +687,7 @@
// $ANTLR start "EscapeSequence"
public final void mEscapeSequence() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:5: ( '\\\\' ( 'b' | 'B' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' | '.' | 'o' | 'x' | 'a' | 'e' | 'c' | 'd' | 'D' | 's' | 'S' | 'w' | 'W' | 'p' | 'A' | 'G' | 'Z' | 'z' | 'Q' | 'E' | '*' | '[' | ']' | '(' | ')' | '$' | '^' | '{' | '}' | '?' | '+' | '-' | '&' | '|' ) | UnicodeEscape | OctalEscape )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1746:5: ( '\\\\' ( 'b' | 'B' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' | '.' | 'o' | 'x' | 'a' | 'e' | 'c' | 'd' | 'D' | 's' | 'S' | 'w' | 'W' | 'p' | 'A' | 'G' | 'Z' | 'z' | 'Q' | 'E' | '*' | '[' | ']' | '(' | ')' | '$' | '^' | '{' | '}' | '?' | '+' | '-' | '&' | '|' ) | UnicodeEscape | OctalEscape )
int alt11=3;
int LA11_0 = input.LA(1);
@@ -761,7 +774,7 @@
}
switch (alt11) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:9: '\\\\' ( 'b' | 'B' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' | '.' | 'o' | 'x' | 'a' | 'e' | 'c' | 'd' | 'D' | 's' | 'S' | 'w' | 'W' | 'p' | 'A' | 'G' | 'Z' | 'z' | 'Q' | 'E' | '*' | '[' | ']' | '(' | ')' | '$' | '^' | '{' | '}' | '?' | '+' | '-' | '&' | '|' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1746:9: '\\\\' ( 'b' | 'B' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' | '.' | 'o' | 'x' | 'a' | 'e' | 'c' | 'd' | 'D' | 's' | 'S' | 'w' | 'W' | 'p' | 'A' | 'G' | 'Z' | 'z' | 'Q' | 'E' | '*' | '[' | ']' | '(' | ')' | '$' | '^' | '{' | '}' | '?' | '+' | '-' | '&' | '|' )
{
match('\\'); if (state.failed) return ;
if ( input.LA(1)=='\"'||input.LA(1)=='$'||(input.LA(1)>='&' && input.LA(1)<='+')||(input.LA(1)>='-' && input.LA(1)<='.')||input.LA(1)=='?'||(input.LA(1)>='A' && input.LA(1)<='B')||(input.LA(1)>='D' && input.LA(1)<='E')||input.LA(1)=='G'||input.LA(1)=='Q'||input.LA(1)=='S'||input.LA(1)=='W'||(input.LA(1)>='Z' && input.LA(1)<='^')||(input.LA(1)>='a' && input.LA(1)<='f')||(input.LA(1)>='n' && input.LA(1)<='p')||(input.LA(1)>='r' && input.LA(1)<='t')||(input.LA(1)>='w' && input.LA(1)<='x')||(input.LA(1)>='z' && input.LA(1)<='}') ) {
@@ -778,14 +791,14 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1742:9: UnicodeEscape
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1750:9: UnicodeEscape
{
mUnicodeEscape(); if (state.failed) return ;
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1743:9: OctalEscape
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1751:9: OctalEscape
{
mOctalEscape(); if (state.failed) return ;
@@ -802,7 +815,7 @@
// $ANTLR start "OctalEscape"
public final void mOctalEscape() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1748:5: ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1756:5: ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) )
int alt12=3;
int LA12_0 = input.LA(1);
@@ -850,25 +863,25 @@
}
switch (alt12) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1748:9: '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1756:9: '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' )
{
match('\\'); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1748:14: ( '0' .. '3' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1748:15: '0' .. '3'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1756:14: ( '0' .. '3' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1756:15: '0' .. '3'
{
matchRange('0','3'); if (state.failed) return ;
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1748:25: ( '0' .. '7' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1748:26: '0' .. '7'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1756:25: ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1756:26: '0' .. '7'
{
matchRange('0','7'); if (state.failed) return ;
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1748:36: ( '0' .. '7' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1748:37: '0' .. '7'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1756:36: ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1756:37: '0' .. '7'
{
matchRange('0','7'); if (state.failed) return ;
@@ -878,18 +891,18 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1749:9: '\\\\' ( '0' .. '7' ) ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1757:9: '\\\\' ( '0' .. '7' ) ( '0' .. '7' )
{
match('\\'); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1749:14: ( '0' .. '7' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1749:15: '0' .. '7'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1757:14: ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1757:15: '0' .. '7'
{
matchRange('0','7'); if (state.failed) return ;
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1749:25: ( '0' .. '7' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1749:26: '0' .. '7'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1757:25: ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1757:26: '0' .. '7'
{
matchRange('0','7'); if (state.failed) return ;
@@ -899,11 +912,11 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1750:9: '\\\\' ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1758:9: '\\\\' ( '0' .. '7' )
{
match('\\'); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1750:14: ( '0' .. '7' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1750:15: '0' .. '7'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1758:14: ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1758:15: '0' .. '7'
{
matchRange('0','7'); if (state.failed) return ;
@@ -923,8 +936,8 @@
// $ANTLR start "UnicodeEscape"
public final void mUnicodeEscape() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1755:5: ( '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1755:9: '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1763:5: ( '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1763:9: '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit
{
match('\\'); if (state.failed) return ;
match('u'); if (state.failed) return ;
@@ -946,10 +959,10 @@
try {
int _type = BOOL;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1759:2: ( ( 'true' | 'false' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1759:4: ( 'true' | 'false' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1767:2: ( ( 'true' | 'false' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1767:4: ( 'true' | 'false' )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1759:4: ( 'true' | 'false' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1767:4: ( 'true' | 'false' )
int alt13=2;
int LA13_0 = input.LA(1);
@@ -968,7 +981,7 @@
}
switch (alt13) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1759:5: 'true'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1767:5: 'true'
{
match("true"); if (state.failed) return ;
@@ -976,7 +989,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1759:12: 'false'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1767:12: 'false'
{
match("false"); if (state.failed) return ;
@@ -1002,8 +1015,8 @@
try {
int _type = ACCUMULATE;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1763:2: ( 'accumulate' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1763:4: 'accumulate'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1771:2: ( 'accumulate' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1771:4: 'accumulate'
{
match("accumulate"); if (state.failed) return ;
@@ -1023,8 +1036,8 @@
try {
int _type = COLLECT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1767:2: ( 'collect' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1767:4: 'collect'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1775:2: ( 'collect' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1775:4: 'collect'
{
match("collect"); if (state.failed) return ;
@@ -1044,8 +1057,8 @@
try {
int _type = END;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1770:5: ( 'end' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1770:7: 'end'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1778:5: ( 'end' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1778:7: 'end'
{
match("end"); if (state.failed) return ;
@@ -1065,8 +1078,8 @@
try {
int _type = FROM;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1774:2: ( 'from' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1774:4: 'from'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1782:2: ( 'from' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1782:4: 'from'
{
match("from"); if (state.failed) return ;
@@ -1086,8 +1099,8 @@
try {
int _type = INIT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1778:2: ( 'init' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1778:4: 'init'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1786:2: ( 'init' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1786:4: 'init'
{
match("init"); if (state.failed) return ;
@@ -1107,8 +1120,8 @@
try {
int _type = NULL;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1782:2: ( 'null' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1782:4: 'null'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1790:2: ( 'null' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1790:4: 'null'
{
match("null"); if (state.failed) return ;
@@ -1128,8 +1141,8 @@
try {
int _type = OVER;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1786:2: ( 'over' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1786:4: 'over'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1794:2: ( 'over' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1794:4: 'over'
{
match("over"); if (state.failed) return ;
@@ -1149,8 +1162,8 @@
try {
int _type = THEN;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1790:2: ( 'then' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1790:4: 'then'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1798:2: ( 'then' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1798:4: 'then'
{
match("then"); if (state.failed) return ;
@@ -1170,8 +1183,8 @@
try {
int _type = WHEN;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1794:2: ( 'when' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1794:4: 'when'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1802:2: ( 'when' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1802:4: 'when'
{
match("when"); if (state.failed) return ;
@@ -1191,8 +1204,8 @@
try {
int _type = GRAVE_ACCENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1806:2: ( '`' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1806:4: '`'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1806:2: ( '`' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1806:4: '`'
{
match('`'); if (state.failed) return ;
@@ -1206,33 +1219,13 @@
}
// $ANTLR end "GRAVE_ACCENT"
- // $ANTLR start "TILDE"
- public final void mTILDE() throws RecognitionException {
- try {
- int _type = TILDE;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1809:7: ( '~' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1809:9: '~'
- {
- match('~'); if (state.failed) return ;
-
- }
-
- state.type = _type;
- state.channel = _channel;
- }
- finally {
- }
- }
- // $ANTLR end "TILDE"
-
// $ANTLR start "AT"
public final void mAT() throws RecognitionException {
try {
int _type = AT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1811:4: ( '@' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1811:6: '@'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1809:4: ( '@' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1809:6: '@'
{
match('@'); if (state.failed) return ;
@@ -1251,8 +1244,8 @@
try {
int _type = EQUALS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1815:2: ( '=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1815:4: '='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1813:2: ( '=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1813:4: '='
{
match('='); if (state.failed) return ;
@@ -1271,8 +1264,8 @@
try {
int _type = SEMICOLON;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1819:2: ( ';' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1819:4: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1817:2: ( ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1817:4: ';'
{
match(';'); if (state.failed) return ;
@@ -1291,8 +1284,8 @@
try {
int _type = DOT_STAR;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1823:2: ( '.*' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1823:4: '.*'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1821:2: ( '.*' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1821:4: '.*'
{
match(".*"); if (state.failed) return ;
@@ -1312,8 +1305,8 @@
try {
int _type = COLON;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1827:2: ( ':' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1827:4: ':'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1825:2: ( ':' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1825:4: ':'
{
match(':'); if (state.failed) return ;
@@ -1332,8 +1325,8 @@
try {
int _type = EQUAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1831:2: ( '==' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1831:4: '=='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1829:2: ( '==' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1829:4: '=='
{
match("=="); if (state.failed) return ;
@@ -1353,8 +1346,8 @@
try {
int _type = NOT_EQUAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1835:2: ( '!=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1835:4: '!='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1833:2: ( '!=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1833:4: '!='
{
match("!="); if (state.failed) return ;
@@ -1374,8 +1367,8 @@
try {
int _type = GREATER;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1839:2: ( '>' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1839:4: '>'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1837:2: ( '>' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1837:4: '>'
{
match('>'); if (state.failed) return ;
@@ -1394,8 +1387,8 @@
try {
int _type = GREATER_EQUAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1843:2: ( '>=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1843:4: '>='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1841:2: ( '>=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1841:4: '>='
{
match(">="); if (state.failed) return ;
@@ -1415,8 +1408,8 @@
try {
int _type = LESS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1847:2: ( '<' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1847:4: '<'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1845:2: ( '<' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1845:4: '<'
{
match('<'); if (state.failed) return ;
@@ -1435,8 +1428,8 @@
try {
int _type = LESS_EQUAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1851:2: ( '<=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1851:4: '<='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1849:2: ( '<=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1849:4: '<='
{
match("<="); if (state.failed) return ;
@@ -1456,8 +1449,8 @@
try {
int _type = ARROW;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1855:2: ( '->' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1855:4: '->'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1853:2: ( '->' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1853:4: '->'
{
match("->"); if (state.failed) return ;
@@ -1477,7 +1470,7 @@
try {
int _type = ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1859:2: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '$' | '\\u00c0' .. '\\u00ff' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )* | '%' ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '$' | '\\u00c0' .. '\\u00ff' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )+ '%' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1857:2: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '$' | '\\u00c0' .. '\\u00ff' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )* | '%' ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '$' | '\\u00c0' .. '\\u00ff' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )+ '%' )
int alt16=2;
int LA16_0 = input.LA(1);
@@ -1496,7 +1489,7 @@
}
switch (alt16) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1859:4: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '$' | '\\u00c0' .. '\\u00ff' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1857:4: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '$' | '\\u00c0' .. '\\u00ff' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )*
{
if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\u00C0' && input.LA(1)<='\u00FF') ) {
input.consume();
@@ -1508,7 +1501,7 @@
recover(mse);
throw mse;}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1859:50: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1857:50: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )*
loop14:
do {
int alt14=2;
@@ -1521,7 +1514,7 @@
switch (alt14) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\u00C0' && input.LA(1)<='\u00FF') ) {
input.consume();
@@ -1546,7 +1539,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1860:4: '%' ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '$' | '\\u00c0' .. '\\u00ff' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )+ '%'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1858:4: '%' ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '$' | '\\u00c0' .. '\\u00ff' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )+ '%'
{
match('%'); if (state.failed) return ;
if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\u00C0' && input.LA(1)<='\u00FF') ) {
@@ -1559,7 +1552,7 @@
recover(mse);
throw mse;}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1860:54: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1858:54: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )+
int cnt15=0;
loop15:
do {
@@ -1573,7 +1566,7 @@
switch (alt15) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\u00C0' && input.LA(1)<='\u00FF') ) {
input.consume();
@@ -1621,8 +1614,8 @@
try {
int _type = LEFT_PAREN;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1865:9: ( '(' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1865:11: '('
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1863:9: ( '(' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1863:11: '('
{
match('('); if (state.failed) return ;
@@ -1641,8 +1634,8 @@
try {
int _type = RIGHT_PAREN;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1869:9: ( ')' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1869:11: ')'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1867:9: ( ')' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1867:11: ')'
{
match(')'); if (state.failed) return ;
@@ -1661,8 +1654,8 @@
try {
int _type = LEFT_SQUARE;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1873:9: ( '[' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1873:11: '['
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1871:9: ( '[' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1871:11: '['
{
match('['); if (state.failed) return ;
@@ -1681,8 +1674,8 @@
try {
int _type = RIGHT_SQUARE;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1877:9: ( ']' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1877:11: ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1875:9: ( ']' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1875:11: ']'
{
match(']'); if (state.failed) return ;
@@ -1701,8 +1694,8 @@
try {
int _type = LEFT_CURLY;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1881:9: ( '{' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1881:11: '{'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1879:9: ( '{' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1879:11: '{'
{
match('{'); if (state.failed) return ;
@@ -1721,8 +1714,8 @@
try {
int _type = RIGHT_CURLY;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1885:9: ( '}' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1885:11: '}'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1883:9: ( '}' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1883:11: '}'
{
match('}'); if (state.failed) return ;
@@ -1741,8 +1734,8 @@
try {
int _type = COMMA;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1888:7: ( ',' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1888:9: ','
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1886:7: ( ',' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1886:9: ','
{
match(','); if (state.failed) return ;
@@ -1761,8 +1754,8 @@
try {
int _type = DOT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1891:5: ( '.' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1891:7: '.'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1889:5: ( '.' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1889:7: '.'
{
match('.'); if (state.failed) return ;
@@ -1781,8 +1774,8 @@
try {
int _type = DOUBLE_AMPER;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1895:2: ( '&&' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1895:4: '&&'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1893:2: ( '&&' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1893:4: '&&'
{
match("&&"); if (state.failed) return ;
@@ -1802,8 +1795,8 @@
try {
int _type = DOUBLE_PIPE;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1899:2: ( '||' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1899:4: '||'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1897:2: ( '||' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1897:4: '||'
{
match("||"); if (state.failed) return ;
@@ -1823,11 +1816,11 @@
try {
int _type = SH_STYLE_SINGLE_LINE_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1903:2: ( '#' ( options {greedy=false; } : . )* EOL )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1903:4: '#' ( options {greedy=false; } : . )* EOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1901:2: ( '#' ( options {greedy=false; } : . )* EOL )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1901:4: '#' ( options {greedy=false; } : . )* EOL
{
match('#'); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1903:8: ( options {greedy=false; } : . )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1901:8: ( options {greedy=false; } : . )*
loop17:
do {
int alt17=2;
@@ -1846,7 +1839,7 @@
switch (alt17) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1903:35: .
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1901:35: .
{
matchAny(); if (state.failed) return ;
@@ -1878,12 +1871,12 @@
try {
int _type = C_STYLE_SINGLE_LINE_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1909:2: ( '//' ( options {greedy=false; } : . )* EOL )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1909:4: '//' ( options {greedy=false; } : . )* EOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1907:2: ( '//' ( options {greedy=false; } : . )* EOL )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1907:4: '//' ( options {greedy=false; } : . )* EOL
{
match("//"); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1909:9: ( options {greedy=false; } : . )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1907:9: ( options {greedy=false; } : . )*
loop18:
do {
int alt18=2;
@@ -1902,7 +1895,7 @@
switch (alt18) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1909:36: .
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1907:36: .
{
matchAny(); if (state.failed) return ;
@@ -1934,12 +1927,12 @@
try {
int _type = MULTI_LINE_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1914:2: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1914:4: '/*' ( options {greedy=false; } : . )* '*/'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1912:2: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1912:4: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*"); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1914:9: ( options {greedy=false; } : . )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1912:9: ( options {greedy=false; } : . )*
loop19:
do {
int alt19=2;
@@ -1964,7 +1957,7 @@
switch (alt19) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1914:35: .
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1912:35: .
{
matchAny(); if (state.failed) return ;
@@ -1997,8 +1990,8 @@
try {
int _type = MISC;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1918:7: ( '!' | '$' | '%' | '^' | '*' | '_' | '-' | '+' | '?' | '/' | '\\'' | '\\\\' | '|' | '&' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1916:7: ( '!' | '$' | '%' | '^' | '*' | '_' | '-' | '+' | '?' | '/' | '\\'' | '\\\\' | '|' | '&' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:
{
if ( input.LA(1)=='!'||(input.LA(1)>='$' && input.LA(1)<='\'')||(input.LA(1)>='*' && input.LA(1)<='+')||input.LA(1)=='-'||input.LA(1)=='/'||input.LA(1)=='?'||input.LA(1)=='\\'||(input.LA(1)>='^' && input.LA(1)<='_')||input.LA(1)=='|' ) {
input.consume();
@@ -2022,307 +2015,300 @@
// $ANTLR end "MISC"
public void mTokens() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:8: ( WS | INT | FLOAT | STRING | BOOL | ACCUMULATE | COLLECT | END | FROM | INIT | NULL | OVER | THEN | WHEN | GRAVE_ACCENT | TILDE | AT | EQUALS | SEMICOLON | DOT_STAR | COLON | EQUAL | NOT_EQUAL | GREATER | GREATER_EQUAL | LESS | LESS_EQUAL | ARROW | ID | LEFT_PAREN | RIGHT_PAREN | LEFT_SQUARE | RIGHT_SQUARE | LEFT_CURLY | RIGHT_CURLY | COMMA | DOT | DOUBLE_AMPER | DOUBLE_PIPE | SH_STYLE_SINGLE_LINE_COMMENT | C_STYLE_SINGLE_LINE_COMMENT | MULTI_LINE_COMMENT | MISC )
- int alt20=43;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:8: ( WS | INT | FLOAT | STRING | BOOL | ACCUMULATE | COLLECT | END | FROM | INIT | NULL | OVER | THEN | WHEN | GRAVE_ACCENT | AT | EQUALS | SEMICOLON | DOT_STAR | COLON | EQUAL | NOT_EQUAL | GREATER | GREATER_EQUAL | LESS | LESS_EQUAL | ARROW | ID | LEFT_PAREN | RIGHT_PAREN | LEFT_SQUARE | RIGHT_SQUARE | LEFT_CURLY | RIGHT_CURLY | COMMA | DOT | DOUBLE_AMPER | DOUBLE_PIPE | SH_STYLE_SINGLE_LINE_COMMENT | C_STYLE_SINGLE_LINE_COMMENT | MULTI_LINE_COMMENT | MISC )
+ int alt20=42;
alt20 = dfa20.predict(input);
switch (alt20) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:10: WS
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:10: WS
{
mWS(); if (state.failed) return ;
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:13: INT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:13: INT
{
mINT(); if (state.failed) return ;
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:17: FLOAT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:17: FLOAT
{
mFLOAT(); if (state.failed) return ;
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:23: STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:23: STRING
{
mSTRING(); if (state.failed) return ;
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:30: BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:30: BOOL
{
mBOOL(); if (state.failed) return ;
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:35: ACCUMULATE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:35: ACCUMULATE
{
mACCUMULATE(); if (state.failed) return ;
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:46: COLLECT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:46: COLLECT
{
mCOLLECT(); if (state.failed) return ;
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:54: END
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:54: END
{
mEND(); if (state.failed) return ;
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:58: FROM
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:58: FROM
{
mFROM(); if (state.failed) return ;
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:63: INIT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:63: INIT
{
mINIT(); if (state.failed) return ;
}
break;
case 11 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:68: NULL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:68: NULL
{
mNULL(); if (state.failed) return ;
}
break;
case 12 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:73: OVER
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:73: OVER
{
mOVER(); if (state.failed) return ;
}
break;
case 13 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:78: THEN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:78: THEN
{
mTHEN(); if (state.failed) return ;
}
break;
case 14 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:83: WHEN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:83: WHEN
{
mWHEN(); if (state.failed) return ;
}
break;
case 15 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:88: GRAVE_ACCENT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:88: GRAVE_ACCENT
{
mGRAVE_ACCENT(); if (state.failed) return ;
}
break;
case 16 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:101: TILDE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:101: AT
{
- mTILDE(); if (state.failed) return ;
+ mAT(); if (state.failed) return ;
}
break;
case 17 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:107: AT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:104: EQUALS
{
- mAT(); if (state.failed) return ;
+ mEQUALS(); if (state.failed) return ;
}
break;
case 18 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:110: EQUALS
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:111: SEMICOLON
{
- mEQUALS(); if (state.failed) return ;
+ mSEMICOLON(); if (state.failed) return ;
}
break;
case 19 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:117: SEMICOLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:121: DOT_STAR
{
- mSEMICOLON(); if (state.failed) return ;
+ mDOT_STAR(); if (state.failed) return ;
}
break;
case 20 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:127: DOT_STAR
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:130: COLON
{
- mDOT_STAR(); if (state.failed) return ;
+ mCOLON(); if (state.failed) return ;
}
break;
case 21 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:136: COLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:136: EQUAL
{
- mCOLON(); if (state.failed) return ;
+ mEQUAL(); if (state.failed) return ;
}
break;
case 22 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:142: EQUAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:142: NOT_EQUAL
{
- mEQUAL(); if (state.failed) return ;
+ mNOT_EQUAL(); if (state.failed) return ;
}
break;
case 23 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:148: NOT_EQUAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:152: GREATER
{
- mNOT_EQUAL(); if (state.failed) return ;
+ mGREATER(); if (state.failed) return ;
}
break;
case 24 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:158: GREATER
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:160: GREATER_EQUAL
{
- mGREATER(); if (state.failed) return ;
+ mGREATER_EQUAL(); if (state.failed) return ;
}
break;
case 25 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:166: GREATER_EQUAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:174: LESS
{
- mGREATER_EQUAL(); if (state.failed) return ;
+ mLESS(); if (state.failed) return ;
}
break;
case 26 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:180: LESS
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:179: LESS_EQUAL
{
- mLESS(); if (state.failed) return ;
+ mLESS_EQUAL(); if (state.failed) return ;
}
break;
case 27 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:185: LESS_EQUAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:190: ARROW
{
- mLESS_EQUAL(); if (state.failed) return ;
+ mARROW(); if (state.failed) return ;
}
break;
case 28 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:196: ARROW
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:196: ID
{
- mARROW(); if (state.failed) return ;
+ mID(); if (state.failed) return ;
}
break;
case 29 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:202: ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:199: LEFT_PAREN
{
- mID(); if (state.failed) return ;
+ mLEFT_PAREN(); if (state.failed) return ;
}
break;
case 30 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:205: LEFT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:210: RIGHT_PAREN
{
- mLEFT_PAREN(); if (state.failed) return ;
+ mRIGHT_PAREN(); if (state.failed) return ;
}
break;
case 31 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:216: RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:222: LEFT_SQUARE
{
- mRIGHT_PAREN(); if (state.failed) return ;
+ mLEFT_SQUARE(); if (state.failed) return ;
}
break;
case 32 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:228: LEFT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:234: RIGHT_SQUARE
{
- mLEFT_SQUARE(); if (state.failed) return ;
+ mRIGHT_SQUARE(); if (state.failed) return ;
}
break;
case 33 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:240: RIGHT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:247: LEFT_CURLY
{
- mRIGHT_SQUARE(); if (state.failed) return ;
+ mLEFT_CURLY(); if (state.failed) return ;
}
break;
case 34 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:253: LEFT_CURLY
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:258: RIGHT_CURLY
{
- mLEFT_CURLY(); if (state.failed) return ;
+ mRIGHT_CURLY(); if (state.failed) return ;
}
break;
case 35 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:264: RIGHT_CURLY
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:270: COMMA
{
- mRIGHT_CURLY(); if (state.failed) return ;
+ mCOMMA(); if (state.failed) return ;
}
break;
case 36 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:276: COMMA
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:276: DOT
{
- mCOMMA(); if (state.failed) return ;
+ mDOT(); if (state.failed) return ;
}
break;
case 37 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:282: DOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:280: DOUBLE_AMPER
{
- mDOT(); if (state.failed) return ;
+ mDOUBLE_AMPER(); if (state.failed) return ;
}
break;
case 38 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:286: DOUBLE_AMPER
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:293: DOUBLE_PIPE
{
- mDOUBLE_AMPER(); if (state.failed) return ;
+ mDOUBLE_PIPE(); if (state.failed) return ;
}
break;
case 39 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:299: DOUBLE_PIPE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:305: SH_STYLE_SINGLE_LINE_COMMENT
{
- mDOUBLE_PIPE(); if (state.failed) return ;
+ mSH_STYLE_SINGLE_LINE_COMMENT(); if (state.failed) return ;
}
break;
case 40 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:311: SH_STYLE_SINGLE_LINE_COMMENT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:334: C_STYLE_SINGLE_LINE_COMMENT
{
- mSH_STYLE_SINGLE_LINE_COMMENT(); if (state.failed) return ;
+ mC_STYLE_SINGLE_LINE_COMMENT(); if (state.failed) return ;
}
break;
case 41 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:340: C_STYLE_SINGLE_LINE_COMMENT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:362: MULTI_LINE_COMMENT
{
- mC_STYLE_SINGLE_LINE_COMMENT(); if (state.failed) return ;
+ mMULTI_LINE_COMMENT(); if (state.failed) return ;
}
break;
case 42 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:368: MULTI_LINE_COMMENT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:381: MISC
{
- mMULTI_LINE_COMMENT(); if (state.failed) return ;
-
- }
- break;
- case 43 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:387: MISC
- {
mMISC(); if (state.failed) return ;
}
@@ -2334,8 +2320,8 @@
// $ANTLR start synpred1_DRL
public final void synpred1_DRL_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1714:14: ( '\\r\\n' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1714:16: '\\r\\n'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1722:14: ( '\\r\\n' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1722:16: '\\r\\n'
{
match("\r\n"); if (state.failed) return ;
@@ -2362,16 +2348,16 @@
protected DFA20 dfa20 = new DFA20(this);
static final String DFA20_eotS =
- "\2\uffff\1\47\1\51\1\uffff\1\47\11\46\3\uffff\1\67\1\uffff\1\71"+
- "\1\uffff\1\47\1\74\1\76\1\uffff\1\47\7\uffff\2\47\1\uffff\1\47\5"+
- "\uffff\13\46\15\uffff\6\46\1\124\4\46\1\131\1\132\1\46\1\134\2\46"+
- "\1\uffff\1\137\1\140\1\141\1\142\2\uffff\1\131\1\uffff\2\46\4\uffff"+
- "\3\46\1\150\1\46\1\uffff\1\46\1\153\1\uffff";
+ "\2\uffff\1\46\1\50\1\uffff\1\46\11\45\2\uffff\1\66\1\uffff\1\70"+
+ "\1\uffff\1\46\1\73\1\75\1\uffff\1\46\7\uffff\2\46\1\uffff\1\46\5"+
+ "\uffff\13\45\15\uffff\6\45\1\123\4\45\1\130\1\131\1\45\1\133\2\45"+
+ "\1\uffff\1\136\1\137\1\140\1\141\2\uffff\1\130\1\uffff\2\45\4\uffff"+
+ "\3\45\1\147\1\45\1\uffff\1\45\1\152\1\uffff";
static final String DFA20_eofS =
- "\154\uffff";
+ "\153\uffff";
static final String DFA20_minS =
"\1\11\1\uffff\1\60\1\56\1\uffff\1\0\1\150\1\141\1\143\1\157\2\156"+
- "\1\165\1\166\1\150\3\uffff\1\75\1\uffff\1\52\1\uffff\3\75\1\uffff"+
+ "\1\165\1\166\1\150\2\uffff\1\75\1\uffff\1\52\1\uffff\3\75\1\uffff"+
"\1\44\7\uffff\1\46\1\174\1\uffff\1\52\5\uffff\1\165\1\145\1\154"+
"\1\157\1\143\1\154\1\144\1\151\1\154\2\145\15\uffff\1\145\1\156"+
"\1\163\1\155\1\165\1\154\1\60\1\164\1\154\1\162\1\156\2\60\1\145"+
@@ -2379,7 +2365,7 @@
"\4\uffff\1\154\1\164\1\141\1\60\1\164\1\uffff\1\145\1\60\1\uffff";
static final String DFA20_maxS =
"\1\u00ff\1\uffff\1\76\1\71\1\uffff\1\uffff\2\162\1\143\1\157\2\156"+
- "\1\165\1\166\1\150\3\uffff\1\75\1\uffff\1\52\1\uffff\3\75\1\uffff"+
+ "\1\165\1\166\1\150\2\uffff\1\75\1\uffff\1\52\1\uffff\3\75\1\uffff"+
"\1\u00ff\7\uffff\1\46\1\174\1\uffff\1\57\5\uffff\1\165\1\145\1\154"+
"\1\157\1\143\1\154\1\144\1\151\1\154\2\145\15\uffff\1\145\1\156"+
"\1\163\1\155\1\165\1\154\1\u00ff\1\164\1\154\1\162\1\156\2\u00ff"+
@@ -2387,47 +2373,46 @@
"\1\165\1\143\4\uffff\1\154\1\164\1\141\1\u00ff\1\164\1\uffff\1\145"+
"\1\u00ff\1\uffff";
static final String DFA20_acceptS =
- "\1\uffff\1\1\2\uffff\1\4\12\uffff\1\17\1\20\1\21\1\uffff\1\23\1"+
- "\uffff\1\25\3\uffff\1\35\1\uffff\1\36\1\37\1\40\1\41\1\42\1\43\1"+
- "\44\2\uffff\1\50\1\uffff\1\35\1\53\1\34\1\2\1\3\13\uffff\1\26\1"+
- "\22\1\24\1\45\1\27\1\31\1\30\1\33\1\32\1\46\1\47\1\51\1\52\21\uffff"+
- "\1\10\4\uffff\1\5\1\15\1\uffff\1\11\2\uffff\1\12\1\13\1\14\1\16"+
- "\5\uffff\1\7\2\uffff\1\6";
+ "\1\uffff\1\1\2\uffff\1\4\12\uffff\1\17\1\20\1\uffff\1\22\1\uffff"+
+ "\1\24\3\uffff\1\34\1\uffff\1\35\1\36\1\37\1\40\1\41\1\42\1\43\2"+
+ "\uffff\1\47\1\uffff\1\34\1\52\1\33\1\2\1\3\13\uffff\1\25\1\21\1"+
+ "\23\1\44\1\26\1\30\1\27\1\32\1\31\1\45\1\46\1\50\1\51\21\uffff\1"+
+ "\10\4\uffff\1\5\1\15\1\uffff\1\11\2\uffff\1\12\1\13\1\14\1\16\5"+
+ "\uffff\1\7\2\uffff\1\6";
static final String DFA20_specialS =
- "\5\uffff\1\0\146\uffff}>";
+ "\5\uffff\1\0\145\uffff}>";
static final String[] DFA20_transitionS = {
- "\2\1\1\uffff\2\1\22\uffff\1\1\1\26\1\4\1\44\1\31\1\32\1\42\1"+
- "\5\1\33\1\34\2\47\1\41\1\2\1\24\1\45\12\3\1\25\1\23\1\30\1\22"+
- "\1\27\1\47\1\21\32\46\1\35\1\47\1\36\1\47\1\31\1\17\1\10\1\46"+
- "\1\11\1\46\1\12\1\7\2\46\1\13\4\46\1\14\1\15\4\46\1\6\2\46\1"+
- "\16\3\46\1\37\1\43\1\40\1\20\101\uffff\100\46",
+ "\2\1\1\uffff\2\1\22\uffff\1\1\1\25\1\4\1\43\1\30\1\31\1\41\1"+
+ "\5\1\32\1\33\2\46\1\40\1\2\1\23\1\44\12\3\1\24\1\22\1\27\1\21"+
+ "\1\26\1\46\1\20\32\45\1\34\1\46\1\35\1\46\1\30\1\17\1\10\1\45"+
+ "\1\11\1\45\1\12\1\7\2\45\1\13\4\45\1\14\1\15\4\45\1\6\2\45\1"+
+ "\16\3\45\1\36\1\42\1\37\102\uffff\100\45",
"",
- "\12\3\4\uffff\1\50",
- "\1\52\1\uffff\12\3",
+ "\12\3\4\uffff\1\47",
+ "\1\51\1\uffff\12\3",
"",
"\0\4",
- "\1\54\11\uffff\1\53",
- "\1\55\20\uffff\1\56",
+ "\1\53\11\uffff\1\52",
+ "\1\54\20\uffff\1\55",
+ "\1\56",
"\1\57",
"\1\60",
"\1\61",
"\1\62",
"\1\63",
"\1\64",
- "\1\65",
"",
"",
+ "\1\65",
"",
- "\1\66",
+ "\1\67",
"",
- "\1\70",
- "",
+ "\1\71",
"\1\72",
- "\1\73",
- "\1\75",
+ "\1\74",
"",
- "\1\46\34\uffff\32\46\4\uffff\1\46\1\uffff\32\46\105\uffff\100"+
- "\46",
+ "\1\45\34\uffff\32\45\4\uffff\1\45\1\uffff\32\45\105\uffff\100"+
+ "\45",
"",
"",
"",
@@ -2435,15 +2420,16 @@
"",
"",
"",
+ "\1\76",
"\1\77",
- "\1\100",
"",
- "\1\102\4\uffff\1\101",
+ "\1\101\4\uffff\1\100",
"",
"",
"",
"",
"",
+ "\1\102",
"\1\103",
"\1\104",
"\1\105",
@@ -2454,7 +2440,6 @@
"\1\112",
"\1\113",
"\1\114",
- "\1\115",
"",
"",
"",
@@ -2468,57 +2453,57 @@
"",
"",
"",
+ "\1\115",
"\1\116",
"\1\117",
"\1\120",
"\1\121",
"\1\122",
- "\1\123",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46\105\uffff\100"+
- "\46",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45\105\uffff\100"+
+ "\45",
+ "\1\124",
"\1\125",
"\1\126",
"\1\127",
- "\1\130",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46\105\uffff\100"+
- "\46",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46\105\uffff\100"+
- "\46",
- "\1\133",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46\105\uffff\100"+
- "\46",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45\105\uffff\100"+
+ "\45",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45\105\uffff\100"+
+ "\45",
+ "\1\132",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45\105\uffff\100"+
+ "\45",
+ "\1\134",
"\1\135",
- "\1\136",
"",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46\105\uffff\100"+
- "\46",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46\105\uffff\100"+
- "\46",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46\105\uffff\100"+
- "\46",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46\105\uffff\100"+
- "\46",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45\105\uffff\100"+
+ "\45",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45\105\uffff\100"+
+ "\45",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45\105\uffff\100"+
+ "\45",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45\105\uffff\100"+
+ "\45",
"",
"",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46\105\uffff\100"+
- "\46",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45\105\uffff\100"+
+ "\45",
"",
+ "\1\142",
"\1\143",
- "\1\144",
"",
"",
"",
"",
+ "\1\144",
"\1\145",
"\1\146",
- "\1\147",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46\105\uffff\100"+
- "\46",
- "\1\151",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45\105\uffff\100"+
+ "\45",
+ "\1\150",
"",
- "\1\152",
- "\12\46\7\uffff\32\46\4\uffff\1\46\1\uffff\32\46\105\uffff\100"+
- "\46",
+ "\1\151",
+ "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45\105\uffff\100"+
+ "\45",
""
};
@@ -2552,7 +2537,7 @@
this.transition = DFA20_transition;
}
public String getDescription() {
- return "1:1: Tokens : ( WS | INT | FLOAT | STRING | BOOL | ACCUMULATE | COLLECT | END | FROM | INIT | NULL | OVER | THEN | WHEN | GRAVE_ACCENT | TILDE | AT | EQUALS | SEMICOLON | DOT_STAR | COLON | EQUAL | NOT_EQUAL | GREATER | GREATER_EQUAL | LESS | LESS_EQUAL | ARROW | ID | LEFT_PAREN | RIGHT_PAREN | LEFT_SQUARE | RIGHT_SQUARE | LEFT_CURLY | RIGHT_CURLY | COMMA | DOT | DOUBLE_AMPER | DOUBLE_PIPE | SH_STYLE_SINGLE_LINE_COMMENT | C_STYLE_SINGLE_LINE_COMMENT | MULTI_LINE_COMMENT | MISC );";
+ return "1:1: Tokens : ( WS | INT | FLOAT | STRING | BOOL | ACCUMULATE | COLLECT | END | FROM | INIT | NULL | OVER | THEN | WHEN | GRAVE_ACCENT | AT | EQUALS | SEMICOLON | DOT_STAR | COLON | EQUAL | NOT_EQUAL | GREATER | GREATER_EQUAL | LESS | LESS_EQUAL | ARROW | ID | LEFT_PAREN | RIGHT_PAREN | LEFT_SQUARE | RIGHT_SQUARE | LEFT_CURLY | RIGHT_CURLY | COMMA | DOT | DOUBLE_AMPER | DOUBLE_PIPE | SH_STYLE_SINGLE_LINE_COMMENT | C_STYLE_SINGLE_LINE_COMMENT | MULTI_LINE_COMMENT | MISC );";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
@@ -2564,7 +2549,7 @@
s = -1;
if ( ((LA20_5>='\u0000' && LA20_5<='\uFFFF')) ) {s = 4;}
- else s = 39;
+ else s = 38;
if ( s>=0 ) return s;
break;
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DRLParser.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DRLParser.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -1,4 +1,4 @@
-// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g 2008-11-13 00:52:50
+// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g 2008-11-24 10:27:35
package org.drools.lang;
@@ -18,7 +18,7 @@
public class DRLParser extends Parser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "VT_COMPILATION_UNIT", "VT_FUNCTION_IMPORT", "VT_FACT", "VT_CONSTRAINTS", "VT_LABEL", "VT_QUERY_ID", "VT_TEMPLATE_ID", "VT_TYPE_DECLARE_ID", "VT_RULE_ID", "VT_ENTRYPOINT_ID", "VT_SLOT_ID", "VT_SLOT", "VT_RULE_ATTRIBUTES", "VT_RHS_CHUNK", "VT_CURLY_CHUNK", "VT_SQUARE_CHUNK", "VT_PAREN_CHUNK", "VT_BEHAVIOR", "VT_AND_IMPLICIT", "VT_AND_PREFIX", "VT_OR_PREFIX", "VT_AND_INFIX", "VT_OR_INFIX", "VT_ACCUMULATE_INIT_CLAUSE", "VT_ACCUMULATE_ID_CLAUSE", "VT_FROM_SOURCE", "VT_EXPRESSION_CHAIN", "VT_PATTERN", "VT_FACT_BINDING", "VT_FACT_OR", "VT_BIND_FIELD", "VT_FIELD", "VT_ACCESSOR_PATH", "VT_ACCESSOR_ELEMENT", "VT_DATA_TYPE", "VT_PATTERN_TYPE", "VT_PACKAGE_ID", "VT_IMPORT_ID", "VT_GLOBAL_ID", "VT_FUNCTION_ID", "VT_PARAM_LIST", "VK_DATE_EFFECTIVE", "VK_DATE_EXPIRES", "VK_LOCK_ON_ACTIVE", "VK_NO_LOOP", "VK_AUTO_FOCUS", "VK_ACTIVATION_GROUP", "VK_AGENDA_GROUP", "VK_RULEFLOW_GROUP", "VK_DURATION", "VK_DIALECT", "VK_SALIENCE", "VK_ENABLED", "!
VK_ATTRIBUTES", "VK_RULE", "VK_EXTEND", "VK_IMPORT", "VK_PACKAGE", "VK_TEMPLATE", "VK_QUERY", "VK_DECLARE", "VK_FUNCTION", "VK_GLOBAL", "VK_EVAL", "VK_CONTAINS", "VK_MATCHES", "VK_EXCLUDES", "VK_SOUNDSLIKE", "VK_MEMBEROF", "VK_ENTRY_POINT", "VK_NOT", "VK_IN", "VK_OR", "VK_AND", "VK_EXISTS", "VK_FORALL", "VK_ACTION", "VK_REVERSE", "VK_RESULT", "VK_OPERATOR", "SEMICOLON", "ID", "DOT", "DOT_STAR", "END", "STRING", "LEFT_PAREN", "COMMA", "RIGHT_PAREN", "AT", "COLON", "EQUALS", "WHEN", "BOOL", "INT", "DOUBLE_PIPE", "DOUBLE_AMPER", "FROM", "OVER", "ACCUMULATE", "INIT", "COLLECT", "ARROW", "EQUAL", "GREATER", "GREATER_EQUAL", "LESS", "LESS_EQUAL", "NOT_EQUAL", "FLOAT", "NULL", "LEFT_SQUARE", "RIGHT_SQUARE", "THEN", "LEFT_CURLY", "RIGHT_CURLY", "MISC", "EOL", "WS", "EscapeSequence", "HexDigit", "UnicodeEscape", "OctalEscape", "GRAVE_ACCENT", "TILDE", "SH_STYLE_SINGLE_LINE_COMMENT", "C_STYLE_SINGLE_LINE_COMMENT", "MULTI_LINE_COMMENT"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "VT_COMPILATION_UNIT", "VT_FUNCTION_IMPORT", "VT_FACT", "VT_CONSTRAINTS", "VT_LABEL", "VT_QUERY_ID", "VT_TEMPLATE_ID", "VT_TYPE_DECLARE_ID", "VT_RULE_ID", "VT_ENTRYPOINT_ID", "VT_SLOT_ID", "VT_SLOT", "VT_RULE_ATTRIBUTES", "VT_RHS_CHUNK", "VT_CURLY_CHUNK", "VT_SQUARE_CHUNK", "VT_PAREN_CHUNK", "VT_BEHAVIOR", "VT_AND_IMPLICIT", "VT_AND_PREFIX", "VT_OR_PREFIX", "VT_AND_INFIX", "VT_OR_INFIX", "VT_ACCUMULATE_INIT_CLAUSE", "VT_ACCUMULATE_ID_CLAUSE", "VT_FROM_SOURCE", "VT_EXPRESSION_CHAIN", "VT_PATTERN", "VT_FACT_BINDING", "VT_FACT_OR", "VT_BIND_FIELD", "VT_FIELD", "VT_ACCESSOR_PATH", "VT_ACCESSOR_ELEMENT", "VT_DATA_TYPE", "VT_PATTERN_TYPE", "VT_PACKAGE_ID", "VT_IMPORT_ID", "VT_GLOBAL_ID", "VT_FUNCTION_ID", "VT_PARAM_LIST", "VK_DATE_EFFECTIVE", "VK_DATE_EXPIRES", "VK_LOCK_ON_ACTIVE", "VK_NO_LOOP", "VK_AUTO_FOCUS", "VK_ACTIVATION_GROUP", "VK_AGENDA_GROUP", "VK_RULEFLOW_GROUP", "VK_DURATION", "VK_DIALECT", "VK_SALIENCE", "VK_ENABLED", "!
VK_ATTRIBUTES", "VK_RULE", "VK_EXTEND", "VK_IMPORT", "VK_PACKAGE", "VK_TEMPLATE", "VK_QUERY", "VK_DECLARE", "VK_FUNCTION", "VK_GLOBAL", "VK_EVAL", "VK_CONTAINS", "VK_MATCHES", "VK_EXCLUDES", "VK_SOUNDSLIKE", "VK_MEMBEROF", "VK_ENTRY_POINT", "VK_NOT", "VK_IN", "VK_OR", "VK_AND", "VK_EXISTS", "VK_FORALL", "VK_ACTION", "VK_REVERSE", "VK_RESULT", "VK_OPERATOR", "SEMICOLON", "ID", "DOT", "DOT_STAR", "END", "STRING", "LEFT_PAREN", "COMMA", "RIGHT_PAREN", "AT", "COLON", "EQUALS", "WHEN", "BOOL", "INT", "DOUBLE_PIPE", "DOUBLE_AMPER", "FROM", "OVER", "ACCUMULATE", "INIT", "COLLECT", "ARROW", "EQUAL", "GREATER", "GREATER_EQUAL", "LESS", "LESS_EQUAL", "NOT_EQUAL", "FLOAT", "NULL", "LEFT_SQUARE", "RIGHT_SQUARE", "THEN", "LEFT_CURLY", "RIGHT_CURLY", "MISC", "EOL", "WS", "EscapeSequence", "HexDigit", "UnicodeEscape", "OctalEscape", "GRAVE_ACCENT", "SH_STYLE_SINGLE_LINE_COMMENT", "C_STYLE_SINGLE_LINE_COMMENT", "MULTI_LINE_COMMENT"
};
public static final int COMMA=91;
public static final int VT_PATTERN_TYPE=39;
@@ -34,13 +34,12 @@
public static final int VK_QUERY=63;
public static final int THEN=117;
public static final int VK_AUTO_FOCUS=49;
- public static final int TILDE=128;
public static final int DOT=86;
public static final int VK_IMPORT=60;
public static final int VT_SLOT=15;
public static final int VT_PACKAGE_ID=40;
public static final int LEFT_SQUARE=115;
- public static final int SH_STYLE_SINGLE_LINE_COMMENT=129;
+ public static final int SH_STYLE_SINGLE_LINE_COMMENT=128;
public static final int VT_DATA_TYPE=38;
public static final int VT_FACT=6;
public static final int VK_MATCHES=69;
@@ -85,7 +84,7 @@
public static final int VT_AND_IMPLICIT=22;
public static final int NULL=114;
public static final int COLON=94;
- public static final int MULTI_LINE_COMMENT=131;
+ public static final int MULTI_LINE_COMMENT=130;
public static final int VT_RULE_ATTRIBUTES=16;
public static final int RIGHT_SQUARE=116;
public static final int VK_AGENDA_GROUP=51;
@@ -147,7 +146,7 @@
public static final int VK_EXCLUDES=70;
public static final int RIGHT_PAREN=92;
public static final int VT_TEMPLATE_ID=10;
- public static final int C_STYLE_SINGLE_LINE_COMMENT=130;
+ public static final int C_STYLE_SINGLE_LINE_COMMENT=129;
public static final int VK_DECLARE=64;
// delegates
@@ -172,7 +171,7 @@
}
public String[] getTokenNames() { return DRLParser.tokenNames; }
- public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g"; }
+ public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g"; }
private Stack<Map<DroolsParaphraseTypes, String>> paraphrases = new Stack<Map<DroolsParaphraseTypes, String>>();
@@ -256,7 +255,7 @@
}
return lastIntergerValue;
}
-
+
private String retrieveLT(int LTNumber) {
if (null == input)
return null;
@@ -275,7 +274,7 @@
private boolean isPluggableEvaluator( int offset, boolean negated ) {
String text2Validate = retrieveLT( offset );
- return text2Validate == null ? false : DroolsSoftKeywords.isOperator( text2Validate, negated );
+ return text2Validate == null ? false : DroolsSoftKeywords.isOperator( text2Validate, negated );
}
private boolean isPluggableEvaluator( boolean negated ) {
@@ -347,13 +346,11 @@
public void reportError(RecognitionException ex) {
// if we've already reported an error and have not matched a token
// yet successfully, don't report any errors.
- if ( state.errorRecovery ) {
- //System.err.print("[SPURIOUS] ");
+ if (state.errorRecovery) {
return;
}
- state.syntaxErrors++; // don't count spurious
state.errorRecovery = true;
-
+
errors.add(errorMessageFactory.createDroolsException(ex));
}
@@ -421,28 +418,6 @@
return sb.toString();
}
- /**
- * This methos is a copy from ANTLR base class (BaseRecognizer).
- * We had to copy it just to remove a System.err.println()
- *
- public void recoverFromMismatchedToken(IntStream input,
- RecognitionException e, int ttype, BitSet follow)
- throws RecognitionException {
- // if next token is what we are looking for then "delete" this token
- if (input.LA(2) == ttype) {
- reportError(e);
- beginResync();
- input.consume(); // simply delete extra token
- endResync();
- input.consume(); // move past ttype token as if all were ok
- return;
- }
- if (!recoverFromMismatchedElement(input, e, follow)) {
- throw e;
- }
- }
- */
-
/** Overrided this method to not output mesages */
public void emitErrorMessage(String msg) {
}
@@ -454,7 +429,7 @@
};
// $ANTLR start "compilation_unit"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:408:1: compilation_unit : ( package_statement )? ( statement )* EOF -> ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:398:1: compilation_unit : ( package_statement )? ( statement )* EOF -> ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* ) ;
public final DRLParser.compilation_unit_return compilation_unit() throws RecognitionException {
DRLParser.compilation_unit_return retval = new DRLParser.compilation_unit_return();
retval.start = input.LT(1);
@@ -472,15 +447,15 @@
RewriteRuleSubtreeStream stream_package_statement=new RewriteRuleSubtreeStream(adaptor,"rule package_statement");
RewriteRuleSubtreeStream stream_statement=new RewriteRuleSubtreeStream(adaptor,"rule statement");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:409:2: ( ( package_statement )? ( statement )* EOF -> ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:409:4: ( package_statement )? ( statement )* EOF
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:399:2: ( ( package_statement )? ( statement )* EOF -> ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:399:4: ( package_statement )? ( statement )* EOF
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:409:4: ( package_statement )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:399:4: ( package_statement )?
int alt1=2;
alt1 = dfa1.predict(input);
switch (alt1) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:409:4: package_statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:399:4: package_statement
{
pushFollow(FOLLOW_package_statement_in_compilation_unit396);
package_statement1=package_statement();
@@ -494,20 +469,20 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:410:3: ( statement )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:400:3: ( statement )*
loop2:
do {
int alt2=2;
int LA2_0 = input.LA(1);
- if ( (LA2_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateIdentifierKey(DroolsSoftKeywords.ACTIVATION) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.NO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.LOOP)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateIdentifierKey(DroolsSoftKeywords.DURATION)))||((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EFFECTIVE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.AGENDA) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.RULE)))||((validateIdentifierKey(DroolsSoftKeywords.!
DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EXPIRES)))||((validateIdentifierKey(DroolsSoftKeywords.LOCK) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.ON) && validateLT(4, "-") && validateLT(5, DroolsSoftKeywords.ACTIVE)))||((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.RULEFLOW) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.ENABLED)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||((validateIdentifierKey(DroolsSoftKeywords.AUTO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.FOCUS)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))))) {
+ if ( (LA2_0==ID) ) {
alt2=1;
}
switch (alt2) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:410:3: statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:400:3: statement
{
pushFollow(FOLLOW_statement_in_compilation_unit401);
statement2=statement();
@@ -524,13 +499,13 @@
}
} while (true);
- EOF3=(Token)match(input,EOF,FOLLOW_EOF_in_compilation_unit407); if (state.failed) return retval;
+ EOF3=(Token)match(input,EOF,FOLLOW_EOF_in_compilation_unit406); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_EOF.add(EOF3);
// AST REWRITE
- // elements: statement, package_statement
+ // elements: package_statement, statement
// token labels:
// rule labels: retval
// token list labels:
@@ -540,20 +515,20 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 412:3: -> ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* )
+ // 402:3: -> ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:412:6: ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:402:6: ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_COMPILATION_UNIT, "VT_COMPILATION_UNIT"), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:412:28: ( package_statement )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:402:28: ( package_statement )?
if ( stream_package_statement.hasNext() ) {
adaptor.addChild(root_1, stream_package_statement.nextTree());
}
stream_package_statement.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:412:47: ( statement )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:402:47: ( statement )*
while ( stream_statement.hasNext() ) {
adaptor.addChild(root_1, stream_statement.nextTree());
@@ -606,13 +581,15 @@
retval.stop);
}
if (isEditorInterfaceEnabled && hasErrors()) {
- DroolsTree rootNode = (DroolsTree) retval.tree;
- for (int i = 0; i < rootNode.getChildCount(); i++) {
- DroolsTree childNode = (DroolsTree) rootNode.getChild(i);
- if (childNode.getStartCharOffset() >= errors.get(0).getOffset()) {
- rootNode.deleteChild(i);
+ Tree rootNode = (Tree) adaptor.becomeRoot(adaptor.create(
+ VT_COMPILATION_UNIT, "VT_COMPILATION_UNIT"), adaptor.nil());
+ for (int i = 0; i < ((Tree)retval.tree).getChildCount(); i++) {
+ Tree childNode = (Tree) ((Tree)retval.tree).getChild(i);
+ if (!(childNode instanceof CommonErrorNode)) {
+ rootNode.addChild(childNode);
}
}
+ retval.tree = rootNode;
}
}
@@ -626,7 +603,7 @@
};
// $ANTLR start "package_statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:449:1: package_statement : package_key package_id ( SEMICOLON )? -> ^( package_key package_id ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:441:1: package_statement : package_key package_id ( SEMICOLON )? -> ^( package_key package_id ) ;
public final DRLParser.package_statement_return package_statement() throws RecognitionException {
DRLParser.package_statement_return retval = new DRLParser.package_statement_return();
retval.start = input.LT(1);
@@ -645,22 +622,22 @@
RewriteRuleSubtreeStream stream_package_id=new RewriteRuleSubtreeStream(adaptor,"rule package_id");
pushParaphrases(DroolsParaphraseTypes.PACKAGE); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.PACKAGE);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:452:2: ( package_key package_id ( SEMICOLON )? -> ^( package_key package_id ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:452:4: package_key package_id ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:444:2: ( package_key package_id ( SEMICOLON )? -> ^( package_key package_id ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:444:4: package_key package_id ( SEMICOLON )?
{
- pushFollow(FOLLOW_package_key_in_package_statement462);
+ pushFollow(FOLLOW_package_key_in_package_statement461);
package_key4=package_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_package_key.add(package_key4.getTree());
- pushFollow(FOLLOW_package_id_in_package_statement466);
+ pushFollow(FOLLOW_package_id_in_package_statement465);
package_id5=package_id();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_package_id.add(package_id5.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:453:14: ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:445:14: ( SEMICOLON )?
int alt3=2;
int LA3_0 = input.LA(1);
@@ -669,9 +646,9 @@
}
switch (alt3) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:453:14: SEMICOLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:445:14: SEMICOLON
{
- SEMICOLON6=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_package_statement468); if (state.failed) return retval;
+ SEMICOLON6=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_package_statement467); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_SEMICOLON.add(SEMICOLON6);
@@ -686,7 +663,7 @@
// AST REWRITE
- // elements: package_id, package_key
+ // elements: package_key, package_id
// token labels:
// rule labels: retval
// token list labels:
@@ -696,9 +673,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 455:3: -> ^( package_key package_id )
+ // 447:3: -> ^( package_key package_id )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:455:6: ^( package_key package_id )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:447:6: ^( package_key package_id )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_package_key.nextNode(), root_1);
@@ -742,7 +719,7 @@
};
// $ANTLR start "package_id"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:458:1: package_id : id+= ID (id+= DOT id+= ID )* -> ^( VT_PACKAGE_ID ( ID )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:450:1: package_id : id+= ID (id+= DOT id+= ID )* -> ^( VT_PACKAGE_ID ( ID )+ ) ;
public final DRLParser.package_id_return package_id() throws RecognitionException {
DRLParser.package_id_return retval = new DRLParser.package_id_return();
retval.start = input.LT(1);
@@ -757,16 +734,16 @@
RewriteRuleTokenStream stream_DOT=new RewriteRuleTokenStream(adaptor,"token DOT");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:459:2: (id+= ID (id+= DOT id+= ID )* -> ^( VT_PACKAGE_ID ( ID )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:459:4: id+= ID (id+= DOT id+= ID )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:451:2: (id+= ID (id+= DOT id+= ID )* -> ^( VT_PACKAGE_ID ( ID )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:451:4: id+= ID (id+= DOT id+= ID )*
{
- id=(Token)match(input,ID,FOLLOW_ID_in_package_id495); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_package_id494); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if (list_id==null) list_id=new ArrayList();
list_id.add(id);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:459:11: (id+= DOT id+= ID )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:451:11: (id+= DOT id+= ID )*
loop4:
do {
int alt4=2;
@@ -779,15 +756,15 @@
switch (alt4) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:459:13: id+= DOT id+= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:451:13: id+= DOT id+= ID
{
- id=(Token)match(input,DOT,FOLLOW_DOT_in_package_id501); if (state.failed) return retval;
+ id=(Token)match(input,DOT,FOLLOW_DOT_in_package_id500); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_DOT.add(id);
if (list_id==null) list_id=new ArrayList();
list_id.add(id);
- id=(Token)match(input,ID,FOLLOW_ID_in_package_id505); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_package_id504); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if (list_id==null) list_id=new ArrayList();
@@ -819,9 +796,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 462:3: -> ^( VT_PACKAGE_ID ( ID )+ )
+ // 454:3: -> ^( VT_PACKAGE_ID ( ID )+ )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:462:6: ^( VT_PACKAGE_ID ( ID )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:454:6: ^( VT_PACKAGE_ID ( ID )+ )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_PACKAGE_ID, "VT_PACKAGE_ID"), root_1);
@@ -869,7 +846,7 @@
};
// $ANTLR start "statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:465:1: statement options {k=2; } : ( rule_attribute | {...}? => function_import_statement | import_statement | global | function | {...}? => template | {...}? => type_declaration | rule | query );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:457:1: statement options {k=2; } : ( rule_attribute | {...}? => function_import_statement | import_statement | global | function | {...}? => template | {...}? => type_declaration | rule | query );
public final DRLParser.statement_return statement() throws RecognitionException {
DRLParser.statement_return retval = new DRLParser.statement_return();
retval.start = input.LT(1);
@@ -896,18 +873,17 @@
- if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.RULE_ATTRIBUTE);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:470:2: ( rule_attribute | {...}? => function_import_statement | import_statement | global | function | {...}? => template | {...}? => type_declaration | rule | query )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:460:3: ( rule_attribute | {...}? => function_import_statement | import_statement | global | function | {...}? => template | {...}? => type_declaration | rule | query )
int alt5=9;
alt5 = dfa5.predict(input);
switch (alt5) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:470:4: rule_attribute
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:460:5: rule_attribute
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_rule_attribute_in_statement549);
+ pushFollow(FOLLOW_rule_attribute_in_statement542);
rule_attribute7=rule_attribute();
state._fsp--;
@@ -917,7 +893,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:471:3: {...}? => function_import_statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:461:3: {...}? => function_import_statement
{
root_0 = (Object)adaptor.nil();
@@ -925,7 +901,7 @@
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "statement", "(validateLT(1, \"import\") && validateLT(2, \"function\") )");
}
- pushFollow(FOLLOW_function_import_statement_in_statement556);
+ pushFollow(FOLLOW_function_import_statement_in_statement549);
function_import_statement8=function_import_statement();
state._fsp--;
@@ -935,11 +911,11 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:472:4: import_statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:462:4: import_statement
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_import_statement_in_statement562);
+ pushFollow(FOLLOW_import_statement_in_statement555);
import_statement9=import_statement();
state._fsp--;
@@ -949,11 +925,11 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:473:4: global
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:463:4: global
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_global_in_statement568);
+ pushFollow(FOLLOW_global_in_statement561);
global10=global();
state._fsp--;
@@ -963,11 +939,11 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:474:4: function
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:464:4: function
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_function_in_statement574);
+ pushFollow(FOLLOW_function_in_statement567);
function11=function();
state._fsp--;
@@ -977,7 +953,7 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:475:4: {...}? => template
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:465:4: {...}? => template
{
root_0 = (Object)adaptor.nil();
@@ -985,7 +961,7 @@
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "statement", "(validateLT(1, DroolsSoftKeywords.TEMPLATE))");
}
- pushFollow(FOLLOW_template_in_statement582);
+ pushFollow(FOLLOW_template_in_statement575);
template12=template();
state._fsp--;
@@ -995,7 +971,7 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:476:4: {...}? => type_declaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:466:4: {...}? => type_declaration
{
root_0 = (Object)adaptor.nil();
@@ -1003,7 +979,7 @@
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "statement", "(validateLT(1, DroolsSoftKeywords.DECLARE))");
}
- pushFollow(FOLLOW_type_declaration_in_statement590);
+ pushFollow(FOLLOW_type_declaration_in_statement583);
type_declaration13=type_declaration();
state._fsp--;
@@ -1013,11 +989,11 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:477:4: rule
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:467:4: rule
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_rule_in_statement595);
+ pushFollow(FOLLOW_rule_in_statement588);
rule14=rule();
state._fsp--;
@@ -1027,11 +1003,11 @@
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:478:4: query
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:468:4: query
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_query_in_statement600);
+ pushFollow(FOLLOW_query_in_statement593);
query15=query();
state._fsp--;
@@ -1068,7 +1044,7 @@
};
// $ANTLR start "import_statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:481:1: import_statement : import_key import_name[DroolsParaphraseTypes.IMPORT] ( SEMICOLON )? -> ^( import_key import_name ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:471:1: import_statement : import_key import_name[DroolsParaphraseTypes.IMPORT] ( SEMICOLON )? -> ^( import_key import_name ) ;
public final DRLParser.import_statement_return import_statement() throws RecognitionException {
DRLParser.import_statement_return retval = new DRLParser.import_statement_return();
retval.start = input.LT(1);
@@ -1085,24 +1061,24 @@
RewriteRuleTokenStream stream_SEMICOLON=new RewriteRuleTokenStream(adaptor,"token SEMICOLON");
RewriteRuleSubtreeStream stream_import_key=new RewriteRuleSubtreeStream(adaptor,"rule import_key");
RewriteRuleSubtreeStream stream_import_name=new RewriteRuleSubtreeStream(adaptor,"rule import_name");
- pushParaphrases(DroolsParaphraseTypes.IMPORT); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.IMPORT_STATEMENT);
+ pushParaphrases(DroolsParaphraseTypes.IMPORT); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.IMPORT_STATEMENT);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:484:2: ( import_key import_name[DroolsParaphraseTypes.IMPORT] ( SEMICOLON )? -> ^( import_key import_name ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:484:4: import_key import_name[DroolsParaphraseTypes.IMPORT] ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:474:2: ( import_key import_name[DroolsParaphraseTypes.IMPORT] ( SEMICOLON )? -> ^( import_key import_name ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:474:4: import_key import_name[DroolsParaphraseTypes.IMPORT] ( SEMICOLON )?
{
- pushFollow(FOLLOW_import_key_in_import_statement622);
+ pushFollow(FOLLOW_import_key_in_import_statement615);
import_key16=import_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_import_key.add(import_key16.getTree());
- pushFollow(FOLLOW_import_name_in_import_statement624);
+ pushFollow(FOLLOW_import_name_in_import_statement617);
import_name17=import_name(DroolsParaphraseTypes.IMPORT);
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_import_name.add(import_name17.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:484:57: ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:474:57: ( SEMICOLON )?
int alt6=2;
int LA6_0 = input.LA(1);
@@ -1111,9 +1087,9 @@
}
switch (alt6) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:484:57: SEMICOLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:474:57: SEMICOLON
{
- SEMICOLON18=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_import_statement627); if (state.failed) return retval;
+ SEMICOLON18=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_import_statement620); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_SEMICOLON.add(SEMICOLON18);
@@ -1138,9 +1114,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 486:3: -> ^( import_key import_name )
+ // 476:3: -> ^( import_key import_name )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:486:6: ^( import_key import_name )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:476:6: ^( import_key import_name )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_import_key.nextNode(), root_1);
@@ -1184,7 +1160,7 @@
};
// $ANTLR start "function_import_statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:489:1: function_import_statement : imp= import_key function_key import_name[DroolsParaphraseTypes.FUNCTION_IMPORT] ( SEMICOLON )? -> ^( VT_FUNCTION_IMPORT[$imp.start] function_key import_name ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:479:1: function_import_statement : imp= import_key function_key import_name[DroolsParaphraseTypes.FUNCTION_IMPORT] ( SEMICOLON )? -> ^( VT_FUNCTION_IMPORT[$imp.start] function_key import_name ) ;
public final DRLParser.function_import_statement_return function_import_statement() throws RecognitionException {
DRLParser.function_import_statement_return retval = new DRLParser.function_import_statement_return();
retval.start = input.LT(1);
@@ -1206,28 +1182,28 @@
RewriteRuleSubtreeStream stream_import_name=new RewriteRuleSubtreeStream(adaptor,"rule import_name");
pushParaphrases(DroolsParaphraseTypes.FUNCTION_IMPORT); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.FUNCTION_IMPORT_STATEMENT);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:492:2: (imp= import_key function_key import_name[DroolsParaphraseTypes.FUNCTION_IMPORT] ( SEMICOLON )? -> ^( VT_FUNCTION_IMPORT[$imp.start] function_key import_name ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:492:4: imp= import_key function_key import_name[DroolsParaphraseTypes.FUNCTION_IMPORT] ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:482:2: (imp= import_key function_key import_name[DroolsParaphraseTypes.FUNCTION_IMPORT] ( SEMICOLON )? -> ^( VT_FUNCTION_IMPORT[$imp.start] function_key import_name ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:482:4: imp= import_key function_key import_name[DroolsParaphraseTypes.FUNCTION_IMPORT] ( SEMICOLON )?
{
- pushFollow(FOLLOW_import_key_in_function_import_statement665);
+ pushFollow(FOLLOW_import_key_in_function_import_statement658);
imp=import_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_import_key.add(imp.getTree());
- pushFollow(FOLLOW_function_key_in_function_import_statement667);
+ pushFollow(FOLLOW_function_key_in_function_import_statement660);
function_key19=function_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_function_key.add(function_key19.getTree());
- pushFollow(FOLLOW_import_name_in_function_import_statement669);
+ pushFollow(FOLLOW_import_name_in_function_import_statement662);
import_name20=import_name(DroolsParaphraseTypes.FUNCTION_IMPORT);
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_import_name.add(import_name20.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:492:83: ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:482:83: ( SEMICOLON )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -1236,9 +1212,9 @@
}
switch (alt7) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:492:83: SEMICOLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:482:83: SEMICOLON
{
- SEMICOLON21=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_function_import_statement672); if (state.failed) return retval;
+ SEMICOLON21=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_function_import_statement665); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_SEMICOLON.add(SEMICOLON21);
@@ -1263,9 +1239,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 494:3: -> ^( VT_FUNCTION_IMPORT[$imp.start] function_key import_name )
+ // 484:3: -> ^( VT_FUNCTION_IMPORT[$imp.start] function_key import_name )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:494:6: ^( VT_FUNCTION_IMPORT[$imp.start] function_key import_name )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:484:6: ^( VT_FUNCTION_IMPORT[$imp.start] function_key import_name )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_FUNCTION_IMPORT, (imp!=null?((Token)imp.start):null)), root_1);
@@ -1310,7 +1286,7 @@
};
// $ANTLR start "import_name"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:497:1: import_name[DroolsParaphraseTypes importType] : id+= ID (id+= DOT id+= ID )* (id+= DOT_STAR )? -> ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:487:1: import_name[DroolsParaphraseTypes importType] : id+= ID (id+= DOT id+= ID )* (id+= DOT_STAR )? -> ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? ) ;
public final DRLParser.import_name_return import_name(DroolsParaphraseTypes importType) throws RecognitionException {
DRLParser.import_name_return retval = new DRLParser.import_name_return();
retval.start = input.LT(1);
@@ -1326,16 +1302,16 @@
RewriteRuleTokenStream stream_DOT=new RewriteRuleTokenStream(adaptor,"token DOT");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:498:2: (id+= ID (id+= DOT id+= ID )* (id+= DOT_STAR )? -> ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:498:4: id+= ID (id+= DOT id+= ID )* (id+= DOT_STAR )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:488:2: (id+= ID (id+= DOT id+= ID )* (id+= DOT_STAR )? -> ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:488:4: id+= ID (id+= DOT id+= ID )* (id+= DOT_STAR )?
{
- id=(Token)match(input,ID,FOLLOW_ID_in_import_name706); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_import_name699); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if (list_id==null) list_id=new ArrayList();
list_id.add(id);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:498:11: (id+= DOT id+= ID )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:488:11: (id+= DOT id+= ID )*
loop8:
do {
int alt8=2;
@@ -1348,15 +1324,15 @@
switch (alt8) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:498:13: id+= DOT id+= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:488:13: id+= DOT id+= ID
{
- id=(Token)match(input,DOT,FOLLOW_DOT_in_import_name712); if (state.failed) return retval;
+ id=(Token)match(input,DOT,FOLLOW_DOT_in_import_name705); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_DOT.add(id);
if (list_id==null) list_id=new ArrayList();
list_id.add(id);
- id=(Token)match(input,ID,FOLLOW_ID_in_import_name716); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_import_name709); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if (list_id==null) list_id=new ArrayList();
@@ -1371,7 +1347,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:498:33: (id+= DOT_STAR )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:488:33: (id+= DOT_STAR )?
int alt9=2;
int LA9_0 = input.LA(1);
@@ -1380,9 +1356,9 @@
}
switch (alt9) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:498:33: id+= DOT_STAR
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:488:33: id+= DOT_STAR
{
- id=(Token)match(input,DOT_STAR,FOLLOW_DOT_STAR_in_import_name723); if (state.failed) return retval;
+ id=(Token)match(input,DOT_STAR,FOLLOW_DOT_STAR_in_import_name716); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_DOT_STAR.add(id);
if (list_id==null) list_id=new ArrayList();
@@ -1401,7 +1377,7 @@
// AST REWRITE
- // elements: ID, DOT_STAR
+ // elements: DOT_STAR, ID
// token labels:
// rule labels: retval
// token list labels:
@@ -1411,9 +1387,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 501:3: -> ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? )
+ // 491:3: -> ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:501:6: ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:491:6: ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_IMPORT_ID, "VT_IMPORT_ID"), root_1);
@@ -1426,7 +1402,7 @@
}
stream_ID.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:501:25: ( DOT_STAR )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:491:25: ( DOT_STAR )?
if ( stream_DOT_STAR.hasNext() ) {
adaptor.addChild(root_1, stream_DOT_STAR.nextNode());
@@ -1467,7 +1443,7 @@
};
// $ANTLR start "global"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:504:1: global : global_key data_type global_id ( SEMICOLON )? -> ^( global_key data_type global_id ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:494:1: global : global_key data_type global_id ( SEMICOLON )? -> ^( global_key data_type global_id ) ;
public final DRLParser.global_return global() throws RecognitionException {
DRLParser.global_return retval = new DRLParser.global_return();
retval.start = input.LT(1);
@@ -1487,30 +1463,30 @@
RewriteRuleSubtreeStream stream_data_type=new RewriteRuleSubtreeStream(adaptor,"rule data_type");
RewriteRuleSubtreeStream stream_global_id=new RewriteRuleSubtreeStream(adaptor,"rule global_id");
RewriteRuleSubtreeStream stream_global_key=new RewriteRuleSubtreeStream(adaptor,"rule global_key");
- pushParaphrases(DroolsParaphraseTypes.GLOBAL); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.GLOBAL);
+ pushParaphrases(DroolsParaphraseTypes.GLOBAL); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.GLOBAL);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:507:2: ( global_key data_type global_id ( SEMICOLON )? -> ^( global_key data_type global_id ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:507:4: global_key data_type global_id ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:497:2: ( global_key data_type global_id ( SEMICOLON )? -> ^( global_key data_type global_id ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:497:4: global_key data_type global_id ( SEMICOLON )?
{
- pushFollow(FOLLOW_global_key_in_global763);
+ pushFollow(FOLLOW_global_key_in_global756);
global_key22=global_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_global_key.add(global_key22.getTree());
- pushFollow(FOLLOW_data_type_in_global765);
+ pushFollow(FOLLOW_data_type_in_global758);
data_type23=data_type();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_data_type.add(data_type23.getTree());
- pushFollow(FOLLOW_global_id_in_global767);
+ pushFollow(FOLLOW_global_id_in_global760);
global_id24=global_id();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_global_id.add(global_id24.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:507:35: ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:497:35: ( SEMICOLON )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -1519,9 +1495,9 @@
}
switch (alt10) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:507:35: SEMICOLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:497:35: SEMICOLON
{
- SEMICOLON25=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_global769); if (state.failed) return retval;
+ SEMICOLON25=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_global762); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_SEMICOLON.add(SEMICOLON25);
@@ -1536,7 +1512,7 @@
// AST REWRITE
- // elements: global_key, global_id, data_type
+ // elements: global_id, global_key, data_type
// token labels:
// rule labels: retval
// token list labels:
@@ -1546,9 +1522,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 509:3: -> ^( global_key data_type global_id )
+ // 499:3: -> ^( global_key data_type global_id )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:509:6: ^( global_key data_type global_id )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:499:6: ^( global_key data_type global_id )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_global_key.nextNode(), root_1);
@@ -1593,7 +1569,7 @@
};
// $ANTLR start "global_id"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:512:1: global_id : id= ID -> VT_GLOBAL_ID[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:502:1: global_id : id= ID -> VT_GLOBAL_ID[$id] ;
public final DRLParser.global_id_return global_id() throws RecognitionException {
DRLParser.global_id_return retval = new DRLParser.global_id_return();
retval.start = input.LT(1);
@@ -1606,10 +1582,10 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:513:2: (id= ID -> VT_GLOBAL_ID[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:513:4: id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:503:2: (id= ID -> VT_GLOBAL_ID[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:503:4: id= ID
{
- id=(Token)match(input,ID,FOLLOW_ID_in_global_id798); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_global_id791); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -1629,7 +1605,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 516:3: -> VT_GLOBAL_ID[$id]
+ // 506:3: -> VT_GLOBAL_ID[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_GLOBAL_ID, id));
@@ -1664,7 +1640,7 @@
};
// $ANTLR start "function"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:519:1: function : function_key ( data_type )? function_id parameters curly_chunk -> ^( function_key ( data_type )? function_id parameters curly_chunk ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:509:1: function : function_key ( data_type )? function_id parameters curly_chunk -> ^( function_key ( data_type )? function_id parameters curly_chunk ) ;
public final DRLParser.function_return function() throws RecognitionException {
DRLParser.function_return retval = new DRLParser.function_return();
retval.start = input.LT(1);
@@ -1687,18 +1663,18 @@
RewriteRuleSubtreeStream stream_curly_chunk=new RewriteRuleSubtreeStream(adaptor,"rule curly_chunk");
RewriteRuleSubtreeStream stream_data_type=new RewriteRuleSubtreeStream(adaptor,"rule data_type");
RewriteRuleSubtreeStream stream_function_id=new RewriteRuleSubtreeStream(adaptor,"rule function_id");
- pushParaphrases(DroolsParaphraseTypes.FUNCTION); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.FUNCTION);
+ pushParaphrases(DroolsParaphraseTypes.FUNCTION); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.FUNCTION);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:522:2: ( function_key ( data_type )? function_id parameters curly_chunk -> ^( function_key ( data_type )? function_id parameters curly_chunk ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:522:4: function_key ( data_type )? function_id parameters curly_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:512:2: ( function_key ( data_type )? function_id parameters curly_chunk -> ^( function_key ( data_type )? function_id parameters curly_chunk ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:512:4: function_key ( data_type )? function_id parameters curly_chunk
{
- pushFollow(FOLLOW_function_key_in_function830);
+ pushFollow(FOLLOW_function_key_in_function823);
function_key26=function_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_function_key.add(function_key26.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:522:17: ( data_type )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:512:17: ( data_type )?
int alt11=2;
int LA11_0 = input.LA(1);
@@ -1711,9 +1687,9 @@
}
switch (alt11) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:522:17: data_type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:512:17: data_type
{
- pushFollow(FOLLOW_data_type_in_function832);
+ pushFollow(FOLLOW_data_type_in_function825);
data_type27=data_type();
state._fsp--;
@@ -1725,19 +1701,19 @@
}
- pushFollow(FOLLOW_function_id_in_function835);
+ pushFollow(FOLLOW_function_id_in_function828);
function_id28=function_id();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_function_id.add(function_id28.getTree());
- pushFollow(FOLLOW_parameters_in_function837);
+ pushFollow(FOLLOW_parameters_in_function830);
parameters29=parameters();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_parameters.add(parameters29.getTree());
- pushFollow(FOLLOW_curly_chunk_in_function839);
+ pushFollow(FOLLOW_curly_chunk_in_function832);
curly_chunk30=curly_chunk();
state._fsp--;
@@ -1746,7 +1722,7 @@
// AST REWRITE
- // elements: function_id, data_type, curly_chunk, parameters, function_key
+ // elements: curly_chunk, function_id, function_key, data_type, parameters
// token labels:
// rule labels: retval
// token list labels:
@@ -1756,14 +1732,14 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 523:3: -> ^( function_key ( data_type )? function_id parameters curly_chunk )
+ // 513:3: -> ^( function_key ( data_type )? function_id parameters curly_chunk )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:523:6: ^( function_key ( data_type )? function_id parameters curly_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:513:6: ^( function_key ( data_type )? function_id parameters curly_chunk )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_function_key.nextNode(), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:523:21: ( data_type )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:513:21: ( data_type )?
if ( stream_data_type.hasNext() ) {
adaptor.addChild(root_1, stream_data_type.nextTree());
@@ -1810,7 +1786,7 @@
};
// $ANTLR start "function_id"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:526:1: function_id : id= ID -> VT_FUNCTION_ID[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:516:1: function_id : id= ID -> VT_FUNCTION_ID[$id] ;
public final DRLParser.function_id_return function_id() throws RecognitionException {
DRLParser.function_id_return retval = new DRLParser.function_id_return();
retval.start = input.LT(1);
@@ -1823,10 +1799,10 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:527:2: (id= ID -> VT_FUNCTION_ID[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:527:4: id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:517:2: (id= ID -> VT_FUNCTION_ID[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:517:4: id= ID
{
- id=(Token)match(input,ID,FOLLOW_ID_in_function_id869); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_function_id862); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -1846,7 +1822,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 530:3: -> VT_FUNCTION_ID[$id]
+ // 520:3: -> VT_FUNCTION_ID[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_FUNCTION_ID, id));
@@ -1881,7 +1857,7 @@
};
// $ANTLR start "query"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:533:1: query : query_key query_id ( parameters )? normal_lhs_block END ( SEMICOLON )? -> ^( query_key query_id ( parameters )? normal_lhs_block END ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:523:1: query : query_key query_id ( parameters )? normal_lhs_block END ( SEMICOLON )? -> ^( query_key query_id ( parameters )? normal_lhs_block END ) ;
public final DRLParser.query_return query() throws RecognitionException {
DRLParser.query_return retval = new DRLParser.query_return();
retval.start = input.LT(1);
@@ -1907,18 +1883,18 @@
RewriteRuleSubtreeStream stream_query_key=new RewriteRuleSubtreeStream(adaptor,"rule query_key");
RewriteRuleSubtreeStream stream_normal_lhs_block=new RewriteRuleSubtreeStream(adaptor,"rule normal_lhs_block");
RewriteRuleSubtreeStream stream_query_id=new RewriteRuleSubtreeStream(adaptor,"rule query_id");
- pushParaphrases(DroolsParaphraseTypes.QUERY); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.QUERY);
+ pushParaphrases(DroolsParaphraseTypes.QUERY); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.QUERY);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:536:2: ( query_key query_id ( parameters )? normal_lhs_block END ( SEMICOLON )? -> ^( query_key query_id ( parameters )? normal_lhs_block END ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:536:4: query_key query_id ( parameters )? normal_lhs_block END ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:526:2: ( query_key query_id ( parameters )? normal_lhs_block END ( SEMICOLON )? -> ^( query_key query_id ( parameters )? normal_lhs_block END ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:526:4: query_key query_id ( parameters )? normal_lhs_block END ( SEMICOLON )?
{
- pushFollow(FOLLOW_query_key_in_query901);
+ pushFollow(FOLLOW_query_key_in_query894);
query_key31=query_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_query_key.add(query_key31.getTree());
- pushFollow(FOLLOW_query_id_in_query903);
+ pushFollow(FOLLOW_query_id_in_query896);
query_id32=query_id();
state._fsp--;
@@ -1927,14 +1903,14 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:538:3: ( parameters )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:528:3: ( parameters )?
int alt12=2;
alt12 = dfa12.predict(input);
switch (alt12) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:538:3: parameters
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:528:3: parameters
{
- pushFollow(FOLLOW_parameters_in_query911);
+ pushFollow(FOLLOW_parameters_in_query904);
parameters33=parameters();
state._fsp--;
@@ -1949,16 +1925,16 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION);
}
- pushFollow(FOLLOW_normal_lhs_block_in_query920);
+ pushFollow(FOLLOW_normal_lhs_block_in_query913);
normal_lhs_block34=normal_lhs_block();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_normal_lhs_block.add(normal_lhs_block34.getTree());
- END35=(Token)match(input,END,FOLLOW_END_in_query925); if (state.failed) return retval;
+ END35=(Token)match(input,END,FOLLOW_END_in_query918); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_END.add(END35);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:541:7: ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:531:7: ( SEMICOLON )?
int alt13=2;
int LA13_0 = input.LA(1);
@@ -1967,9 +1943,9 @@
}
switch (alt13) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:541:7: SEMICOLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:531:7: SEMICOLON
{
- SEMICOLON36=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_query927); if (state.failed) return retval;
+ SEMICOLON36=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_query920); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_SEMICOLON.add(SEMICOLON36);
@@ -1985,7 +1961,7 @@
// AST REWRITE
- // elements: normal_lhs_block, query_key, END, parameters, query_id
+ // elements: normal_lhs_block, query_id, END, parameters, query_key
// token labels:
// rule labels: retval
// token list labels:
@@ -1995,15 +1971,15 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 544:3: -> ^( query_key query_id ( parameters )? normal_lhs_block END )
+ // 534:3: -> ^( query_key query_id ( parameters )? normal_lhs_block END )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:544:6: ^( query_key query_id ( parameters )? normal_lhs_block END )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:534:6: ^( query_key query_id ( parameters )? normal_lhs_block END )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_query_key.nextNode(), root_1);
adaptor.addChild(root_1, stream_query_id.nextTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:544:27: ( parameters )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:534:27: ( parameters )?
if ( stream_parameters.hasNext() ) {
adaptor.addChild(root_1, stream_parameters.nextTree());
@@ -2049,7 +2025,7 @@
};
// $ANTLR start "query_id"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:547:1: query_id : (id= ID -> VT_QUERY_ID[$id] | id= STRING -> VT_QUERY_ID[$id] );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:537:1: query_id : (id= ID -> VT_QUERY_ID[$id] | id= STRING -> VT_QUERY_ID[$id] );
public final DRLParser.query_id_return query_id() throws RecognitionException {
DRLParser.query_id_return retval = new DRLParser.query_id_return();
retval.start = input.LT(1);
@@ -2063,7 +2039,7 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:548:2: (id= ID -> VT_QUERY_ID[$id] | id= STRING -> VT_QUERY_ID[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:538:2: (id= ID -> VT_QUERY_ID[$id] | id= STRING -> VT_QUERY_ID[$id] )
int alt14=2;
int LA14_0 = input.LA(1);
@@ -2082,9 +2058,9 @@
}
switch (alt14) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:548:5: id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:538:5: id= ID
{
- id=(Token)match(input,ID,FOLLOW_ID_in_query_id962); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_query_id955); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -2104,7 +2080,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 550:65: -> VT_QUERY_ID[$id]
+ // 540:65: -> VT_QUERY_ID[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_QUERY_ID, id));
@@ -2114,9 +2090,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:551:5: id= STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:541:5: id= STRING
{
- id=(Token)match(input,STRING,FOLLOW_STRING_in_query_id978); if (state.failed) return retval;
+ id=(Token)match(input,STRING,FOLLOW_STRING_in_query_id971); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_STRING.add(id);
if ( state.backtracking==0 ) {
@@ -2136,7 +2112,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 553:65: -> VT_QUERY_ID[$id]
+ // 543:65: -> VT_QUERY_ID[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_QUERY_ID, id));
@@ -2173,7 +2149,7 @@
};
// $ANTLR start "parameters"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:556:1: parameters : LEFT_PAREN ( param_definition ( COMMA param_definition )* )? RIGHT_PAREN -> ^( VT_PARAM_LIST ( param_definition )* RIGHT_PAREN ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:546:1: parameters : LEFT_PAREN ( param_definition ( COMMA param_definition )* )? RIGHT_PAREN -> ^( VT_PARAM_LIST ( param_definition )* RIGHT_PAREN ) ;
public final DRLParser.parameters_return parameters() throws RecognitionException {
DRLParser.parameters_return retval = new DRLParser.parameters_return();
retval.start = input.LT(1);
@@ -2196,16 +2172,16 @@
RewriteRuleTokenStream stream_RIGHT_PAREN=new RewriteRuleTokenStream(adaptor,"token RIGHT_PAREN");
RewriteRuleSubtreeStream stream_param_definition=new RewriteRuleSubtreeStream(adaptor,"rule param_definition");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:557:2: ( LEFT_PAREN ( param_definition ( COMMA param_definition )* )? RIGHT_PAREN -> ^( VT_PARAM_LIST ( param_definition )* RIGHT_PAREN ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:557:4: LEFT_PAREN ( param_definition ( COMMA param_definition )* )? RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:547:2: ( LEFT_PAREN ( param_definition ( COMMA param_definition )* )? RIGHT_PAREN -> ^( VT_PARAM_LIST ( param_definition )* RIGHT_PAREN ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:547:4: LEFT_PAREN ( param_definition ( COMMA param_definition )* )? RIGHT_PAREN
{
- LEFT_PAREN37=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_parameters997); if (state.failed) return retval;
+ LEFT_PAREN37=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_parameters990); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_PAREN.add(LEFT_PAREN37);
if ( state.backtracking==0 ) {
emit(LEFT_PAREN37, DroolsEditorType.SYMBOL);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:558:4: ( param_definition ( COMMA param_definition )* )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:548:4: ( param_definition ( COMMA param_definition )* )?
int alt16=2;
int LA16_0 = input.LA(1);
@@ -2214,15 +2190,15 @@
}
switch (alt16) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:558:6: param_definition ( COMMA param_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:548:6: param_definition ( COMMA param_definition )*
{
- pushFollow(FOLLOW_param_definition_in_parameters1006);
+ pushFollow(FOLLOW_param_definition_in_parameters999);
param_definition38=param_definition();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_param_definition.add(param_definition38.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:558:23: ( COMMA param_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:548:23: ( COMMA param_definition )*
loop15:
do {
int alt15=2;
@@ -2235,15 +2211,15 @@
switch (alt15) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:558:24: COMMA param_definition
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:548:24: COMMA param_definition
{
- COMMA39=(Token)match(input,COMMA,FOLLOW_COMMA_in_parameters1009); if (state.failed) return retval;
+ COMMA39=(Token)match(input,COMMA,FOLLOW_COMMA_in_parameters1002); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COMMA.add(COMMA39);
if ( state.backtracking==0 ) {
emit(COMMA39, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_param_definition_in_parameters1013);
+ pushFollow(FOLLOW_param_definition_in_parameters1006);
param_definition40=param_definition();
state._fsp--;
@@ -2264,7 +2240,7 @@
}
- RIGHT_PAREN41=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_parameters1022); if (state.failed) return retval;
+ RIGHT_PAREN41=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_parameters1015); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_RIGHT_PAREN.add(RIGHT_PAREN41);
if ( state.backtracking==0 ) {
@@ -2273,7 +2249,7 @@
// AST REWRITE
- // elements: param_definition, RIGHT_PAREN
+ // elements: RIGHT_PAREN, param_definition
// token labels:
// rule labels: retval
// token list labels:
@@ -2283,14 +2259,14 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 560:3: -> ^( VT_PARAM_LIST ( param_definition )* RIGHT_PAREN )
+ // 550:3: -> ^( VT_PARAM_LIST ( param_definition )* RIGHT_PAREN )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:560:6: ^( VT_PARAM_LIST ( param_definition )* RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:550:6: ^( VT_PARAM_LIST ( param_definition )* RIGHT_PAREN )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_PARAM_LIST, "VT_PARAM_LIST"), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:560:22: ( param_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:550:22: ( param_definition )*
while ( stream_param_definition.hasNext() ) {
adaptor.addChild(root_1, stream_param_definition.nextTree());
@@ -2332,7 +2308,7 @@
};
// $ANTLR start "param_definition"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:563:1: param_definition : ( data_type )? argument ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:553:1: param_definition : ( data_type )? argument ;
public final DRLParser.param_definition_return param_definition() throws RecognitionException {
DRLParser.param_definition_return retval = new DRLParser.param_definition_return();
retval.start = input.LT(1);
@@ -2346,19 +2322,19 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:564:2: ( ( data_type )? argument )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:564:4: ( data_type )? argument
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:554:2: ( ( data_type )? argument )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:554:4: ( data_type )? argument
{
root_0 = (Object)adaptor.nil();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:564:4: ( data_type )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:554:4: ( data_type )?
int alt17=2;
alt17 = dfa17.predict(input);
switch (alt17) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:564:4: data_type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:554:4: data_type
{
- pushFollow(FOLLOW_data_type_in_param_definition1048);
+ pushFollow(FOLLOW_data_type_in_param_definition1041);
data_type42=data_type();
state._fsp--;
@@ -2370,7 +2346,7 @@
}
- pushFollow(FOLLOW_argument_in_param_definition1051);
+ pushFollow(FOLLOW_argument_in_param_definition1044);
argument43=argument();
state._fsp--;
@@ -2405,7 +2381,7 @@
};
// $ANTLR start "argument"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:567:1: argument : ID ( dimension_definition )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:557:1: argument : ID ( dimension_definition )* ;
public final DRLParser.argument_return argument() throws RecognitionException {
DRLParser.argument_return retval = new DRLParser.argument_return();
retval.start = input.LT(1);
@@ -2419,12 +2395,12 @@
Object ID44_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:568:2: ( ID ( dimension_definition )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:568:4: ID ( dimension_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:558:2: ( ID ( dimension_definition )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:558:4: ID ( dimension_definition )*
{
root_0 = (Object)adaptor.nil();
- ID44=(Token)match(input,ID,FOLLOW_ID_in_argument1062); if (state.failed) return retval;
+ ID44=(Token)match(input,ID,FOLLOW_ID_in_argument1055); if (state.failed) return retval;
if ( state.backtracking==0 ) {
ID44_tree = (Object)adaptor.create(ID44);
adaptor.addChild(root_0, ID44_tree);
@@ -2432,7 +2408,7 @@
if ( state.backtracking==0 ) {
emit(ID44, DroolsEditorType.IDENTIFIER);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:569:3: ( dimension_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:559:3: ( dimension_definition )*
loop18:
do {
int alt18=2;
@@ -2445,9 +2421,9 @@
switch (alt18) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:569:3: dimension_definition
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:559:3: dimension_definition
{
- pushFollow(FOLLOW_dimension_definition_in_argument1068);
+ pushFollow(FOLLOW_dimension_definition_in_argument1061);
dimension_definition45=dimension_definition();
state._fsp--;
@@ -2491,7 +2467,7 @@
};
// $ANTLR start "type_declaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:572:1: type_declaration : declare_key type_declare_id ( decl_metadata )* ( decl_field )* END -> ^( declare_key type_declare_id ( decl_metadata )* ( decl_field )* END ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:562:1: type_declaration : declare_key type_declare_id ( decl_metadata )* ( decl_field )* END -> ^( declare_key type_declare_id ( decl_metadata )* ( decl_field )* END ) ;
public final DRLParser.type_declaration_return type_declaration() throws RecognitionException {
DRLParser.type_declaration_return retval = new DRLParser.type_declaration_return();
retval.start = input.LT(1);
@@ -2516,22 +2492,22 @@
RewriteRuleSubtreeStream stream_type_declare_id=new RewriteRuleSubtreeStream(adaptor,"rule type_declare_id");
pushParaphrases(DroolsParaphraseTypes.TYPE_DECLARE); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.TYPE_DECLARATION);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:575:2: ( declare_key type_declare_id ( decl_metadata )* ( decl_field )* END -> ^( declare_key type_declare_id ( decl_metadata )* ( decl_field )* END ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:575:4: declare_key type_declare_id ( decl_metadata )* ( decl_field )* END
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:565:2: ( declare_key type_declare_id ( decl_metadata )* ( decl_field )* END -> ^( declare_key type_declare_id ( decl_metadata )* ( decl_field )* END ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:565:4: declare_key type_declare_id ( decl_metadata )* ( decl_field )* END
{
- pushFollow(FOLLOW_declare_key_in_type_declaration1091);
+ pushFollow(FOLLOW_declare_key_in_type_declaration1084);
declare_key46=declare_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_declare_key.add(declare_key46.getTree());
- pushFollow(FOLLOW_type_declare_id_in_type_declaration1094);
+ pushFollow(FOLLOW_type_declare_id_in_type_declaration1087);
type_declare_id47=type_declare_id();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_type_declare_id.add(type_declare_id47.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:576:3: ( decl_metadata )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:566:3: ( decl_metadata )*
loop19:
do {
int alt19=2;
@@ -2544,9 +2520,9 @@
switch (alt19) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:576:3: decl_metadata
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:566:3: decl_metadata
{
- pushFollow(FOLLOW_decl_metadata_in_type_declaration1098);
+ pushFollow(FOLLOW_decl_metadata_in_type_declaration1091);
decl_metadata48=decl_metadata();
state._fsp--;
@@ -2561,7 +2537,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:577:3: ( decl_field )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:567:3: ( decl_field )*
loop20:
do {
int alt20=2;
@@ -2574,9 +2550,9 @@
switch (alt20) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:577:3: decl_field
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:567:3: decl_field
{
- pushFollow(FOLLOW_decl_field_in_type_declaration1103);
+ pushFollow(FOLLOW_decl_field_in_type_declaration1096);
decl_field49=decl_field();
state._fsp--;
@@ -2591,7 +2567,7 @@
}
} while (true);
- END50=(Token)match(input,END,FOLLOW_END_in_type_declaration1108); if (state.failed) return retval;
+ END50=(Token)match(input,END,FOLLOW_END_in_type_declaration1101); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_END.add(END50);
if ( state.backtracking==0 ) {
@@ -2600,7 +2576,7 @@
// AST REWRITE
- // elements: END, decl_metadata, decl_field, declare_key, type_declare_id
+ // elements: type_declare_id, declare_key, decl_metadata, decl_field, END
// token labels:
// rule labels: retval
// token list labels:
@@ -2610,21 +2586,21 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 580:3: -> ^( declare_key type_declare_id ( decl_metadata )* ( decl_field )* END )
+ // 570:3: -> ^( declare_key type_declare_id ( decl_metadata )* ( decl_field )* END )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:580:6: ^( declare_key type_declare_id ( decl_metadata )* ( decl_field )* END )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:570:6: ^( declare_key type_declare_id ( decl_metadata )* ( decl_field )* END )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_declare_key.nextNode(), root_1);
adaptor.addChild(root_1, stream_type_declare_id.nextTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:580:36: ( decl_metadata )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:570:36: ( decl_metadata )*
while ( stream_decl_metadata.hasNext() ) {
adaptor.addChild(root_1, stream_decl_metadata.nextTree());
}
stream_decl_metadata.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:580:51: ( decl_field )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:570:51: ( decl_field )*
while ( stream_decl_field.hasNext() ) {
adaptor.addChild(root_1, stream_decl_field.nextTree());
@@ -2669,7 +2645,7 @@
};
// $ANTLR start "type_declare_id"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:583:1: type_declare_id : id= ID -> VT_TYPE_DECLARE_ID[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:573:1: type_declare_id : id= ID -> VT_TYPE_DECLARE_ID[$id] ;
public final DRLParser.type_declare_id_return type_declare_id() throws RecognitionException {
DRLParser.type_declare_id_return retval = new DRLParser.type_declare_id_return();
retval.start = input.LT(1);
@@ -2682,10 +2658,10 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:584:2: (id= ID -> VT_TYPE_DECLARE_ID[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:584:5: id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:574:2: (id= ID -> VT_TYPE_DECLARE_ID[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:574:5: id= ID
{
- id=(Token)match(input,ID,FOLLOW_ID_in_type_declare_id1143); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_type_declare_id1136); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -2705,7 +2681,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 586:72: -> VT_TYPE_DECLARE_ID[$id]
+ // 576:72: -> VT_TYPE_DECLARE_ID[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_TYPE_DECLARE_ID, id));
@@ -2740,7 +2716,7 @@
};
// $ANTLR start "decl_metadata"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:589:1: decl_metadata : AT ID paren_chunk -> ^( AT ID paren_chunk ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:579:1: decl_metadata : AT ID paren_chunk -> ^( AT ID paren_chunk ) ;
public final DRLParser.decl_metadata_return decl_metadata() throws RecognitionException {
DRLParser.decl_metadata_return retval = new DRLParser.decl_metadata_return();
retval.start = input.LT(1);
@@ -2758,22 +2734,22 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
RewriteRuleSubtreeStream stream_paren_chunk=new RewriteRuleSubtreeStream(adaptor,"rule paren_chunk");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:590:2: ( AT ID paren_chunk -> ^( AT ID paren_chunk ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:590:4: AT ID paren_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:580:2: ( AT ID paren_chunk -> ^( AT ID paren_chunk ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:580:4: AT ID paren_chunk
{
- AT51=(Token)match(input,AT,FOLLOW_AT_in_decl_metadata1162); if (state.failed) return retval;
+ AT51=(Token)match(input,AT,FOLLOW_AT_in_decl_metadata1155); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_AT.add(AT51);
if ( state.backtracking==0 ) {
emit(AT51, DroolsEditorType.SYMBOL);
}
- ID52=(Token)match(input,ID,FOLLOW_ID_in_decl_metadata1170); if (state.failed) return retval;
+ ID52=(Token)match(input,ID,FOLLOW_ID_in_decl_metadata1163); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(ID52);
if ( state.backtracking==0 ) {
emit(ID52, DroolsEditorType.IDENTIFIER);
}
- pushFollow(FOLLOW_paren_chunk_in_decl_metadata1177);
+ pushFollow(FOLLOW_paren_chunk_in_decl_metadata1170);
paren_chunk53=paren_chunk();
state._fsp--;
@@ -2782,7 +2758,7 @@
// AST REWRITE
- // elements: AT, ID, paren_chunk
+ // elements: ID, AT, paren_chunk
// token labels:
// rule labels: retval
// token list labels:
@@ -2792,9 +2768,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 595:3: -> ^( AT ID paren_chunk )
+ // 585:3: -> ^( AT ID paren_chunk )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:595:6: ^( AT ID paren_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:585:6: ^( AT ID paren_chunk )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_AT.nextNode(), root_1);
@@ -2836,7 +2812,7 @@
};
// $ANTLR start "decl_field"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:598:1: decl_field : ID ( decl_field_initialization )? COLON data_type ( decl_metadata )* -> ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:588:1: decl_field : ID ( decl_field_initialization )? COLON data_type ( decl_metadata )* -> ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* ) ;
public final DRLParser.decl_field_return decl_field() throws RecognitionException {
DRLParser.decl_field_return retval = new DRLParser.decl_field_return();
retval.start = input.LT(1);
@@ -2860,16 +2836,16 @@
RewriteRuleSubtreeStream stream_decl_field_initialization=new RewriteRuleSubtreeStream(adaptor,"rule decl_field_initialization");
RewriteRuleSubtreeStream stream_data_type=new RewriteRuleSubtreeStream(adaptor,"rule data_type");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:599:2: ( ID ( decl_field_initialization )? COLON data_type ( decl_metadata )* -> ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:599:4: ID ( decl_field_initialization )? COLON data_type ( decl_metadata )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:589:2: ( ID ( decl_field_initialization )? COLON data_type ( decl_metadata )* -> ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:589:4: ID ( decl_field_initialization )? COLON data_type ( decl_metadata )*
{
- ID54=(Token)match(input,ID,FOLLOW_ID_in_decl_field1200); if (state.failed) return retval;
+ ID54=(Token)match(input,ID,FOLLOW_ID_in_decl_field1193); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(ID54);
if ( state.backtracking==0 ) {
emit(ID54, DroolsEditorType.IDENTIFIER);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:600:3: ( decl_field_initialization )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:590:3: ( decl_field_initialization )?
int alt21=2;
int LA21_0 = input.LA(1);
@@ -2878,9 +2854,9 @@
}
switch (alt21) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:600:3: decl_field_initialization
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:590:3: decl_field_initialization
{
- pushFollow(FOLLOW_decl_field_initialization_in_decl_field1206);
+ pushFollow(FOLLOW_decl_field_initialization_in_decl_field1199);
decl_field_initialization55=decl_field_initialization();
state._fsp--;
@@ -2892,19 +2868,19 @@
}
- COLON56=(Token)match(input,COLON,FOLLOW_COLON_in_decl_field1212); if (state.failed) return retval;
+ COLON56=(Token)match(input,COLON,FOLLOW_COLON_in_decl_field1205); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COLON.add(COLON56);
if ( state.backtracking==0 ) {
emit(COLON56, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_data_type_in_decl_field1218);
+ pushFollow(FOLLOW_data_type_in_decl_field1211);
data_type57=data_type();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_data_type.add(data_type57.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:603:3: ( decl_metadata )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:593:3: ( decl_metadata )*
loop22:
do {
int alt22=2;
@@ -2917,9 +2893,9 @@
switch (alt22) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:603:3: decl_metadata
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:593:3: decl_metadata
{
- pushFollow(FOLLOW_decl_metadata_in_decl_field1222);
+ pushFollow(FOLLOW_decl_metadata_in_decl_field1215);
decl_metadata58=decl_metadata();
state._fsp--;
@@ -2947,21 +2923,21 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 604:3: -> ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* )
+ // 594:3: -> ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:604:6: ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:594:6: ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_ID.nextNode(), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:604:11: ( decl_field_initialization )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:594:11: ( decl_field_initialization )?
if ( stream_decl_field_initialization.hasNext() ) {
adaptor.addChild(root_1, stream_decl_field_initialization.nextTree());
}
stream_decl_field_initialization.reset();
adaptor.addChild(root_1, stream_data_type.nextTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:604:48: ( decl_metadata )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:594:48: ( decl_metadata )*
while ( stream_decl_metadata.hasNext() ) {
adaptor.addChild(root_1, stream_decl_metadata.nextTree());
@@ -3002,7 +2978,7 @@
};
// $ANTLR start "decl_field_initialization"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:607:1: decl_field_initialization : EQUALS paren_chunk -> ^( EQUALS paren_chunk ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:597:1: decl_field_initialization : EQUALS paren_chunk -> ^( EQUALS paren_chunk ) ;
public final DRLParser.decl_field_initialization_return decl_field_initialization() throws RecognitionException {
DRLParser.decl_field_initialization_return retval = new DRLParser.decl_field_initialization_return();
retval.start = input.LT(1);
@@ -3017,16 +2993,16 @@
RewriteRuleTokenStream stream_EQUALS=new RewriteRuleTokenStream(adaptor,"token EQUALS");
RewriteRuleSubtreeStream stream_paren_chunk=new RewriteRuleSubtreeStream(adaptor,"rule paren_chunk");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:608:2: ( EQUALS paren_chunk -> ^( EQUALS paren_chunk ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:608:4: EQUALS paren_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:598:2: ( EQUALS paren_chunk -> ^( EQUALS paren_chunk ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:598:4: EQUALS paren_chunk
{
- EQUALS59=(Token)match(input,EQUALS,FOLLOW_EQUALS_in_decl_field_initialization1250); if (state.failed) return retval;
+ EQUALS59=(Token)match(input,EQUALS,FOLLOW_EQUALS_in_decl_field_initialization1243); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_EQUALS.add(EQUALS59);
if ( state.backtracking==0 ) {
emit(EQUALS59, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_paren_chunk_in_decl_field_initialization1256);
+ pushFollow(FOLLOW_paren_chunk_in_decl_field_initialization1249);
paren_chunk60=paren_chunk();
state._fsp--;
@@ -3035,7 +3011,7 @@
// AST REWRITE
- // elements: EQUALS, paren_chunk
+ // elements: paren_chunk, EQUALS
// token labels:
// rule labels: retval
// token list labels:
@@ -3045,9 +3021,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 610:2: -> ^( EQUALS paren_chunk )
+ // 600:2: -> ^( EQUALS paren_chunk )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:610:5: ^( EQUALS paren_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:600:5: ^( EQUALS paren_chunk )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_EQUALS.nextNode(), root_1);
@@ -3088,7 +3064,7 @@
};
// $ANTLR start "template"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:613:1: template : template_key template_id (semi1= SEMICOLON )? ( template_slot )+ END (semi2= SEMICOLON )? -> ^( template_key template_id ( template_slot )+ END ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:603:1: template : template_key template_id (semi1= SEMICOLON )? ( template_slot )+ END (semi2= SEMICOLON )? -> ^( template_key template_id ( template_slot )+ END ) ;
public final DRLParser.template_return template() throws RecognitionException {
DRLParser.template_return retval = new DRLParser.template_return();
retval.start = input.LT(1);
@@ -3113,24 +3089,27 @@
RewriteRuleSubtreeStream stream_template_id=new RewriteRuleSubtreeStream(adaptor,"rule template_id");
RewriteRuleSubtreeStream stream_template_slot=new RewriteRuleSubtreeStream(adaptor,"rule template_slot");
RewriteRuleSubtreeStream stream_template_key=new RewriteRuleSubtreeStream(adaptor,"rule template_key");
- pushParaphrases(DroolsParaphraseTypes.TEMPLATE); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.TEMPLATE);
+ pushParaphrases(DroolsParaphraseTypes.TEMPLATE);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:616:2: ( template_key template_id (semi1= SEMICOLON )? ( template_slot )+ END (semi2= SEMICOLON )? -> ^( template_key template_id ( template_slot )+ END ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:616:4: template_key template_id (semi1= SEMICOLON )? ( template_slot )+ END (semi2= SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:606:2: ( template_key template_id (semi1= SEMICOLON )? ( template_slot )+ END (semi2= SEMICOLON )? -> ^( template_key template_id ( template_slot )+ END ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:607:2: template_key template_id (semi1= SEMICOLON )? ( template_slot )+ END (semi2= SEMICOLON )?
{
- pushFollow(FOLLOW_template_key_in_template1287);
+ if ( state.backtracking==0 ) {
+ beginSentence(DroolsSentenceType.TEMPLATE);
+ }
+ pushFollow(FOLLOW_template_key_in_template1286);
template_key61=template_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_template_key.add(template_key61.getTree());
- pushFollow(FOLLOW_template_id_in_template1289);
+ pushFollow(FOLLOW_template_id_in_template1288);
template_id62=template_id();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_template_id.add(template_id62.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:617:8: (semi1= SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:609:8: (semi1= SEMICOLON )?
int alt23=2;
int LA23_0 = input.LA(1);
@@ -3139,9 +3118,9 @@
}
switch (alt23) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:617:8: semi1= SEMICOLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:609:8: semi1= SEMICOLON
{
- semi1=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_template1296); if (state.failed) return retval;
+ semi1=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_template1295); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_SEMICOLON.add(semi1);
@@ -3153,7 +3132,7 @@
if ( state.backtracking==0 ) {
emit(semi1, DroolsEditorType.SYMBOL);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:619:3: ( template_slot )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:611:3: ( template_slot )+
int cnt24=0;
loop24:
do {
@@ -3167,9 +3146,9 @@
switch (alt24) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:619:3: template_slot
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:611:3: template_slot
{
- pushFollow(FOLLOW_template_slot_in_template1304);
+ pushFollow(FOLLOW_template_slot_in_template1303);
template_slot63=template_slot();
state._fsp--;
@@ -3189,10 +3168,10 @@
cnt24++;
} while (true);
- END64=(Token)match(input,END,FOLLOW_END_in_template1309); if (state.failed) return retval;
+ END64=(Token)match(input,END,FOLLOW_END_in_template1308); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_END.add(END64);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:620:12: (semi2= SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:612:12: (semi2= SEMICOLON )?
int alt25=2;
int LA25_0 = input.LA(1);
@@ -3201,9 +3180,9 @@
}
switch (alt25) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:620:12: semi2= SEMICOLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:612:12: semi2= SEMICOLON
{
- semi2=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_template1313); if (state.failed) return retval;
+ semi2=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_template1312); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_SEMICOLON.add(semi2);
@@ -3219,7 +3198,7 @@
// AST REWRITE
- // elements: template_slot, template_id, END, template_key
+ // elements: template_slot, END, template_id, template_key
// token labels:
// rule labels: retval
// token list labels:
@@ -3229,9 +3208,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 623:3: -> ^( template_key template_id ( template_slot )+ END )
+ // 615:3: -> ^( template_key template_id ( template_slot )+ END )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:623:6: ^( template_key template_id ( template_slot )+ END )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:615:6: ^( template_key template_id ( template_slot )+ END )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_template_key.nextNode(), root_1);
@@ -3284,7 +3263,7 @@
};
// $ANTLR start "template_id"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:626:1: template_id : (id= ID -> VT_TEMPLATE_ID[$id] | id= STRING -> VT_TEMPLATE_ID[$id] );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:618:1: template_id : (id= ID -> VT_TEMPLATE_ID[$id] | id= STRING -> VT_TEMPLATE_ID[$id] );
public final DRLParser.template_id_return template_id() throws RecognitionException {
DRLParser.template_id_return retval = new DRLParser.template_id_return();
retval.start = input.LT(1);
@@ -3298,7 +3277,7 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:627:2: (id= ID -> VT_TEMPLATE_ID[$id] | id= STRING -> VT_TEMPLATE_ID[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:619:2: (id= ID -> VT_TEMPLATE_ID[$id] | id= STRING -> VT_TEMPLATE_ID[$id] )
int alt26=2;
int LA26_0 = input.LA(1);
@@ -3317,9 +3296,9 @@
}
switch (alt26) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:627:5: id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:619:5: id= ID
{
- id=(Token)match(input,ID,FOLLOW_ID_in_template_id1346); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_template_id1345); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -3339,7 +3318,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 629:68: -> VT_TEMPLATE_ID[$id]
+ // 621:68: -> VT_TEMPLATE_ID[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_TEMPLATE_ID, id));
@@ -3349,9 +3328,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:630:5: id= STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:622:5: id= STRING
{
- id=(Token)match(input,STRING,FOLLOW_STRING_in_template_id1362); if (state.failed) return retval;
+ id=(Token)match(input,STRING,FOLLOW_STRING_in_template_id1361); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_STRING.add(id);
if ( state.backtracking==0 ) {
@@ -3371,7 +3350,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 632:68: -> VT_TEMPLATE_ID[$id]
+ // 624:68: -> VT_TEMPLATE_ID[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_TEMPLATE_ID, id));
@@ -3408,7 +3387,7 @@
};
// $ANTLR start "template_slot"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:635:1: template_slot : data_type slot_id ( SEMICOLON )? -> ^( VT_SLOT data_type slot_id ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:627:1: template_slot : data_type slot_id ( SEMICOLON )? -> ^( VT_SLOT data_type slot_id ) ;
public final DRLParser.template_slot_return template_slot() throws RecognitionException {
DRLParser.template_slot_return retval = new DRLParser.template_slot_return();
retval.start = input.LT(1);
@@ -3426,22 +3405,22 @@
RewriteRuleSubtreeStream stream_slot_id=new RewriteRuleSubtreeStream(adaptor,"rule slot_id");
RewriteRuleSubtreeStream stream_data_type=new RewriteRuleSubtreeStream(adaptor,"rule data_type");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:636:2: ( data_type slot_id ( SEMICOLON )? -> ^( VT_SLOT data_type slot_id ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:636:5: data_type slot_id ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:628:2: ( data_type slot_id ( SEMICOLON )? -> ^( VT_SLOT data_type slot_id ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:628:5: data_type slot_id ( SEMICOLON )?
{
- pushFollow(FOLLOW_data_type_in_template_slot1382);
+ pushFollow(FOLLOW_data_type_in_template_slot1381);
data_type65=data_type();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_data_type.add(data_type65.getTree());
- pushFollow(FOLLOW_slot_id_in_template_slot1384);
+ pushFollow(FOLLOW_slot_id_in_template_slot1383);
slot_id66=slot_id();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_slot_id.add(slot_id66.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:636:23: ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:628:23: ( SEMICOLON )?
int alt27=2;
int LA27_0 = input.LA(1);
@@ -3450,9 +3429,9 @@
}
switch (alt27) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:636:23: SEMICOLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:628:23: SEMICOLON
{
- SEMICOLON67=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_template_slot1386); if (state.failed) return retval;
+ SEMICOLON67=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_template_slot1385); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_SEMICOLON.add(SEMICOLON67);
@@ -3467,7 +3446,7 @@
// AST REWRITE
- // elements: slot_id, data_type
+ // elements: data_type, slot_id
// token labels:
// rule labels: retval
// token list labels:
@@ -3477,9 +3456,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 638:3: -> ^( VT_SLOT data_type slot_id )
+ // 630:3: -> ^( VT_SLOT data_type slot_id )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:638:6: ^( VT_SLOT data_type slot_id )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:630:6: ^( VT_SLOT data_type slot_id )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_SLOT, "VT_SLOT"), root_1);
@@ -3521,7 +3500,7 @@
};
// $ANTLR start "slot_id"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:641:1: slot_id : id= ID -> VT_SLOT_ID[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:633:1: slot_id : id= ID -> VT_SLOT_ID[$id] ;
public final DRLParser.slot_id_return slot_id() throws RecognitionException {
DRLParser.slot_id_return retval = new DRLParser.slot_id_return();
retval.start = input.LT(1);
@@ -3534,10 +3513,10 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:642:2: (id= ID -> VT_SLOT_ID[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:642:4: id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:634:2: (id= ID -> VT_SLOT_ID[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:634:4: id= ID
{
- id=(Token)match(input,ID,FOLLOW_ID_in_slot_id1415); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_slot_id1414); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -3556,7 +3535,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 644:3: -> VT_SLOT_ID[$id]
+ // 636:3: -> VT_SLOT_ID[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_SLOT_ID, id));
@@ -3591,7 +3570,7 @@
};
// $ANTLR start "rule"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:647:1: rule : rule_key rule_id ( extend_key rule_id )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk -> ^( rule_key rule_id ( ^( extend_key rule_id ) )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:639:1: rule : rule_key rule_id ( extend_key rule_id )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk -> ^( rule_key rule_id ( ^( extend_key rule_id ) )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk ) ;
public final DRLParser.rule_return rule() throws RecognitionException {
DRLParser.rule_return retval = new DRLParser.rule_return();
retval.start = input.LT(1);
@@ -3622,18 +3601,21 @@
RewriteRuleSubtreeStream stream_rhs_chunk=new RewriteRuleSubtreeStream(adaptor,"rule rhs_chunk");
RewriteRuleSubtreeStream stream_decl_metadata=new RewriteRuleSubtreeStream(adaptor,"rule decl_metadata");
RewriteRuleSubtreeStream stream_extend_key=new RewriteRuleSubtreeStream(adaptor,"rule extend_key");
- pushParaphrases(DroolsParaphraseTypes.RULE); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.RULE);
+ boolean isFailed = true; pushParaphrases(DroolsParaphraseTypes.RULE);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:650:2: ( rule_key rule_id ( extend_key rule_id )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk -> ^( rule_key rule_id ( ^( extend_key rule_id ) )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:650:4: rule_key rule_id ( extend_key rule_id )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:642:2: ( rule_key rule_id ( extend_key rule_id )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk -> ^( rule_key rule_id ( ^( extend_key rule_id ) )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:643:2: rule_key rule_id ( extend_key rule_id )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk
{
- pushFollow(FOLLOW_rule_key_in_rule1447);
+ if ( state.backtracking==0 ) {
+ beginSentence(DroolsSentenceType.RULE);
+ }
+ pushFollow(FOLLOW_rule_key_in_rule1451);
rule_key68=rule_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_rule_key.add(rule_key68.getTree());
- pushFollow(FOLLOW_rule_id_in_rule1449);
+ pushFollow(FOLLOW_rule_id_in_rule1453);
rule_id69=rule_id();
state._fsp--;
@@ -3642,20 +3624,20 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:652:3: ( extend_key rule_id )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:646:3: ( extend_key rule_id )?
int alt28=2;
alt28 = dfa28.predict(input);
switch (alt28) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:652:4: extend_key rule_id
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:646:4: extend_key rule_id
{
- pushFollow(FOLLOW_extend_key_in_rule1458);
+ pushFollow(FOLLOW_extend_key_in_rule1462);
extend_key70=extend_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_extend_key.add(extend_key70.getTree());
- pushFollow(FOLLOW_rule_id_in_rule1460);
+ pushFollow(FOLLOW_rule_id_in_rule1464);
rule_id71=rule_id();
state._fsp--;
@@ -3667,7 +3649,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:652:25: ( decl_metadata )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:646:25: ( decl_metadata )*
loop29:
do {
int alt29=2;
@@ -3680,9 +3662,9 @@
switch (alt29) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:652:25: decl_metadata
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:646:25: decl_metadata
{
- pushFollow(FOLLOW_decl_metadata_in_rule1464);
+ pushFollow(FOLLOW_decl_metadata_in_rule1468);
decl_metadata72=decl_metadata();
state._fsp--;
@@ -3697,7 +3679,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:652:40: ( rule_attributes )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:646:40: ( rule_attributes )?
int alt30=2;
int LA30_0 = input.LA(1);
@@ -3706,9 +3688,9 @@
}
switch (alt30) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:652:40: rule_attributes
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:646:40: rule_attributes
{
- pushFollow(FOLLOW_rule_attributes_in_rule1467);
+ pushFollow(FOLLOW_rule_attributes_in_rule1471);
rule_attributes73=rule_attributes();
state._fsp--;
@@ -3720,7 +3702,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:652:57: ( when_part )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:646:57: ( when_part )?
int alt31=2;
int LA31_0 = input.LA(1);
@@ -3729,9 +3711,9 @@
}
switch (alt31) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:652:57: when_part
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:646:57: when_part
{
- pushFollow(FOLLOW_when_part_in_rule1470);
+ pushFollow(FOLLOW_when_part_in_rule1474);
when_part74=when_part();
state._fsp--;
@@ -3743,7 +3725,7 @@
}
- pushFollow(FOLLOW_rhs_chunk_in_rule1473);
+ pushFollow(FOLLOW_rhs_chunk_in_rule1477);
rhs_chunk75=rhs_chunk();
state._fsp--;
@@ -3752,7 +3734,7 @@
// AST REWRITE
- // elements: extend_key, rule_id, rhs_chunk, rule_attributes, rule_id, rule_key, decl_metadata, when_part
+ // elements: rule_attributes, extend_key, rule_key, decl_metadata, rule_id, when_part, rule_id, rhs_chunk
// token labels:
// rule labels: retval
// token list labels:
@@ -3762,17 +3744,17 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 653:3: -> ^( rule_key rule_id ( ^( extend_key rule_id ) )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk )
+ // 647:3: -> ^( rule_key rule_id ( ^( extend_key rule_id ) )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:653:6: ^( rule_key rule_id ( ^( extend_key rule_id ) )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:647:6: ^( rule_key rule_id ( ^( extend_key rule_id ) )? ( decl_metadata )* ( rule_attributes )? ( when_part )? rhs_chunk )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_rule_key.nextNode(), root_1);
adaptor.addChild(root_1, stream_rule_id.nextTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:653:25: ( ^( extend_key rule_id ) )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:647:25: ( ^( extend_key rule_id ) )?
if ( stream_extend_key.hasNext()||stream_rule_id.hasNext() ) {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:653:25: ^( extend_key rule_id )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:647:25: ^( extend_key rule_id )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot(stream_extend_key.nextNode(), root_2);
@@ -3785,19 +3767,19 @@
}
stream_extend_key.reset();
stream_rule_id.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:653:48: ( decl_metadata )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:647:48: ( decl_metadata )*
while ( stream_decl_metadata.hasNext() ) {
adaptor.addChild(root_1, stream_decl_metadata.nextTree());
}
stream_decl_metadata.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:653:63: ( rule_attributes )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:647:63: ( rule_attributes )?
if ( stream_rule_attributes.hasNext() ) {
adaptor.addChild(root_1, stream_rule_attributes.nextTree());
}
stream_rule_attributes.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:653:80: ( when_part )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:647:80: ( when_part )?
if ( stream_when_part.hasNext() ) {
adaptor.addChild(root_1, stream_when_part.nextTree());
@@ -3821,7 +3803,7 @@
adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);
}
if ( state.backtracking==0 ) {
- paraphrases.pop();
+ paraphrases.pop(); isFailed = false;
}
}
catch (RecognitionException re) {
@@ -3831,6 +3813,48 @@
}
finally {
+
+ if (isEditorInterfaceEnabled && isFailed) {
+ if (input.LA(6) == EOF && input.LA(1) == ID && input.LA(2) == MISC && input.LA(3) == ID &&
+ input.LA(5) == MISC && input.LA(6) == ID &&
+ validateLT(1, DroolsSoftKeywords.LOCK) && validateLT(3, DroolsSoftKeywords.ON) &&
+ validateLT(5, DroolsSoftKeywords.ACTIVE)){
+ emit(input.LT(1), DroolsEditorType.KEYWORD);
+ emit(input.LT(2), DroolsEditorType.KEYWORD);
+ emit(input.LT(3), DroolsEditorType.KEYWORD);
+ emit(input.LT(4), DroolsEditorType.KEYWORD);
+ emit(input.LT(5), DroolsEditorType.KEYWORD);
+ emit(Location.LOCATION_RULE_HEADER_KEYWORD);
+ input.consume();
+ input.consume();
+ input.consume();
+ input.consume();
+ input.consume();
+ } else if (input.LA(4) == EOF && input.LA(1) == ID && input.LA(2) == MISC && input.LA(3) == ID &&
+ ( (validateLT(1, DroolsSoftKeywords.ACTIVATION) && validateLT(3, DroolsSoftKeywords.GROUP)) ||
+ (validateLT(1, DroolsSoftKeywords.DATE) && validateLT(3, DroolsSoftKeywords.EXPIRES)) ||
+ (validateLT(1, DroolsSoftKeywords.NO) && validateLT(3, DroolsSoftKeywords.LOOP)) ||
+ (validateLT(1, DroolsSoftKeywords.DATE) && validateLT(3, DroolsSoftKeywords.EFFECTIVE)) ||
+ (validateLT(1, DroolsSoftKeywords.AUTO) && validateLT(3, DroolsSoftKeywords.FOCUS)) ||
+ (validateLT(1, DroolsSoftKeywords.ACTIVATION) && validateLT(3, DroolsSoftKeywords.GROUP)) ||
+ (validateLT(1, DroolsSoftKeywords.RULEFLOW) && validateLT(3, DroolsSoftKeywords.GROUP)) ||
+ (validateLT(1, DroolsSoftKeywords.AGENDA) && validateLT(3, DroolsSoftKeywords.GROUP)) )){
+ emit(input.LT(1), DroolsEditorType.KEYWORD);
+ emit(input.LT(2), DroolsEditorType.KEYWORD);
+ emit(input.LT(3), DroolsEditorType.KEYWORD);
+ emit(Location.LOCATION_RULE_HEADER_KEYWORD);
+ input.consume();
+ input.consume();
+ input.consume();
+ } else if (input.LA(2) == EOF && input.LA(1) == ID &&
+ (validateLT(1, DroolsSoftKeywords.DIALECT) || validateLT(1, DroolsSoftKeywords.ENABLED) ||
+ validateLT(1, DroolsSoftKeywords.SALIENCE) || validateLT(1, DroolsSoftKeywords.DURATION))){
+ emit(input.LT(1), DroolsEditorType.KEYWORD);
+ emit(Location.LOCATION_RULE_HEADER_KEYWORD);
+ input.consume();
+ }
+ }
+
}
return retval;
}
@@ -3842,7 +3866,7 @@
};
// $ANTLR start "when_part"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:656:1: when_part : WHEN ( COLON )? normal_lhs_block -> WHEN normal_lhs_block ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:692:1: when_part : WHEN ( COLON )? normal_lhs_block -> WHEN normal_lhs_block ;
public final DRLParser.when_part_return when_part() throws RecognitionException {
DRLParser.when_part_return retval = new DRLParser.when_part_return();
retval.start = input.LT(1);
@@ -3860,16 +3884,16 @@
RewriteRuleTokenStream stream_WHEN=new RewriteRuleTokenStream(adaptor,"token WHEN");
RewriteRuleSubtreeStream stream_normal_lhs_block=new RewriteRuleSubtreeStream(adaptor,"rule normal_lhs_block");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:657:2: ( WHEN ( COLON )? normal_lhs_block -> WHEN normal_lhs_block )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:657:5: WHEN ( COLON )? normal_lhs_block
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:693:2: ( WHEN ( COLON )? normal_lhs_block -> WHEN normal_lhs_block )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:693:5: WHEN ( COLON )? normal_lhs_block
{
- WHEN76=(Token)match(input,WHEN,FOLLOW_WHEN_in_when_part1513); if (state.failed) return retval;
+ WHEN76=(Token)match(input,WHEN,FOLLOW_WHEN_in_when_part1521); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_WHEN.add(WHEN76);
if ( state.backtracking==0 ) {
emit(WHEN76, DroolsEditorType.KEYWORD);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:658:3: ( COLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:694:3: ( COLON )?
int alt32=2;
int LA32_0 = input.LA(1);
@@ -3878,9 +3902,9 @@
}
switch (alt32) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:658:3: COLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:694:3: COLON
{
- COLON77=(Token)match(input,COLON,FOLLOW_COLON_in_when_part1519); if (state.failed) return retval;
+ COLON77=(Token)match(input,COLON,FOLLOW_COLON_in_when_part1527); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COLON.add(COLON77);
@@ -3895,7 +3919,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION);
}
- pushFollow(FOLLOW_normal_lhs_block_in_when_part1529);
+ pushFollow(FOLLOW_normal_lhs_block_in_when_part1537);
normal_lhs_block78=normal_lhs_block();
state._fsp--;
@@ -3904,7 +3928,7 @@
// AST REWRITE
- // elements: WHEN, normal_lhs_block
+ // elements: normal_lhs_block, WHEN
// token labels:
// rule labels: retval
// token list labels:
@@ -3914,7 +3938,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 661:2: -> WHEN normal_lhs_block
+ // 697:2: -> WHEN normal_lhs_block
{
adaptor.addChild(root_0, stream_WHEN.nextNode());
adaptor.addChild(root_0, stream_normal_lhs_block.nextTree());
@@ -3950,7 +3974,7 @@
};
// $ANTLR start "rule_id"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:664:1: rule_id : (id= ID -> VT_RULE_ID[$id] | id= STRING -> VT_RULE_ID[$id] );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:700:1: rule_id : (id= ID -> VT_RULE_ID[$id] | id= STRING -> VT_RULE_ID[$id] );
public final DRLParser.rule_id_return rule_id() throws RecognitionException {
DRLParser.rule_id_return retval = new DRLParser.rule_id_return();
retval.start = input.LT(1);
@@ -3964,7 +3988,7 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:665:2: (id= ID -> VT_RULE_ID[$id] | id= STRING -> VT_RULE_ID[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:701:2: (id= ID -> VT_RULE_ID[$id] | id= STRING -> VT_RULE_ID[$id] )
int alt33=2;
int LA33_0 = input.LA(1);
@@ -3983,9 +4007,9 @@
}
switch (alt33) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:665:5: id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:701:5: id= ID
{
- id=(Token)match(input,ID,FOLLOW_ID_in_rule_id1550); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_rule_id1558); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -4005,7 +4029,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 667:64: -> VT_RULE_ID[$id]
+ // 703:64: -> VT_RULE_ID[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_RULE_ID, id));
@@ -4015,9 +4039,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:668:5: id= STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:704:5: id= STRING
{
- id=(Token)match(input,STRING,FOLLOW_STRING_in_rule_id1566); if (state.failed) return retval;
+ id=(Token)match(input,STRING,FOLLOW_STRING_in_rule_id1574); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_STRING.add(id);
if ( state.backtracking==0 ) {
@@ -4037,7 +4061,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 670:64: -> VT_RULE_ID[$id]
+ // 706:64: -> VT_RULE_ID[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_RULE_ID, id));
@@ -4074,7 +4098,7 @@
};
// $ANTLR start "rule_attributes"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:673:1: rule_attributes : ( attributes_key COLON )? rule_attribute ( ( COMMA )? attr= rule_attribute )* -> ^( VT_RULE_ATTRIBUTES ( attributes_key )? ( rule_attribute )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:709:1: rule_attributes : ( attributes_key COLON )? rule_attribute ( ( COMMA )? attr= rule_attribute )* -> ^( VT_RULE_ATTRIBUTES ( attributes_key )? ( rule_attribute )+ ) ;
public final DRLParser.rule_attributes_return rule_attributes() throws RecognitionException {
DRLParser.rule_attributes_return retval = new DRLParser.rule_attributes_return();
retval.start = input.LT(1);
@@ -4097,10 +4121,10 @@
RewriteRuleSubtreeStream stream_attributes_key=new RewriteRuleSubtreeStream(adaptor,"rule attributes_key");
RewriteRuleSubtreeStream stream_rule_attribute=new RewriteRuleSubtreeStream(adaptor,"rule rule_attribute");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:674:2: ( ( attributes_key COLON )? rule_attribute ( ( COMMA )? attr= rule_attribute )* -> ^( VT_RULE_ATTRIBUTES ( attributes_key )? ( rule_attribute )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:674:4: ( attributes_key COLON )? rule_attribute ( ( COMMA )? attr= rule_attribute )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:710:2: ( ( attributes_key COLON )? rule_attribute ( ( COMMA )? attr= rule_attribute )* -> ^( VT_RULE_ATTRIBUTES ( attributes_key )? ( rule_attribute )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:710:4: ( attributes_key COLON )? rule_attribute ( ( COMMA )? attr= rule_attribute )*
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:674:4: ( attributes_key COLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:710:4: ( attributes_key COLON )?
int alt34=2;
int LA34_0 = input.LA(1);
@@ -4113,15 +4137,15 @@
}
switch (alt34) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:674:6: attributes_key COLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:710:6: attributes_key COLON
{
- pushFollow(FOLLOW_attributes_key_in_rule_attributes1587);
+ pushFollow(FOLLOW_attributes_key_in_rule_attributes1595);
attributes_key79=attributes_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_attributes_key.add(attributes_key79.getTree());
- COLON80=(Token)match(input,COLON,FOLLOW_COLON_in_rule_attributes1589); if (state.failed) return retval;
+ COLON80=(Token)match(input,COLON,FOLLOW_COLON_in_rule_attributes1597); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COLON.add(COLON80);
if ( state.backtracking==0 ) {
@@ -4133,13 +4157,13 @@
}
- pushFollow(FOLLOW_rule_attribute_in_rule_attributes1599);
+ pushFollow(FOLLOW_rule_attribute_in_rule_attributes1607);
rule_attribute81=rule_attribute();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_rule_attribute.add(rule_attribute81.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:675:18: ( ( COMMA )? attr= rule_attribute )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:711:18: ( ( COMMA )? attr= rule_attribute )*
loop36:
do {
int alt36=2;
@@ -4152,9 +4176,9 @@
switch (alt36) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:675:20: ( COMMA )? attr= rule_attribute
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:711:20: ( COMMA )? attr= rule_attribute
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:675:20: ( COMMA )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:711:20: ( COMMA )?
int alt35=2;
int LA35_0 = input.LA(1);
@@ -4163,9 +4187,9 @@
}
switch (alt35) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:675:20: COMMA
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:711:20: COMMA
{
- COMMA82=(Token)match(input,COMMA,FOLLOW_COMMA_in_rule_attributes1603); if (state.failed) return retval;
+ COMMA82=(Token)match(input,COMMA,FOLLOW_COMMA_in_rule_attributes1611); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COMMA.add(COMMA82);
@@ -4177,7 +4201,7 @@
if ( state.backtracking==0 ) {
emit(COMMA82, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_rule_attribute_in_rule_attributes1610);
+ pushFollow(FOLLOW_rule_attribute_in_rule_attributes1618);
attr=rule_attribute();
state._fsp--;
@@ -4205,14 +4229,14 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 676:3: -> ^( VT_RULE_ATTRIBUTES ( attributes_key )? ( rule_attribute )+ )
+ // 712:3: -> ^( VT_RULE_ATTRIBUTES ( attributes_key )? ( rule_attribute )+ )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:676:6: ^( VT_RULE_ATTRIBUTES ( attributes_key )? ( rule_attribute )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:712:6: ^( VT_RULE_ATTRIBUTES ( attributes_key )? ( rule_attribute )+ )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_RULE_ATTRIBUTES, "VT_RULE_ATTRIBUTES"), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:676:27: ( attributes_key )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:712:27: ( attributes_key )?
if ( stream_attributes_key.hasNext() ) {
adaptor.addChild(root_1, stream_attributes_key.nextTree());
@@ -4261,7 +4285,7 @@
};
// $ANTLR start "rule_attribute"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:679:1: rule_attribute : ( salience | no_loop | agenda_group | duration | activation_group | auto_focus | date_effective | date_expires | enabled | ruleflow_group | lock_on_active | dialect );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:715:1: rule_attribute : ( salience | no_loop | agenda_group | duration | activation_group | auto_focus | date_effective | date_expires | enabled | ruleflow_group | lock_on_active | dialect );
public final DRLParser.rule_attribute_return rule_attribute() throws RecognitionException {
DRLParser.rule_attribute_return retval = new DRLParser.rule_attribute_return();
retval.start = input.LT(1);
@@ -4294,18 +4318,18 @@
- boolean isFailed = true; pushParaphrases(DroolsParaphraseTypes.RULE_ATTRIBUTE);
+ pushParaphrases(DroolsParaphraseTypes.RULE_ATTRIBUTE); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.RULE_ATTRIBUTE);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:682:2: ( salience | no_loop | agenda_group | duration | activation_group | auto_focus | date_effective | date_expires | enabled | ruleflow_group | lock_on_active | dialect )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:718:2: ( salience | no_loop | agenda_group | duration | activation_group | auto_focus | date_effective | date_expires | enabled | ruleflow_group | lock_on_active | dialect )
int alt37=12;
alt37 = dfa37.predict(input);
switch (alt37) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:682:4: salience
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:718:4: salience
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_salience_in_rule_attribute1649);
+ pushFollow(FOLLOW_salience_in_rule_attribute1657);
salience83=salience();
state._fsp--;
@@ -4315,11 +4339,11 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:683:4: no_loop
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:719:4: no_loop
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_no_loop_in_rule_attribute1655);
+ pushFollow(FOLLOW_no_loop_in_rule_attribute1663);
no_loop84=no_loop();
state._fsp--;
@@ -4329,11 +4353,11 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:684:4: agenda_group
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:720:4: agenda_group
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_agenda_group_in_rule_attribute1660);
+ pushFollow(FOLLOW_agenda_group_in_rule_attribute1668);
agenda_group85=agenda_group();
state._fsp--;
@@ -4343,11 +4367,11 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:685:4: duration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:721:4: duration
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_duration_in_rule_attribute1667);
+ pushFollow(FOLLOW_duration_in_rule_attribute1675);
duration86=duration();
state._fsp--;
@@ -4357,11 +4381,11 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:686:4: activation_group
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:722:4: activation_group
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_activation_group_in_rule_attribute1674);
+ pushFollow(FOLLOW_activation_group_in_rule_attribute1682);
activation_group87=activation_group();
state._fsp--;
@@ -4371,11 +4395,11 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:687:4: auto_focus
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:723:4: auto_focus
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_auto_focus_in_rule_attribute1680);
+ pushFollow(FOLLOW_auto_focus_in_rule_attribute1688);
auto_focus88=auto_focus();
state._fsp--;
@@ -4385,11 +4409,11 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:688:4: date_effective
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:724:4: date_effective
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_date_effective_in_rule_attribute1686);
+ pushFollow(FOLLOW_date_effective_in_rule_attribute1694);
date_effective89=date_effective();
state._fsp--;
@@ -4399,11 +4423,11 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:689:4: date_expires
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:725:4: date_expires
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_date_expires_in_rule_attribute1692);
+ pushFollow(FOLLOW_date_expires_in_rule_attribute1700);
date_expires90=date_expires();
state._fsp--;
@@ -4413,11 +4437,11 @@
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:690:4: enabled
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:726:4: enabled
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_enabled_in_rule_attribute1698);
+ pushFollow(FOLLOW_enabled_in_rule_attribute1706);
enabled91=enabled();
state._fsp--;
@@ -4427,11 +4451,11 @@
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:691:4: ruleflow_group
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:727:4: ruleflow_group
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_ruleflow_group_in_rule_attribute1704);
+ pushFollow(FOLLOW_ruleflow_group_in_rule_attribute1712);
ruleflow_group92=ruleflow_group();
state._fsp--;
@@ -4441,11 +4465,11 @@
}
break;
case 11 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:692:4: lock_on_active
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:728:4: lock_on_active
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_lock_on_active_in_rule_attribute1710);
+ pushFollow(FOLLOW_lock_on_active_in_rule_attribute1718);
lock_on_active93=lock_on_active();
state._fsp--;
@@ -4455,11 +4479,11 @@
}
break;
case 12 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:693:4: dialect
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:729:4: dialect
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_dialect_in_rule_attribute1715);
+ pushFollow(FOLLOW_dialect_in_rule_attribute1723);
dialect94=dialect();
state._fsp--;
@@ -4478,7 +4502,7 @@
adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);
}
if ( state.backtracking==0 ) {
- paraphrases.pop(); isFailed = false; emit(Location.LOCATION_RULE_HEADER);
+ paraphrases.pop(); if (!(retval.tree instanceof CommonErrorNode)) emit(Location.LOCATION_RULE_HEADER);
}
}
catch (RecognitionException re) {
@@ -4488,48 +4512,6 @@
}
finally {
-
- if (isEditorInterfaceEnabled && isFailed) {
- if (input.LA(6) == EOF && input.LA(1) == ID && input.LA(2) == MISC && input.LA(3) == ID &&
- input.LA(5) == MISC && input.LA(6) == ID &&
- validateLT(1, DroolsSoftKeywords.LOCK) && validateLT(3, DroolsSoftKeywords.ON) &&
- validateLT(5, DroolsSoftKeywords.ACTIVE)){
- emit(input.LT(1), DroolsEditorType.KEYWORD);
- emit(input.LT(2), DroolsEditorType.KEYWORD);
- emit(input.LT(3), DroolsEditorType.KEYWORD);
- emit(input.LT(4), DroolsEditorType.KEYWORD);
- emit(input.LT(5), DroolsEditorType.KEYWORD);
- emit(Location.LOCATION_RULE_HEADER_KEYWORD);
- input.consume();
- input.consume();
- input.consume();
- input.consume();
- input.consume();
- } else if (input.LA(4) == EOF && input.LA(1) == ID && input.LA(2) == MISC && input.LA(3) == ID &&
- ( (validateLT(1, DroolsSoftKeywords.ACTIVATION) && validateLT(3, DroolsSoftKeywords.GROUP)) ||
- (validateLT(1, DroolsSoftKeywords.DATE) && validateLT(3, DroolsSoftKeywords.EXPIRES)) ||
- (validateLT(1, DroolsSoftKeywords.NO) && validateLT(3, DroolsSoftKeywords.LOOP)) ||
- (validateLT(1, DroolsSoftKeywords.DATE) && validateLT(3, DroolsSoftKeywords.EFFECTIVE)) ||
- (validateLT(1, DroolsSoftKeywords.AUTO) && validateLT(3, DroolsSoftKeywords.FOCUS)) ||
- (validateLT(1, DroolsSoftKeywords.ACTIVATION) && validateLT(3, DroolsSoftKeywords.GROUP)) ||
- (validateLT(1, DroolsSoftKeywords.RULEFLOW) && validateLT(3, DroolsSoftKeywords.GROUP)) ||
- (validateLT(1, DroolsSoftKeywords.AGENDA) && validateLT(3, DroolsSoftKeywords.GROUP)) )){
- emit(input.LT(1), DroolsEditorType.KEYWORD);
- emit(input.LT(2), DroolsEditorType.KEYWORD);
- emit(input.LT(3), DroolsEditorType.KEYWORD);
- emit(Location.LOCATION_RULE_HEADER_KEYWORD);
- input.consume();
- input.consume();
- input.consume();
- } else if (input.LA(2) == EOF && input.LA(1) == ID &&
- (validateLT(1, DroolsSoftKeywords.DIALECT) || validateLT(1, DroolsSoftKeywords.ENABLED) ||
- validateLT(1, DroolsSoftKeywords.SALIENCE) || validateLT(1, DroolsSoftKeywords.DURATION))){
- emit(input.LT(1), DroolsEditorType.KEYWORD);
- emit(Location.LOCATION_RULE_HEADER_KEYWORD);
- input.consume();
- }
- }
-
}
return retval;
}
@@ -4541,7 +4523,7 @@
};
// $ANTLR start "date_effective"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:738:1: date_effective : date_effective_key STRING ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:732:1: date_effective : date_effective_key STRING ;
public final DRLParser.date_effective_return date_effective() throws RecognitionException {
DRLParser.date_effective_return retval = new DRLParser.date_effective_return();
retval.start = input.LT(1);
@@ -4555,12 +4537,12 @@
Object STRING96_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:739:2: ( date_effective_key STRING )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:739:4: date_effective_key STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:733:2: ( date_effective_key STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:733:4: date_effective_key STRING
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_date_effective_key_in_date_effective1731);
+ pushFollow(FOLLOW_date_effective_key_in_date_effective1735);
date_effective_key95=date_effective_key();
state._fsp--;
@@ -4569,7 +4551,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER_KEYWORD);
}
- STRING96=(Token)match(input,STRING,FOLLOW_STRING_in_date_effective1736); if (state.failed) return retval;
+ STRING96=(Token)match(input,STRING,FOLLOW_STRING_in_date_effective1740); if (state.failed) return retval;
if ( state.backtracking==0 ) {
STRING96_tree = (Object)adaptor.create(STRING96);
adaptor.addChild(root_0, STRING96_tree);
@@ -4606,7 +4588,7 @@
};
// $ANTLR start "date_expires"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:743:1: date_expires : date_expires_key STRING ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:737:1: date_expires : date_expires_key STRING ;
public final DRLParser.date_expires_return date_expires() throws RecognitionException {
DRLParser.date_expires_return retval = new DRLParser.date_expires_return();
retval.start = input.LT(1);
@@ -4620,12 +4602,12 @@
Object STRING98_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:744:2: ( date_expires_key STRING )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:744:4: date_expires_key STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:738:2: ( date_expires_key STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:738:4: date_expires_key STRING
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_date_expires_key_in_date_expires1750);
+ pushFollow(FOLLOW_date_expires_key_in_date_expires1754);
date_expires_key97=date_expires_key();
state._fsp--;
@@ -4634,7 +4616,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER_KEYWORD);
}
- STRING98=(Token)match(input,STRING,FOLLOW_STRING_in_date_expires1755); if (state.failed) return retval;
+ STRING98=(Token)match(input,STRING,FOLLOW_STRING_in_date_expires1759); if (state.failed) return retval;
if ( state.backtracking==0 ) {
STRING98_tree = (Object)adaptor.create(STRING98);
adaptor.addChild(root_0, STRING98_tree);
@@ -4671,7 +4653,7 @@
};
// $ANTLR start "enabled"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:748:1: enabled : enabled_key ( BOOL | paren_chunk ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:742:1: enabled : enabled_key ( BOOL | paren_chunk ) ;
public final DRLParser.enabled_return enabled() throws RecognitionException {
DRLParser.enabled_return retval = new DRLParser.enabled_return();
retval.start = input.LT(1);
@@ -4687,12 +4669,12 @@
Object BOOL100_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:749:2: ( enabled_key ( BOOL | paren_chunk ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:749:4: enabled_key ( BOOL | paren_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:743:2: ( enabled_key ( BOOL | paren_chunk ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:743:4: enabled_key ( BOOL | paren_chunk )
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_enabled_key_in_enabled1770);
+ pushFollow(FOLLOW_enabled_key_in_enabled1774);
enabled_key99=enabled_key();
state._fsp--;
@@ -4701,7 +4683,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER_KEYWORD);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:750:6: ( BOOL | paren_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:744:6: ( BOOL | paren_chunk )
int alt38=2;
int LA38_0 = input.LA(1);
@@ -4720,9 +4702,9 @@
}
switch (alt38) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:750:8: BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:744:8: BOOL
{
- BOOL100=(Token)match(input,BOOL,FOLLOW_BOOL_in_enabled1783); if (state.failed) return retval;
+ BOOL100=(Token)match(input,BOOL,FOLLOW_BOOL_in_enabled1787); if (state.failed) return retval;
if ( state.backtracking==0 ) {
BOOL100_tree = (Object)adaptor.create(BOOL100);
adaptor.addChild(root_0, BOOL100_tree);
@@ -4734,9 +4716,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:751:8: paren_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:745:8: paren_chunk
{
- pushFollow(FOLLOW_paren_chunk_in_enabled1794);
+ pushFollow(FOLLOW_paren_chunk_in_enabled1798);
paren_chunk101=paren_chunk();
state._fsp--;
@@ -4777,7 +4759,7 @@
};
// $ANTLR start "salience"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:755:1: salience : salience_key ( INT | paren_chunk ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:749:1: salience : salience_key ( INT | paren_chunk ) ;
public final DRLParser.salience_return salience() throws RecognitionException {
DRLParser.salience_return retval = new DRLParser.salience_return();
retval.start = input.LT(1);
@@ -4793,12 +4775,12 @@
Object INT103_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:756:2: ( salience_key ( INT | paren_chunk ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:756:4: salience_key ( INT | paren_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:750:2: ( salience_key ( INT | paren_chunk ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:750:4: salience_key ( INT | paren_chunk )
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_salience_key_in_salience1814);
+ pushFollow(FOLLOW_salience_key_in_salience1818);
salience_key102=salience_key();
state._fsp--;
@@ -4807,7 +4789,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER_KEYWORD);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:757:3: ( INT | paren_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:751:3: ( INT | paren_chunk )
int alt39=2;
int LA39_0 = input.LA(1);
@@ -4826,9 +4808,9 @@
}
switch (alt39) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:757:5: INT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:751:5: INT
{
- INT103=(Token)match(input,INT,FOLLOW_INT_in_salience1823); if (state.failed) return retval;
+ INT103=(Token)match(input,INT,FOLLOW_INT_in_salience1827); if (state.failed) return retval;
if ( state.backtracking==0 ) {
INT103_tree = (Object)adaptor.create(INT103);
adaptor.addChild(root_0, INT103_tree);
@@ -4840,9 +4822,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:758:5: paren_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:752:5: paren_chunk
{
- pushFollow(FOLLOW_paren_chunk_in_salience1832);
+ pushFollow(FOLLOW_paren_chunk_in_salience1836);
paren_chunk104=paren_chunk();
state._fsp--;
@@ -4883,7 +4865,7 @@
};
// $ANTLR start "no_loop"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:762:1: no_loop : no_loop_key ( BOOL )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:756:1: no_loop : no_loop_key ( BOOL )? ;
public final DRLParser.no_loop_return no_loop() throws RecognitionException {
DRLParser.no_loop_return retval = new DRLParser.no_loop_return();
retval.start = input.LT(1);
@@ -4897,12 +4879,12 @@
Object BOOL106_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:763:2: ( no_loop_key ( BOOL )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:763:4: no_loop_key ( BOOL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:757:2: ( no_loop_key ( BOOL )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:757:4: no_loop_key ( BOOL )?
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_no_loop_key_in_no_loop1847);
+ pushFollow(FOLLOW_no_loop_key_in_no_loop1851);
no_loop_key105=no_loop_key();
state._fsp--;
@@ -4911,7 +4893,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER_KEYWORD);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:763:66: ( BOOL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:757:66: ( BOOL )?
int alt40=2;
int LA40_0 = input.LA(1);
@@ -4920,9 +4902,9 @@
}
switch (alt40) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:763:66: BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:757:66: BOOL
{
- BOOL106=(Token)match(input,BOOL,FOLLOW_BOOL_in_no_loop1852); if (state.failed) return retval;
+ BOOL106=(Token)match(input,BOOL,FOLLOW_BOOL_in_no_loop1856); if (state.failed) return retval;
if ( state.backtracking==0 ) {
BOOL106_tree = (Object)adaptor.create(BOOL106);
adaptor.addChild(root_0, BOOL106_tree);
@@ -4965,7 +4947,7 @@
};
// $ANTLR start "auto_focus"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:767:1: auto_focus : auto_focus_key ( BOOL )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:761:1: auto_focus : auto_focus_key ( BOOL )? ;
public final DRLParser.auto_focus_return auto_focus() throws RecognitionException {
DRLParser.auto_focus_return retval = new DRLParser.auto_focus_return();
retval.start = input.LT(1);
@@ -4979,12 +4961,12 @@
Object BOOL108_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:768:2: ( auto_focus_key ( BOOL )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:768:4: auto_focus_key ( BOOL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:762:2: ( auto_focus_key ( BOOL )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:762:4: auto_focus_key ( BOOL )?
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_auto_focus_key_in_auto_focus1867);
+ pushFollow(FOLLOW_auto_focus_key_in_auto_focus1871);
auto_focus_key107=auto_focus_key();
state._fsp--;
@@ -4993,7 +4975,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER_KEYWORD);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:768:69: ( BOOL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:762:69: ( BOOL )?
int alt41=2;
int LA41_0 = input.LA(1);
@@ -5002,9 +4984,9 @@
}
switch (alt41) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:768:69: BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:762:69: BOOL
{
- BOOL108=(Token)match(input,BOOL,FOLLOW_BOOL_in_auto_focus1872); if (state.failed) return retval;
+ BOOL108=(Token)match(input,BOOL,FOLLOW_BOOL_in_auto_focus1876); if (state.failed) return retval;
if ( state.backtracking==0 ) {
BOOL108_tree = (Object)adaptor.create(BOOL108);
adaptor.addChild(root_0, BOOL108_tree);
@@ -5047,7 +5029,7 @@
};
// $ANTLR start "activation_group"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:772:1: activation_group : activation_group_key STRING ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:766:1: activation_group : activation_group_key STRING ;
public final DRLParser.activation_group_return activation_group() throws RecognitionException {
DRLParser.activation_group_return retval = new DRLParser.activation_group_return();
retval.start = input.LT(1);
@@ -5061,12 +5043,12 @@
Object STRING110_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:773:2: ( activation_group_key STRING )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:773:4: activation_group_key STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:767:2: ( activation_group_key STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:767:4: activation_group_key STRING
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_activation_group_key_in_activation_group1889);
+ pushFollow(FOLLOW_activation_group_key_in_activation_group1893);
activation_group_key109=activation_group_key();
state._fsp--;
@@ -5075,7 +5057,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER_KEYWORD);
}
- STRING110=(Token)match(input,STRING,FOLLOW_STRING_in_activation_group1894); if (state.failed) return retval;
+ STRING110=(Token)match(input,STRING,FOLLOW_STRING_in_activation_group1898); if (state.failed) return retval;
if ( state.backtracking==0 ) {
STRING110_tree = (Object)adaptor.create(STRING110);
adaptor.addChild(root_0, STRING110_tree);
@@ -5112,7 +5094,7 @@
};
// $ANTLR start "ruleflow_group"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:777:1: ruleflow_group : ruleflow_group_key STRING ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:771:1: ruleflow_group : ruleflow_group_key STRING ;
public final DRLParser.ruleflow_group_return ruleflow_group() throws RecognitionException {
DRLParser.ruleflow_group_return retval = new DRLParser.ruleflow_group_return();
retval.start = input.LT(1);
@@ -5126,12 +5108,12 @@
Object STRING112_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:778:2: ( ruleflow_group_key STRING )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:778:4: ruleflow_group_key STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:772:2: ( ruleflow_group_key STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:772:4: ruleflow_group_key STRING
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_ruleflow_group_key_in_ruleflow_group1908);
+ pushFollow(FOLLOW_ruleflow_group_key_in_ruleflow_group1912);
ruleflow_group_key111=ruleflow_group_key();
state._fsp--;
@@ -5140,7 +5122,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER_KEYWORD);
}
- STRING112=(Token)match(input,STRING,FOLLOW_STRING_in_ruleflow_group1913); if (state.failed) return retval;
+ STRING112=(Token)match(input,STRING,FOLLOW_STRING_in_ruleflow_group1917); if (state.failed) return retval;
if ( state.backtracking==0 ) {
STRING112_tree = (Object)adaptor.create(STRING112);
adaptor.addChild(root_0, STRING112_tree);
@@ -5177,7 +5159,7 @@
};
// $ANTLR start "agenda_group"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:782:1: agenda_group : agenda_group_key STRING ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:776:1: agenda_group : agenda_group_key STRING ;
public final DRLParser.agenda_group_return agenda_group() throws RecognitionException {
DRLParser.agenda_group_return retval = new DRLParser.agenda_group_return();
retval.start = input.LT(1);
@@ -5191,12 +5173,12 @@
Object STRING114_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:783:2: ( agenda_group_key STRING )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:783:4: agenda_group_key STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:777:2: ( agenda_group_key STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:777:4: agenda_group_key STRING
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_agenda_group_key_in_agenda_group1927);
+ pushFollow(FOLLOW_agenda_group_key_in_agenda_group1931);
agenda_group_key113=agenda_group_key();
state._fsp--;
@@ -5205,7 +5187,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER_KEYWORD);
}
- STRING114=(Token)match(input,STRING,FOLLOW_STRING_in_agenda_group1932); if (state.failed) return retval;
+ STRING114=(Token)match(input,STRING,FOLLOW_STRING_in_agenda_group1936); if (state.failed) return retval;
if ( state.backtracking==0 ) {
STRING114_tree = (Object)adaptor.create(STRING114);
adaptor.addChild(root_0, STRING114_tree);
@@ -5242,7 +5224,7 @@
};
// $ANTLR start "duration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:787:1: duration : duration_key INT ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:781:1: duration : duration_key INT ;
public final DRLParser.duration_return duration() throws RecognitionException {
DRLParser.duration_return retval = new DRLParser.duration_return();
retval.start = input.LT(1);
@@ -5256,12 +5238,12 @@
Object INT116_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:788:2: ( duration_key INT )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:788:4: duration_key INT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:782:2: ( duration_key INT )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:782:4: duration_key INT
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_duration_key_in_duration1946);
+ pushFollow(FOLLOW_duration_key_in_duration1950);
duration_key115=duration_key();
state._fsp--;
@@ -5270,7 +5252,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER_KEYWORD);
}
- INT116=(Token)match(input,INT,FOLLOW_INT_in_duration1951); if (state.failed) return retval;
+ INT116=(Token)match(input,INT,FOLLOW_INT_in_duration1955); if (state.failed) return retval;
if ( state.backtracking==0 ) {
INT116_tree = (Object)adaptor.create(INT116);
adaptor.addChild(root_0, INT116_tree);
@@ -5307,7 +5289,7 @@
};
// $ANTLR start "dialect"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:792:1: dialect : dialect_key STRING ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:786:1: dialect : dialect_key STRING ;
public final DRLParser.dialect_return dialect() throws RecognitionException {
DRLParser.dialect_return retval = new DRLParser.dialect_return();
retval.start = input.LT(1);
@@ -5321,12 +5303,12 @@
Object STRING118_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:793:2: ( dialect_key STRING )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:793:4: dialect_key STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:787:2: ( dialect_key STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:787:4: dialect_key STRING
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_dialect_key_in_dialect1967);
+ pushFollow(FOLLOW_dialect_key_in_dialect1971);
dialect_key117=dialect_key();
state._fsp--;
@@ -5335,7 +5317,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER_KEYWORD);
}
- STRING118=(Token)match(input,STRING,FOLLOW_STRING_in_dialect1972); if (state.failed) return retval;
+ STRING118=(Token)match(input,STRING,FOLLOW_STRING_in_dialect1976); if (state.failed) return retval;
if ( state.backtracking==0 ) {
STRING118_tree = (Object)adaptor.create(STRING118);
adaptor.addChild(root_0, STRING118_tree);
@@ -5372,7 +5354,7 @@
};
// $ANTLR start "lock_on_active"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:797:1: lock_on_active : lock_on_active_key ( BOOL )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:791:1: lock_on_active : lock_on_active_key ( BOOL )? ;
public final DRLParser.lock_on_active_return lock_on_active() throws RecognitionException {
DRLParser.lock_on_active_return retval = new DRLParser.lock_on_active_return();
retval.start = input.LT(1);
@@ -5386,12 +5368,12 @@
Object BOOL120_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:798:2: ( lock_on_active_key ( BOOL )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:798:4: lock_on_active_key ( BOOL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:792:2: ( lock_on_active_key ( BOOL )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:792:4: lock_on_active_key ( BOOL )?
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_lock_on_active_key_in_lock_on_active1990);
+ pushFollow(FOLLOW_lock_on_active_key_in_lock_on_active1994);
lock_on_active_key119=lock_on_active_key();
state._fsp--;
@@ -5400,7 +5382,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_RULE_HEADER_KEYWORD);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:798:73: ( BOOL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:792:73: ( BOOL )?
int alt42=2;
int LA42_0 = input.LA(1);
@@ -5409,9 +5391,9 @@
}
switch (alt42) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:798:73: BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:792:73: BOOL
{
- BOOL120=(Token)match(input,BOOL,FOLLOW_BOOL_in_lock_on_active1995); if (state.failed) return retval;
+ BOOL120=(Token)match(input,BOOL,FOLLOW_BOOL_in_lock_on_active1999); if (state.failed) return retval;
if ( state.backtracking==0 ) {
BOOL120_tree = (Object)adaptor.create(BOOL120);
adaptor.addChild(root_0, BOOL120_tree);
@@ -5454,7 +5436,7 @@
};
// $ANTLR start "normal_lhs_block"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:802:1: normal_lhs_block : ( lhs )* -> ^( VT_AND_IMPLICIT ( lhs )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:796:1: normal_lhs_block : ( lhs )* -> ^( VT_AND_IMPLICIT ( lhs )* ) ;
public final DRLParser.normal_lhs_block_return normal_lhs_block() throws RecognitionException {
DRLParser.normal_lhs_block_return retval = new DRLParser.normal_lhs_block_return();
retval.start = input.LT(1);
@@ -5466,10 +5448,10 @@
RewriteRuleSubtreeStream stream_lhs=new RewriteRuleSubtreeStream(adaptor,"rule lhs");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:803:2: ( ( lhs )* -> ^( VT_AND_IMPLICIT ( lhs )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:803:4: ( lhs )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:797:2: ( ( lhs )* -> ^( VT_AND_IMPLICIT ( lhs )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:797:4: ( lhs )*
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:803:4: ( lhs )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:797:4: ( lhs )*
loop43:
do {
int alt43=2;
@@ -5482,9 +5464,9 @@
switch (alt43) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:803:4: lhs
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:797:4: lhs
{
- pushFollow(FOLLOW_lhs_in_normal_lhs_block2010);
+ pushFollow(FOLLOW_lhs_in_normal_lhs_block2014);
lhs121=lhs();
state._fsp--;
@@ -5512,14 +5494,14 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 804:2: -> ^( VT_AND_IMPLICIT ( lhs )* )
+ // 798:2: -> ^( VT_AND_IMPLICIT ( lhs )* )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:804:5: ^( VT_AND_IMPLICIT ( lhs )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:798:5: ^( VT_AND_IMPLICIT ( lhs )* )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_AND_IMPLICIT, "VT_AND_IMPLICIT"), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:804:23: ( lhs )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:798:23: ( lhs )*
while ( stream_lhs.hasNext() ) {
adaptor.addChild(root_1, stream_lhs.nextTree());
@@ -5560,7 +5542,7 @@
};
// $ANTLR start "lhs"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:807:1: lhs : lhs_or ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:801:1: lhs : lhs_or ;
public final DRLParser.lhs_return lhs() throws RecognitionException {
DRLParser.lhs_return retval = new DRLParser.lhs_return();
retval.start = input.LT(1);
@@ -5572,12 +5554,12 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:807:5: ( lhs_or )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:807:7: lhs_or
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:801:5: ( lhs_or )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:801:7: lhs_or
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_lhs_or_in_lhs2031);
+ pushFollow(FOLLOW_lhs_or_in_lhs2035);
lhs_or122=lhs_or();
state._fsp--;
@@ -5612,7 +5594,7 @@
};
// $ANTLR start "lhs_or"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:810:1: lhs_or : ( ( LEFT_PAREN or_key )=> LEFT_PAREN or= or_key ( lhs_and )+ RIGHT_PAREN -> ^( VT_OR_PREFIX[$or.start] ( lhs_and )+ RIGHT_PAREN ) | ( lhs_and -> lhs_and ) ( ( or_key | DOUBLE_PIPE )=> (value= or_key | pipe= DOUBLE_PIPE ) lhs_and -> ^( VT_OR_INFIX[orToken] $lhs_or lhs_and ) )* );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:804:1: lhs_or : ( ( LEFT_PAREN or_key )=> LEFT_PAREN or= or_key ( lhs_and )+ RIGHT_PAREN -> ^( VT_OR_PREFIX[$or.start] ( lhs_and )+ RIGHT_PAREN ) | ( lhs_and -> lhs_and ) ( ( or_key | DOUBLE_PIPE )=> (value= or_key | pipe= DOUBLE_PIPE ) lhs_and -> ^( VT_OR_INFIX[orToken] $lhs_or lhs_and ) )* );
public final DRLParser.lhs_or_return lhs_or() throws RecognitionException {
DRLParser.lhs_or_return retval = new DRLParser.lhs_or_return();
retval.start = input.LT(1);
@@ -5645,7 +5627,7 @@
Token orToken = null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:813:3: ( ( LEFT_PAREN or_key )=> LEFT_PAREN or= or_key ( lhs_and )+ RIGHT_PAREN -> ^( VT_OR_PREFIX[$or.start] ( lhs_and )+ RIGHT_PAREN ) | ( lhs_and -> lhs_and ) ( ( or_key | DOUBLE_PIPE )=> (value= or_key | pipe= DOUBLE_PIPE ) lhs_and -> ^( VT_OR_INFIX[orToken] $lhs_or lhs_and ) )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:807:3: ( ( LEFT_PAREN or_key )=> LEFT_PAREN or= or_key ( lhs_and )+ RIGHT_PAREN -> ^( VT_OR_PREFIX[$or.start] ( lhs_and )+ RIGHT_PAREN ) | ( lhs_and -> lhs_and ) ( ( or_key | DOUBLE_PIPE )=> (value= or_key | pipe= DOUBLE_PIPE ) lhs_and -> ^( VT_OR_INFIX[orToken] $lhs_or lhs_and ) )* )
int alt47=2;
int LA47_0 = input.LA(1);
@@ -5678,15 +5660,15 @@
}
switch (alt47) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:813:5: ( LEFT_PAREN or_key )=> LEFT_PAREN or= or_key ( lhs_and )+ RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:807:5: ( LEFT_PAREN or_key )=> LEFT_PAREN or= or_key ( lhs_and )+ RIGHT_PAREN
{
- LEFT_PAREN123=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_or2055); if (state.failed) return retval;
+ LEFT_PAREN123=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_or2059); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_PAREN.add(LEFT_PAREN123);
if ( state.backtracking==0 ) {
emit(LEFT_PAREN123, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_or_key_in_lhs_or2065);
+ pushFollow(FOLLOW_or_key_in_lhs_or2069);
or=or_key();
state._fsp--;
@@ -5695,7 +5677,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION_AND_OR);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:817:4: ( lhs_and )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:811:4: ( lhs_and )+
int cnt44=0;
loop44:
do {
@@ -5709,9 +5691,9 @@
switch (alt44) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:817:4: lhs_and
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:811:4: lhs_and
{
- pushFollow(FOLLOW_lhs_and_in_lhs_or2073);
+ pushFollow(FOLLOW_lhs_and_in_lhs_or2077);
lhs_and124=lhs_and();
state._fsp--;
@@ -5731,7 +5713,7 @@
cnt44++;
} while (true);
- RIGHT_PAREN125=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_or2079); if (state.failed) return retval;
+ RIGHT_PAREN125=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_or2083); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_RIGHT_PAREN.add(RIGHT_PAREN125);
if ( state.backtracking==0 ) {
@@ -5750,9 +5732,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 819:3: -> ^( VT_OR_PREFIX[$or.start] ( lhs_and )+ RIGHT_PAREN )
+ // 813:3: -> ^( VT_OR_PREFIX[$or.start] ( lhs_and )+ RIGHT_PAREN )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:819:6: ^( VT_OR_PREFIX[$or.start] ( lhs_and )+ RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:813:6: ^( VT_OR_PREFIX[$or.start] ( lhs_and )+ RIGHT_PAREN )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_OR_PREFIX, (or!=null?((Token)or.start):null)), root_1);
@@ -5776,12 +5758,12 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:820:4: ( lhs_and -> lhs_and ) ( ( or_key | DOUBLE_PIPE )=> (value= or_key | pipe= DOUBLE_PIPE ) lhs_and -> ^( VT_OR_INFIX[orToken] $lhs_or lhs_and ) )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:814:4: ( lhs_and -> lhs_and ) ( ( or_key | DOUBLE_PIPE )=> (value= or_key | pipe= DOUBLE_PIPE ) lhs_and -> ^( VT_OR_INFIX[orToken] $lhs_or lhs_and ) )*
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:820:4: ( lhs_and -> lhs_and )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:820:5: lhs_and
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:814:4: ( lhs_and -> lhs_and )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:814:5: lhs_and
{
- pushFollow(FOLLOW_lhs_and_in_lhs_or2102);
+ pushFollow(FOLLOW_lhs_and_in_lhs_or2106);
lhs_and126=lhs_and();
state._fsp--;
@@ -5800,7 +5782,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 820:13: -> lhs_and
+ // 814:13: -> lhs_and
{
adaptor.addChild(root_0, stream_lhs_and.nextTree());
@@ -5809,7 +5791,7 @@
retval.tree = root_0;}
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:821:3: ( ( or_key | DOUBLE_PIPE )=> (value= or_key | pipe= DOUBLE_PIPE ) lhs_and -> ^( VT_OR_INFIX[orToken] $lhs_or lhs_and ) )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:815:3: ( ( or_key | DOUBLE_PIPE )=> (value= or_key | pipe= DOUBLE_PIPE ) lhs_and -> ^( VT_OR_INFIX[orToken] $lhs_or lhs_and ) )*
loop46:
do {
int alt46=2;
@@ -5837,9 +5819,9 @@
switch (alt46) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:821:5: ( or_key | DOUBLE_PIPE )=> (value= or_key | pipe= DOUBLE_PIPE ) lhs_and
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:815:5: ( or_key | DOUBLE_PIPE )=> (value= or_key | pipe= DOUBLE_PIPE ) lhs_and
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:821:28: (value= or_key | pipe= DOUBLE_PIPE )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:815:28: (value= or_key | pipe= DOUBLE_PIPE )
int alt45=2;
int LA45_0 = input.LA(1);
@@ -5858,9 +5840,9 @@
}
switch (alt45) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:821:29: value= or_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:815:29: value= or_key
{
- pushFollow(FOLLOW_or_key_in_lhs_or2124);
+ pushFollow(FOLLOW_or_key_in_lhs_or2128);
value=or_key();
state._fsp--;
@@ -5873,9 +5855,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:821:69: pipe= DOUBLE_PIPE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:815:69: pipe= DOUBLE_PIPE
{
- pipe=(Token)match(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_lhs_or2131); if (state.failed) return retval;
+ pipe=(Token)match(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_lhs_or2135); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_DOUBLE_PIPE.add(pipe);
if ( state.backtracking==0 ) {
@@ -5890,7 +5872,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION_AND_OR);
}
- pushFollow(FOLLOW_lhs_and_in_lhs_or2142);
+ pushFollow(FOLLOW_lhs_and_in_lhs_or2146);
lhs_and127=lhs_and();
state._fsp--;
@@ -5909,9 +5891,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 824:3: -> ^( VT_OR_INFIX[orToken] $lhs_or lhs_and )
+ // 818:3: -> ^( VT_OR_INFIX[orToken] $lhs_or lhs_and )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:824:6: ^( VT_OR_INFIX[orToken] $lhs_or lhs_and )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:818:6: ^( VT_OR_INFIX[orToken] $lhs_or lhs_and )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_OR_INFIX, orToken), root_1);
@@ -5964,7 +5946,7 @@
};
// $ANTLR start "lhs_and"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:827:1: lhs_and : ( ( LEFT_PAREN and_key )=> LEFT_PAREN and= and_key ( lhs_unary )+ RIGHT_PAREN -> ^( VT_AND_PREFIX[$and.start] ( lhs_unary )+ RIGHT_PAREN ) | ( lhs_unary -> lhs_unary ) ( ( and_key | DOUBLE_AMPER )=> (value= and_key | amper= DOUBLE_AMPER ) lhs_unary -> ^( VT_AND_INFIX[andToken] $lhs_and lhs_unary ) )* );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:821:1: lhs_and : ( ( LEFT_PAREN and_key )=> LEFT_PAREN and= and_key ( lhs_unary )+ RIGHT_PAREN -> ^( VT_AND_PREFIX[$and.start] ( lhs_unary )+ RIGHT_PAREN ) | ( lhs_unary -> lhs_unary ) ( ( and_key | DOUBLE_AMPER )=> (value= and_key | amper= DOUBLE_AMPER ) lhs_unary -> ^( VT_AND_INFIX[andToken] $lhs_and lhs_unary ) )* );
public final DRLParser.lhs_and_return lhs_and() throws RecognitionException {
DRLParser.lhs_and_return retval = new DRLParser.lhs_and_return();
retval.start = input.LT(1);
@@ -5997,7 +5979,7 @@
Token andToken = null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:830:3: ( ( LEFT_PAREN and_key )=> LEFT_PAREN and= and_key ( lhs_unary )+ RIGHT_PAREN -> ^( VT_AND_PREFIX[$and.start] ( lhs_unary )+ RIGHT_PAREN ) | ( lhs_unary -> lhs_unary ) ( ( and_key | DOUBLE_AMPER )=> (value= and_key | amper= DOUBLE_AMPER ) lhs_unary -> ^( VT_AND_INFIX[andToken] $lhs_and lhs_unary ) )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:824:3: ( ( LEFT_PAREN and_key )=> LEFT_PAREN and= and_key ( lhs_unary )+ RIGHT_PAREN -> ^( VT_AND_PREFIX[$and.start] ( lhs_unary )+ RIGHT_PAREN ) | ( lhs_unary -> lhs_unary ) ( ( and_key | DOUBLE_AMPER )=> (value= and_key | amper= DOUBLE_AMPER ) lhs_unary -> ^( VT_AND_INFIX[andToken] $lhs_and lhs_unary ) )* )
int alt51=2;
int LA51_0 = input.LA(1);
@@ -6030,15 +6012,15 @@
}
switch (alt51) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:830:5: ( LEFT_PAREN and_key )=> LEFT_PAREN and= and_key ( lhs_unary )+ RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:824:5: ( LEFT_PAREN and_key )=> LEFT_PAREN and= and_key ( lhs_unary )+ RIGHT_PAREN
{
- LEFT_PAREN128=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_and2183); if (state.failed) return retval;
+ LEFT_PAREN128=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_and2187); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_PAREN.add(LEFT_PAREN128);
if ( state.backtracking==0 ) {
emit(LEFT_PAREN128, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_and_key_in_lhs_and2193);
+ pushFollow(FOLLOW_and_key_in_lhs_and2197);
and=and_key();
state._fsp--;
@@ -6047,7 +6029,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION_AND_OR);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:834:4: ( lhs_unary )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:828:4: ( lhs_unary )+
int cnt48=0;
loop48:
do {
@@ -6061,9 +6043,9 @@
switch (alt48) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:834:4: lhs_unary
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:828:4: lhs_unary
{
- pushFollow(FOLLOW_lhs_unary_in_lhs_and2201);
+ pushFollow(FOLLOW_lhs_unary_in_lhs_and2205);
lhs_unary129=lhs_unary();
state._fsp--;
@@ -6083,7 +6065,7 @@
cnt48++;
} while (true);
- RIGHT_PAREN130=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_and2207); if (state.failed) return retval;
+ RIGHT_PAREN130=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_and2211); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_RIGHT_PAREN.add(RIGHT_PAREN130);
if ( state.backtracking==0 ) {
@@ -6102,9 +6084,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 836:3: -> ^( VT_AND_PREFIX[$and.start] ( lhs_unary )+ RIGHT_PAREN )
+ // 830:3: -> ^( VT_AND_PREFIX[$and.start] ( lhs_unary )+ RIGHT_PAREN )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:836:6: ^( VT_AND_PREFIX[$and.start] ( lhs_unary )+ RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:830:6: ^( VT_AND_PREFIX[$and.start] ( lhs_unary )+ RIGHT_PAREN )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_AND_PREFIX, (and!=null?((Token)and.start):null)), root_1);
@@ -6128,12 +6110,12 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:837:4: ( lhs_unary -> lhs_unary ) ( ( and_key | DOUBLE_AMPER )=> (value= and_key | amper= DOUBLE_AMPER ) lhs_unary -> ^( VT_AND_INFIX[andToken] $lhs_and lhs_unary ) )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:831:4: ( lhs_unary -> lhs_unary ) ( ( and_key | DOUBLE_AMPER )=> (value= and_key | amper= DOUBLE_AMPER ) lhs_unary -> ^( VT_AND_INFIX[andToken] $lhs_and lhs_unary ) )*
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:837:4: ( lhs_unary -> lhs_unary )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:837:5: lhs_unary
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:831:4: ( lhs_unary -> lhs_unary )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:831:5: lhs_unary
{
- pushFollow(FOLLOW_lhs_unary_in_lhs_and2231);
+ pushFollow(FOLLOW_lhs_unary_in_lhs_and2235);
lhs_unary131=lhs_unary();
state._fsp--;
@@ -6152,7 +6134,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 837:15: -> lhs_unary
+ // 831:15: -> lhs_unary
{
adaptor.addChild(root_0, stream_lhs_unary.nextTree());
@@ -6161,7 +6143,7 @@
retval.tree = root_0;}
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:838:3: ( ( and_key | DOUBLE_AMPER )=> (value= and_key | amper= DOUBLE_AMPER ) lhs_unary -> ^( VT_AND_INFIX[andToken] $lhs_and lhs_unary ) )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:832:3: ( ( and_key | DOUBLE_AMPER )=> (value= and_key | amper= DOUBLE_AMPER ) lhs_unary -> ^( VT_AND_INFIX[andToken] $lhs_and lhs_unary ) )*
loop50:
do {
int alt50=2;
@@ -6189,9 +6171,9 @@
switch (alt50) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:838:5: ( and_key | DOUBLE_AMPER )=> (value= and_key | amper= DOUBLE_AMPER ) lhs_unary
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:832:5: ( and_key | DOUBLE_AMPER )=> (value= and_key | amper= DOUBLE_AMPER ) lhs_unary
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:838:30: (value= and_key | amper= DOUBLE_AMPER )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:832:30: (value= and_key | amper= DOUBLE_AMPER )
int alt49=2;
int LA49_0 = input.LA(1);
@@ -6210,9 +6192,9 @@
}
switch (alt49) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:838:31: value= and_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:832:31: value= and_key
{
- pushFollow(FOLLOW_and_key_in_lhs_and2253);
+ pushFollow(FOLLOW_and_key_in_lhs_and2257);
value=and_key();
state._fsp--;
@@ -6225,9 +6207,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:838:73: amper= DOUBLE_AMPER
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:832:73: amper= DOUBLE_AMPER
{
- amper=(Token)match(input,DOUBLE_AMPER,FOLLOW_DOUBLE_AMPER_in_lhs_and2260); if (state.failed) return retval;
+ amper=(Token)match(input,DOUBLE_AMPER,FOLLOW_DOUBLE_AMPER_in_lhs_and2264); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_DOUBLE_AMPER.add(amper);
if ( state.backtracking==0 ) {
@@ -6242,7 +6224,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION_AND_OR);
}
- pushFollow(FOLLOW_lhs_unary_in_lhs_and2271);
+ pushFollow(FOLLOW_lhs_unary_in_lhs_and2275);
lhs_unary132=lhs_unary();
state._fsp--;
@@ -6251,7 +6233,7 @@
// AST REWRITE
- // elements: lhs_and, lhs_unary
+ // elements: lhs_unary, lhs_and
// token labels:
// rule labels: retval
// token list labels:
@@ -6261,9 +6243,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 841:3: -> ^( VT_AND_INFIX[andToken] $lhs_and lhs_unary )
+ // 835:3: -> ^( VT_AND_INFIX[andToken] $lhs_and lhs_unary )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:841:6: ^( VT_AND_INFIX[andToken] $lhs_and lhs_unary )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:835:6: ^( VT_AND_INFIX[andToken] $lhs_and lhs_unary )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_AND_INFIX, andToken), root_1);
@@ -6316,7 +6298,7 @@
};
// $ANTLR start "lhs_unary"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:844:1: lhs_unary : ( lhs_exist | {...}? => lhs_not_binding | lhs_not | lhs_eval | lhs_forall | LEFT_PAREN lhs_or RIGHT_PAREN | pattern_source ) ( ( SEMICOLON )=> SEMICOLON )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:838:1: lhs_unary : ( lhs_exist | {...}? => lhs_not_binding | lhs_not | lhs_eval | lhs_forall | LEFT_PAREN lhs_or RIGHT_PAREN | pattern_source ) ( ( SEMICOLON )=> SEMICOLON )? ;
public final DRLParser.lhs_unary_return lhs_unary() throws RecognitionException {
DRLParser.lhs_unary_return retval = new DRLParser.lhs_unary_return();
retval.start = input.LT(1);
@@ -6346,12 +6328,12 @@
Object SEMICOLON142_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:845:2: ( ( lhs_exist | {...}? => lhs_not_binding | lhs_not | lhs_eval | lhs_forall | LEFT_PAREN lhs_or RIGHT_PAREN | pattern_source ) ( ( SEMICOLON )=> SEMICOLON )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:845:4: ( lhs_exist | {...}? => lhs_not_binding | lhs_not | lhs_eval | lhs_forall | LEFT_PAREN lhs_or RIGHT_PAREN | pattern_source ) ( ( SEMICOLON )=> SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:839:2: ( ( lhs_exist | {...}? => lhs_not_binding | lhs_not | lhs_eval | lhs_forall | LEFT_PAREN lhs_or RIGHT_PAREN | pattern_source ) ( ( SEMICOLON )=> SEMICOLON )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:839:4: ( lhs_exist | {...}? => lhs_not_binding | lhs_not | lhs_eval | lhs_forall | LEFT_PAREN lhs_or RIGHT_PAREN | pattern_source ) ( ( SEMICOLON )=> SEMICOLON )?
{
root_0 = (Object)adaptor.nil();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:845:4: ( lhs_exist | {...}? => lhs_not_binding | lhs_not | lhs_eval | lhs_forall | LEFT_PAREN lhs_or RIGHT_PAREN | pattern_source )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:839:4: ( lhs_exist | {...}? => lhs_not_binding | lhs_not | lhs_eval | lhs_forall | LEFT_PAREN lhs_or RIGHT_PAREN | pattern_source )
int alt52=7;
int LA52_0 = input.LA(1);
@@ -6396,9 +6378,9 @@
}
switch (alt52) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:845:6: lhs_exist
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:839:6: lhs_exist
{
- pushFollow(FOLLOW_lhs_exist_in_lhs_unary2302);
+ pushFollow(FOLLOW_lhs_exist_in_lhs_unary2306);
lhs_exist133=lhs_exist();
state._fsp--;
@@ -6408,13 +6390,13 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:846:4: {...}? => lhs_not_binding
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:840:4: {...}? => lhs_not_binding
{
if ( !((validateNotWithBinding())) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "lhs_unary", "validateNotWithBinding()");
}
- pushFollow(FOLLOW_lhs_not_binding_in_lhs_unary2310);
+ pushFollow(FOLLOW_lhs_not_binding_in_lhs_unary2314);
lhs_not_binding134=lhs_not_binding();
state._fsp--;
@@ -6424,9 +6406,9 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:847:5: lhs_not
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:841:5: lhs_not
{
- pushFollow(FOLLOW_lhs_not_in_lhs_unary2316);
+ pushFollow(FOLLOW_lhs_not_in_lhs_unary2320);
lhs_not135=lhs_not();
state._fsp--;
@@ -6436,9 +6418,9 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:848:5: lhs_eval
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:842:5: lhs_eval
{
- pushFollow(FOLLOW_lhs_eval_in_lhs_unary2322);
+ pushFollow(FOLLOW_lhs_eval_in_lhs_unary2326);
lhs_eval136=lhs_eval();
state._fsp--;
@@ -6448,9 +6430,9 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:849:5: lhs_forall
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:843:5: lhs_forall
{
- pushFollow(FOLLOW_lhs_forall_in_lhs_unary2328);
+ pushFollow(FOLLOW_lhs_forall_in_lhs_unary2332);
lhs_forall137=lhs_forall();
state._fsp--;
@@ -6460,19 +6442,19 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:850:5: LEFT_PAREN lhs_or RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:844:5: LEFT_PAREN lhs_or RIGHT_PAREN
{
- LEFT_PAREN138=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_unary2334); if (state.failed) return retval;
+ LEFT_PAREN138=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_unary2338); if (state.failed) return retval;
if ( state.backtracking==0 ) {
emit(LEFT_PAREN138, DroolsEditorType.SYMBOL); emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION );
}
- pushFollow(FOLLOW_lhs_or_in_lhs_unary2345);
+ pushFollow(FOLLOW_lhs_or_in_lhs_unary2349);
lhs_or139=lhs_or();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) adaptor.addChild(root_0, lhs_or139.getTree());
- RIGHT_PAREN140=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_unary2351); if (state.failed) return retval;
+ RIGHT_PAREN140=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_unary2355); if (state.failed) return retval;
if ( state.backtracking==0 ) {
RIGHT_PAREN140_tree = (Object)adaptor.create(RIGHT_PAREN140);
adaptor.addChild(root_0, RIGHT_PAREN140_tree);
@@ -6484,9 +6466,9 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:853:5: pattern_source
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:847:5: pattern_source
{
- pushFollow(FOLLOW_pattern_source_in_lhs_unary2359);
+ pushFollow(FOLLOW_pattern_source_in_lhs_unary2363);
pattern_source141=pattern_source();
state._fsp--;
@@ -6498,7 +6480,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:855:3: ( ( SEMICOLON )=> SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:849:3: ( ( SEMICOLON )=> SEMICOLON )?
int alt53=2;
int LA53_0 = input.LA(1);
@@ -6511,9 +6493,9 @@
}
switch (alt53) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:855:4: ( SEMICOLON )=> SEMICOLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:849:4: ( SEMICOLON )=> SEMICOLON
{
- SEMICOLON142=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_lhs_unary2373); if (state.failed) return retval;
+ SEMICOLON142=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_lhs_unary2377); if (state.failed) return retval;
if ( state.backtracking==0 ) {
emit(SEMICOLON142, DroolsEditorType.SYMBOL);
}
@@ -6552,7 +6534,7 @@
};
// $ANTLR start "lhs_exist"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:858:1: lhs_exist : exists_key ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern ) -> ^( exists_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:852:1: lhs_exist : exists_key ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern ) -> ^( exists_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? ) ;
public final DRLParser.lhs_exist_return lhs_exist() throws RecognitionException {
DRLParser.lhs_exist_return retval = new DRLParser.lhs_exist_return();
retval.start = input.LT(1);
@@ -6578,10 +6560,10 @@
RewriteRuleSubtreeStream stream_exists_key=new RewriteRuleSubtreeStream(adaptor,"rule exists_key");
RewriteRuleSubtreeStream stream_lhs_pattern=new RewriteRuleSubtreeStream(adaptor,"rule lhs_pattern");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:859:2: ( exists_key ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern ) -> ^( exists_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:859:4: exists_key ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:853:2: ( exists_key ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern ) -> ^( exists_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:853:4: exists_key ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern )
{
- pushFollow(FOLLOW_exists_key_in_lhs_exist2389);
+ pushFollow(FOLLOW_exists_key_in_lhs_exist2393);
exists_key143=exists_key();
state._fsp--;
@@ -6590,7 +6572,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION_EXISTS);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:861:10: ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:855:10: ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern )
int alt54=3;
int LA54_0 = input.LA(1);
@@ -6614,7 +6596,7 @@
else if ( (LA54_0==ID) ) {
int LA54_2 = input.LA(2);
- if ( (((synpred6_DRL()&&((validateIdentifierKey(DroolsSoftKeywords.FORALL))))||(synpred6_DRL()&&((validateIdentifierKey(DroolsSoftKeywords.NOT))))||(synpred6_DRL()&&((validateIdentifierKey(DroolsSoftKeywords.EVAL))))||synpred6_DRL()||((synpred6_DRL()&&(validateNotWithBinding()))&&((validateIdentifierKey(DroolsSoftKeywords.NOT))))||(synpred6_DRL()&&((validateIdentifierKey(DroolsSoftKeywords.EXISTS)))))) ) {
+ if ( (((synpred6_DRL()&&((validateIdentifierKey(DroolsSoftKeywords.FORALL))))||(synpred6_DRL()&&((validateIdentifierKey(DroolsSoftKeywords.EXISTS))))||synpred6_DRL()||(synpred6_DRL()&&((validateIdentifierKey(DroolsSoftKeywords.NOT))))||(synpred6_DRL()&&((validateIdentifierKey(DroolsSoftKeywords.EVAL))))||((synpred6_DRL()&&(validateNotWithBinding()))&&((validateIdentifierKey(DroolsSoftKeywords.NOT)))))) ) {
alt54=1;
}
else if ( (true) ) {
@@ -6637,9 +6619,9 @@
}
switch (alt54) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:861:12: ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:855:12: ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or
{
- pushFollow(FOLLOW_lhs_or_in_lhs_exist2416);
+ pushFollow(FOLLOW_lhs_or_in_lhs_exist2420);
lhs_or144=lhs_or();
state._fsp--;
@@ -6649,21 +6631,21 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:862:5: LEFT_PAREN lhs_or RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:856:5: LEFT_PAREN lhs_or RIGHT_PAREN
{
- LEFT_PAREN145=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_exist2423); if (state.failed) return retval;
+ LEFT_PAREN145=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_exist2427); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_PAREN.add(LEFT_PAREN145);
if ( state.backtracking==0 ) {
emit(LEFT_PAREN145, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_lhs_or_in_lhs_exist2431);
+ pushFollow(FOLLOW_lhs_or_in_lhs_exist2435);
lhs_or146=lhs_or();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_lhs_or.add(lhs_or146.getTree());
- RIGHT_PAREN147=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_exist2438); if (state.failed) return retval;
+ RIGHT_PAREN147=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_exist2442); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_RIGHT_PAREN.add(RIGHT_PAREN147);
if ( state.backtracking==0 ) {
@@ -6673,9 +6655,9 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:865:12: lhs_pattern
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:859:12: lhs_pattern
{
- pushFollow(FOLLOW_lhs_pattern_in_lhs_exist2453);
+ pushFollow(FOLLOW_lhs_pattern_in_lhs_exist2457);
lhs_pattern148=lhs_pattern();
state._fsp--;
@@ -6690,7 +6672,7 @@
// AST REWRITE
- // elements: lhs_pattern, lhs_or, exists_key, RIGHT_PAREN
+ // elements: exists_key, RIGHT_PAREN, lhs_or, lhs_pattern
// token labels:
// rule labels: retval
// token list labels:
@@ -6700,26 +6682,26 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 867:10: -> ^( exists_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? )
+ // 861:10: -> ^( exists_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:867:13: ^( exists_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:861:13: ^( exists_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_exists_key.nextNode(), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:867:26: ( lhs_or )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:861:26: ( lhs_or )?
if ( stream_lhs_or.hasNext() ) {
adaptor.addChild(root_1, stream_lhs_or.nextTree());
}
stream_lhs_or.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:867:34: ( lhs_pattern )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:861:34: ( lhs_pattern )?
if ( stream_lhs_pattern.hasNext() ) {
adaptor.addChild(root_1, stream_lhs_pattern.nextTree());
}
stream_lhs_pattern.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:867:47: ( RIGHT_PAREN )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:861:47: ( RIGHT_PAREN )?
if ( stream_RIGHT_PAREN.hasNext() ) {
adaptor.addChild(root_1, stream_RIGHT_PAREN.nextNode());
@@ -6760,7 +6742,7 @@
};
// $ANTLR start "lhs_not_binding"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:870:1: lhs_not_binding : not_key fact_binding -> ^( not_key ^( VT_PATTERN fact_binding ) ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:864:1: lhs_not_binding : not_key fact_binding -> ^( not_key ^( VT_PATTERN fact_binding ) ) ;
public final DRLParser.lhs_not_binding_return lhs_not_binding() throws RecognitionException {
DRLParser.lhs_not_binding_return retval = new DRLParser.lhs_not_binding_return();
retval.start = input.LT(1);
@@ -6775,16 +6757,16 @@
RewriteRuleSubtreeStream stream_fact_binding=new RewriteRuleSubtreeStream(adaptor,"rule fact_binding");
RewriteRuleSubtreeStream stream_not_key=new RewriteRuleSubtreeStream(adaptor,"rule not_key");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:871:2: ( not_key fact_binding -> ^( not_key ^( VT_PATTERN fact_binding ) ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:871:4: not_key fact_binding
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:865:2: ( not_key fact_binding -> ^( not_key ^( VT_PATTERN fact_binding ) ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:865:4: not_key fact_binding
{
- pushFollow(FOLLOW_not_key_in_lhs_not_binding2499);
+ pushFollow(FOLLOW_not_key_in_lhs_not_binding2503);
not_key149=not_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_not_key.add(not_key149.getTree());
- pushFollow(FOLLOW_fact_binding_in_lhs_not_binding2501);
+ pushFollow(FOLLOW_fact_binding_in_lhs_not_binding2505);
fact_binding150=fact_binding();
state._fsp--;
@@ -6803,14 +6785,14 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 872:2: -> ^( not_key ^( VT_PATTERN fact_binding ) )
+ // 866:2: -> ^( not_key ^( VT_PATTERN fact_binding ) )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:872:5: ^( not_key ^( VT_PATTERN fact_binding ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:866:5: ^( not_key ^( VT_PATTERN fact_binding ) )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_not_key.nextNode(), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:872:15: ^( VT_PATTERN fact_binding )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:866:15: ^( VT_PATTERN fact_binding )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_PATTERN, "VT_PATTERN"), root_2);
@@ -6854,7 +6836,7 @@
};
// $ANTLR start "lhs_not"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:875:1: lhs_not : not_key ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern ) -> ^( not_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:869:1: lhs_not : not_key ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern ) -> ^( not_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? ) ;
public final DRLParser.lhs_not_return lhs_not() throws RecognitionException {
DRLParser.lhs_not_return retval = new DRLParser.lhs_not_return();
retval.start = input.LT(1);
@@ -6880,10 +6862,10 @@
RewriteRuleSubtreeStream stream_not_key=new RewriteRuleSubtreeStream(adaptor,"rule not_key");
RewriteRuleSubtreeStream stream_lhs_pattern=new RewriteRuleSubtreeStream(adaptor,"rule lhs_pattern");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:875:9: ( not_key ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern ) -> ^( not_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:875:11: not_key ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:869:9: ( not_key ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern ) -> ^( not_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:869:11: not_key ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern )
{
- pushFollow(FOLLOW_not_key_in_lhs_not2524);
+ pushFollow(FOLLOW_not_key_in_lhs_not2528);
not_key151=not_key();
state._fsp--;
@@ -6892,7 +6874,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION_NOT);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:877:3: ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:871:3: ( ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or | LEFT_PAREN lhs_or RIGHT_PAREN | lhs_pattern )
int alt55=3;
int LA55_0 = input.LA(1);
@@ -6939,12 +6921,12 @@
}
switch (alt55) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:877:5: ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:871:5: ( LEFT_PAREN ( or_key | and_key ) )=> lhs_or
{
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION );
}
- pushFollow(FOLLOW_lhs_or_in_lhs_not2546);
+ pushFollow(FOLLOW_lhs_or_in_lhs_not2550);
lhs_or152=lhs_or();
state._fsp--;
@@ -6954,21 +6936,21 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:878:5: LEFT_PAREN lhs_or RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:872:5: LEFT_PAREN lhs_or RIGHT_PAREN
{
- LEFT_PAREN153=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_not2553); if (state.failed) return retval;
+ LEFT_PAREN153=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_not2557); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_PAREN.add(LEFT_PAREN153);
if ( state.backtracking==0 ) {
emit(LEFT_PAREN153, DroolsEditorType.SYMBOL); emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION );
}
- pushFollow(FOLLOW_lhs_or_in_lhs_not2562);
+ pushFollow(FOLLOW_lhs_or_in_lhs_not2566);
lhs_or154=lhs_or();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_lhs_or.add(lhs_or154.getTree());
- RIGHT_PAREN155=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_not2568); if (state.failed) return retval;
+ RIGHT_PAREN155=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_not2572); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_RIGHT_PAREN.add(RIGHT_PAREN155);
if ( state.backtracking==0 ) {
@@ -6978,9 +6960,9 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:881:6: lhs_pattern
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:875:6: lhs_pattern
{
- pushFollow(FOLLOW_lhs_pattern_in_lhs_not2578);
+ pushFollow(FOLLOW_lhs_pattern_in_lhs_not2582);
lhs_pattern156=lhs_pattern();
state._fsp--;
@@ -6995,7 +6977,7 @@
// AST REWRITE
- // elements: lhs_or, not_key, RIGHT_PAREN, lhs_pattern
+ // elements: not_key, RIGHT_PAREN, lhs_pattern, lhs_or
// token labels:
// rule labels: retval
// token list labels:
@@ -7005,26 +6987,26 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 882:10: -> ^( not_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? )
+ // 876:10: -> ^( not_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:882:13: ^( not_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:876:13: ^( not_key ( lhs_or )? ( lhs_pattern )? ( RIGHT_PAREN )? )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_not_key.nextNode(), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:882:23: ( lhs_or )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:876:23: ( lhs_or )?
if ( stream_lhs_or.hasNext() ) {
adaptor.addChild(root_1, stream_lhs_or.nextTree());
}
stream_lhs_or.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:882:31: ( lhs_pattern )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:876:31: ( lhs_pattern )?
if ( stream_lhs_pattern.hasNext() ) {
adaptor.addChild(root_1, stream_lhs_pattern.nextTree());
}
stream_lhs_pattern.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:882:44: ( RIGHT_PAREN )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:876:44: ( RIGHT_PAREN )?
if ( stream_RIGHT_PAREN.hasNext() ) {
adaptor.addChild(root_1, stream_RIGHT_PAREN.nextNode());
@@ -7065,7 +7047,7 @@
};
// $ANTLR start "lhs_eval"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:885:1: lhs_eval : ev= eval_key pc= paren_chunk -> ^( eval_key paren_chunk ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:879:1: lhs_eval : ev= eval_key pc= paren_chunk -> ^( eval_key paren_chunk ) ;
public final DRLParser.lhs_eval_return lhs_eval() throws RecognitionException {
DRLParser.lhs_eval_return retval = new DRLParser.lhs_eval_return();
retval.start = input.LT(1);
@@ -7080,10 +7062,10 @@
RewriteRuleSubtreeStream stream_eval_key=new RewriteRuleSubtreeStream(adaptor,"rule eval_key");
RewriteRuleSubtreeStream stream_paren_chunk=new RewriteRuleSubtreeStream(adaptor,"rule paren_chunk");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:886:2: (ev= eval_key pc= paren_chunk -> ^( eval_key paren_chunk ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:886:4: ev= eval_key pc= paren_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:880:2: (ev= eval_key pc= paren_chunk -> ^( eval_key paren_chunk ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:880:4: ev= eval_key pc= paren_chunk
{
- pushFollow(FOLLOW_eval_key_in_lhs_eval2617);
+ pushFollow(FOLLOW_eval_key_in_lhs_eval2621);
ev=eval_key();
state._fsp--;
@@ -7092,14 +7074,17 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_INSIDE_EVAL);
}
- pushFollow(FOLLOW_paren_chunk_in_lhs_eval2626);
+ pushFollow(FOLLOW_paren_chunk_in_lhs_eval2630);
pc=paren_chunk();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_paren_chunk.add(pc.getTree());
if ( state.backtracking==0 ) {
- emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION);
+ if (((DroolsTree) (pc!=null?((Object)pc.tree):null)).getText() != null){
+ emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION);
+ }
+
}
if ( state.backtracking==0 ) {
String body = safeSubstring( (pc!=null?input.toString(pc.start,pc.stop):null), 1, (pc!=null?input.toString(pc.start,pc.stop):null).length()-1 );
@@ -7118,9 +7103,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 892:3: -> ^( eval_key paren_chunk )
+ // 889:3: -> ^( eval_key paren_chunk )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:892:6: ^( eval_key paren_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:889:6: ^( eval_key paren_chunk )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_eval_key.nextNode(), root_1);
@@ -7161,7 +7146,7 @@
};
// $ANTLR start "lhs_forall"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:895:1: lhs_forall : forall_key LEFT_PAREN ( lhs_pattern )+ RIGHT_PAREN -> ^( forall_key ( lhs_pattern )+ RIGHT_PAREN ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:892:1: lhs_forall : forall_key LEFT_PAREN ( lhs_pattern )+ RIGHT_PAREN -> ^( forall_key ( lhs_pattern )+ RIGHT_PAREN ) ;
public final DRLParser.lhs_forall_return lhs_forall() throws RecognitionException {
DRLParser.lhs_forall_return retval = new DRLParser.lhs_forall_return();
retval.start = input.LT(1);
@@ -7182,22 +7167,22 @@
RewriteRuleSubtreeStream stream_forall_key=new RewriteRuleSubtreeStream(adaptor,"rule forall_key");
RewriteRuleSubtreeStream stream_lhs_pattern=new RewriteRuleSubtreeStream(adaptor,"rule lhs_pattern");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:896:2: ( forall_key LEFT_PAREN ( lhs_pattern )+ RIGHT_PAREN -> ^( forall_key ( lhs_pattern )+ RIGHT_PAREN ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:896:4: forall_key LEFT_PAREN ( lhs_pattern )+ RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:893:2: ( forall_key LEFT_PAREN ( lhs_pattern )+ RIGHT_PAREN -> ^( forall_key ( lhs_pattern )+ RIGHT_PAREN ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:893:4: forall_key LEFT_PAREN ( lhs_pattern )+ RIGHT_PAREN
{
- pushFollow(FOLLOW_forall_key_in_lhs_forall2653);
+ pushFollow(FOLLOW_forall_key_in_lhs_forall2657);
forall_key157=forall_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_forall_key.add(forall_key157.getTree());
- LEFT_PAREN158=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_forall2658); if (state.failed) return retval;
+ LEFT_PAREN158=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_forall2662); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_PAREN.add(LEFT_PAREN158);
if ( state.backtracking==0 ) {
emit(LEFT_PAREN158, DroolsEditorType.SYMBOL);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:898:4: ( lhs_pattern )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:895:4: ( lhs_pattern )+
int cnt56=0;
loop56:
do {
@@ -7211,9 +7196,9 @@
switch (alt56) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:898:4: lhs_pattern
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:895:4: lhs_pattern
{
- pushFollow(FOLLOW_lhs_pattern_in_lhs_forall2666);
+ pushFollow(FOLLOW_lhs_pattern_in_lhs_forall2670);
lhs_pattern159=lhs_pattern();
state._fsp--;
@@ -7233,7 +7218,7 @@
cnt56++;
} while (true);
- RIGHT_PAREN160=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_forall2672); if (state.failed) return retval;
+ RIGHT_PAREN160=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_forall2676); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_RIGHT_PAREN.add(RIGHT_PAREN160);
if ( state.backtracking==0 ) {
@@ -7242,7 +7227,7 @@
// AST REWRITE
- // elements: forall_key, lhs_pattern, RIGHT_PAREN
+ // elements: RIGHT_PAREN, lhs_pattern, forall_key
// token labels:
// rule labels: retval
// token list labels:
@@ -7252,9 +7237,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 900:3: -> ^( forall_key ( lhs_pattern )+ RIGHT_PAREN )
+ // 897:3: -> ^( forall_key ( lhs_pattern )+ RIGHT_PAREN )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:900:6: ^( forall_key ( lhs_pattern )+ RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:897:6: ^( forall_key ( lhs_pattern )+ RIGHT_PAREN )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_forall_key.nextNode(), root_1);
@@ -7303,7 +7288,7 @@
};
// $ANTLR start "pattern_source"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:903:1: pattern_source : lhs_pattern ( over_clause )? ( FROM ( accumulate_statement | collect_statement | entrypoint_statement | from_source ) )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:900:1: pattern_source : lhs_pattern ( over_clause )? ( FROM ( accumulate_statement | collect_statement | entrypoint_statement | from_source ) )? ;
public final DRLParser.pattern_source_return pattern_source() throws RecognitionException {
DRLParser.pattern_source_return retval = new DRLParser.pattern_source_return();
retval.start = input.LT(1);
@@ -7328,18 +7313,18 @@
boolean isFailed = true;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:906:2: ( lhs_pattern ( over_clause )? ( FROM ( accumulate_statement | collect_statement | entrypoint_statement | from_source ) )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:906:4: lhs_pattern ( over_clause )? ( FROM ( accumulate_statement | collect_statement | entrypoint_statement | from_source ) )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:903:2: ( lhs_pattern ( over_clause )? ( FROM ( accumulate_statement | collect_statement | entrypoint_statement | from_source ) )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:903:4: lhs_pattern ( over_clause )? ( FROM ( accumulate_statement | collect_statement | entrypoint_statement | from_source ) )?
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_lhs_pattern_in_pattern_source2708);
+ pushFollow(FOLLOW_lhs_pattern_in_pattern_source2712);
lhs_pattern161=lhs_pattern();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) adaptor.addChild(root_0, lhs_pattern161.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:907:3: ( over_clause )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:904:3: ( over_clause )?
int alt57=2;
int LA57_0 = input.LA(1);
@@ -7348,9 +7333,9 @@
}
switch (alt57) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:907:3: over_clause
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:904:3: over_clause
{
- pushFollow(FOLLOW_over_clause_in_pattern_source2712);
+ pushFollow(FOLLOW_over_clause_in_pattern_source2716);
over_clause162=over_clause();
state._fsp--;
@@ -7362,7 +7347,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:908:3: ( FROM ( accumulate_statement | collect_statement | entrypoint_statement | from_source ) )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:905:3: ( FROM ( accumulate_statement | collect_statement | entrypoint_statement | from_source ) )?
int alt59=2;
int LA59_0 = input.LA(1);
@@ -7371,9 +7356,9 @@
}
switch (alt59) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:909:4: FROM ( accumulate_statement | collect_statement | entrypoint_statement | from_source )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:906:4: FROM ( accumulate_statement | collect_statement | entrypoint_statement | from_source )
{
- FROM163=(Token)match(input,FROM,FOLLOW_FROM_in_pattern_source2722); if (state.failed) return retval;
+ FROM163=(Token)match(input,FROM,FOLLOW_FROM_in_pattern_source2726); if (state.failed) return retval;
if ( state.backtracking==0 ) {
FROM163_tree = (Object)adaptor.create(FROM163);
root_0 = (Object)adaptor.becomeRoot(FROM163_tree, root_0);
@@ -7382,7 +7367,7 @@
emit(FROM163, DroolsEditorType.KEYWORD);
emit(Location.LOCATION_LHS_FROM);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:912:11: ( accumulate_statement | collect_statement | entrypoint_statement | from_source )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:909:11: ( accumulate_statement | collect_statement | entrypoint_statement | from_source )
int alt58=4;
switch ( input.LA(1) ) {
case ACCUMULATE:
@@ -7424,9 +7409,9 @@
switch (alt58) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:912:14: accumulate_statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:909:14: accumulate_statement
{
- pushFollow(FOLLOW_accumulate_statement_in_pattern_source2742);
+ pushFollow(FOLLOW_accumulate_statement_in_pattern_source2746);
accumulate_statement164=accumulate_statement();
state._fsp--;
@@ -7436,9 +7421,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:913:15: collect_statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:910:15: collect_statement
{
- pushFollow(FOLLOW_collect_statement_in_pattern_source2758);
+ pushFollow(FOLLOW_collect_statement_in_pattern_source2762);
collect_statement165=collect_statement();
state._fsp--;
@@ -7448,9 +7433,9 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:914:15: entrypoint_statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:911:15: entrypoint_statement
{
- pushFollow(FOLLOW_entrypoint_statement_in_pattern_source2775);
+ pushFollow(FOLLOW_entrypoint_statement_in_pattern_source2779);
entrypoint_statement166=entrypoint_statement();
state._fsp--;
@@ -7460,9 +7445,9 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:915:15: from_source
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:912:15: from_source
{
- pushFollow(FOLLOW_from_source_in_pattern_source2791);
+ pushFollow(FOLLOW_from_source_in_pattern_source2795);
from_source167=from_source();
state._fsp--;
@@ -7525,7 +7510,7 @@
};
// $ANTLR start "over_clause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:933:1: over_clause : OVER over_elements ( COMMA over_elements )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:930:1: over_clause : OVER over_elements ( COMMA over_elements )* ;
public final DRLParser.over_clause_return over_clause() throws RecognitionException {
DRLParser.over_clause_return retval = new DRLParser.over_clause_return();
retval.start = input.LT(1);
@@ -7543,12 +7528,12 @@
Object COMMA170_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:934:2: ( OVER over_elements ( COMMA over_elements )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:934:4: OVER over_elements ( COMMA over_elements )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:931:2: ( OVER over_elements ( COMMA over_elements )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:931:4: OVER over_elements ( COMMA over_elements )*
{
root_0 = (Object)adaptor.nil();
- OVER168=(Token)match(input,OVER,FOLLOW_OVER_in_over_clause2823); if (state.failed) return retval;
+ OVER168=(Token)match(input,OVER,FOLLOW_OVER_in_over_clause2827); if (state.failed) return retval;
if ( state.backtracking==0 ) {
OVER168_tree = (Object)adaptor.create(OVER168);
root_0 = (Object)adaptor.becomeRoot(OVER168_tree, root_0);
@@ -7556,13 +7541,13 @@
if ( state.backtracking==0 ) {
emit(OVER168, DroolsEditorType.KEYWORD);
}
- pushFollow(FOLLOW_over_elements_in_over_clause2828);
+ pushFollow(FOLLOW_over_elements_in_over_clause2832);
over_elements169=over_elements();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) adaptor.addChild(root_0, over_elements169.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:935:4: ( COMMA over_elements )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:932:4: ( COMMA over_elements )*
loop60:
do {
int alt60=2;
@@ -7587,13 +7572,13 @@
switch (alt60) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:935:5: COMMA over_elements
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:932:5: COMMA over_elements
{
- COMMA170=(Token)match(input,COMMA,FOLLOW_COMMA_in_over_clause2835); if (state.failed) return retval;
+ COMMA170=(Token)match(input,COMMA,FOLLOW_COMMA_in_over_clause2839); if (state.failed) return retval;
if ( state.backtracking==0 ) {
emit(COMMA170, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_over_elements_in_over_clause2840);
+ pushFollow(FOLLOW_over_elements_in_over_clause2844);
over_elements171=over_elements();
state._fsp--;
@@ -7637,7 +7622,7 @@
};
// $ANTLR start "over_elements"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:938:1: over_elements : id1= ID COLON id2= ID paren_chunk -> ^( VT_BEHAVIOR $id1 $id2 paren_chunk ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:935:1: over_elements : id1= ID COLON id2= ID paren_chunk -> ^( VT_BEHAVIOR $id1 $id2 paren_chunk ) ;
public final DRLParser.over_elements_return over_elements() throws RecognitionException {
DRLParser.over_elements_return retval = new DRLParser.over_elements_return();
retval.start = input.LT(1);
@@ -7657,28 +7642,28 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
RewriteRuleSubtreeStream stream_paren_chunk=new RewriteRuleSubtreeStream(adaptor,"rule paren_chunk");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:939:2: (id1= ID COLON id2= ID paren_chunk -> ^( VT_BEHAVIOR $id1 $id2 paren_chunk ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:939:4: id1= ID COLON id2= ID paren_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:936:2: (id1= ID COLON id2= ID paren_chunk -> ^( VT_BEHAVIOR $id1 $id2 paren_chunk ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:936:4: id1= ID COLON id2= ID paren_chunk
{
- id1=(Token)match(input,ID,FOLLOW_ID_in_over_elements2855); if (state.failed) return retval;
+ id1=(Token)match(input,ID,FOLLOW_ID_in_over_elements2859); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id1);
if ( state.backtracking==0 ) {
emit(id1, DroolsEditorType.IDENTIFIER);
}
- COLON172=(Token)match(input,COLON,FOLLOW_COLON_in_over_elements2862); if (state.failed) return retval;
+ COLON172=(Token)match(input,COLON,FOLLOW_COLON_in_over_elements2866); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COLON.add(COLON172);
if ( state.backtracking==0 ) {
emit(COLON172, DroolsEditorType.SYMBOL);
}
- id2=(Token)match(input,ID,FOLLOW_ID_in_over_elements2871); if (state.failed) return retval;
+ id2=(Token)match(input,ID,FOLLOW_ID_in_over_elements2875); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id2);
if ( state.backtracking==0 ) {
emit(id2, DroolsEditorType.IDENTIFIER);
}
- pushFollow(FOLLOW_paren_chunk_in_over_elements2878);
+ pushFollow(FOLLOW_paren_chunk_in_over_elements2882);
paren_chunk173=paren_chunk();
state._fsp--;
@@ -7687,7 +7672,7 @@
// AST REWRITE
- // elements: id2, paren_chunk, id1
+ // elements: id1, id2, paren_chunk
// token labels: id1, id2
// rule labels: retval
// token list labels:
@@ -7699,9 +7684,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 943:2: -> ^( VT_BEHAVIOR $id1 $id2 paren_chunk )
+ // 940:2: -> ^( VT_BEHAVIOR $id1 $id2 paren_chunk )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:943:5: ^( VT_BEHAVIOR $id1 $id2 paren_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:940:5: ^( VT_BEHAVIOR $id1 $id2 paren_chunk )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_BEHAVIOR, "VT_BEHAVIOR"), root_1);
@@ -7744,7 +7729,7 @@
};
// $ANTLR start "accumulate_statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:946:1: accumulate_statement : ACCUMULATE LEFT_PAREN lhs_or ( COMMA )? ( accumulate_init_clause | accumulate_id_clause ) RIGHT_PAREN -> ^( ACCUMULATE lhs_or ( accumulate_init_clause )? ( accumulate_id_clause )? RIGHT_PAREN ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:943:1: accumulate_statement : ACCUMULATE LEFT_PAREN lhs_or ( COMMA )? ( accumulate_init_clause | accumulate_id_clause ) RIGHT_PAREN -> ^( ACCUMULATE lhs_or ( accumulate_init_clause )? ( accumulate_id_clause )? RIGHT_PAREN ) ;
public final DRLParser.accumulate_statement_return accumulate_statement() throws RecognitionException {
DRLParser.accumulate_statement_return retval = new DRLParser.accumulate_statement_return();
retval.start = input.LT(1);
@@ -7774,10 +7759,10 @@
RewriteRuleSubtreeStream stream_accumulate_init_clause=new RewriteRuleSubtreeStream(adaptor,"rule accumulate_init_clause");
RewriteRuleSubtreeStream stream_accumulate_id_clause=new RewriteRuleSubtreeStream(adaptor,"rule accumulate_id_clause");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:947:2: ( ACCUMULATE LEFT_PAREN lhs_or ( COMMA )? ( accumulate_init_clause | accumulate_id_clause ) RIGHT_PAREN -> ^( ACCUMULATE lhs_or ( accumulate_init_clause )? ( accumulate_id_clause )? RIGHT_PAREN ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:947:4: ACCUMULATE LEFT_PAREN lhs_or ( COMMA )? ( accumulate_init_clause | accumulate_id_clause ) RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:944:2: ( ACCUMULATE LEFT_PAREN lhs_or ( COMMA )? ( accumulate_init_clause | accumulate_id_clause ) RIGHT_PAREN -> ^( ACCUMULATE lhs_or ( accumulate_init_clause )? ( accumulate_id_clause )? RIGHT_PAREN ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:944:4: ACCUMULATE LEFT_PAREN lhs_or ( COMMA )? ( accumulate_init_clause | accumulate_id_clause ) RIGHT_PAREN
{
- ACCUMULATE174=(Token)match(input,ACCUMULATE,FOLLOW_ACCUMULATE_in_accumulate_statement2904); if (state.failed) return retval;
+ ACCUMULATE174=(Token)match(input,ACCUMULATE,FOLLOW_ACCUMULATE_in_accumulate_statement2908); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ACCUMULATE.add(ACCUMULATE174);
if ( state.backtracking==0 ) {
@@ -7786,19 +7771,19 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_FROM_ACCUMULATE);
}
- LEFT_PAREN175=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_accumulate_statement2913); if (state.failed) return retval;
+ LEFT_PAREN175=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_accumulate_statement2917); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_PAREN.add(LEFT_PAREN175);
if ( state.backtracking==0 ) {
emit(LEFT_PAREN175, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_lhs_or_in_accumulate_statement2921);
+ pushFollow(FOLLOW_lhs_or_in_accumulate_statement2925);
lhs_or176=lhs_or();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_lhs_or.add(lhs_or176.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:951:3: ( COMMA )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:948:3: ( COMMA )?
int alt61=2;
int LA61_0 = input.LA(1);
@@ -7807,9 +7792,9 @@
}
switch (alt61) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:951:3: COMMA
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:948:3: COMMA
{
- COMMA177=(Token)match(input,COMMA,FOLLOW_COMMA_in_accumulate_statement2926); if (state.failed) return retval;
+ COMMA177=(Token)match(input,COMMA,FOLLOW_COMMA_in_accumulate_statement2930); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COMMA.add(COMMA177);
@@ -7821,7 +7806,7 @@
if ( state.backtracking==0 ) {
emit(COMMA177, DroolsEditorType.SYMBOL);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:952:3: ( accumulate_init_clause | accumulate_id_clause )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:949:3: ( accumulate_init_clause | accumulate_id_clause )
int alt62=2;
int LA62_0 = input.LA(1);
@@ -7840,9 +7825,9 @@
}
switch (alt62) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:952:5: accumulate_init_clause
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:949:5: accumulate_init_clause
{
- pushFollow(FOLLOW_accumulate_init_clause_in_accumulate_statement2936);
+ pushFollow(FOLLOW_accumulate_init_clause_in_accumulate_statement2940);
accumulate_init_clause178=accumulate_init_clause();
state._fsp--;
@@ -7852,9 +7837,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:953:5: accumulate_id_clause
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:950:5: accumulate_id_clause
{
- pushFollow(FOLLOW_accumulate_id_clause_in_accumulate_statement2942);
+ pushFollow(FOLLOW_accumulate_id_clause_in_accumulate_statement2946);
accumulate_id_clause179=accumulate_id_clause();
state._fsp--;
@@ -7866,7 +7851,7 @@
}
- RIGHT_PAREN180=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_accumulate_statement2950); if (state.failed) return retval;
+ RIGHT_PAREN180=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_accumulate_statement2954); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_RIGHT_PAREN.add(RIGHT_PAREN180);
if ( state.backtracking==0 ) {
@@ -7878,7 +7863,7 @@
// AST REWRITE
- // elements: accumulate_init_clause, lhs_or, ACCUMULATE, accumulate_id_clause, RIGHT_PAREN
+ // elements: accumulate_init_clause, RIGHT_PAREN, lhs_or, accumulate_id_clause, ACCUMULATE
// token labels:
// rule labels: retval
// token list labels:
@@ -7888,21 +7873,21 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 957:3: -> ^( ACCUMULATE lhs_or ( accumulate_init_clause )? ( accumulate_id_clause )? RIGHT_PAREN )
+ // 954:3: -> ^( ACCUMULATE lhs_or ( accumulate_init_clause )? ( accumulate_id_clause )? RIGHT_PAREN )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:957:6: ^( ACCUMULATE lhs_or ( accumulate_init_clause )? ( accumulate_id_clause )? RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:954:6: ^( ACCUMULATE lhs_or ( accumulate_init_clause )? ( accumulate_id_clause )? RIGHT_PAREN )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_ACCUMULATE.nextNode(), root_1);
adaptor.addChild(root_1, stream_lhs_or.nextTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:957:26: ( accumulate_init_clause )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:954:26: ( accumulate_init_clause )?
if ( stream_accumulate_init_clause.hasNext() ) {
adaptor.addChild(root_1, stream_accumulate_init_clause.nextTree());
}
stream_accumulate_init_clause.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:957:50: ( accumulate_id_clause )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:954:50: ( accumulate_id_clause )?
if ( stream_accumulate_id_clause.hasNext() ) {
adaptor.addChild(root_1, stream_accumulate_id_clause.nextTree());
@@ -7944,7 +7929,7 @@
};
// $ANTLR start "accumulate_init_clause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:961:1: accumulate_init_clause : INIT pc1= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_INIT_INSIDE] (cm1= COMMA )? action_key pc2= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_ACTION_INSIDE] (cm2= COMMA )? ( reverse_key pc3= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE] (cm3= COMMA )? )? res1= result_key pc4= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_RESULT_INSIDE] -> ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT $pc1) ^( action_key $pc2) ( ^( reverse_key $pc3) )? ^( result_key $pc4) ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:958:1: accumulate_init_clause : INIT pc1= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_INIT_INSIDE] (cm1= COMMA )? action_key pc2= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_ACTION_INSIDE] (cm2= COMMA )? ( reverse_key pc3= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE] (cm3= COMMA )? )? res1= result_key pc4= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_RESULT_INSIDE] -> ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT $pc1) ^( action_key $pc2) ( ^( reverse_key $pc3) )? ^( result_key $pc4) ) ;
public final DRLParser.accumulate_init_clause_return accumulate_init_clause() throws RecognitionException {
DRLParser.accumulate_init_clause_return retval = new DRLParser.accumulate_init_clause_return();
retval.start = input.LT(1);
@@ -7982,10 +7967,10 @@
RewriteRuleSubtreeStream stream_action_key=new RewriteRuleSubtreeStream(adaptor,"rule action_key");
boolean isFailed = true;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:964:2: ( INIT pc1= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_INIT_INSIDE] (cm1= COMMA )? action_key pc2= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_ACTION_INSIDE] (cm2= COMMA )? ( reverse_key pc3= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE] (cm3= COMMA )? )? res1= result_key pc4= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_RESULT_INSIDE] -> ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT $pc1) ^( action_key $pc2) ( ^( reverse_key $pc3) )? ^( result_key $pc4) ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:964:4: INIT pc1= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_INIT_INSIDE] (cm1= COMMA )? action_key pc2= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_ACTION_INSIDE] (cm2= COMMA )? ( reverse_key pc3= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE] (cm3= COMMA )? )? res1= result_key pc4= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_RESULT_INSIDE]
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:961:2: ( INIT pc1= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_INIT_INSIDE] (cm1= COMMA )? action_key pc2= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_ACTION_INSIDE] (cm2= COMMA )? ( reverse_key pc3= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE] (cm3= COMMA )? )? res1= result_key pc4= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_RESULT_INSIDE] -> ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT $pc1) ^( action_key $pc2) ( ^( reverse_key $pc3) )? ^( result_key $pc4) ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:961:4: INIT pc1= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_INIT_INSIDE] (cm1= COMMA )? action_key pc2= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_ACTION_INSIDE] (cm2= COMMA )? ( reverse_key pc3= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE] (cm3= COMMA )? )? res1= result_key pc4= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_RESULT_INSIDE]
{
- INIT181=(Token)match(input,INIT,FOLLOW_INIT_in_accumulate_init_clause2996); if (state.failed) return retval;
+ INIT181=(Token)match(input,INIT,FOLLOW_INIT_in_accumulate_init_clause3000); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_INIT.add(INIT181);
if ( state.backtracking==0 ) {
@@ -7994,13 +7979,13 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_FROM_ACCUMULATE_INIT);
}
- pushFollow(FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3007);
+ pushFollow(FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3011);
pc1=accumulate_paren_chunk(Location.LOCATION_LHS_FROM_ACCUMULATE_INIT_INSIDE);
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_accumulate_paren_chunk.add(pc1.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:966:84: (cm1= COMMA )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:963:84: (cm1= COMMA )?
int alt63=2;
int LA63_0 = input.LA(1);
@@ -8009,9 +7994,9 @@
}
switch (alt63) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:966:84: cm1= COMMA
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:963:84: cm1= COMMA
{
- cm1=(Token)match(input,COMMA,FOLLOW_COMMA_in_accumulate_init_clause3012); if (state.failed) return retval;
+ cm1=(Token)match(input,COMMA,FOLLOW_COMMA_in_accumulate_init_clause3016); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COMMA.add(cm1);
@@ -8024,21 +8009,21 @@
emit(cm1, DroolsEditorType.SYMBOL);
}
if ( state.backtracking==0 ) {
- emit(Location.LOCATION_LHS_FROM_ACCUMULATE_ACTION);
+ if (pc2 != null && ((DroolsTree) (pc2!=null?((Object)pc2.tree):null)).getText() != null) emit(Location.LOCATION_LHS_FROM_ACCUMULATE_ACTION);
}
- pushFollow(FOLLOW_action_key_in_accumulate_init_clause3023);
+ pushFollow(FOLLOW_action_key_in_accumulate_init_clause3027);
action_key182=action_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_action_key.add(action_key182.getTree());
- pushFollow(FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3027);
+ pushFollow(FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3031);
pc2=accumulate_paren_chunk(Location.LOCATION_LHS_FROM_ACCUMULATE_ACTION_INSIDE);
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_accumulate_paren_chunk.add(pc2.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:968:97: (cm2= COMMA )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:965:97: (cm2= COMMA )?
int alt64=2;
int LA64_0 = input.LA(1);
@@ -8047,9 +8032,9 @@
}
switch (alt64) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:968:97: cm2= COMMA
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:965:97: cm2= COMMA
{
- cm2=(Token)match(input,COMMA,FOLLOW_COMMA_in_accumulate_init_clause3032); if (state.failed) return retval;
+ cm2=(Token)match(input,COMMA,FOLLOW_COMMA_in_accumulate_init_clause3036); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COMMA.add(cm2);
@@ -8062,9 +8047,9 @@
emit(cm2, DroolsEditorType.SYMBOL);
}
if ( state.backtracking==0 ) {
- emit(Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE);
+ if (pc1 != null && ((DroolsTree) (pc1!=null?((Object)pc1.tree):null)).getText() != null && pc2 != null && ((DroolsTree) (pc2!=null?((Object)pc2.tree):null)).getText() != null ) emit(Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:971:2: ( reverse_key pc3= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE] (cm3= COMMA )? )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:967:2: ( reverse_key pc3= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE] (cm3= COMMA )? )?
int alt66=2;
int LA66_0 = input.LA(1);
@@ -8077,21 +8062,21 @@
}
switch (alt66) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:971:4: reverse_key pc3= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE] (cm3= COMMA )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:967:4: reverse_key pc3= accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE] (cm3= COMMA )?
{
- pushFollow(FOLLOW_reverse_key_in_accumulate_init_clause3045);
+ pushFollow(FOLLOW_reverse_key_in_accumulate_init_clause3048);
reverse_key183=reverse_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_reverse_key.add(reverse_key183.getTree());
- pushFollow(FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3049);
+ pushFollow(FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3052);
pc3=accumulate_paren_chunk(Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE);
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_accumulate_paren_chunk.add(pc3.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:971:100: (cm3= COMMA )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:967:100: (cm3= COMMA )?
int alt65=2;
int LA65_0 = input.LA(1);
@@ -8100,9 +8085,9 @@
}
switch (alt65) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:971:100: cm3= COMMA
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:967:100: cm3= COMMA
{
- cm3=(Token)match(input,COMMA,FOLLOW_COMMA_in_accumulate_init_clause3054); if (state.failed) return retval;
+ cm3=(Token)match(input,COMMA,FOLLOW_COMMA_in_accumulate_init_clause3057); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COMMA.add(cm3);
@@ -8121,9 +8106,14 @@
}
if ( state.backtracking==0 ) {
- emit(Location.LOCATION_LHS_FROM_ACCUMULATE_RESULT);
+ if ((pc1 != null && ((DroolsTree) pc1.tree).getText() != null) &&
+ (pc2 != null && ((DroolsTree) pc2.tree).getText() != null) &&
+ (pc3 != null && ((DroolsTree) pc3.tree).getText() != null)) {
+ emit(Location.LOCATION_LHS_FROM_ACCUMULATE_RESULT);
+ }
+
}
- pushFollow(FOLLOW_result_key_in_accumulate_init_clause3069);
+ pushFollow(FOLLOW_result_key_in_accumulate_init_clause3073);
res1=result_key();
state._fsp--;
@@ -8132,7 +8122,7 @@
if ( state.backtracking==0 ) {
emit((res1!=null?((Token)res1.start):null), DroolsEditorType.KEYWORD);
}
- pushFollow(FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3075);
+ pushFollow(FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3079);
pc4=accumulate_paren_chunk(Location.LOCATION_LHS_FROM_ACCUMULATE_RESULT_INSIDE);
state._fsp--;
@@ -8141,7 +8131,7 @@
// AST REWRITE
- // elements: INIT, pc4, pc3, reverse_key, pc2, pc1, result_key, action_key
+ // elements: pc2, pc4, result_key, INIT, reverse_key, action_key, pc3, pc1
// token labels:
// rule labels: pc2, pc3, pc4, pc1, retval
// token list labels:
@@ -8155,14 +8145,14 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 974:2: -> ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT $pc1) ^( action_key $pc2) ( ^( reverse_key $pc3) )? ^( result_key $pc4) )
+ // 976:2: -> ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT $pc1) ^( action_key $pc2) ( ^( reverse_key $pc3) )? ^( result_key $pc4) )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:974:5: ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT $pc1) ^( action_key $pc2) ( ^( reverse_key $pc3) )? ^( result_key $pc4) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:976:5: ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT $pc1) ^( action_key $pc2) ( ^( reverse_key $pc3) )? ^( result_key $pc4) )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_ACCUMULATE_INIT_CLAUSE, "VT_ACCUMULATE_INIT_CLAUSE"), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:974:33: ^( INIT $pc1)
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:976:33: ^( INIT $pc1)
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot(stream_INIT.nextNode(), root_2);
@@ -8171,7 +8161,7 @@
adaptor.addChild(root_1, root_2);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:974:46: ^( action_key $pc2)
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:976:46: ^( action_key $pc2)
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot(stream_action_key.nextNode(), root_2);
@@ -8180,9 +8170,9 @@
adaptor.addChild(root_1, root_2);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:974:65: ( ^( reverse_key $pc3) )?
- if ( stream_pc3.hasNext()||stream_reverse_key.hasNext() ) {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:974:65: ^( reverse_key $pc3)
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:976:65: ( ^( reverse_key $pc3) )?
+ if ( stream_reverse_key.hasNext()||stream_pc3.hasNext() ) {
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:976:65: ^( reverse_key $pc3)
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot(stream_reverse_key.nextNode(), root_2);
@@ -8193,9 +8183,9 @@
}
}
- stream_pc3.reset();
stream_reverse_key.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:974:86: ^( result_key $pc4)
+ stream_pc3.reset();
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:976:86: ^( result_key $pc4)
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot(stream_result_key.nextNode(), root_2);
@@ -8252,7 +8242,7 @@
};
// $ANTLR start "accumulate_paren_chunk"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:987:1: accumulate_paren_chunk[int locationType] : pc= accumulate_paren_chunk_data[false,$locationType] -> VT_PAREN_CHUNK[$pc.start,text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:989:1: accumulate_paren_chunk[int locationType] : pc= accumulate_paren_chunk_data[false,$locationType] -> VT_PAREN_CHUNK[$pc.start,text] ;
public final DRLParser.accumulate_paren_chunk_return accumulate_paren_chunk(int locationType) throws RecognitionException {
DRLParser.accumulate_paren_chunk_return retval = new DRLParser.accumulate_paren_chunk_return();
retval.start = input.LT(1);
@@ -8267,10 +8257,10 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:990:3: (pc= accumulate_paren_chunk_data[false,$locationType] -> VT_PAREN_CHUNK[$pc.start,text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:990:5: pc= accumulate_paren_chunk_data[false,$locationType]
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:992:3: (pc= accumulate_paren_chunk_data[false,$locationType] -> VT_PAREN_CHUNK[$pc.start,text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:992:5: pc= accumulate_paren_chunk_data[false,$locationType]
{
- pushFollow(FOLLOW_accumulate_paren_chunk_data_in_accumulate_paren_chunk3133);
+ pushFollow(FOLLOW_accumulate_paren_chunk_data_in_accumulate_paren_chunk3137);
pc=accumulate_paren_chunk_data(false, locationType);
state._fsp--;
@@ -8292,7 +8282,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 991:2: -> VT_PAREN_CHUNK[$pc.start,text]
+ // 993:2: -> VT_PAREN_CHUNK[$pc.start,text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_PAREN_CHUNK, (pc!=null?((Token)pc.start):null), text));
@@ -8327,7 +8317,7 @@
};
// $ANTLR start "accumulate_paren_chunk_data"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:994:1: accumulate_paren_chunk_data[boolean isRecursive, int locationType] : lp1= LEFT_PAREN (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | accumulate_paren_chunk_data[true,-1] )* rp1= RIGHT_PAREN ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:996:1: accumulate_paren_chunk_data[boolean isRecursive, int locationType] : lp1= LEFT_PAREN (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | accumulate_paren_chunk_data[true,-1] )* rp1= RIGHT_PAREN ;
public final DRLParser.accumulate_paren_chunk_data_return accumulate_paren_chunk_data(boolean isRecursive, int locationType) throws RecognitionException {
DRLParser.accumulate_paren_chunk_data_return retval = new DRLParser.accumulate_paren_chunk_data_return();
retval.start = input.LT(1);
@@ -8345,12 +8335,12 @@
Object rp1_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:995:2: (lp1= LEFT_PAREN (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | accumulate_paren_chunk_data[true,-1] )* rp1= RIGHT_PAREN )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:995:4: lp1= LEFT_PAREN (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | accumulate_paren_chunk_data[true,-1] )* rp1= RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:997:2: (lp1= LEFT_PAREN (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | accumulate_paren_chunk_data[true,-1] )* rp1= RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:997:4: lp1= LEFT_PAREN (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | accumulate_paren_chunk_data[true,-1] )* rp1= RIGHT_PAREN
{
root_0 = (Object)adaptor.nil();
- lp1=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_accumulate_paren_chunk_data3157); if (state.failed) return retval;
+ lp1=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_accumulate_paren_chunk_data3161); if (state.failed) return retval;
if ( state.backtracking==0 ) {
lp1_tree = (Object)adaptor.create(lp1);
adaptor.addChild(root_0, lp1_tree);
@@ -8364,7 +8354,7 @@
}
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1003:4: (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | accumulate_paren_chunk_data[true,-1] )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1005:4: (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | accumulate_paren_chunk_data[true,-1] )*
loop67:
do {
int alt67=3;
@@ -8380,7 +8370,7 @@
switch (alt67) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1003:5: any=~ ( LEFT_PAREN | RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1005:5: any=~ ( LEFT_PAREN | RIGHT_PAREN )
{
any=(Token)input.LT(1);
if ( (input.LA(1)>=VT_COMPILATION_UNIT && input.LA(1)<=STRING)||input.LA(1)==COMMA||(input.LA(1)>=AT && input.LA(1)<=MULTI_LINE_COMMENT) ) {
@@ -8401,9 +8391,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1003:87: accumulate_paren_chunk_data[true,-1]
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1005:87: accumulate_paren_chunk_data[true,-1]
{
- pushFollow(FOLLOW_accumulate_paren_chunk_data_in_accumulate_paren_chunk_data3185);
+ pushFollow(FOLLOW_accumulate_paren_chunk_data_in_accumulate_paren_chunk_data3189);
accumulate_paren_chunk_data184=accumulate_paren_chunk_data(true, -1);
state._fsp--;
@@ -8418,7 +8408,7 @@
}
} while (true);
- rp1=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_accumulate_paren_chunk_data3196); if (state.failed) return retval;
+ rp1=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_accumulate_paren_chunk_data3200); if (state.failed) return retval;
if ( state.backtracking==0 ) {
rp1_tree = (Object)adaptor.create(rp1);
adaptor.addChild(root_0, rp1_tree);
@@ -8460,7 +8450,7 @@
};
// $ANTLR start "accumulate_id_clause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1013:1: accumulate_id_clause : ID paren_chunk -> ^( VT_ACCUMULATE_ID_CLAUSE ID paren_chunk ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1015:1: accumulate_id_clause : ID paren_chunk -> ^( VT_ACCUMULATE_ID_CLAUSE ID paren_chunk ) ;
public final DRLParser.accumulate_id_clause_return accumulate_id_clause() throws RecognitionException {
DRLParser.accumulate_id_clause_return retval = new DRLParser.accumulate_id_clause_return();
retval.start = input.LT(1);
@@ -8475,16 +8465,16 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
RewriteRuleSubtreeStream stream_paren_chunk=new RewriteRuleSubtreeStream(adaptor,"rule paren_chunk");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1014:2: ( ID paren_chunk -> ^( VT_ACCUMULATE_ID_CLAUSE ID paren_chunk ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1014:4: ID paren_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1016:2: ( ID paren_chunk -> ^( VT_ACCUMULATE_ID_CLAUSE ID paren_chunk ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1016:4: ID paren_chunk
{
- ID185=(Token)match(input,ID,FOLLOW_ID_in_accumulate_id_clause3212); if (state.failed) return retval;
+ ID185=(Token)match(input,ID,FOLLOW_ID_in_accumulate_id_clause3216); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(ID185);
if ( state.backtracking==0 ) {
emit(ID185, DroolsEditorType.IDENTIFIER);
}
- pushFollow(FOLLOW_paren_chunk_in_accumulate_id_clause3218);
+ pushFollow(FOLLOW_paren_chunk_in_accumulate_id_clause3222);
paren_chunk186=paren_chunk();
state._fsp--;
@@ -8493,7 +8483,7 @@
// AST REWRITE
- // elements: paren_chunk, ID
+ // elements: ID, paren_chunk
// token labels:
// rule labels: retval
// token list labels:
@@ -8503,9 +8493,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1016:2: -> ^( VT_ACCUMULATE_ID_CLAUSE ID paren_chunk )
+ // 1018:2: -> ^( VT_ACCUMULATE_ID_CLAUSE ID paren_chunk )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1016:5: ^( VT_ACCUMULATE_ID_CLAUSE ID paren_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1018:5: ^( VT_ACCUMULATE_ID_CLAUSE ID paren_chunk )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_ACCUMULATE_ID_CLAUSE, "VT_ACCUMULATE_ID_CLAUSE"), root_1);
@@ -8547,7 +8537,7 @@
};
// $ANTLR start "collect_statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1019:1: collect_statement : COLLECT LEFT_PAREN pattern_source RIGHT_PAREN -> ^( COLLECT pattern_source RIGHT_PAREN ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1021:1: collect_statement : COLLECT LEFT_PAREN pattern_source RIGHT_PAREN -> ^( COLLECT pattern_source RIGHT_PAREN ) ;
public final DRLParser.collect_statement_return collect_statement() throws RecognitionException {
DRLParser.collect_statement_return retval = new DRLParser.collect_statement_return();
retval.start = input.LT(1);
@@ -8568,10 +8558,10 @@
RewriteRuleTokenStream stream_COLLECT=new RewriteRuleTokenStream(adaptor,"token COLLECT");
RewriteRuleSubtreeStream stream_pattern_source=new RewriteRuleSubtreeStream(adaptor,"rule pattern_source");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1020:2: ( COLLECT LEFT_PAREN pattern_source RIGHT_PAREN -> ^( COLLECT pattern_source RIGHT_PAREN ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1020:4: COLLECT LEFT_PAREN pattern_source RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1022:2: ( COLLECT LEFT_PAREN pattern_source RIGHT_PAREN -> ^( COLLECT pattern_source RIGHT_PAREN ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1022:4: COLLECT LEFT_PAREN pattern_source RIGHT_PAREN
{
- COLLECT187=(Token)match(input,COLLECT,FOLLOW_COLLECT_in_collect_statement3240); if (state.failed) return retval;
+ COLLECT187=(Token)match(input,COLLECT,FOLLOW_COLLECT_in_collect_statement3244); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COLLECT.add(COLLECT187);
if ( state.backtracking==0 ) {
@@ -8580,19 +8570,19 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_FROM_COLLECT);
}
- LEFT_PAREN188=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_collect_statement3249); if (state.failed) return retval;
+ LEFT_PAREN188=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_collect_statement3253); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_PAREN.add(LEFT_PAREN188);
if ( state.backtracking==0 ) {
emit(LEFT_PAREN188, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_pattern_source_in_collect_statement3256);
+ pushFollow(FOLLOW_pattern_source_in_collect_statement3260);
pattern_source189=pattern_source();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_pattern_source.add(pattern_source189.getTree());
- RIGHT_PAREN190=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_collect_statement3261); if (state.failed) return retval;
+ RIGHT_PAREN190=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_collect_statement3265); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_RIGHT_PAREN.add(RIGHT_PAREN190);
if ( state.backtracking==0 ) {
@@ -8604,7 +8594,7 @@
// AST REWRITE
- // elements: RIGHT_PAREN, COLLECT, pattern_source
+ // elements: RIGHT_PAREN, pattern_source, COLLECT
// token labels:
// rule labels: retval
// token list labels:
@@ -8614,9 +8604,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1026:2: -> ^( COLLECT pattern_source RIGHT_PAREN )
+ // 1028:2: -> ^( COLLECT pattern_source RIGHT_PAREN )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1026:5: ^( COLLECT pattern_source RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1028:5: ^( COLLECT pattern_source RIGHT_PAREN )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_COLLECT.nextNode(), root_1);
@@ -8658,7 +8648,7 @@
};
// $ANTLR start "entrypoint_statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1029:1: entrypoint_statement : entry_point_key entrypoint_id -> ^( entry_point_key entrypoint_id ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1031:1: entrypoint_statement : entry_point_key entrypoint_id -> ^( entry_point_key entrypoint_id ) ;
public final DRLParser.entrypoint_statement_return entrypoint_statement() throws RecognitionException {
DRLParser.entrypoint_statement_return retval = new DRLParser.entrypoint_statement_return();
retval.start = input.LT(1);
@@ -8673,10 +8663,10 @@
RewriteRuleSubtreeStream stream_entrypoint_id=new RewriteRuleSubtreeStream(adaptor,"rule entrypoint_id");
RewriteRuleSubtreeStream stream_entry_point_key=new RewriteRuleSubtreeStream(adaptor,"rule entry_point_key");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1030:2: ( entry_point_key entrypoint_id -> ^( entry_point_key entrypoint_id ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1030:4: entry_point_key entrypoint_id
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1032:2: ( entry_point_key entrypoint_id -> ^( entry_point_key entrypoint_id ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1032:4: entry_point_key entrypoint_id
{
- pushFollow(FOLLOW_entry_point_key_in_entrypoint_statement3288);
+ pushFollow(FOLLOW_entry_point_key_in_entrypoint_statement3292);
entry_point_key191=entry_point_key();
state._fsp--;
@@ -8685,7 +8675,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_FROM_COLLECT);
}
- pushFollow(FOLLOW_entrypoint_id_in_entrypoint_statement3296);
+ pushFollow(FOLLOW_entrypoint_id_in_entrypoint_statement3300);
entrypoint_id192=entrypoint_id();
state._fsp--;
@@ -8707,9 +8697,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1034:2: -> ^( entry_point_key entrypoint_id )
+ // 1036:2: -> ^( entry_point_key entrypoint_id )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1034:5: ^( entry_point_key entrypoint_id )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1036:5: ^( entry_point_key entrypoint_id )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot(stream_entry_point_key.nextNode(), root_1);
@@ -8750,7 +8740,7 @@
};
// $ANTLR start "entrypoint_id"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1037:1: entrypoint_id : (value= ID -> VT_ENTRYPOINT_ID[$value] | value= STRING -> VT_ENTRYPOINT_ID[$value] );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1039:1: entrypoint_id : (value= ID -> VT_ENTRYPOINT_ID[$value] | value= STRING -> VT_ENTRYPOINT_ID[$value] );
public final DRLParser.entrypoint_id_return entrypoint_id() throws RecognitionException {
DRLParser.entrypoint_id_return retval = new DRLParser.entrypoint_id_return();
retval.start = input.LT(1);
@@ -8764,7 +8754,7 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1038:2: (value= ID -> VT_ENTRYPOINT_ID[$value] | value= STRING -> VT_ENTRYPOINT_ID[$value] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1040:2: (value= ID -> VT_ENTRYPOINT_ID[$value] | value= STRING -> VT_ENTRYPOINT_ID[$value] )
int alt68=2;
int LA68_0 = input.LA(1);
@@ -8783,9 +8773,9 @@
}
switch (alt68) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1038:5: value= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1040:5: value= ID
{
- value=(Token)match(input,ID,FOLLOW_ID_in_entrypoint_id3322); if (state.failed) return retval;
+ value=(Token)match(input,ID,FOLLOW_ID_in_entrypoint_id3326); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(value);
if ( state.backtracking==0 ) {
@@ -8804,7 +8794,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1039:3: -> VT_ENTRYPOINT_ID[$value]
+ // 1041:3: -> VT_ENTRYPOINT_ID[$value]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_ENTRYPOINT_ID, value));
@@ -8814,9 +8804,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1040:5: value= STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1042:5: value= STRING
{
- value=(Token)match(input,STRING,FOLLOW_STRING_in_entrypoint_id3339); if (state.failed) return retval;
+ value=(Token)match(input,STRING,FOLLOW_STRING_in_entrypoint_id3343); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_STRING.add(value);
if ( state.backtracking==0 ) {
@@ -8835,7 +8825,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1041:3: -> VT_ENTRYPOINT_ID[$value]
+ // 1043:3: -> VT_ENTRYPOINT_ID[$value]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_ENTRYPOINT_ID, value));
@@ -8872,7 +8862,7 @@
};
// $ANTLR start "from_source"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1044:1: from_source : ID ( ( LEFT_PAREN )=>args= paren_chunk )? ( expression_chain )? -> ^( VT_FROM_SOURCE ID ( paren_chunk )? ( expression_chain )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1046:1: from_source : ID ( ( LEFT_PAREN )=>args= paren_chunk )? ( expression_chain )? -> ^( VT_FROM_SOURCE ID ( paren_chunk )? ( expression_chain )? ) ;
public final DRLParser.from_source_return from_source() throws RecognitionException {
DRLParser.from_source_return retval = new DRLParser.from_source_return();
retval.start = input.LT(1);
@@ -8890,23 +8880,23 @@
RewriteRuleSubtreeStream stream_expression_chain=new RewriteRuleSubtreeStream(adaptor,"rule expression_chain");
RewriteRuleSubtreeStream stream_paren_chunk=new RewriteRuleSubtreeStream(adaptor,"rule paren_chunk");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1045:2: ( ID ( ( LEFT_PAREN )=>args= paren_chunk )? ( expression_chain )? -> ^( VT_FROM_SOURCE ID ( paren_chunk )? ( expression_chain )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1045:4: ID ( ( LEFT_PAREN )=>args= paren_chunk )? ( expression_chain )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1047:2: ( ID ( ( LEFT_PAREN )=>args= paren_chunk )? ( expression_chain )? -> ^( VT_FROM_SOURCE ID ( paren_chunk )? ( expression_chain )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1047:4: ID ( ( LEFT_PAREN )=>args= paren_chunk )? ( expression_chain )?
{
- ID193=(Token)match(input,ID,FOLLOW_ID_in_from_source3359); if (state.failed) return retval;
+ ID193=(Token)match(input,ID,FOLLOW_ID_in_from_source3363); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(ID193);
if ( state.backtracking==0 ) {
emit(ID193, DroolsEditorType.IDENTIFIER);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1046:3: ( ( LEFT_PAREN )=>args= paren_chunk )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1048:3: ( ( LEFT_PAREN )=>args= paren_chunk )?
int alt69=2;
alt69 = dfa69.predict(input);
switch (alt69) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1046:5: ( LEFT_PAREN )=>args= paren_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1048:5: ( LEFT_PAREN )=>args= paren_chunk
{
- pushFollow(FOLLOW_paren_chunk_in_from_source3374);
+ pushFollow(FOLLOW_paren_chunk_in_from_source3378);
args=paren_chunk();
state._fsp--;
@@ -8918,7 +8908,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1047:3: ( expression_chain )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1049:3: ( expression_chain )?
int alt70=2;
int LA70_0 = input.LA(1);
@@ -8927,9 +8917,9 @@
}
switch (alt70) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1047:3: expression_chain
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1049:3: expression_chain
{
- pushFollow(FOLLOW_expression_chain_in_from_source3381);
+ pushFollow(FOLLOW_expression_chain_in_from_source3385);
expression_chain194=expression_chain();
state._fsp--;
@@ -8951,7 +8941,7 @@
// AST REWRITE
- // elements: expression_chain, ID, paren_chunk
+ // elements: paren_chunk, expression_chain, ID
// token labels:
// rule labels: retval
// token list labels:
@@ -8961,21 +8951,21 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1053:2: -> ^( VT_FROM_SOURCE ID ( paren_chunk )? ( expression_chain )? )
+ // 1055:2: -> ^( VT_FROM_SOURCE ID ( paren_chunk )? ( expression_chain )? )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1053:5: ^( VT_FROM_SOURCE ID ( paren_chunk )? ( expression_chain )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1055:5: ^( VT_FROM_SOURCE ID ( paren_chunk )? ( expression_chain )? )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_FROM_SOURCE, "VT_FROM_SOURCE"), root_1);
adaptor.addChild(root_1, stream_ID.nextNode());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1053:25: ( paren_chunk )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1055:25: ( paren_chunk )?
if ( stream_paren_chunk.hasNext() ) {
adaptor.addChild(root_1, stream_paren_chunk.nextTree());
}
stream_paren_chunk.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1053:38: ( expression_chain )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1055:38: ( expression_chain )?
if ( stream_expression_chain.hasNext() ) {
adaptor.addChild(root_1, stream_expression_chain.nextTree());
@@ -9016,7 +9006,7 @@
};
// $ANTLR start "expression_chain"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1056:1: expression_chain : DOT ID ({...}? paren_chunk | square_chunk )? ( expression_chain )? -> ^( VT_EXPRESSION_CHAIN[$DOT] ID ( square_chunk )? ( paren_chunk )? ( expression_chain )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1058:1: expression_chain : DOT ID ({...}? paren_chunk | square_chunk )? ( expression_chain )? -> ^( VT_EXPRESSION_CHAIN[$DOT] ID ( square_chunk )? ( paren_chunk )? ( expression_chain )? ) ;
public final DRLParser.expression_chain_return expression_chain() throws RecognitionException {
DRLParser.expression_chain_return retval = new DRLParser.expression_chain_return();
retval.start = input.LT(1);
@@ -9040,33 +9030,33 @@
RewriteRuleSubtreeStream stream_expression_chain=new RewriteRuleSubtreeStream(adaptor,"rule expression_chain");
RewriteRuleSubtreeStream stream_paren_chunk=new RewriteRuleSubtreeStream(adaptor,"rule paren_chunk");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1057:2: ( DOT ID ({...}? paren_chunk | square_chunk )? ( expression_chain )? -> ^( VT_EXPRESSION_CHAIN[$DOT] ID ( square_chunk )? ( paren_chunk )? ( expression_chain )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1058:3: DOT ID ({...}? paren_chunk | square_chunk )? ( expression_chain )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1059:2: ( DOT ID ({...}? paren_chunk | square_chunk )? ( expression_chain )? -> ^( VT_EXPRESSION_CHAIN[$DOT] ID ( square_chunk )? ( paren_chunk )? ( expression_chain )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1060:3: DOT ID ({...}? paren_chunk | square_chunk )? ( expression_chain )?
{
- DOT195=(Token)match(input,DOT,FOLLOW_DOT_in_expression_chain3414); if (state.failed) return retval;
+ DOT195=(Token)match(input,DOT,FOLLOW_DOT_in_expression_chain3418); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_DOT.add(DOT195);
if ( state.backtracking==0 ) {
emit(DOT195, DroolsEditorType.IDENTIFIER);
}
- ID196=(Token)match(input,ID,FOLLOW_ID_in_expression_chain3421); if (state.failed) return retval;
+ ID196=(Token)match(input,ID,FOLLOW_ID_in_expression_chain3425); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(ID196);
if ( state.backtracking==0 ) {
emit(ID196, DroolsEditorType.IDENTIFIER);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1060:4: ({...}? paren_chunk | square_chunk )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1062:4: ({...}? paren_chunk | square_chunk )?
int alt71=3;
alt71 = dfa71.predict(input);
switch (alt71) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1061:6: {...}? paren_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1063:6: {...}? paren_chunk
{
if ( !((input.LA(1) == LEFT_PAREN)) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "expression_chain", "input.LA(1) == LEFT_PAREN");
}
- pushFollow(FOLLOW_paren_chunk_in_expression_chain3437);
+ pushFollow(FOLLOW_paren_chunk_in_expression_chain3441);
paren_chunk197=paren_chunk();
state._fsp--;
@@ -9076,9 +9066,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1063:6: square_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1065:6: square_chunk
{
- pushFollow(FOLLOW_square_chunk_in_expression_chain3451);
+ pushFollow(FOLLOW_square_chunk_in_expression_chain3455);
square_chunk198=square_chunk();
state._fsp--;
@@ -9090,7 +9080,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1065:4: ( expression_chain )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1067:4: ( expression_chain )?
int alt72=2;
int LA72_0 = input.LA(1);
@@ -9099,9 +9089,9 @@
}
switch (alt72) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1065:4: expression_chain
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1067:4: expression_chain
{
- pushFollow(FOLLOW_expression_chain_in_expression_chain3462);
+ pushFollow(FOLLOW_expression_chain_in_expression_chain3466);
expression_chain199=expression_chain();
state._fsp--;
@@ -9116,7 +9106,7 @@
// AST REWRITE
- // elements: expression_chain, square_chunk, paren_chunk, ID
+ // elements: ID, expression_chain, square_chunk, paren_chunk
// token labels:
// rule labels: retval
// token list labels:
@@ -9126,27 +9116,27 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1066:4: -> ^( VT_EXPRESSION_CHAIN[$DOT] ID ( square_chunk )? ( paren_chunk )? ( expression_chain )? )
+ // 1068:4: -> ^( VT_EXPRESSION_CHAIN[$DOT] ID ( square_chunk )? ( paren_chunk )? ( expression_chain )? )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1066:7: ^( VT_EXPRESSION_CHAIN[$DOT] ID ( square_chunk )? ( paren_chunk )? ( expression_chain )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1068:7: ^( VT_EXPRESSION_CHAIN[$DOT] ID ( square_chunk )? ( paren_chunk )? ( expression_chain )? )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_EXPRESSION_CHAIN, DOT195), root_1);
adaptor.addChild(root_1, stream_ID.nextNode());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1066:38: ( square_chunk )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1068:38: ( square_chunk )?
if ( stream_square_chunk.hasNext() ) {
adaptor.addChild(root_1, stream_square_chunk.nextTree());
}
stream_square_chunk.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1066:52: ( paren_chunk )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1068:52: ( paren_chunk )?
if ( stream_paren_chunk.hasNext() ) {
adaptor.addChild(root_1, stream_paren_chunk.nextTree());
}
stream_paren_chunk.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1066:65: ( expression_chain )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1068:65: ( expression_chain )?
if ( stream_expression_chain.hasNext() ) {
adaptor.addChild(root_1, stream_expression_chain.nextTree());
@@ -9187,7 +9177,7 @@
};
// $ANTLR start "lhs_pattern"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1069:1: lhs_pattern : ( fact_binding -> ^( VT_PATTERN fact_binding ) | fact -> ^( VT_PATTERN fact ) );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1071:1: lhs_pattern : ( fact_binding -> ^( VT_PATTERN fact_binding ) | fact -> ^( VT_PATTERN fact ) );
public final DRLParser.lhs_pattern_return lhs_pattern() throws RecognitionException {
DRLParser.lhs_pattern_return retval = new DRLParser.lhs_pattern_return();
retval.start = input.LT(1);
@@ -9202,7 +9192,7 @@
RewriteRuleSubtreeStream stream_fact_binding=new RewriteRuleSubtreeStream(adaptor,"rule fact_binding");
RewriteRuleSubtreeStream stream_fact=new RewriteRuleSubtreeStream(adaptor,"rule fact");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1070:2: ( fact_binding -> ^( VT_PATTERN fact_binding ) | fact -> ^( VT_PATTERN fact ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1072:2: ( fact_binding -> ^( VT_PATTERN fact_binding ) | fact -> ^( VT_PATTERN fact ) )
int alt73=2;
int LA73_0 = input.LA(1);
@@ -9232,9 +9222,9 @@
}
switch (alt73) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1070:4: fact_binding
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1072:4: fact_binding
{
- pushFollow(FOLLOW_fact_binding_in_lhs_pattern3495);
+ pushFollow(FOLLOW_fact_binding_in_lhs_pattern3499);
fact_binding200=fact_binding();
state._fsp--;
@@ -9253,9 +9243,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1070:17: -> ^( VT_PATTERN fact_binding )
+ // 1072:17: -> ^( VT_PATTERN fact_binding )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1070:20: ^( VT_PATTERN fact_binding )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1072:20: ^( VT_PATTERN fact_binding )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_PATTERN, "VT_PATTERN"), root_1);
@@ -9271,9 +9261,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1071:4: fact
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1073:4: fact
{
- pushFollow(FOLLOW_fact_in_lhs_pattern3508);
+ pushFollow(FOLLOW_fact_in_lhs_pattern3512);
fact201=fact();
state._fsp--;
@@ -9292,9 +9282,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1071:9: -> ^( VT_PATTERN fact )
+ // 1073:9: -> ^( VT_PATTERN fact )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1071:12: ^( VT_PATTERN fact )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1073:12: ^( VT_PATTERN fact )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_PATTERN, "VT_PATTERN"), root_1);
@@ -9337,7 +9327,7 @@
};
// $ANTLR start "fact_binding"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1074:1: fact_binding : label ( fact | LEFT_PAREN fact_binding_expression RIGHT_PAREN ) -> ^( VT_FACT_BINDING label ( fact )? ( fact_binding_expression )? ( RIGHT_PAREN )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1076:1: fact_binding : label ( fact | LEFT_PAREN fact_binding_expression RIGHT_PAREN ) -> ^( VT_FACT_BINDING label ( fact )? ( fact_binding_expression )? ( RIGHT_PAREN )? ) ;
public final DRLParser.fact_binding_return fact_binding() throws RecognitionException {
DRLParser.fact_binding_return retval = new DRLParser.fact_binding_return();
retval.start = input.LT(1);
@@ -9361,16 +9351,16 @@
RewriteRuleSubtreeStream stream_fact_binding_expression=new RewriteRuleSubtreeStream(adaptor,"rule fact_binding_expression");
RewriteRuleSubtreeStream stream_fact=new RewriteRuleSubtreeStream(adaptor,"rule fact");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1075:3: ( label ( fact | LEFT_PAREN fact_binding_expression RIGHT_PAREN ) -> ^( VT_FACT_BINDING label ( fact )? ( fact_binding_expression )? ( RIGHT_PAREN )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1075:5: label ( fact | LEFT_PAREN fact_binding_expression RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1077:3: ( label ( fact | LEFT_PAREN fact_binding_expression RIGHT_PAREN ) -> ^( VT_FACT_BINDING label ( fact )? ( fact_binding_expression )? ( RIGHT_PAREN )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1077:5: label ( fact | LEFT_PAREN fact_binding_expression RIGHT_PAREN )
{
- pushFollow(FOLLOW_label_in_fact_binding3528);
+ pushFollow(FOLLOW_label_in_fact_binding3532);
label202=label();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_label.add(label202.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1076:3: ( fact | LEFT_PAREN fact_binding_expression RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1078:3: ( fact | LEFT_PAREN fact_binding_expression RIGHT_PAREN )
int alt74=2;
int LA74_0 = input.LA(1);
@@ -9389,9 +9379,9 @@
}
switch (alt74) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1076:5: fact
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1078:5: fact
{
- pushFollow(FOLLOW_fact_in_fact_binding3534);
+ pushFollow(FOLLOW_fact_in_fact_binding3538);
fact203=fact();
state._fsp--;
@@ -9401,21 +9391,21 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1077:6: LEFT_PAREN fact_binding_expression RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1079:6: LEFT_PAREN fact_binding_expression RIGHT_PAREN
{
- LEFT_PAREN204=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_fact_binding3541); if (state.failed) return retval;
+ LEFT_PAREN204=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_fact_binding3545); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_PAREN.add(LEFT_PAREN204);
if ( state.backtracking==0 ) {
emit(LEFT_PAREN204, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_fact_binding_expression_in_fact_binding3549);
+ pushFollow(FOLLOW_fact_binding_expression_in_fact_binding3553);
fact_binding_expression205=fact_binding_expression();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_fact_binding_expression.add(fact_binding_expression205.getTree());
- RIGHT_PAREN206=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_fact_binding3557); if (state.failed) return retval;
+ RIGHT_PAREN206=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_fact_binding3561); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_RIGHT_PAREN.add(RIGHT_PAREN206);
if ( state.backtracking==0 ) {
@@ -9430,7 +9420,7 @@
// AST REWRITE
- // elements: fact_binding_expression, label, RIGHT_PAREN, fact
+ // elements: RIGHT_PAREN, fact_binding_expression, label, fact
// token labels:
// rule labels: retval
// token list labels:
@@ -9440,27 +9430,27 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1081:3: -> ^( VT_FACT_BINDING label ( fact )? ( fact_binding_expression )? ( RIGHT_PAREN )? )
+ // 1083:3: -> ^( VT_FACT_BINDING label ( fact )? ( fact_binding_expression )? ( RIGHT_PAREN )? )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1081:6: ^( VT_FACT_BINDING label ( fact )? ( fact_binding_expression )? ( RIGHT_PAREN )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1083:6: ^( VT_FACT_BINDING label ( fact )? ( fact_binding_expression )? ( RIGHT_PAREN )? )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_FACT_BINDING, "VT_FACT_BINDING"), root_1);
adaptor.addChild(root_1, stream_label.nextTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1081:30: ( fact )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1083:30: ( fact )?
if ( stream_fact.hasNext() ) {
adaptor.addChild(root_1, stream_fact.nextTree());
}
stream_fact.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1081:36: ( fact_binding_expression )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1083:36: ( fact_binding_expression )?
if ( stream_fact_binding_expression.hasNext() ) {
adaptor.addChild(root_1, stream_fact_binding_expression.nextTree());
}
stream_fact_binding_expression.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1081:61: ( RIGHT_PAREN )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1083:61: ( RIGHT_PAREN )?
if ( stream_RIGHT_PAREN.hasNext() ) {
adaptor.addChild(root_1, stream_RIGHT_PAREN.nextNode());
@@ -9501,7 +9491,7 @@
};
// $ANTLR start "fact_binding_expression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1084:1: fact_binding_expression : ( fact -> fact ) ( (value= or_key | pipe= DOUBLE_PIPE ) fact -> ^( VT_FACT_OR[orToken] $fact_binding_expression fact ) )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1086:1: fact_binding_expression : ( fact -> fact ) ( (value= or_key | pipe= DOUBLE_PIPE ) fact -> ^( VT_FACT_OR[orToken] $fact_binding_expression fact ) )* ;
public final DRLParser.fact_binding_expression_return fact_binding_expression() throws RecognitionException {
DRLParser.fact_binding_expression_return retval = new DRLParser.fact_binding_expression_return();
retval.start = input.LT(1);
@@ -9524,13 +9514,13 @@
Token orToken = null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1087:3: ( ( fact -> fact ) ( (value= or_key | pipe= DOUBLE_PIPE ) fact -> ^( VT_FACT_OR[orToken] $fact_binding_expression fact ) )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1087:5: ( fact -> fact ) ( (value= or_key | pipe= DOUBLE_PIPE ) fact -> ^( VT_FACT_OR[orToken] $fact_binding_expression fact ) )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1089:3: ( ( fact -> fact ) ( (value= or_key | pipe= DOUBLE_PIPE ) fact -> ^( VT_FACT_OR[orToken] $fact_binding_expression fact ) )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1089:5: ( fact -> fact ) ( (value= or_key | pipe= DOUBLE_PIPE ) fact -> ^( VT_FACT_OR[orToken] $fact_binding_expression fact ) )*
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1087:5: ( fact -> fact )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1087:6: fact
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1089:5: ( fact -> fact )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1089:6: fact
{
- pushFollow(FOLLOW_fact_in_fact_binding_expression3598);
+ pushFollow(FOLLOW_fact_in_fact_binding_expression3602);
fact207=fact();
state._fsp--;
@@ -9549,7 +9539,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1087:11: -> fact
+ // 1089:11: -> fact
{
adaptor.addChild(root_0, stream_fact.nextTree());
@@ -9558,7 +9548,7 @@
retval.tree = root_0;}
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1087:20: ( (value= or_key | pipe= DOUBLE_PIPE ) fact -> ^( VT_FACT_OR[orToken] $fact_binding_expression fact ) )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1089:20: ( (value= or_key | pipe= DOUBLE_PIPE ) fact -> ^( VT_FACT_OR[orToken] $fact_binding_expression fact ) )*
loop76:
do {
int alt76=2;
@@ -9574,9 +9564,9 @@
switch (alt76) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1087:22: (value= or_key | pipe= DOUBLE_PIPE ) fact
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1089:22: (value= or_key | pipe= DOUBLE_PIPE ) fact
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1087:22: (value= or_key | pipe= DOUBLE_PIPE )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1089:22: (value= or_key | pipe= DOUBLE_PIPE )
int alt75=2;
int LA75_0 = input.LA(1);
@@ -9595,9 +9585,9 @@
}
switch (alt75) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1087:23: value= or_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1089:23: value= or_key
{
- pushFollow(FOLLOW_or_key_in_fact_binding_expression3610);
+ pushFollow(FOLLOW_or_key_in_fact_binding_expression3614);
value=or_key();
state._fsp--;
@@ -9610,9 +9600,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1087:62: pipe= DOUBLE_PIPE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1089:62: pipe= DOUBLE_PIPE
{
- pipe=(Token)match(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_fact_binding_expression3616); if (state.failed) return retval;
+ pipe=(Token)match(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_fact_binding_expression3620); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_DOUBLE_PIPE.add(pipe);
if ( state.backtracking==0 ) {
@@ -9624,7 +9614,7 @@
}
- pushFollow(FOLLOW_fact_in_fact_binding_expression3621);
+ pushFollow(FOLLOW_fact_in_fact_binding_expression3625);
fact208=fact();
state._fsp--;
@@ -9633,7 +9623,7 @@
// AST REWRITE
- // elements: fact_binding_expression, fact
+ // elements: fact, fact_binding_expression
// token labels:
// rule labels: retval
// token list labels:
@@ -9643,9 +9633,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1088:3: -> ^( VT_FACT_OR[orToken] $fact_binding_expression fact )
+ // 1090:3: -> ^( VT_FACT_OR[orToken] $fact_binding_expression fact )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1088:6: ^( VT_FACT_OR[orToken] $fact_binding_expression fact )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1090:6: ^( VT_FACT_OR[orToken] $fact_binding_expression fact )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_FACT_OR, orToken), root_1);
@@ -9696,7 +9686,7 @@
};
// $ANTLR start "fact"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1091:1: fact : pattern_type LEFT_PAREN ( constraints )? RIGHT_PAREN -> ^( VT_FACT pattern_type ( constraints )? RIGHT_PAREN ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1093:1: fact : pattern_type LEFT_PAREN ( constraints )? RIGHT_PAREN -> ^( VT_FACT pattern_type ( constraints )? RIGHT_PAREN ) ;
public final DRLParser.fact_return fact() throws RecognitionException {
DRLParser.fact_return retval = new DRLParser.fact_return();
retval.start = input.LT(1);
@@ -9718,16 +9708,16 @@
RewriteRuleSubtreeStream stream_constraints=new RewriteRuleSubtreeStream(adaptor,"rule constraints");
boolean isFailedOnConstraints = true; pushParaphrases(DroolsParaphraseTypes.PATTERN);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1094:2: ( pattern_type LEFT_PAREN ( constraints )? RIGHT_PAREN -> ^( VT_FACT pattern_type ( constraints )? RIGHT_PAREN ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1094:4: pattern_type LEFT_PAREN ( constraints )? RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1096:2: ( pattern_type LEFT_PAREN ( constraints )? RIGHT_PAREN -> ^( VT_FACT pattern_type ( constraints )? RIGHT_PAREN ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1096:4: pattern_type LEFT_PAREN ( constraints )? RIGHT_PAREN
{
- pushFollow(FOLLOW_pattern_type_in_fact3661);
+ pushFollow(FOLLOW_pattern_type_in_fact3665);
pattern_type209=pattern_type();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_pattern_type.add(pattern_type209.getTree());
- LEFT_PAREN210=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_fact3666); if (state.failed) return retval;
+ LEFT_PAREN210=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_fact3670); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_PAREN.add(LEFT_PAREN210);
if ( state.backtracking==0 ) {
@@ -9736,7 +9726,7 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_INSIDE_CONDITION_START);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1097:4: ( constraints )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1099:4: ( constraints )?
int alt77=2;
int LA77_0 = input.LA(1);
@@ -9745,9 +9735,9 @@
}
switch (alt77) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1097:4: constraints
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1099:4: constraints
{
- pushFollow(FOLLOW_constraints_in_fact3677);
+ pushFollow(FOLLOW_constraints_in_fact3681);
constraints211=constraints();
state._fsp--;
@@ -9759,7 +9749,7 @@
}
- RIGHT_PAREN212=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_fact3683); if (state.failed) return retval;
+ RIGHT_PAREN212=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_fact3687); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_RIGHT_PAREN.add(RIGHT_PAREN212);
if ( state.backtracking==0 ) {
@@ -9774,7 +9764,7 @@
// AST REWRITE
- // elements: constraints, pattern_type, RIGHT_PAREN
+ // elements: pattern_type, RIGHT_PAREN, constraints
// token labels:
// rule labels: retval
// token list labels:
@@ -9784,15 +9774,15 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1103:2: -> ^( VT_FACT pattern_type ( constraints )? RIGHT_PAREN )
+ // 1105:2: -> ^( VT_FACT pattern_type ( constraints )? RIGHT_PAREN )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1103:5: ^( VT_FACT pattern_type ( constraints )? RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1105:5: ^( VT_FACT pattern_type ( constraints )? RIGHT_PAREN )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_FACT, "VT_FACT"), root_1);
adaptor.addChild(root_1, stream_pattern_type.nextTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1103:28: ( constraints )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1105:28: ( constraints )?
if ( stream_constraints.hasNext() ) {
adaptor.addChild(root_1, stream_constraints.nextTree());
@@ -9844,7 +9834,7 @@
};
// $ANTLR start "constraints"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1113:1: constraints : constraint ( COMMA constraint )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1115:1: constraints : constraint ( COMMA constraint )* ;
public final DRLParser.constraints_return constraints() throws RecognitionException {
DRLParser.constraints_return retval = new DRLParser.constraints_return();
retval.start = input.LT(1);
@@ -9860,18 +9850,18 @@
Object COMMA214_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1114:2: ( constraint ( COMMA constraint )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1114:4: constraint ( COMMA constraint )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1116:2: ( constraint ( COMMA constraint )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1116:4: constraint ( COMMA constraint )*
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_constraint_in_constraints3717);
+ pushFollow(FOLLOW_constraint_in_constraints3721);
constraint213=constraint();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) adaptor.addChild(root_0, constraint213.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1114:15: ( COMMA constraint )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1116:15: ( COMMA constraint )*
loop78:
do {
int alt78=2;
@@ -9884,14 +9874,14 @@
switch (alt78) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1114:17: COMMA constraint
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1116:17: COMMA constraint
{
- COMMA214=(Token)match(input,COMMA,FOLLOW_COMMA_in_constraints3721); if (state.failed) return retval;
+ COMMA214=(Token)match(input,COMMA,FOLLOW_COMMA_in_constraints3725); if (state.failed) return retval;
if ( state.backtracking==0 ) {
emit(COMMA214, DroolsEditorType.SYMBOL);
emit(Location.LOCATION_LHS_INSIDE_CONDITION_START);
}
- pushFollow(FOLLOW_constraint_in_constraints3728);
+ pushFollow(FOLLOW_constraint_in_constraints3732);
constraint215=constraint();
state._fsp--;
@@ -9935,7 +9925,7 @@
};
// $ANTLR start "constraint"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1119:1: constraint : or_constr ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1121:1: constraint : or_constr ;
public final DRLParser.constraint_return constraint() throws RecognitionException {
DRLParser.constraint_return retval = new DRLParser.constraint_return();
retval.start = input.LT(1);
@@ -9947,12 +9937,12 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1120:2: ( or_constr )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1120:4: or_constr
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1122:2: ( or_constr )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1122:4: or_constr
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_or_constr_in_constraint3742);
+ pushFollow(FOLLOW_or_constr_in_constraint3746);
or_constr216=or_constr();
state._fsp--;
@@ -9987,7 +9977,7 @@
};
// $ANTLR start "or_constr"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1123:1: or_constr : and_constr ( DOUBLE_PIPE and_constr )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1125:1: or_constr : and_constr ( DOUBLE_PIPE and_constr )* ;
public final DRLParser.or_constr_return or_constr() throws RecognitionException {
DRLParser.or_constr_return retval = new DRLParser.or_constr_return();
retval.start = input.LT(1);
@@ -10003,18 +9993,18 @@
Object DOUBLE_PIPE218_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1124:2: ( and_constr ( DOUBLE_PIPE and_constr )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1124:4: and_constr ( DOUBLE_PIPE and_constr )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1126:2: ( and_constr ( DOUBLE_PIPE and_constr )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1126:4: and_constr ( DOUBLE_PIPE and_constr )*
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_and_constr_in_or_constr3753);
+ pushFollow(FOLLOW_and_constr_in_or_constr3757);
and_constr217=and_constr();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) adaptor.addChild(root_0, and_constr217.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1124:15: ( DOUBLE_PIPE and_constr )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1126:15: ( DOUBLE_PIPE and_constr )*
loop79:
do {
int alt79=2;
@@ -10027,9 +10017,9 @@
switch (alt79) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1124:17: DOUBLE_PIPE and_constr
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1126:17: DOUBLE_PIPE and_constr
{
- DOUBLE_PIPE218=(Token)match(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_or_constr3757); if (state.failed) return retval;
+ DOUBLE_PIPE218=(Token)match(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_or_constr3761); if (state.failed) return retval;
if ( state.backtracking==0 ) {
DOUBLE_PIPE218_tree = (Object)adaptor.create(DOUBLE_PIPE218);
root_0 = (Object)adaptor.becomeRoot(DOUBLE_PIPE218_tree, root_0);
@@ -10037,7 +10027,7 @@
if ( state.backtracking==0 ) {
emit(DOUBLE_PIPE218, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_and_constr_in_or_constr3764);
+ pushFollow(FOLLOW_and_constr_in_or_constr3768);
and_constr219=and_constr();
state._fsp--;
@@ -10081,7 +10071,7 @@
};
// $ANTLR start "and_constr"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1128:1: and_constr : unary_constr ( DOUBLE_AMPER unary_constr )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1130:1: and_constr : unary_constr ( DOUBLE_AMPER unary_constr )* ;
public final DRLParser.and_constr_return and_constr() throws RecognitionException {
DRLParser.and_constr_return retval = new DRLParser.and_constr_return();
retval.start = input.LT(1);
@@ -10097,18 +10087,18 @@
Object DOUBLE_AMPER221_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1129:2: ( unary_constr ( DOUBLE_AMPER unary_constr )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1129:4: unary_constr ( DOUBLE_AMPER unary_constr )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1131:2: ( unary_constr ( DOUBLE_AMPER unary_constr )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1131:4: unary_constr ( DOUBLE_AMPER unary_constr )*
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_unary_constr_in_and_constr3779);
+ pushFollow(FOLLOW_unary_constr_in_and_constr3783);
unary_constr220=unary_constr();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) adaptor.addChild(root_0, unary_constr220.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1129:17: ( DOUBLE_AMPER unary_constr )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1131:17: ( DOUBLE_AMPER unary_constr )*
loop80:
do {
int alt80=2;
@@ -10121,9 +10111,9 @@
switch (alt80) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1129:19: DOUBLE_AMPER unary_constr
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1131:19: DOUBLE_AMPER unary_constr
{
- DOUBLE_AMPER221=(Token)match(input,DOUBLE_AMPER,FOLLOW_DOUBLE_AMPER_in_and_constr3783); if (state.failed) return retval;
+ DOUBLE_AMPER221=(Token)match(input,DOUBLE_AMPER,FOLLOW_DOUBLE_AMPER_in_and_constr3787); if (state.failed) return retval;
if ( state.backtracking==0 ) {
DOUBLE_AMPER221_tree = (Object)adaptor.create(DOUBLE_AMPER221);
root_0 = (Object)adaptor.becomeRoot(DOUBLE_AMPER221_tree, root_0);
@@ -10131,7 +10121,7 @@
if ( state.backtracking==0 ) {
emit(DOUBLE_AMPER221, DroolsEditorType.SYMBOL);;
}
- pushFollow(FOLLOW_unary_constr_in_and_constr3790);
+ pushFollow(FOLLOW_unary_constr_in_and_constr3794);
unary_constr222=unary_constr();
state._fsp--;
@@ -10175,7 +10165,7 @@
};
// $ANTLR start "unary_constr"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1133:1: unary_constr options {k=2; } : ( eval_key paren_chunk | field_constraint | LEFT_PAREN or_constr RIGHT_PAREN );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1135:1: unary_constr options {k=2; } : ( eval_key paren_chunk | field_constraint | LEFT_PAREN or_constr RIGHT_PAREN );
public final DRLParser.unary_constr_return unary_constr() throws RecognitionException {
DRLParser.unary_constr_return retval = new DRLParser.unary_constr_return();
retval.start = input.LT(1);
@@ -10198,22 +10188,22 @@
boolean isFailed = true;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1137:2: ( eval_key paren_chunk | field_constraint | LEFT_PAREN or_constr RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1139:2: ( eval_key paren_chunk | field_constraint | LEFT_PAREN or_constr RIGHT_PAREN )
int alt81=3;
alt81 = dfa81.predict(input);
switch (alt81) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1137:4: eval_key paren_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1139:4: eval_key paren_chunk
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_eval_key_in_unary_constr3823);
+ pushFollow(FOLLOW_eval_key_in_unary_constr3827);
eval_key223=eval_key();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) root_0 = (Object)adaptor.becomeRoot(eval_key223.getTree(), root_0);
- pushFollow(FOLLOW_paren_chunk_in_unary_constr3826);
+ pushFollow(FOLLOW_paren_chunk_in_unary_constr3830);
paren_chunk224=paren_chunk();
state._fsp--;
@@ -10223,11 +10213,11 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1138:4: field_constraint
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1140:4: field_constraint
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_field_constraint_in_unary_constr3831);
+ pushFollow(FOLLOW_field_constraint_in_unary_constr3835);
field_constraint225=field_constraint();
state._fsp--;
@@ -10237,21 +10227,21 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1139:5: LEFT_PAREN or_constr RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1141:5: LEFT_PAREN or_constr RIGHT_PAREN
{
root_0 = (Object)adaptor.nil();
- LEFT_PAREN226=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_unary_constr3837); if (state.failed) return retval;
+ LEFT_PAREN226=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_unary_constr3841); if (state.failed) return retval;
if ( state.backtracking==0 ) {
emit(LEFT_PAREN226, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_or_constr_in_unary_constr3847);
+ pushFollow(FOLLOW_or_constr_in_unary_constr3851);
or_constr227=or_constr();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) adaptor.addChild(root_0, or_constr227.getTree());
- RIGHT_PAREN228=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_unary_constr3852); if (state.failed) return retval;
+ RIGHT_PAREN228=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_unary_constr3856); if (state.failed) return retval;
if ( state.backtracking==0 ) {
RIGHT_PAREN228_tree = (Object)adaptor.create(RIGHT_PAREN228);
adaptor.addChild(root_0, RIGHT_PAREN228_tree);
@@ -10301,7 +10291,7 @@
};
// $ANTLR start "field_constraint"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1152:1: field_constraint options {backtrack=true; } : ( label accessor_path ( or_restr_connective | arw= ARROW paren_chunk )? -> {isArrow}? ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ) ) ( ^( VK_EVAL[$arw] paren_chunk ) )? -> ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ( or_restr_connective )? ) ) | accessor_path or_restr_connective -> ^( VT_FIELD accessor_path or_restr_connective ) );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1154:1: field_constraint : ( label accessor_path ( or_restr_connective | arw= ARROW paren_chunk )? -> {isArrow}? ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ) ) ( ^( VK_EVAL[$arw] paren_chunk ) )? -> ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ( or_restr_connective )? ) ) | accessor_path or_restr_connective -> ^( VT_FIELD accessor_path or_restr_connective ) );
public final DRLParser.field_constraint_return field_constraint() throws RecognitionException {
DRLParser.field_constraint_return retval = new DRLParser.field_constraint_return();
retval.start = input.LT(1);
@@ -10332,7 +10322,7 @@
boolean isArrow = false;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1156:3: ( label accessor_path ( or_restr_connective | arw= ARROW paren_chunk )? -> {isArrow}? ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ) ) ( ^( VK_EVAL[$arw] paren_chunk ) )? -> ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ( or_restr_connective )? ) ) | accessor_path or_restr_connective -> ^( VT_FIELD accessor_path or_restr_connective ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1157:3: ( label accessor_path ( or_restr_connective | arw= ARROW paren_chunk )? -> {isArrow}? ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ) ) ( ^( VK_EVAL[$arw] paren_chunk ) )? -> ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ( or_restr_connective )? ) ) | accessor_path or_restr_connective -> ^( VT_FIELD accessor_path or_restr_connective ) )
int alt83=2;
int LA83_0 = input.LA(1);
@@ -10362,25 +10352,25 @@
}
switch (alt83) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1156:5: label accessor_path ( or_restr_connective | arw= ARROW paren_chunk )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1157:5: label accessor_path ( or_restr_connective | arw= ARROW paren_chunk )?
{
- pushFollow(FOLLOW_label_in_field_constraint3881);
+ pushFollow(FOLLOW_label_in_field_constraint3876);
label229=label();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_label.add(label229.getTree());
- pushFollow(FOLLOW_accessor_path_in_field_constraint3883);
+ pushFollow(FOLLOW_accessor_path_in_field_constraint3878);
accessor_path230=accessor_path();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_accessor_path.add(accessor_path230.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1157:3: ( or_restr_connective | arw= ARROW paren_chunk )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1158:3: ( or_restr_connective | arw= ARROW paren_chunk )?
int alt82=3;
int LA82_0 = input.LA(1);
- if ( (LA82_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {
+ if ( (LA82_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))||((isPluggableEvaluator(false)))))) {
alt82=1;
}
else if ( (LA82_0==LEFT_PAREN||(LA82_0>=EQUAL && LA82_0<=NOT_EQUAL)) ) {
@@ -10391,9 +10381,9 @@
}
switch (alt82) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1157:5: or_restr_connective
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1158:5: or_restr_connective
{
- pushFollow(FOLLOW_or_restr_connective_in_field_constraint3890);
+ pushFollow(FOLLOW_or_restr_connective_in_field_constraint3885);
or_restr_connective231=or_restr_connective();
state._fsp--;
@@ -10403,15 +10393,15 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1157:27: arw= ARROW paren_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1158:27: arw= ARROW paren_chunk
{
- arw=(Token)match(input,ARROW,FOLLOW_ARROW_in_field_constraint3896); if (state.failed) return retval;
+ arw=(Token)match(input,ARROW,FOLLOW_ARROW_in_field_constraint3891); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ARROW.add(arw);
if ( state.backtracking==0 ) {
emit(arw, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_paren_chunk_in_field_constraint3900);
+ pushFollow(FOLLOW_paren_chunk_in_field_constraint3895);
paren_chunk232=paren_chunk();
state._fsp--;
@@ -10429,7 +10419,7 @@
// AST REWRITE
- // elements: label, accessor_path, paren_chunk, accessor_path, label, or_restr_connective
+ // elements: label, or_restr_connective, paren_chunk, accessor_path, accessor_path, label
// token labels:
// rule labels: retval
// token list labels:
@@ -10439,15 +10429,15 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1158:3: -> {isArrow}? ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ) ) ( ^( VK_EVAL[$arw] paren_chunk ) )?
+ // 1159:3: -> {isArrow}? ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ) ) ( ^( VK_EVAL[$arw] paren_chunk ) )?
if (isArrow) {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1158:17: ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1159:17: ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ) )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_BIND_FIELD, "VT_BIND_FIELD"), root_1);
adaptor.addChild(root_1, stream_label.nextTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1158:39: ^( VT_FIELD accessor_path )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1159:39: ^( VT_FIELD accessor_path )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_FIELD, "VT_FIELD"), root_2);
@@ -10459,9 +10449,9 @@
adaptor.addChild(root_0, root_1);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1158:66: ( ^( VK_EVAL[$arw] paren_chunk ) )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1159:66: ( ^( VK_EVAL[$arw] paren_chunk ) )?
if ( stream_paren_chunk.hasNext() ) {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1158:66: ^( VK_EVAL[$arw] paren_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1159:66: ^( VK_EVAL[$arw] paren_chunk )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VK_EVAL, arw), root_1);
@@ -10475,21 +10465,21 @@
stream_paren_chunk.reset();
}
- else // 1159:3: -> ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ( or_restr_connective )? ) )
+ else // 1160:3: -> ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ( or_restr_connective )? ) )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1159:6: ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ( or_restr_connective )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1160:6: ^( VT_BIND_FIELD label ^( VT_FIELD accessor_path ( or_restr_connective )? ) )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_BIND_FIELD, "VT_BIND_FIELD"), root_1);
adaptor.addChild(root_1, stream_label.nextTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1159:28: ^( VT_FIELD accessor_path ( or_restr_connective )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1160:28: ^( VT_FIELD accessor_path ( or_restr_connective )? )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_FIELD, "VT_FIELD"), root_2);
adaptor.addChild(root_2, stream_accessor_path.nextTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1159:53: ( or_restr_connective )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1160:53: ( or_restr_connective )?
if ( stream_or_restr_connective.hasNext() ) {
adaptor.addChild(root_2, stream_or_restr_connective.nextTree());
@@ -10508,15 +10498,15 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1160:4: accessor_path or_restr_connective
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1161:4: accessor_path or_restr_connective
{
- pushFollow(FOLLOW_accessor_path_in_field_constraint3954);
+ pushFollow(FOLLOW_accessor_path_in_field_constraint3949);
accessor_path233=accessor_path();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_accessor_path.add(accessor_path233.getTree());
- pushFollow(FOLLOW_or_restr_connective_in_field_constraint3956);
+ pushFollow(FOLLOW_or_restr_connective_in_field_constraint3951);
or_restr_connective234=or_restr_connective();
state._fsp--;
@@ -10525,7 +10515,7 @@
// AST REWRITE
- // elements: accessor_path, or_restr_connective
+ // elements: or_restr_connective, accessor_path
// token labels:
// rule labels: retval
// token list labels:
@@ -10535,9 +10525,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1161:3: -> ^( VT_FIELD accessor_path or_restr_connective )
+ // 1162:3: -> ^( VT_FIELD accessor_path or_restr_connective )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1161:6: ^( VT_FIELD accessor_path or_restr_connective )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1162:6: ^( VT_FIELD accessor_path or_restr_connective )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_FIELD, "VT_FIELD"), root_1);
@@ -10581,7 +10571,7 @@
};
// $ANTLR start "label"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1164:1: label : value= ID COLON -> VT_LABEL[$value] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1165:1: label : value= ID COLON -> VT_LABEL[$value] ;
public final DRLParser.label_return label() throws RecognitionException {
DRLParser.label_return retval = new DRLParser.label_return();
retval.start = input.LT(1);
@@ -10597,16 +10587,16 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1165:2: (value= ID COLON -> VT_LABEL[$value] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1165:4: value= ID COLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1166:2: (value= ID COLON -> VT_LABEL[$value] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1166:4: value= ID COLON
{
- value=(Token)match(input,ID,FOLLOW_ID_in_label3981); if (state.failed) return retval;
+ value=(Token)match(input,ID,FOLLOW_ID_in_label3976); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(value);
if ( state.backtracking==0 ) {
emit(value, DroolsEditorType.IDENTIFIER_VARIABLE);
}
- COLON235=(Token)match(input,COLON,FOLLOW_COLON_in_label3988); if (state.failed) return retval;
+ COLON235=(Token)match(input,COLON,FOLLOW_COLON_in_label3983); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COLON.add(COLON235);
if ( state.backtracking==0 ) {
@@ -10625,7 +10615,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1167:3: -> VT_LABEL[$value]
+ // 1168:3: -> VT_LABEL[$value]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_LABEL, value));
@@ -10660,7 +10650,7 @@
};
// $ANTLR start "or_restr_connective"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1170:1: or_restr_connective : and_restr_connective ({...}? => DOUBLE_PIPE and_restr_connective )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1171:1: or_restr_connective : and_restr_connective ({...}? => DOUBLE_PIPE and_restr_connective )* ;
public final DRLParser.or_restr_connective_return or_restr_connective() throws RecognitionException {
DRLParser.or_restr_connective_return retval = new DRLParser.or_restr_connective_return();
retval.start = input.LT(1);
@@ -10676,18 +10666,18 @@
Object DOUBLE_PIPE237_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1171:2: ( and_restr_connective ({...}? => DOUBLE_PIPE and_restr_connective )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1171:4: and_restr_connective ({...}? => DOUBLE_PIPE and_restr_connective )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1172:2: ( and_restr_connective ({...}? => DOUBLE_PIPE and_restr_connective )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1172:4: and_restr_connective ({...}? => DOUBLE_PIPE and_restr_connective )*
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_and_restr_connective_in_or_restr_connective4009);
+ pushFollow(FOLLOW_and_restr_connective_in_or_restr_connective4004);
and_restr_connective236=and_restr_connective();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) adaptor.addChild(root_0, and_restr_connective236.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1171:25: ({...}? => DOUBLE_PIPE and_restr_connective )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1172:25: ({...}? => DOUBLE_PIPE and_restr_connective )*
loop84:
do {
int alt84=2;
@@ -10706,13 +10696,13 @@
switch (alt84) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1171:26: {...}? => DOUBLE_PIPE and_restr_connective
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1172:26: {...}? => DOUBLE_PIPE and_restr_connective
{
if ( !(((validateRestr()))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "or_restr_connective", "(validateRestr())");
}
- DOUBLE_PIPE237=(Token)match(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_or_restr_connective4015); if (state.failed) return retval;
+ DOUBLE_PIPE237=(Token)match(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_or_restr_connective4010); if (state.failed) return retval;
if ( state.backtracking==0 ) {
DOUBLE_PIPE237_tree = (Object)adaptor.create(DOUBLE_PIPE237);
root_0 = (Object)adaptor.becomeRoot(DOUBLE_PIPE237_tree, root_0);
@@ -10720,7 +10710,7 @@
if ( state.backtracking==0 ) {
emit(DOUBLE_PIPE237, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_and_restr_connective_in_or_restr_connective4023);
+ pushFollow(FOLLOW_and_restr_connective_in_or_restr_connective4018);
and_restr_connective238=and_restr_connective();
state._fsp--;
@@ -10746,11 +10736,16 @@
adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);
}
}
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);
+ catch ( RecognitionException re ) {
+ if (!lookaheadTest){
+ reportError(re);
+ recover(input,re);
+ retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);
+ } else {
+ throw re;
+ }
+
}
finally {
}
@@ -10764,7 +10759,7 @@
};
// $ANTLR start "and_restr_connective"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1175:1: and_restr_connective : constraint_expression ({...}? => DOUBLE_AMPER constraint_expression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1185:1: and_restr_connective : constraint_expression ({...}? => DOUBLE_AMPER constraint_expression )* ;
public final DRLParser.and_restr_connective_return and_restr_connective() throws RecognitionException {
DRLParser.and_restr_connective_return retval = new DRLParser.and_restr_connective_return();
retval.start = input.LT(1);
@@ -10780,18 +10775,18 @@
Object DOUBLE_AMPER240_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1176:2: ( constraint_expression ({...}? => DOUBLE_AMPER constraint_expression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1176:4: constraint_expression ({...}? => DOUBLE_AMPER constraint_expression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1186:2: ( constraint_expression ({...}? => DOUBLE_AMPER constraint_expression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1186:4: constraint_expression ({...}? => DOUBLE_AMPER constraint_expression )*
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_constraint_expression_in_and_restr_connective4038);
+ pushFollow(FOLLOW_constraint_expression_in_and_restr_connective4039);
constraint_expression239=constraint_expression();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) adaptor.addChild(root_0, constraint_expression239.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1176:26: ({...}? => DOUBLE_AMPER constraint_expression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1186:26: ({...}? => DOUBLE_AMPER constraint_expression )*
loop85:
do {
int alt85=2;
@@ -10810,13 +10805,13 @@
switch (alt85) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1176:27: {...}? => DOUBLE_AMPER constraint_expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1186:27: {...}? => DOUBLE_AMPER constraint_expression
{
if ( !(((validateRestr()))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "and_restr_connective", "(validateRestr())");
}
- DOUBLE_AMPER240=(Token)match(input,DOUBLE_AMPER,FOLLOW_DOUBLE_AMPER_in_and_restr_connective4044); if (state.failed) return retval;
+ DOUBLE_AMPER240=(Token)match(input,DOUBLE_AMPER,FOLLOW_DOUBLE_AMPER_in_and_restr_connective4045); if (state.failed) return retval;
if ( state.backtracking==0 ) {
DOUBLE_AMPER240_tree = (Object)adaptor.create(DOUBLE_AMPER240);
root_0 = (Object)adaptor.becomeRoot(DOUBLE_AMPER240_tree, root_0);
@@ -10824,7 +10819,7 @@
if ( state.backtracking==0 ) {
emit(DOUBLE_AMPER240, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_constraint_expression_in_and_restr_connective4051);
+ pushFollow(FOLLOW_constraint_expression_in_and_restr_connective4052);
constraint_expression241=constraint_expression();
state._fsp--;
@@ -10850,11 +10845,16 @@
adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);
}
}
- catch (RecognitionException re) {
- reportError(re);
- recover(input,re);
- retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);
+ catch ( RecognitionException re ) {
+ if (!lookaheadTest){
+ reportError(re);
+ recover(input,re);
+ retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);
+ } else {
+ throw re;
+ }
+
}
finally {
}
@@ -10868,7 +10868,7 @@
};
// $ANTLR start "constraint_expression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1180:1: constraint_expression options {k=3; } : ( compound_operator | simple_operator | LEFT_PAREN or_restr_connective RIGHT_PAREN );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1199:1: constraint_expression options {k=3; } : ( compound_operator | simple_operator | LEFT_PAREN or_restr_connective RIGHT_PAREN );
public final DRLParser.constraint_expression_return constraint_expression() throws RecognitionException {
DRLParser.constraint_expression_return retval = new DRLParser.constraint_expression_return();
retval.start = input.LT(1);
@@ -10888,16 +10888,16 @@
Object RIGHT_PAREN246_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1184:3: ( compound_operator | simple_operator | LEFT_PAREN or_restr_connective RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1202:3: ( compound_operator | simple_operator | LEFT_PAREN or_restr_connective RIGHT_PAREN )
int alt86=3;
alt86 = dfa86.predict(input);
switch (alt86) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1184:5: compound_operator
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1202:5: compound_operator
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_compound_operator_in_constraint_expression4076);
+ pushFollow(FOLLOW_compound_operator_in_constraint_expression4080);
compound_operator242=compound_operator();
state._fsp--;
@@ -10907,11 +10907,11 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1185:4: simple_operator
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1203:4: simple_operator
{
root_0 = (Object)adaptor.nil();
- pushFollow(FOLLOW_simple_operator_in_constraint_expression4081);
+ pushFollow(FOLLOW_simple_operator_in_constraint_expression4085);
simple_operator243=simple_operator();
state._fsp--;
@@ -10921,21 +10921,21 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1186:4: LEFT_PAREN or_restr_connective RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1204:4: LEFT_PAREN or_restr_connective RIGHT_PAREN
{
root_0 = (Object)adaptor.nil();
- LEFT_PAREN244=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_constraint_expression4086); if (state.failed) return retval;
+ LEFT_PAREN244=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_constraint_expression4090); if (state.failed) return retval;
if ( state.backtracking==0 ) {
emit(LEFT_PAREN244, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_or_restr_connective_in_constraint_expression4095);
+ pushFollow(FOLLOW_or_restr_connective_in_constraint_expression4099);
or_restr_connective245=or_restr_connective();
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) adaptor.addChild(root_0, or_restr_connective245.getTree());
- RIGHT_PAREN246=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_constraint_expression4100); if (state.failed) return retval;
+ RIGHT_PAREN246=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_constraint_expression4104); if (state.failed) return retval;
if ( state.backtracking==0 ) {
RIGHT_PAREN246_tree = (Object)adaptor.create(RIGHT_PAREN246);
adaptor.addChild(root_0, RIGHT_PAREN246_tree);
@@ -10959,8 +10959,9 @@
catch ( RecognitionException re ) {
if (!lookaheadTest){
- reportError(re);
- recover(input, re);
+ reportError(re);
+ recover(input,re);
+ retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);
} else {
throw re;
}
@@ -11010,7 +11011,7 @@
};
// $ANTLR start "simple_operator"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1231:1: simple_operator : ( EQUAL | GREATER | GREATER_EQUAL | LESS | LESS_EQUAL | NOT_EQUAL | ( not_key )? ( contains_key | soundslike_key | matches_key | memberof_key | operator_key ( square_chunk )? ) ) expression_value ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1250:1: simple_operator : ( EQUAL | GREATER | GREATER_EQUAL | LESS | LESS_EQUAL | NOT_EQUAL | ( not_key )? ( operator_key ( square_chunk )? ) ) expression_value ;
public final DRLParser.simple_operator_return simple_operator() throws RecognitionException {
DRLParser.simple_operator_return retval = new DRLParser.simple_operator_return();
retval.start = input.LT(1);
@@ -11025,21 +11026,13 @@
Token NOT_EQUAL252=null;
DRLParser.not_key_return not_key253 = null;
- DRLParser.contains_key_return contains_key254 = null;
+ DRLParser.operator_key_return operator_key254 = null;
- DRLParser.soundslike_key_return soundslike_key255 = null;
+ DRLParser.square_chunk_return square_chunk255 = null;
- DRLParser.matches_key_return matches_key256 = null;
+ DRLParser.expression_value_return expression_value256 = null;
- DRLParser.memberof_key_return memberof_key257 = null;
- DRLParser.operator_key_return operator_key258 = null;
-
- DRLParser.square_chunk_return square_chunk259 = null;
-
- DRLParser.expression_value_return expression_value260 = null;
-
-
Object EQUAL247_tree=null;
Object GREATER248_tree=null;
Object GREATER_EQUAL249_tree=null;
@@ -11049,48 +11042,48 @@
if ( state.backtracking==0 ) emit(Location.LOCATION_LHS_INSIDE_CONDITION_OPERATOR);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1233:2: ( ( EQUAL | GREATER | GREATER_EQUAL | LESS | LESS_EQUAL | NOT_EQUAL | ( not_key )? ( contains_key | soundslike_key | matches_key | memberof_key | operator_key ( square_chunk )? ) ) expression_value )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1233:4: ( EQUAL | GREATER | GREATER_EQUAL | LESS | LESS_EQUAL | NOT_EQUAL | ( not_key )? ( contains_key | soundslike_key | matches_key | memberof_key | operator_key ( square_chunk )? ) ) expression_value
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1252:2: ( ( EQUAL | GREATER | GREATER_EQUAL | LESS | LESS_EQUAL | NOT_EQUAL | ( not_key )? ( operator_key ( square_chunk )? ) ) expression_value )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1253:2: ( EQUAL | GREATER | GREATER_EQUAL | LESS | LESS_EQUAL | NOT_EQUAL | ( not_key )? ( operator_key ( square_chunk )? ) ) expression_value
{
root_0 = (Object)adaptor.nil();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1233:4: ( EQUAL | GREATER | GREATER_EQUAL | LESS | LESS_EQUAL | NOT_EQUAL | ( not_key )? ( contains_key | soundslike_key | matches_key | memberof_key | operator_key ( square_chunk )? ) )
- int alt90=7;
- int LA90_0 = input.LA(1);
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1253:2: ( EQUAL | GREATER | GREATER_EQUAL | LESS | LESS_EQUAL | NOT_EQUAL | ( not_key )? ( operator_key ( square_chunk )? ) )
+ int alt89=7;
+ int LA89_0 = input.LA(1);
- if ( (LA90_0==EQUAL) ) {
- alt90=1;
+ if ( (LA89_0==EQUAL) ) {
+ alt89=1;
}
- else if ( (LA90_0==GREATER) ) {
- alt90=2;
+ else if ( (LA89_0==GREATER) ) {
+ alt89=2;
}
- else if ( (LA90_0==GREATER_EQUAL) ) {
- alt90=3;
+ else if ( (LA89_0==GREATER_EQUAL) ) {
+ alt89=3;
}
- else if ( (LA90_0==LESS) ) {
- alt90=4;
+ else if ( (LA89_0==LESS) ) {
+ alt89=4;
}
- else if ( (LA90_0==LESS_EQUAL) ) {
- alt90=5;
+ else if ( (LA89_0==LESS_EQUAL) ) {
+ alt89=5;
}
- else if ( (LA90_0==NOT_EQUAL) ) {
- alt90=6;
+ else if ( (LA89_0==NOT_EQUAL) ) {
+ alt89=6;
}
- else if ( (LA90_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {
- alt90=7;
+ else if ( (LA89_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((isPluggableEvaluator(false)))))) {
+ alt89=7;
}
else {
if (state.backtracking>0) {state.failed=true; return retval;}
NoViableAltException nvae =
- new NoViableAltException("", 90, 0, input);
+ new NoViableAltException("", 89, 0, input);
throw nvae;
}
- switch (alt90) {
+ switch (alt89) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1233:5: EQUAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1254:3: EQUAL
{
- EQUAL247=(Token)match(input,EQUAL,FOLLOW_EQUAL_in_simple_operator4130); if (state.failed) return retval;
+ EQUAL247=(Token)match(input,EQUAL,FOLLOW_EQUAL_in_simple_operator4139); if (state.failed) return retval;
if ( state.backtracking==0 ) {
EQUAL247_tree = (Object)adaptor.create(EQUAL247);
root_0 = (Object)adaptor.becomeRoot(EQUAL247_tree, root_0);
@@ -11102,9 +11095,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1234:4: GREATER
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1255:4: GREATER
{
- GREATER248=(Token)match(input,GREATER,FOLLOW_GREATER_in_simple_operator4138); if (state.failed) return retval;
+ GREATER248=(Token)match(input,GREATER,FOLLOW_GREATER_in_simple_operator4147); if (state.failed) return retval;
if ( state.backtracking==0 ) {
GREATER248_tree = (Object)adaptor.create(GREATER248);
root_0 = (Object)adaptor.becomeRoot(GREATER248_tree, root_0);
@@ -11116,9 +11109,9 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1235:4: GREATER_EQUAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1256:4: GREATER_EQUAL
{
- GREATER_EQUAL249=(Token)match(input,GREATER_EQUAL,FOLLOW_GREATER_EQUAL_in_simple_operator4146); if (state.failed) return retval;
+ GREATER_EQUAL249=(Token)match(input,GREATER_EQUAL,FOLLOW_GREATER_EQUAL_in_simple_operator4155); if (state.failed) return retval;
if ( state.backtracking==0 ) {
GREATER_EQUAL249_tree = (Object)adaptor.create(GREATER_EQUAL249);
root_0 = (Object)adaptor.becomeRoot(GREATER_EQUAL249_tree, root_0);
@@ -11130,9 +11123,9 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1236:4: LESS
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1257:4: LESS
{
- LESS250=(Token)match(input,LESS,FOLLOW_LESS_in_simple_operator4154); if (state.failed) return retval;
+ LESS250=(Token)match(input,LESS,FOLLOW_LESS_in_simple_operator4163); if (state.failed) return retval;
if ( state.backtracking==0 ) {
LESS250_tree = (Object)adaptor.create(LESS250);
root_0 = (Object)adaptor.becomeRoot(LESS250_tree, root_0);
@@ -11144,9 +11137,9 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1237:4: LESS_EQUAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1258:4: LESS_EQUAL
{
- LESS_EQUAL251=(Token)match(input,LESS_EQUAL,FOLLOW_LESS_EQUAL_in_simple_operator4162); if (state.failed) return retval;
+ LESS_EQUAL251=(Token)match(input,LESS_EQUAL,FOLLOW_LESS_EQUAL_in_simple_operator4171); if (state.failed) return retval;
if ( state.backtracking==0 ) {
LESS_EQUAL251_tree = (Object)adaptor.create(LESS_EQUAL251);
root_0 = (Object)adaptor.becomeRoot(LESS_EQUAL251_tree, root_0);
@@ -11158,9 +11151,9 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1238:4: NOT_EQUAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1259:4: NOT_EQUAL
{
- NOT_EQUAL252=(Token)match(input,NOT_EQUAL,FOLLOW_NOT_EQUAL_in_simple_operator4170); if (state.failed) return retval;
+ NOT_EQUAL252=(Token)match(input,NOT_EQUAL,FOLLOW_NOT_EQUAL_in_simple_operator4179); if (state.failed) return retval;
if ( state.backtracking==0 ) {
NOT_EQUAL252_tree = (Object)adaptor.create(NOT_EQUAL252);
root_0 = (Object)adaptor.becomeRoot(NOT_EQUAL252_tree, root_0);
@@ -11172,13 +11165,13 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1239:4: ( not_key )? ( contains_key | soundslike_key | matches_key | memberof_key | operator_key ( square_chunk )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1260:4: ( not_key )? ( operator_key ( square_chunk )? )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1239:4: ( not_key )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1260:4: ( not_key )?
int alt87=2;
int LA87_0 = input.LA(1);
- if ( (LA87_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {
+ if ( (LA87_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((isPluggableEvaluator(false)))))) {
int LA87_1 = input.LA(2);
if ( (((validateIdentifierKey(DroolsSoftKeywords.NOT)))) ) {
@@ -11187,9 +11180,9 @@
}
switch (alt87) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1239:4: not_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1260:4: not_key
{
- pushFollow(FOLLOW_not_key_in_simple_operator4178);
+ pushFollow(FOLLOW_not_key_in_simple_operator4187);
not_key253=not_key();
state._fsp--;
@@ -11201,128 +11194,39 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1240:3: ( contains_key | soundslike_key | matches_key | memberof_key | operator_key ( square_chunk )? )
- int alt89=5;
- int LA89_0 = input.LA(1);
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1261:3: ( operator_key ( square_chunk )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1261:5: operator_key ( square_chunk )?
+ {
+ pushFollow(FOLLOW_operator_key_in_simple_operator4194);
+ operator_key254=operator_key();
- if ( (LA89_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {
- int LA89_1 = input.LA(2);
+ state._fsp--;
+ if (state.failed) return retval;
+ if ( state.backtracking==0 ) root_0 = (Object)adaptor.becomeRoot(operator_key254.getTree(), root_0);
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1261:19: ( square_chunk )?
+ int alt88=2;
+ int LA88_0 = input.LA(1);
- if ( (((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))) ) {
- alt89=1;
- }
- else if ( (((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))) ) {
- alt89=2;
- }
- else if ( (((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))) ) {
- alt89=3;
- }
- else if ( (((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))) ) {
- alt89=4;
- }
- else if ( (((isPluggableEvaluator(false)))) ) {
- alt89=5;
- }
- else {
- if (state.backtracking>0) {state.failed=true; return retval;}
- NoViableAltException nvae =
- new NoViableAltException("", 89, 1, input);
-
- throw nvae;
- }
+ if ( (LA88_0==LEFT_SQUARE) ) {
+ alt88=1;
}
- else {
- if (state.backtracking>0) {state.failed=true; return retval;}
- NoViableAltException nvae =
- new NoViableAltException("", 89, 0, input);
-
- throw nvae;
- }
- switch (alt89) {
+ switch (alt88) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1240:5: contains_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1261:19: square_chunk
{
- pushFollow(FOLLOW_contains_key_in_simple_operator4185);
- contains_key254=contains_key();
+ pushFollow(FOLLOW_square_chunk_in_simple_operator4197);
+ square_chunk255=square_chunk();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) root_0 = (Object)adaptor.becomeRoot(contains_key254.getTree(), root_0);
+ if ( state.backtracking==0 ) adaptor.addChild(root_0, square_chunk255.getTree());
}
break;
- case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1241:5: soundslike_key
- {
- pushFollow(FOLLOW_soundslike_key_in_simple_operator4192);
- soundslike_key255=soundslike_key();
- state._fsp--;
- if (state.failed) return retval;
- if ( state.backtracking==0 ) root_0 = (Object)adaptor.becomeRoot(soundslike_key255.getTree(), root_0);
+ }
- }
- break;
- case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1242:5: matches_key
- {
- pushFollow(FOLLOW_matches_key_in_simple_operator4199);
- matches_key256=matches_key();
- state._fsp--;
- if (state.failed) return retval;
- if ( state.backtracking==0 ) root_0 = (Object)adaptor.becomeRoot(matches_key256.getTree(), root_0);
-
- }
- break;
- case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1243:5: memberof_key
- {
- pushFollow(FOLLOW_memberof_key_in_simple_operator4206);
- memberof_key257=memberof_key();
-
- state._fsp--;
- if (state.failed) return retval;
- if ( state.backtracking==0 ) root_0 = (Object)adaptor.becomeRoot(memberof_key257.getTree(), root_0);
-
- }
- break;
- case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1244:5: operator_key ( square_chunk )?
- {
- pushFollow(FOLLOW_operator_key_in_simple_operator4213);
- operator_key258=operator_key();
-
- state._fsp--;
- if (state.failed) return retval;
- if ( state.backtracking==0 ) root_0 = (Object)adaptor.becomeRoot(operator_key258.getTree(), root_0);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1244:19: ( square_chunk )?
- int alt88=2;
- int LA88_0 = input.LA(1);
-
- if ( (LA88_0==LEFT_SQUARE) ) {
- alt88=1;
- }
- switch (alt88) {
- case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1244:19: square_chunk
- {
- pushFollow(FOLLOW_square_chunk_in_simple_operator4216);
- square_chunk259=square_chunk();
-
- state._fsp--;
- if (state.failed) return retval;
- if ( state.backtracking==0 ) adaptor.addChild(root_0, square_chunk259.getTree());
-
- }
- break;
-
- }
-
-
- }
- break;
-
}
@@ -11334,12 +11238,12 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_INSIDE_CONDITION_ARGUMENT);
}
- pushFollow(FOLLOW_expression_value_in_simple_operator4253);
- expression_value260=expression_value();
+ pushFollow(FOLLOW_expression_value_in_simple_operator4209);
+ expression_value256=expression_value();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) adaptor.addChild(root_0, expression_value260.getTree());
+ if ( state.backtracking==0 ) adaptor.addChild(root_0, expression_value256.getTree());
}
@@ -11369,55 +11273,55 @@
};
// $ANTLR start "compound_operator"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1254:1: compound_operator : ( in_key | not_key in_key ) LEFT_PAREN expression_value ( COMMA expression_value )* RIGHT_PAREN ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1268:1: compound_operator : ( in_key | not_key in_key ) LEFT_PAREN expression_value ( COMMA expression_value )* RIGHT_PAREN ;
public final DRLParser.compound_operator_return compound_operator() throws RecognitionException {
DRLParser.compound_operator_return retval = new DRLParser.compound_operator_return();
retval.start = input.LT(1);
Object root_0 = null;
- Token LEFT_PAREN264=null;
- Token COMMA266=null;
- Token RIGHT_PAREN268=null;
- DRLParser.in_key_return in_key261 = null;
+ Token LEFT_PAREN260=null;
+ Token COMMA262=null;
+ Token RIGHT_PAREN264=null;
+ DRLParser.in_key_return in_key257 = null;
- DRLParser.not_key_return not_key262 = null;
+ DRLParser.not_key_return not_key258 = null;
- DRLParser.in_key_return in_key263 = null;
+ DRLParser.in_key_return in_key259 = null;
- DRLParser.expression_value_return expression_value265 = null;
+ DRLParser.expression_value_return expression_value261 = null;
- DRLParser.expression_value_return expression_value267 = null;
+ DRLParser.expression_value_return expression_value263 = null;
- Object LEFT_PAREN264_tree=null;
- Object COMMA266_tree=null;
- Object RIGHT_PAREN268_tree=null;
+ Object LEFT_PAREN260_tree=null;
+ Object COMMA262_tree=null;
+ Object RIGHT_PAREN264_tree=null;
- if ( state.backtracking==0 ) emit(Location.LOCATION_LHS_INSIDE_CONDITION_OPERATOR);
+ if ( state.backtracking==0 ) emit(Location.LOCATION_LHS_INSIDE_CONDITION_OPERATOR);
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1256:2: ( ( in_key | not_key in_key ) LEFT_PAREN expression_value ( COMMA expression_value )* RIGHT_PAREN )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1257:2: ( in_key | not_key in_key ) LEFT_PAREN expression_value ( COMMA expression_value )* RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1270:2: ( ( in_key | not_key in_key ) LEFT_PAREN expression_value ( COMMA expression_value )* RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1271:2: ( in_key | not_key in_key ) LEFT_PAREN expression_value ( COMMA expression_value )* RIGHT_PAREN
{
root_0 = (Object)adaptor.nil();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1257:2: ( in_key | not_key in_key )
- int alt91=2;
- int LA91_0 = input.LA(1);
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1271:2: ( in_key | not_key in_key )
+ int alt90=2;
+ int LA90_0 = input.LA(1);
- if ( (LA91_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))))) {
- int LA91_1 = input.LA(2);
+ if ( (LA90_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))))) {
+ int LA90_1 = input.LA(2);
- if ( (LA91_1==LEFT_PAREN) && (((validateIdentifierKey(DroolsSoftKeywords.IN))))) {
- alt91=1;
+ if ( (LA90_1==ID) && (((validateIdentifierKey(DroolsSoftKeywords.NOT))))) {
+ alt90=2;
}
- else if ( (LA91_1==ID) && (((validateIdentifierKey(DroolsSoftKeywords.NOT))))) {
- alt91=2;
+ else if ( (LA90_1==LEFT_PAREN) && (((validateIdentifierKey(DroolsSoftKeywords.IN))))) {
+ alt90=1;
}
else {
if (state.backtracking>0) {state.failed=true; return retval;}
NoViableAltException nvae =
- new NoViableAltException("", 91, 1, input);
+ new NoViableAltException("", 90, 1, input);
throw nvae;
}
@@ -11425,38 +11329,38 @@
else {
if (state.backtracking>0) {state.failed=true; return retval;}
NoViableAltException nvae =
- new NoViableAltException("", 91, 0, input);
+ new NoViableAltException("", 90, 0, input);
throw nvae;
}
- switch (alt91) {
+ switch (alt90) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1257:4: in_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1271:4: in_key
{
- pushFollow(FOLLOW_in_key_in_compound_operator4273);
- in_key261=in_key();
+ pushFollow(FOLLOW_in_key_in_compound_operator4231);
+ in_key257=in_key();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) root_0 = (Object)adaptor.becomeRoot(in_key261.getTree(), root_0);
+ if ( state.backtracking==0 ) root_0 = (Object)adaptor.becomeRoot(in_key257.getTree(), root_0);
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1257:14: not_key in_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1271:14: not_key in_key
{
- pushFollow(FOLLOW_not_key_in_compound_operator4278);
- not_key262=not_key();
+ pushFollow(FOLLOW_not_key_in_compound_operator4236);
+ not_key258=not_key();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) adaptor.addChild(root_0, not_key262.getTree());
- pushFollow(FOLLOW_in_key_in_compound_operator4280);
- in_key263=in_key();
+ if ( state.backtracking==0 ) adaptor.addChild(root_0, not_key258.getTree());
+ pushFollow(FOLLOW_in_key_in_compound_operator4238);
+ in_key259=in_key();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) root_0 = (Object)adaptor.becomeRoot(in_key263.getTree(), root_0);
+ if ( state.backtracking==0 ) root_0 = (Object)adaptor.becomeRoot(in_key259.getTree(), root_0);
}
break;
@@ -11466,57 +11370,57 @@
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_INSIDE_CONDITION_ARGUMENT);
}
- LEFT_PAREN264=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_compound_operator4291); if (state.failed) return retval;
+ LEFT_PAREN260=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_compound_operator4249); if (state.failed) return retval;
if ( state.backtracking==0 ) {
- emit(LEFT_PAREN264, DroolsEditorType.SYMBOL);
+ emit(LEFT_PAREN260, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_expression_value_in_compound_operator4299);
- expression_value265=expression_value();
+ pushFollow(FOLLOW_expression_value_in_compound_operator4257);
+ expression_value261=expression_value();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) adaptor.addChild(root_0, expression_value265.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1260:21: ( COMMA expression_value )*
- loop92:
+ if ( state.backtracking==0 ) adaptor.addChild(root_0, expression_value261.getTree());
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1274:21: ( COMMA expression_value )*
+ loop91:
do {
- int alt92=2;
- int LA92_0 = input.LA(1);
+ int alt91=2;
+ int LA91_0 = input.LA(1);
- if ( (LA92_0==COMMA) ) {
- alt92=1;
+ if ( (LA91_0==COMMA) ) {
+ alt91=1;
}
- switch (alt92) {
+ switch (alt91) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1260:23: COMMA expression_value
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1274:23: COMMA expression_value
{
- COMMA266=(Token)match(input,COMMA,FOLLOW_COMMA_in_compound_operator4303); if (state.failed) return retval;
+ COMMA262=(Token)match(input,COMMA,FOLLOW_COMMA_in_compound_operator4261); if (state.failed) return retval;
if ( state.backtracking==0 ) {
- emit(COMMA266, DroolsEditorType.SYMBOL);
+ emit(COMMA262, DroolsEditorType.SYMBOL);
}
- pushFollow(FOLLOW_expression_value_in_compound_operator4308);
- expression_value267=expression_value();
+ pushFollow(FOLLOW_expression_value_in_compound_operator4266);
+ expression_value263=expression_value();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) adaptor.addChild(root_0, expression_value267.getTree());
+ if ( state.backtracking==0 ) adaptor.addChild(root_0, expression_value263.getTree());
}
break;
default :
- break loop92;
+ break loop91;
}
} while (true);
- RIGHT_PAREN268=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_compound_operator4316); if (state.failed) return retval;
+ RIGHT_PAREN264=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_compound_operator4274); if (state.failed) return retval;
if ( state.backtracking==0 ) {
- RIGHT_PAREN268_tree = (Object)adaptor.create(RIGHT_PAREN268);
- adaptor.addChild(root_0, RIGHT_PAREN268_tree);
+ RIGHT_PAREN264_tree = (Object)adaptor.create(RIGHT_PAREN264);
+ adaptor.addChild(root_0, RIGHT_PAREN264_tree);
}
if ( state.backtracking==0 ) {
- emit(RIGHT_PAREN268, DroolsEditorType.SYMBOL);
+ emit(RIGHT_PAREN264, DroolsEditorType.SYMBOL);
}
if ( state.backtracking==0 ) {
emit(Location.LOCATION_LHS_INSIDE_CONDITION_END);
@@ -11556,7 +11460,7 @@
};
// $ANTLR start "operator_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1271:1: operator_key : {...}? =>id= ID -> VK_OPERATOR[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1285:1: operator_key : {...}? =>id= ID -> VK_OPERATOR[$id] ;
public final DRLParser.operator_key_return operator_key() throws RecognitionException {
DRLParser.operator_key_return retval = new DRLParser.operator_key_return();
retval.start = input.LT(1);
@@ -11569,14 +11473,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1272:2: ({...}? =>id= ID -> VK_OPERATOR[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1272:9: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1286:2: ({...}? =>id= ID -> VK_OPERATOR[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1286:9: {...}? =>id= ID
{
if ( !(((isPluggableEvaluator(false)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "operator_key", "(isPluggableEvaluator(false))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_operator_key4347); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_operator_key4305); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -11595,7 +11499,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1274:9: -> VK_OPERATOR[$id]
+ // 1288:9: -> VK_OPERATOR[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_OPERATOR, id));
@@ -11630,7 +11534,7 @@
};
// $ANTLR start "neg_operator_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1277:1: neg_operator_key : {...}? =>id= ID -> VK_OPERATOR[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1291:1: neg_operator_key : {...}? =>id= ID -> VK_OPERATOR[$id] ;
public final DRLParser.neg_operator_key_return neg_operator_key() throws RecognitionException {
DRLParser.neg_operator_key_return retval = new DRLParser.neg_operator_key_return();
retval.start = input.LT(1);
@@ -11643,14 +11547,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1278:2: ({...}? =>id= ID -> VK_OPERATOR[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1278:9: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1292:2: ({...}? =>id= ID -> VK_OPERATOR[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1292:9: {...}? =>id= ID
{
if ( !(((isPluggableEvaluator(true)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "neg_operator_key", "(isPluggableEvaluator(true))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_neg_operator_key4392); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_neg_operator_key4350); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -11669,7 +11573,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1280:9: -> VK_OPERATOR[$id]
+ // 1294:9: -> VK_OPERATOR[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_OPERATOR, id));
@@ -11704,33 +11608,33 @@
};
// $ANTLR start "expression_value"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1289:1: expression_value : ( accessor_path | literal_constraint | paren_chunk ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1297:1: expression_value : ( accessor_path | literal_constraint | paren_chunk ) ;
public final DRLParser.expression_value_return expression_value() throws RecognitionException {
DRLParser.expression_value_return retval = new DRLParser.expression_value_return();
retval.start = input.LT(1);
Object root_0 = null;
- DRLParser.accessor_path_return accessor_path269 = null;
+ DRLParser.accessor_path_return accessor_path265 = null;
- DRLParser.literal_constraint_return literal_constraint270 = null;
+ DRLParser.literal_constraint_return literal_constraint266 = null;
- DRLParser.paren_chunk_return paren_chunk271 = null;
+ DRLParser.paren_chunk_return paren_chunk267 = null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1290:2: ( ( accessor_path | literal_constraint | paren_chunk ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1290:4: ( accessor_path | literal_constraint | paren_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1298:2: ( ( accessor_path | literal_constraint | paren_chunk ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1298:4: ( accessor_path | literal_constraint | paren_chunk )
{
root_0 = (Object)adaptor.nil();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1290:4: ( accessor_path | literal_constraint | paren_chunk )
- int alt93=3;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1298:4: ( accessor_path | literal_constraint | paren_chunk )
+ int alt92=3;
switch ( input.LA(1) ) {
case ID:
{
- alt93=1;
+ alt92=1;
}
break;
case STRING:
@@ -11739,56 +11643,56 @@
case FLOAT:
case NULL:
{
- alt93=2;
+ alt92=2;
}
break;
case LEFT_PAREN:
{
- alt93=3;
+ alt92=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return retval;}
NoViableAltException nvae =
- new NoViableAltException("", 93, 0, input);
+ new NoViableAltException("", 92, 0, input);
throw nvae;
}
- switch (alt93) {
+ switch (alt92) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1290:5: accessor_path
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1298:5: accessor_path
{
- pushFollow(FOLLOW_accessor_path_in_expression_value4432);
- accessor_path269=accessor_path();
+ pushFollow(FOLLOW_accessor_path_in_expression_value4387);
+ accessor_path265=accessor_path();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) adaptor.addChild(root_0, accessor_path269.getTree());
+ if ( state.backtracking==0 ) adaptor.addChild(root_0, accessor_path265.getTree());
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1291:4: literal_constraint
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1299:4: literal_constraint
{
- pushFollow(FOLLOW_literal_constraint_in_expression_value4437);
- literal_constraint270=literal_constraint();
+ pushFollow(FOLLOW_literal_constraint_in_expression_value4392);
+ literal_constraint266=literal_constraint();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) adaptor.addChild(root_0, literal_constraint270.getTree());
+ if ( state.backtracking==0 ) adaptor.addChild(root_0, literal_constraint266.getTree());
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1292:4: paren_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1300:4: paren_chunk
{
- pushFollow(FOLLOW_paren_chunk_in_expression_value4443);
- paren_chunk271=paren_chunk();
+ pushFollow(FOLLOW_paren_chunk_in_expression_value4398);
+ paren_chunk267=paren_chunk();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) adaptor.addChild(root_0, paren_chunk271.getTree());
+ if ( state.backtracking==0 ) adaptor.addChild(root_0, paren_chunk267.getTree());
}
break;
@@ -11837,139 +11741,139 @@
};
// $ANTLR start "literal_constraint"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1306:1: literal_constraint : ( STRING | INT | FLOAT | BOOL | NULL );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1314:1: literal_constraint : ( STRING | INT | FLOAT | BOOL | NULL );
public final DRLParser.literal_constraint_return literal_constraint() throws RecognitionException {
DRLParser.literal_constraint_return retval = new DRLParser.literal_constraint_return();
retval.start = input.LT(1);
Object root_0 = null;
- Token STRING272=null;
- Token INT273=null;
- Token FLOAT274=null;
- Token BOOL275=null;
- Token NULL276=null;
+ Token STRING268=null;
+ Token INT269=null;
+ Token FLOAT270=null;
+ Token BOOL271=null;
+ Token NULL272=null;
- Object STRING272_tree=null;
- Object INT273_tree=null;
- Object FLOAT274_tree=null;
- Object BOOL275_tree=null;
- Object NULL276_tree=null;
+ Object STRING268_tree=null;
+ Object INT269_tree=null;
+ Object FLOAT270_tree=null;
+ Object BOOL271_tree=null;
+ Object NULL272_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1307:2: ( STRING | INT | FLOAT | BOOL | NULL )
- int alt94=5;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1315:2: ( STRING | INT | FLOAT | BOOL | NULL )
+ int alt93=5;
switch ( input.LA(1) ) {
case STRING:
{
- alt94=1;
+ alt93=1;
}
break;
case INT:
{
- alt94=2;
+ alt93=2;
}
break;
case FLOAT:
{
- alt94=3;
+ alt93=3;
}
break;
case BOOL:
{
- alt94=4;
+ alt93=4;
}
break;
case NULL:
{
- alt94=5;
+ alt93=5;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return retval;}
NoViableAltException nvae =
- new NoViableAltException("", 94, 0, input);
+ new NoViableAltException("", 93, 0, input);
throw nvae;
}
- switch (alt94) {
+ switch (alt93) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1307:4: STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1315:4: STRING
{
root_0 = (Object)adaptor.nil();
- STRING272=(Token)match(input,STRING,FOLLOW_STRING_in_literal_constraint4462); if (state.failed) return retval;
+ STRING268=(Token)match(input,STRING,FOLLOW_STRING_in_literal_constraint4417); if (state.failed) return retval;
if ( state.backtracking==0 ) {
- STRING272_tree = (Object)adaptor.create(STRING272);
- adaptor.addChild(root_0, STRING272_tree);
+ STRING268_tree = (Object)adaptor.create(STRING268);
+ adaptor.addChild(root_0, STRING268_tree);
}
if ( state.backtracking==0 ) {
- emit(STRING272, DroolsEditorType.STRING_CONST);
+ emit(STRING268, DroolsEditorType.STRING_CONST);
}
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1308:4: INT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1316:4: INT
{
root_0 = (Object)adaptor.nil();
- INT273=(Token)match(input,INT,FOLLOW_INT_in_literal_constraint4469); if (state.failed) return retval;
+ INT269=(Token)match(input,INT,FOLLOW_INT_in_literal_constraint4424); if (state.failed) return retval;
if ( state.backtracking==0 ) {
- INT273_tree = (Object)adaptor.create(INT273);
- adaptor.addChild(root_0, INT273_tree);
+ INT269_tree = (Object)adaptor.create(INT269);
+ adaptor.addChild(root_0, INT269_tree);
}
if ( state.backtracking==0 ) {
- emit(INT273, DroolsEditorType.NUMERIC_CONST);
+ emit(INT269, DroolsEditorType.NUMERIC_CONST);
}
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1309:4: FLOAT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1317:4: FLOAT
{
root_0 = (Object)adaptor.nil();
- FLOAT274=(Token)match(input,FLOAT,FOLLOW_FLOAT_in_literal_constraint4476); if (state.failed) return retval;
+ FLOAT270=(Token)match(input,FLOAT,FOLLOW_FLOAT_in_literal_constraint4431); if (state.failed) return retval;
if ( state.backtracking==0 ) {
- FLOAT274_tree = (Object)adaptor.create(FLOAT274);
- adaptor.addChild(root_0, FLOAT274_tree);
+ FLOAT270_tree = (Object)adaptor.create(FLOAT270);
+ adaptor.addChild(root_0, FLOAT270_tree);
}
if ( state.backtracking==0 ) {
- emit(FLOAT274, DroolsEditorType.NUMERIC_CONST);
+ emit(FLOAT270, DroolsEditorType.NUMERIC_CONST);
}
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1310:4: BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1318:4: BOOL
{
root_0 = (Object)adaptor.nil();
- BOOL275=(Token)match(input,BOOL,FOLLOW_BOOL_in_literal_constraint4483); if (state.failed) return retval;
+ BOOL271=(Token)match(input,BOOL,FOLLOW_BOOL_in_literal_constraint4438); if (state.failed) return retval;
if ( state.backtracking==0 ) {
- BOOL275_tree = (Object)adaptor.create(BOOL275);
- adaptor.addChild(root_0, BOOL275_tree);
+ BOOL271_tree = (Object)adaptor.create(BOOL271);
+ adaptor.addChild(root_0, BOOL271_tree);
}
if ( state.backtracking==0 ) {
- emit(BOOL275, DroolsEditorType.BOOLEAN_CONST);
+ emit(BOOL271, DroolsEditorType.BOOLEAN_CONST);
}
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1311:4: NULL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1319:4: NULL
{
root_0 = (Object)adaptor.nil();
- NULL276=(Token)match(input,NULL,FOLLOW_NULL_in_literal_constraint4490); if (state.failed) return retval;
+ NULL272=(Token)match(input,NULL,FOLLOW_NULL_in_literal_constraint4445); if (state.failed) return retval;
if ( state.backtracking==0 ) {
- NULL276_tree = (Object)adaptor.create(NULL276);
- adaptor.addChild(root_0, NULL276_tree);
+ NULL272_tree = (Object)adaptor.create(NULL272);
+ adaptor.addChild(root_0, NULL272_tree);
}
if ( state.backtracking==0 ) {
- emit(NULL276, DroolsEditorType.NULL_CONST);
+ emit(NULL272, DroolsEditorType.NULL_CONST);
}
}
@@ -12002,7 +11906,7 @@
};
// $ANTLR start "pattern_type"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1314:1: pattern_type : id+= ID (id+= DOT id+= ID )* ( dimension_definition )* -> ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1322:1: pattern_type : id+= ID (id+= DOT id+= ID )* ( dimension_definition )* -> ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* ) ;
public final DRLParser.pattern_type_return pattern_type() throws RecognitionException {
DRLParser.pattern_type_return retval = new DRLParser.pattern_type_return();
retval.start = input.LT(1);
@@ -12011,7 +11915,7 @@
Token id=null;
List list_id=null;
- DRLParser.dimension_definition_return dimension_definition277 = null;
+ DRLParser.dimension_definition_return dimension_definition273 = null;
Object id_tree=null;
@@ -12019,37 +11923,37 @@
RewriteRuleTokenStream stream_DOT=new RewriteRuleTokenStream(adaptor,"token DOT");
RewriteRuleSubtreeStream stream_dimension_definition=new RewriteRuleSubtreeStream(adaptor,"rule dimension_definition");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1315:2: (id+= ID (id+= DOT id+= ID )* ( dimension_definition )* -> ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1315:4: id+= ID (id+= DOT id+= ID )* ( dimension_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1323:2: (id+= ID (id+= DOT id+= ID )* ( dimension_definition )* -> ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1323:4: id+= ID (id+= DOT id+= ID )* ( dimension_definition )*
{
- id=(Token)match(input,ID,FOLLOW_ID_in_pattern_type4505); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_pattern_type4460); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if (list_id==null) list_id=new ArrayList();
list_id.add(id);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1315:11: (id+= DOT id+= ID )*
- loop95:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1323:11: (id+= DOT id+= ID )*
+ loop94:
do {
- int alt95=2;
- int LA95_0 = input.LA(1);
+ int alt94=2;
+ int LA94_0 = input.LA(1);
- if ( (LA95_0==DOT) ) {
- alt95=1;
+ if ( (LA94_0==DOT) ) {
+ alt94=1;
}
- switch (alt95) {
+ switch (alt94) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1315:13: id+= DOT id+= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1323:13: id+= DOT id+= ID
{
- id=(Token)match(input,DOT,FOLLOW_DOT_in_pattern_type4511); if (state.failed) return retval;
+ id=(Token)match(input,DOT,FOLLOW_DOT_in_pattern_type4466); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_DOT.add(id);
if (list_id==null) list_id=new ArrayList();
list_id.add(id);
- id=(Token)match(input,ID,FOLLOW_ID_in_pattern_type4515); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_pattern_type4470); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if (list_id==null) list_id=new ArrayList();
@@ -12060,7 +11964,7 @@
break;
default :
- break loop95;
+ break loop94;
}
} while (true);
@@ -12068,33 +11972,33 @@
emit(list_id, DroolsEditorType.IDENTIFIER);
setParaphrasesValue(DroolsParaphraseTypes.PATTERN, buildStringFromTokens(list_id));
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1318:6: ( dimension_definition )*
- loop96:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1326:6: ( dimension_definition )*
+ loop95:
do {
- int alt96=2;
- int LA96_0 = input.LA(1);
+ int alt95=2;
+ int LA95_0 = input.LA(1);
- if ( (LA96_0==LEFT_SQUARE) ) {
- alt96=1;
+ if ( (LA95_0==LEFT_SQUARE) ) {
+ alt95=1;
}
- switch (alt96) {
+ switch (alt95) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1318:6: dimension_definition
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1326:6: dimension_definition
{
- pushFollow(FOLLOW_dimension_definition_in_pattern_type4530);
- dimension_definition277=dimension_definition();
+ pushFollow(FOLLOW_dimension_definition_in_pattern_type4485);
+ dimension_definition273=dimension_definition();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) stream_dimension_definition.add(dimension_definition277.getTree());
+ if ( state.backtracking==0 ) stream_dimension_definition.add(dimension_definition273.getTree());
}
break;
default :
- break loop96;
+ break loop95;
}
} while (true);
@@ -12111,9 +12015,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1319:3: -> ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* )
+ // 1327:3: -> ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1319:6: ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1327:6: ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_PATTERN_TYPE, "VT_PATTERN_TYPE"), root_1);
@@ -12126,7 +12030,7 @@
}
stream_ID.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1319:28: ( dimension_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1327:28: ( dimension_definition )*
while ( stream_dimension_definition.hasNext() ) {
adaptor.addChild(root_1, stream_dimension_definition.nextTree());
@@ -12167,7 +12071,7 @@
};
// $ANTLR start "data_type"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1322:1: data_type : id+= ID (id+= DOT id+= ID )* ( dimension_definition )* -> ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1330:1: data_type : id+= ID (id+= DOT id+= ID )* ( dimension_definition )* -> ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* ) ;
public final DRLParser.data_type_return data_type() throws RecognitionException {
DRLParser.data_type_return retval = new DRLParser.data_type_return();
retval.start = input.LT(1);
@@ -12176,7 +12080,7 @@
Token id=null;
List list_id=null;
- DRLParser.dimension_definition_return dimension_definition278 = null;
+ DRLParser.dimension_definition_return dimension_definition274 = null;
Object id_tree=null;
@@ -12184,37 +12088,37 @@
RewriteRuleTokenStream stream_DOT=new RewriteRuleTokenStream(adaptor,"token DOT");
RewriteRuleSubtreeStream stream_dimension_definition=new RewriteRuleSubtreeStream(adaptor,"rule dimension_definition");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1323:2: (id+= ID (id+= DOT id+= ID )* ( dimension_definition )* -> ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1323:4: id+= ID (id+= DOT id+= ID )* ( dimension_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1331:2: (id+= ID (id+= DOT id+= ID )* ( dimension_definition )* -> ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1331:4: id+= ID (id+= DOT id+= ID )* ( dimension_definition )*
{
- id=(Token)match(input,ID,FOLLOW_ID_in_data_type4558); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_data_type4513); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if (list_id==null) list_id=new ArrayList();
list_id.add(id);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1323:11: (id+= DOT id+= ID )*
- loop97:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1331:11: (id+= DOT id+= ID )*
+ loop96:
do {
- int alt97=2;
- int LA97_0 = input.LA(1);
+ int alt96=2;
+ int LA96_0 = input.LA(1);
- if ( (LA97_0==DOT) ) {
- alt97=1;
+ if ( (LA96_0==DOT) ) {
+ alt96=1;
}
- switch (alt97) {
+ switch (alt96) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1323:13: id+= DOT id+= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1331:13: id+= DOT id+= ID
{
- id=(Token)match(input,DOT,FOLLOW_DOT_in_data_type4564); if (state.failed) return retval;
+ id=(Token)match(input,DOT,FOLLOW_DOT_in_data_type4519); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_DOT.add(id);
if (list_id==null) list_id=new ArrayList();
list_id.add(id);
- id=(Token)match(input,ID,FOLLOW_ID_in_data_type4568); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_data_type4523); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if (list_id==null) list_id=new ArrayList();
@@ -12225,37 +12129,37 @@
break;
default :
- break loop97;
+ break loop96;
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1323:31: ( dimension_definition )*
- loop98:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1331:31: ( dimension_definition )*
+ loop97:
do {
- int alt98=2;
- int LA98_0 = input.LA(1);
+ int alt97=2;
+ int LA97_0 = input.LA(1);
- if ( (LA98_0==LEFT_SQUARE) ) {
- alt98=1;
+ if ( (LA97_0==LEFT_SQUARE) ) {
+ alt97=1;
}
- switch (alt98) {
+ switch (alt97) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1323:31: dimension_definition
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1331:31: dimension_definition
{
- pushFollow(FOLLOW_dimension_definition_in_data_type4573);
- dimension_definition278=dimension_definition();
+ pushFollow(FOLLOW_dimension_definition_in_data_type4528);
+ dimension_definition274=dimension_definition();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) stream_dimension_definition.add(dimension_definition278.getTree());
+ if ( state.backtracking==0 ) stream_dimension_definition.add(dimension_definition274.getTree());
}
break;
default :
- break loop98;
+ break loop97;
}
} while (true);
@@ -12275,9 +12179,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1325:3: -> ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* )
+ // 1333:3: -> ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1325:6: ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1333:6: ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_DATA_TYPE, "VT_DATA_TYPE"), root_1);
@@ -12290,7 +12194,7 @@
}
stream_ID.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1325:25: ( dimension_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1333:25: ( dimension_definition )*
while ( stream_dimension_definition.hasNext() ) {
adaptor.addChild(root_1, stream_dimension_definition.nextTree());
@@ -12331,40 +12235,40 @@
};
// $ANTLR start "dimension_definition"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1328:1: dimension_definition : LEFT_SQUARE RIGHT_SQUARE ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1336:1: dimension_definition : LEFT_SQUARE RIGHT_SQUARE ;
public final DRLParser.dimension_definition_return dimension_definition() throws RecognitionException {
DRLParser.dimension_definition_return retval = new DRLParser.dimension_definition_return();
retval.start = input.LT(1);
Object root_0 = null;
- Token LEFT_SQUARE279=null;
- Token RIGHT_SQUARE280=null;
+ Token LEFT_SQUARE275=null;
+ Token RIGHT_SQUARE276=null;
- Object LEFT_SQUARE279_tree=null;
- Object RIGHT_SQUARE280_tree=null;
+ Object LEFT_SQUARE275_tree=null;
+ Object RIGHT_SQUARE276_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1329:2: ( LEFT_SQUARE RIGHT_SQUARE )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1329:4: LEFT_SQUARE RIGHT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1337:2: ( LEFT_SQUARE RIGHT_SQUARE )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1337:4: LEFT_SQUARE RIGHT_SQUARE
{
root_0 = (Object)adaptor.nil();
- LEFT_SQUARE279=(Token)match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_dimension_definition4602); if (state.failed) return retval;
+ LEFT_SQUARE275=(Token)match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_dimension_definition4557); if (state.failed) return retval;
if ( state.backtracking==0 ) {
- LEFT_SQUARE279_tree = (Object)adaptor.create(LEFT_SQUARE279);
- adaptor.addChild(root_0, LEFT_SQUARE279_tree);
+ LEFT_SQUARE275_tree = (Object)adaptor.create(LEFT_SQUARE275);
+ adaptor.addChild(root_0, LEFT_SQUARE275_tree);
}
if ( state.backtracking==0 ) {
- emit(LEFT_SQUARE279, DroolsEditorType.SYMBOL);
+ emit(LEFT_SQUARE275, DroolsEditorType.SYMBOL);
}
- RIGHT_SQUARE280=(Token)match(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_dimension_definition4609); if (state.failed) return retval;
+ RIGHT_SQUARE276=(Token)match(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_dimension_definition4564); if (state.failed) return retval;
if ( state.backtracking==0 ) {
- RIGHT_SQUARE280_tree = (Object)adaptor.create(RIGHT_SQUARE280);
- adaptor.addChild(root_0, RIGHT_SQUARE280_tree);
+ RIGHT_SQUARE276_tree = (Object)adaptor.create(RIGHT_SQUARE276);
+ adaptor.addChild(root_0, RIGHT_SQUARE276_tree);
}
if ( state.backtracking==0 ) {
- emit(RIGHT_SQUARE280, DroolsEditorType.SYMBOL);
+ emit(RIGHT_SQUARE276, DroolsEditorType.SYMBOL);
}
}
@@ -12395,65 +12299,65 @@
};
// $ANTLR start "accessor_path"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1333:1: accessor_path : accessor_element ( DOT accessor_element )* -> ^( VT_ACCESSOR_PATH ( accessor_element )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1341:1: accessor_path : accessor_element ( DOT accessor_element )* -> ^( VT_ACCESSOR_PATH ( accessor_element )+ ) ;
public final DRLParser.accessor_path_return accessor_path() throws RecognitionException {
DRLParser.accessor_path_return retval = new DRLParser.accessor_path_return();
retval.start = input.LT(1);
Object root_0 = null;
- Token DOT282=null;
- DRLParser.accessor_element_return accessor_element281 = null;
+ Token DOT278=null;
+ DRLParser.accessor_element_return accessor_element277 = null;
- DRLParser.accessor_element_return accessor_element283 = null;
+ DRLParser.accessor_element_return accessor_element279 = null;
- Object DOT282_tree=null;
+ Object DOT278_tree=null;
RewriteRuleTokenStream stream_DOT=new RewriteRuleTokenStream(adaptor,"token DOT");
RewriteRuleSubtreeStream stream_accessor_element=new RewriteRuleSubtreeStream(adaptor,"rule accessor_element");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1334:2: ( accessor_element ( DOT accessor_element )* -> ^( VT_ACCESSOR_PATH ( accessor_element )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1334:4: accessor_element ( DOT accessor_element )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1342:2: ( accessor_element ( DOT accessor_element )* -> ^( VT_ACCESSOR_PATH ( accessor_element )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1342:4: accessor_element ( DOT accessor_element )*
{
- pushFollow(FOLLOW_accessor_element_in_accessor_path4623);
- accessor_element281=accessor_element();
+ pushFollow(FOLLOW_accessor_element_in_accessor_path4578);
+ accessor_element277=accessor_element();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) stream_accessor_element.add(accessor_element281.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1334:21: ( DOT accessor_element )*
- loop99:
+ if ( state.backtracking==0 ) stream_accessor_element.add(accessor_element277.getTree());
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1342:21: ( DOT accessor_element )*
+ loop98:
do {
- int alt99=2;
- int LA99_0 = input.LA(1);
+ int alt98=2;
+ int LA98_0 = input.LA(1);
- if ( (LA99_0==DOT) ) {
- alt99=1;
+ if ( (LA98_0==DOT) ) {
+ alt98=1;
}
- switch (alt99) {
+ switch (alt98) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1334:23: DOT accessor_element
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1342:23: DOT accessor_element
{
- DOT282=(Token)match(input,DOT,FOLLOW_DOT_in_accessor_path4627); if (state.failed) return retval;
- if ( state.backtracking==0 ) stream_DOT.add(DOT282);
+ DOT278=(Token)match(input,DOT,FOLLOW_DOT_in_accessor_path4582); if (state.failed) return retval;
+ if ( state.backtracking==0 ) stream_DOT.add(DOT278);
if ( state.backtracking==0 ) {
- emit(DOT282, DroolsEditorType.IDENTIFIER);
+ emit(DOT278, DroolsEditorType.IDENTIFIER);
}
- pushFollow(FOLLOW_accessor_element_in_accessor_path4631);
- accessor_element283=accessor_element();
+ pushFollow(FOLLOW_accessor_element_in_accessor_path4586);
+ accessor_element279=accessor_element();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) stream_accessor_element.add(accessor_element283.getTree());
+ if ( state.backtracking==0 ) stream_accessor_element.add(accessor_element279.getTree());
}
break;
default :
- break loop99;
+ break loop98;
}
} while (true);
@@ -12470,9 +12374,9 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1335:2: -> ^( VT_ACCESSOR_PATH ( accessor_element )+ )
+ // 1343:2: -> ^( VT_ACCESSOR_PATH ( accessor_element )+ )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1335:5: ^( VT_ACCESSOR_PATH ( accessor_element )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1343:5: ^( VT_ACCESSOR_PATH ( accessor_element )+ )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_ACCESSOR_PATH, "VT_ACCESSOR_PATH"), root_1);
@@ -12520,57 +12424,57 @@
};
// $ANTLR start "accessor_element"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1338:1: accessor_element : ID ( square_chunk )* -> ^( VT_ACCESSOR_ELEMENT ID ( square_chunk )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1346:1: accessor_element : ID ( square_chunk )* -> ^( VT_ACCESSOR_ELEMENT ID ( square_chunk )* ) ;
public final DRLParser.accessor_element_return accessor_element() throws RecognitionException {
DRLParser.accessor_element_return retval = new DRLParser.accessor_element_return();
retval.start = input.LT(1);
Object root_0 = null;
- Token ID284=null;
- DRLParser.square_chunk_return square_chunk285 = null;
+ Token ID280=null;
+ DRLParser.square_chunk_return square_chunk281 = null;
- Object ID284_tree=null;
+ Object ID280_tree=null;
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
RewriteRuleSubtreeStream stream_square_chunk=new RewriteRuleSubtreeStream(adaptor,"rule square_chunk");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1339:2: ( ID ( square_chunk )* -> ^( VT_ACCESSOR_ELEMENT ID ( square_chunk )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1339:4: ID ( square_chunk )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1347:2: ( ID ( square_chunk )* -> ^( VT_ACCESSOR_ELEMENT ID ( square_chunk )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1347:4: ID ( square_chunk )*
{
- ID284=(Token)match(input,ID,FOLLOW_ID_in_accessor_element4655); if (state.failed) return retval;
- if ( state.backtracking==0 ) stream_ID.add(ID284);
+ ID280=(Token)match(input,ID,FOLLOW_ID_in_accessor_element4610); if (state.failed) return retval;
+ if ( state.backtracking==0 ) stream_ID.add(ID280);
if ( state.backtracking==0 ) {
- emit(ID284, DroolsEditorType.IDENTIFIER);
+ emit(ID280, DroolsEditorType.IDENTIFIER);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1340:3: ( square_chunk )*
- loop100:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1348:3: ( square_chunk )*
+ loop99:
do {
- int alt100=2;
- int LA100_0 = input.LA(1);
+ int alt99=2;
+ int LA99_0 = input.LA(1);
- if ( (LA100_0==LEFT_SQUARE) ) {
- alt100=1;
+ if ( (LA99_0==LEFT_SQUARE) ) {
+ alt99=1;
}
- switch (alt100) {
+ switch (alt99) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1340:3: square_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1348:3: square_chunk
{
- pushFollow(FOLLOW_square_chunk_in_accessor_element4661);
- square_chunk285=square_chunk();
+ pushFollow(FOLLOW_square_chunk_in_accessor_element4616);
+ square_chunk281=square_chunk();
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) stream_square_chunk.add(square_chunk285.getTree());
+ if ( state.backtracking==0 ) stream_square_chunk.add(square_chunk281.getTree());
}
break;
default :
- break loop100;
+ break loop99;
}
} while (true);
@@ -12587,15 +12491,15 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1341:2: -> ^( VT_ACCESSOR_ELEMENT ID ( square_chunk )* )
+ // 1349:2: -> ^( VT_ACCESSOR_ELEMENT ID ( square_chunk )* )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1341:5: ^( VT_ACCESSOR_ELEMENT ID ( square_chunk )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1349:5: ^( VT_ACCESSOR_ELEMENT ID ( square_chunk )* )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_ACCESSOR_ELEMENT, "VT_ACCESSOR_ELEMENT"), root_1);
adaptor.addChild(root_1, stream_ID.nextNode());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1341:30: ( square_chunk )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1349:30: ( square_chunk )*
while ( stream_square_chunk.hasNext() ) {
adaptor.addChild(root_1, stream_square_chunk.nextTree());
@@ -12636,7 +12540,7 @@
};
// $ANTLR start "rhs_chunk"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1344:1: rhs_chunk : rc= rhs_chunk_data -> VT_RHS_CHUNK[$rc.start,text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1352:1: rhs_chunk : rc= rhs_chunk_data -> VT_RHS_CHUNK[$rc.start,text] ;
public final DRLParser.rhs_chunk_return rhs_chunk() throws RecognitionException {
DRLParser.rhs_chunk_return retval = new DRLParser.rhs_chunk_return();
retval.start = input.LT(1);
@@ -12651,10 +12555,10 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1347:3: (rc= rhs_chunk_data -> VT_RHS_CHUNK[$rc.start,text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1347:5: rc= rhs_chunk_data
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1355:3: (rc= rhs_chunk_data -> VT_RHS_CHUNK[$rc.start,text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1355:5: rc= rhs_chunk_data
{
- pushFollow(FOLLOW_rhs_chunk_data_in_rhs_chunk4690);
+ pushFollow(FOLLOW_rhs_chunk_data_in_rhs_chunk4645);
rc=rhs_chunk_data();
state._fsp--;
@@ -12676,7 +12580,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1348:2: -> VT_RHS_CHUNK[$rc.start,text]
+ // 1356:2: -> VT_RHS_CHUNK[$rc.start,text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_RHS_CHUNK, (rc!=null?((Token)rc.start):null), text));
@@ -12711,7 +12615,7 @@
};
// $ANTLR start "rhs_chunk_data"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1351:1: rhs_chunk_data : THEN (any=~ END )* end1= END ( SEMICOLON )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1359:1: rhs_chunk_data : THEN (any=~ END )* end1= END ( SEMICOLON )? ;
public final DRLParser.rhs_chunk_data_return rhs_chunk_data() throws RecognitionException {
DRLParser.rhs_chunk_data_return retval = new DRLParser.rhs_chunk_data_return();
retval.start = input.LT(1);
@@ -12720,45 +12624,45 @@
Token any=null;
Token end1=null;
- Token THEN286=null;
- Token SEMICOLON287=null;
+ Token THEN282=null;
+ Token SEMICOLON283=null;
Object any_tree=null;
Object end1_tree=null;
- Object THEN286_tree=null;
- Object SEMICOLON287_tree=null;
+ Object THEN282_tree=null;
+ Object SEMICOLON283_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1352:2: ( THEN (any=~ END )* end1= END ( SEMICOLON )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1352:4: THEN (any=~ END )* end1= END ( SEMICOLON )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1360:2: ( THEN (any=~ END )* end1= END ( SEMICOLON )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1360:4: THEN (any=~ END )* end1= END ( SEMICOLON )?
{
root_0 = (Object)adaptor.nil();
- THEN286=(Token)match(input,THEN,FOLLOW_THEN_in_rhs_chunk_data4709); if (state.failed) return retval;
+ THEN282=(Token)match(input,THEN,FOLLOW_THEN_in_rhs_chunk_data4664); if (state.failed) return retval;
if ( state.backtracking==0 ) {
- THEN286_tree = (Object)adaptor.create(THEN286);
- adaptor.addChild(root_0, THEN286_tree);
+ THEN282_tree = (Object)adaptor.create(THEN282);
+ adaptor.addChild(root_0, THEN282_tree);
}
if ( state.backtracking==0 ) {
- if ((THEN286!=null?THEN286.getText():null).equalsIgnoreCase("then")){
- emit(THEN286, DroolsEditorType.KEYWORD);
+ if ((THEN282!=null?THEN282.getText():null).equalsIgnoreCase("then")){
+ emit(THEN282, DroolsEditorType.KEYWORD);
emit(Location.LOCATION_RHS);
}
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1357:4: (any=~ END )*
- loop101:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1365:4: (any=~ END )*
+ loop100:
do {
- int alt101=2;
- int LA101_0 = input.LA(1);
+ int alt100=2;
+ int LA100_0 = input.LA(1);
- if ( ((LA101_0>=VT_COMPILATION_UNIT && LA101_0<=DOT_STAR)||(LA101_0>=STRING && LA101_0<=MULTI_LINE_COMMENT)) ) {
- alt101=1;
+ if ( ((LA100_0>=VT_COMPILATION_UNIT && LA100_0<=DOT_STAR)||(LA100_0>=STRING && LA100_0<=MULTI_LINE_COMMENT)) ) {
+ alt100=1;
}
- switch (alt101) {
+ switch (alt100) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1357:6: any=~ END
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1365:6: any=~ END
{
any=(Token)input.LT(1);
if ( (input.LA(1)>=VT_COMPILATION_UNIT && input.LA(1)<=DOT_STAR)||(input.LA(1)>=STRING && input.LA(1)<=MULTI_LINE_COMMENT) ) {
@@ -12780,11 +12684,11 @@
break;
default :
- break loop101;
+ break loop100;
}
} while (true);
- end1=(Token)match(input,END,FOLLOW_END_in_rhs_chunk_data4735); if (state.failed) return retval;
+ end1=(Token)match(input,END,FOLLOW_END_in_rhs_chunk_data4690); if (state.failed) return retval;
if ( state.backtracking==0 ) {
end1_tree = (Object)adaptor.create(end1);
adaptor.addChild(root_0, end1_tree);
@@ -12792,21 +12696,21 @@
if ( state.backtracking==0 ) {
emit(end1, DroolsEditorType.KEYWORD);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1359:3: ( SEMICOLON )?
- int alt102=2;
- int LA102_0 = input.LA(1);
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1367:3: ( SEMICOLON )?
+ int alt101=2;
+ int LA101_0 = input.LA(1);
- if ( (LA102_0==SEMICOLON) ) {
- alt102=1;
+ if ( (LA101_0==SEMICOLON) ) {
+ alt101=1;
}
- switch (alt102) {
+ switch (alt101) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1359:3: SEMICOLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1367:3: SEMICOLON
{
- SEMICOLON287=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_rhs_chunk_data4741); if (state.failed) return retval;
+ SEMICOLON283=(Token)match(input,SEMICOLON,FOLLOW_SEMICOLON_in_rhs_chunk_data4696); if (state.failed) return retval;
if ( state.backtracking==0 ) {
- SEMICOLON287_tree = (Object)adaptor.create(SEMICOLON287);
- adaptor.addChild(root_0, SEMICOLON287_tree);
+ SEMICOLON283_tree = (Object)adaptor.create(SEMICOLON283);
+ adaptor.addChild(root_0, SEMICOLON283_tree);
}
}
@@ -12815,7 +12719,7 @@
}
if ( state.backtracking==0 ) {
- emit(SEMICOLON287, DroolsEditorType.KEYWORD);
+ emit(SEMICOLON283, DroolsEditorType.KEYWORD);
}
}
@@ -12846,7 +12750,7 @@
};
// $ANTLR start "curly_chunk"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1362:1: curly_chunk : cc= curly_chunk_data[false] -> VT_CURLY_CHUNK[$cc.start,text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1370:1: curly_chunk : cc= curly_chunk_data[false] -> VT_CURLY_CHUNK[$cc.start,text] ;
public final DRLParser.curly_chunk_return curly_chunk() throws RecognitionException {
DRLParser.curly_chunk_return retval = new DRLParser.curly_chunk_return();
retval.start = input.LT(1);
@@ -12861,10 +12765,10 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1365:3: (cc= curly_chunk_data[false] -> VT_CURLY_CHUNK[$cc.start,text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1365:5: cc= curly_chunk_data[false]
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1373:3: (cc= curly_chunk_data[false] -> VT_CURLY_CHUNK[$cc.start,text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1373:5: cc= curly_chunk_data[false]
{
- pushFollow(FOLLOW_curly_chunk_data_in_curly_chunk4760);
+ pushFollow(FOLLOW_curly_chunk_data_in_curly_chunk4715);
cc=curly_chunk_data(false);
state._fsp--;
@@ -12886,7 +12790,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1366:2: -> VT_CURLY_CHUNK[$cc.start,text]
+ // 1374:2: -> VT_CURLY_CHUNK[$cc.start,text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_CURLY_CHUNK, (cc!=null?((Token)cc.start):null), text));
@@ -12921,7 +12825,7 @@
};
// $ANTLR start "curly_chunk_data"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1369:1: curly_chunk_data[boolean isRecursive] : lc1= LEFT_CURLY (any=~ ( LEFT_CURLY | RIGHT_CURLY ) | curly_chunk_data[true] )* rc1= RIGHT_CURLY ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1377:1: curly_chunk_data[boolean isRecursive] : lc1= LEFT_CURLY (any=~ ( LEFT_CURLY | RIGHT_CURLY ) | curly_chunk_data[true] )* rc1= RIGHT_CURLY ;
public final DRLParser.curly_chunk_data_return curly_chunk_data(boolean isRecursive) throws RecognitionException {
DRLParser.curly_chunk_data_return retval = new DRLParser.curly_chunk_data_return();
retval.start = input.LT(1);
@@ -12931,7 +12835,7 @@
Token lc1=null;
Token any=null;
Token rc1=null;
- DRLParser.curly_chunk_data_return curly_chunk_data288 = null;
+ DRLParser.curly_chunk_data_return curly_chunk_data284 = null;
Object lc1_tree=null;
@@ -12939,12 +12843,12 @@
Object rc1_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1370:2: (lc1= LEFT_CURLY (any=~ ( LEFT_CURLY | RIGHT_CURLY ) | curly_chunk_data[true] )* rc1= RIGHT_CURLY )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1370:4: lc1= LEFT_CURLY (any=~ ( LEFT_CURLY | RIGHT_CURLY ) | curly_chunk_data[true] )* rc1= RIGHT_CURLY
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1378:2: (lc1= LEFT_CURLY (any=~ ( LEFT_CURLY | RIGHT_CURLY ) | curly_chunk_data[true] )* rc1= RIGHT_CURLY )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1378:4: lc1= LEFT_CURLY (any=~ ( LEFT_CURLY | RIGHT_CURLY ) | curly_chunk_data[true] )* rc1= RIGHT_CURLY
{
root_0 = (Object)adaptor.nil();
- lc1=(Token)match(input,LEFT_CURLY,FOLLOW_LEFT_CURLY_in_curly_chunk_data4783); if (state.failed) return retval;
+ lc1=(Token)match(input,LEFT_CURLY,FOLLOW_LEFT_CURLY_in_curly_chunk_data4738); if (state.failed) return retval;
if ( state.backtracking==0 ) {
lc1_tree = (Object)adaptor.create(lc1);
adaptor.addChild(root_0, lc1_tree);
@@ -12957,23 +12861,23 @@
}
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1377:4: (any=~ ( LEFT_CURLY | RIGHT_CURLY ) | curly_chunk_data[true] )*
- loop103:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1385:4: (any=~ ( LEFT_CURLY | RIGHT_CURLY ) | curly_chunk_data[true] )*
+ loop102:
do {
- int alt103=3;
- int LA103_0 = input.LA(1);
+ int alt102=3;
+ int LA102_0 = input.LA(1);
- if ( ((LA103_0>=VT_COMPILATION_UNIT && LA103_0<=THEN)||(LA103_0>=MISC && LA103_0<=MULTI_LINE_COMMENT)) ) {
- alt103=1;
+ if ( ((LA102_0>=VT_COMPILATION_UNIT && LA102_0<=THEN)||(LA102_0>=MISC && LA102_0<=MULTI_LINE_COMMENT)) ) {
+ alt102=1;
}
- else if ( (LA103_0==LEFT_CURLY) ) {
- alt103=2;
+ else if ( (LA102_0==LEFT_CURLY) ) {
+ alt102=2;
}
- switch (alt103) {
+ switch (alt102) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1377:5: any=~ ( LEFT_CURLY | RIGHT_CURLY )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1385:5: any=~ ( LEFT_CURLY | RIGHT_CURLY )
{
any=(Token)input.LT(1);
if ( (input.LA(1)>=VT_COMPILATION_UNIT && input.LA(1)<=THEN)||(input.LA(1)>=MISC && input.LA(1)<=MULTI_LINE_COMMENT) ) {
@@ -12994,24 +12898,24 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1377:87: curly_chunk_data[true]
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1385:87: curly_chunk_data[true]
{
- pushFollow(FOLLOW_curly_chunk_data_in_curly_chunk_data4811);
- curly_chunk_data288=curly_chunk_data(true);
+ pushFollow(FOLLOW_curly_chunk_data_in_curly_chunk_data4766);
+ curly_chunk_data284=curly_chunk_data(true);
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) adaptor.addChild(root_0, curly_chunk_data288.getTree());
+ if ( state.backtracking==0 ) adaptor.addChild(root_0, curly_chunk_data284.getTree());
}
break;
default :
- break loop103;
+ break loop102;
}
} while (true);
- rc1=(Token)match(input,RIGHT_CURLY,FOLLOW_RIGHT_CURLY_in_curly_chunk_data4822); if (state.failed) return retval;
+ rc1=(Token)match(input,RIGHT_CURLY,FOLLOW_RIGHT_CURLY_in_curly_chunk_data4777); if (state.failed) return retval;
if ( state.backtracking==0 ) {
rc1_tree = (Object)adaptor.create(rc1);
adaptor.addChild(root_0, rc1_tree);
@@ -13053,7 +12957,7 @@
};
// $ANTLR start "paren_chunk"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1387:1: paren_chunk : pc= paren_chunk_data[false] -> VT_PAREN_CHUNK[$pc.start,text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1395:1: paren_chunk : pc= paren_chunk_data[false] -> VT_PAREN_CHUNK[$pc.start,text] ;
public final DRLParser.paren_chunk_return paren_chunk() throws RecognitionException {
DRLParser.paren_chunk_return retval = new DRLParser.paren_chunk_return();
retval.start = input.LT(1);
@@ -13068,10 +12972,10 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1390:3: (pc= paren_chunk_data[false] -> VT_PAREN_CHUNK[$pc.start,text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1390:5: pc= paren_chunk_data[false]
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1398:3: (pc= paren_chunk_data[false] -> VT_PAREN_CHUNK[$pc.start,text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1398:5: pc= paren_chunk_data[false]
{
- pushFollow(FOLLOW_paren_chunk_data_in_paren_chunk4843);
+ pushFollow(FOLLOW_paren_chunk_data_in_paren_chunk4798);
pc=paren_chunk_data(false);
state._fsp--;
@@ -13093,7 +12997,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1391:2: -> VT_PAREN_CHUNK[$pc.start,text]
+ // 1399:2: -> VT_PAREN_CHUNK[$pc.start,text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_PAREN_CHUNK, (pc!=null?((Token)pc.start):null), text));
@@ -13128,7 +13032,7 @@
};
// $ANTLR start "paren_chunk_data"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1394:1: paren_chunk_data[boolean isRecursive] : lp1= LEFT_PAREN (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | paren_chunk_data[true] )* rp1= RIGHT_PAREN ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1402:1: paren_chunk_data[boolean isRecursive] : lp1= LEFT_PAREN (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | paren_chunk_data[true] )* rp1= RIGHT_PAREN ;
public final DRLParser.paren_chunk_data_return paren_chunk_data(boolean isRecursive) throws RecognitionException {
DRLParser.paren_chunk_data_return retval = new DRLParser.paren_chunk_data_return();
retval.start = input.LT(1);
@@ -13138,7 +13042,7 @@
Token lp1=null;
Token any=null;
Token rp1=null;
- DRLParser.paren_chunk_data_return paren_chunk_data289 = null;
+ DRLParser.paren_chunk_data_return paren_chunk_data285 = null;
Object lp1_tree=null;
@@ -13146,12 +13050,12 @@
Object rp1_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1395:2: (lp1= LEFT_PAREN (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | paren_chunk_data[true] )* rp1= RIGHT_PAREN )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1395:4: lp1= LEFT_PAREN (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | paren_chunk_data[true] )* rp1= RIGHT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1403:2: (lp1= LEFT_PAREN (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | paren_chunk_data[true] )* rp1= RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1403:4: lp1= LEFT_PAREN (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | paren_chunk_data[true] )* rp1= RIGHT_PAREN
{
root_0 = (Object)adaptor.nil();
- lp1=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_paren_chunk_data4867); if (state.failed) return retval;
+ lp1=(Token)match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_paren_chunk_data4822); if (state.failed) return retval;
if ( state.backtracking==0 ) {
lp1_tree = (Object)adaptor.create(lp1);
adaptor.addChild(root_0, lp1_tree);
@@ -13164,23 +13068,23 @@
}
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1402:4: (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | paren_chunk_data[true] )*
- loop104:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1410:4: (any=~ ( LEFT_PAREN | RIGHT_PAREN ) | paren_chunk_data[true] )*
+ loop103:
do {
- int alt104=3;
- int LA104_0 = input.LA(1);
+ int alt103=3;
+ int LA103_0 = input.LA(1);
- if ( ((LA104_0>=VT_COMPILATION_UNIT && LA104_0<=STRING)||LA104_0==COMMA||(LA104_0>=AT && LA104_0<=MULTI_LINE_COMMENT)) ) {
- alt104=1;
+ if ( ((LA103_0>=VT_COMPILATION_UNIT && LA103_0<=STRING)||LA103_0==COMMA||(LA103_0>=AT && LA103_0<=MULTI_LINE_COMMENT)) ) {
+ alt103=1;
}
- else if ( (LA104_0==LEFT_PAREN) ) {
- alt104=2;
+ else if ( (LA103_0==LEFT_PAREN) ) {
+ alt103=2;
}
- switch (alt104) {
+ switch (alt103) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1402:5: any=~ ( LEFT_PAREN | RIGHT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1410:5: any=~ ( LEFT_PAREN | RIGHT_PAREN )
{
any=(Token)input.LT(1);
if ( (input.LA(1)>=VT_COMPILATION_UNIT && input.LA(1)<=STRING)||input.LA(1)==COMMA||(input.LA(1)>=AT && input.LA(1)<=MULTI_LINE_COMMENT) ) {
@@ -13201,24 +13105,24 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1402:87: paren_chunk_data[true]
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1410:87: paren_chunk_data[true]
{
- pushFollow(FOLLOW_paren_chunk_data_in_paren_chunk_data4895);
- paren_chunk_data289=paren_chunk_data(true);
+ pushFollow(FOLLOW_paren_chunk_data_in_paren_chunk_data4850);
+ paren_chunk_data285=paren_chunk_data(true);
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) adaptor.addChild(root_0, paren_chunk_data289.getTree());
+ if ( state.backtracking==0 ) adaptor.addChild(root_0, paren_chunk_data285.getTree());
}
break;
default :
- break loop104;
+ break loop103;
}
} while (true);
- rp1=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_paren_chunk_data4906); if (state.failed) return retval;
+ rp1=(Token)match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_paren_chunk_data4861); if (state.failed) return retval;
if ( state.backtracking==0 ) {
rp1_tree = (Object)adaptor.create(rp1);
adaptor.addChild(root_0, rp1_tree);
@@ -13260,7 +13164,7 @@
};
// $ANTLR start "square_chunk"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1412:1: square_chunk : sc= square_chunk_data[false] -> VT_SQUARE_CHUNK[$sc.start,text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1420:1: square_chunk : sc= square_chunk_data[false] -> VT_SQUARE_CHUNK[$sc.start,text] ;
public final DRLParser.square_chunk_return square_chunk() throws RecognitionException {
DRLParser.square_chunk_return retval = new DRLParser.square_chunk_return();
retval.start = input.LT(1);
@@ -13275,10 +13179,10 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1415:3: (sc= square_chunk_data[false] -> VT_SQUARE_CHUNK[$sc.start,text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1415:5: sc= square_chunk_data[false]
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1423:3: (sc= square_chunk_data[false] -> VT_SQUARE_CHUNK[$sc.start,text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1423:5: sc= square_chunk_data[false]
{
- pushFollow(FOLLOW_square_chunk_data_in_square_chunk4927);
+ pushFollow(FOLLOW_square_chunk_data_in_square_chunk4882);
sc=square_chunk_data(false);
state._fsp--;
@@ -13300,7 +13204,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1416:2: -> VT_SQUARE_CHUNK[$sc.start,text]
+ // 1424:2: -> VT_SQUARE_CHUNK[$sc.start,text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VT_SQUARE_CHUNK, (sc!=null?((Token)sc.start):null), text));
@@ -13335,7 +13239,7 @@
};
// $ANTLR start "square_chunk_data"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1419:1: square_chunk_data[boolean isRecursive] : ls1= LEFT_SQUARE (any=~ ( LEFT_SQUARE | RIGHT_SQUARE ) | square_chunk_data[true] )* rs1= RIGHT_SQUARE ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1427:1: square_chunk_data[boolean isRecursive] : ls1= LEFT_SQUARE (any=~ ( LEFT_SQUARE | RIGHT_SQUARE ) | square_chunk_data[true] )* rs1= RIGHT_SQUARE ;
public final DRLParser.square_chunk_data_return square_chunk_data(boolean isRecursive) throws RecognitionException {
DRLParser.square_chunk_data_return retval = new DRLParser.square_chunk_data_return();
retval.start = input.LT(1);
@@ -13345,7 +13249,7 @@
Token ls1=null;
Token any=null;
Token rs1=null;
- DRLParser.square_chunk_data_return square_chunk_data290 = null;
+ DRLParser.square_chunk_data_return square_chunk_data286 = null;
Object ls1_tree=null;
@@ -13353,12 +13257,12 @@
Object rs1_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1420:2: (ls1= LEFT_SQUARE (any=~ ( LEFT_SQUARE | RIGHT_SQUARE ) | square_chunk_data[true] )* rs1= RIGHT_SQUARE )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1420:4: ls1= LEFT_SQUARE (any=~ ( LEFT_SQUARE | RIGHT_SQUARE ) | square_chunk_data[true] )* rs1= RIGHT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1428:2: (ls1= LEFT_SQUARE (any=~ ( LEFT_SQUARE | RIGHT_SQUARE ) | square_chunk_data[true] )* rs1= RIGHT_SQUARE )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1428:4: ls1= LEFT_SQUARE (any=~ ( LEFT_SQUARE | RIGHT_SQUARE ) | square_chunk_data[true] )* rs1= RIGHT_SQUARE
{
root_0 = (Object)adaptor.nil();
- ls1=(Token)match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_square_chunk_data4950); if (state.failed) return retval;
+ ls1=(Token)match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_square_chunk_data4905); if (state.failed) return retval;
if ( state.backtracking==0 ) {
ls1_tree = (Object)adaptor.create(ls1);
adaptor.addChild(root_0, ls1_tree);
@@ -13371,23 +13275,23 @@
}
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1427:4: (any=~ ( LEFT_SQUARE | RIGHT_SQUARE ) | square_chunk_data[true] )*
- loop105:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1435:4: (any=~ ( LEFT_SQUARE | RIGHT_SQUARE ) | square_chunk_data[true] )*
+ loop104:
do {
- int alt105=3;
- int LA105_0 = input.LA(1);
+ int alt104=3;
+ int LA104_0 = input.LA(1);
- if ( ((LA105_0>=VT_COMPILATION_UNIT && LA105_0<=NULL)||(LA105_0>=THEN && LA105_0<=MULTI_LINE_COMMENT)) ) {
- alt105=1;
+ if ( ((LA104_0>=VT_COMPILATION_UNIT && LA104_0<=NULL)||(LA104_0>=THEN && LA104_0<=MULTI_LINE_COMMENT)) ) {
+ alt104=1;
}
- else if ( (LA105_0==LEFT_SQUARE) ) {
- alt105=2;
+ else if ( (LA104_0==LEFT_SQUARE) ) {
+ alt104=2;
}
- switch (alt105) {
+ switch (alt104) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1427:5: any=~ ( LEFT_SQUARE | RIGHT_SQUARE )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1435:5: any=~ ( LEFT_SQUARE | RIGHT_SQUARE )
{
any=(Token)input.LT(1);
if ( (input.LA(1)>=VT_COMPILATION_UNIT && input.LA(1)<=NULL)||(input.LA(1)>=THEN && input.LA(1)<=MULTI_LINE_COMMENT) ) {
@@ -13408,24 +13312,24 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1427:88: square_chunk_data[true]
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1435:88: square_chunk_data[true]
{
- pushFollow(FOLLOW_square_chunk_data_in_square_chunk_data4977);
- square_chunk_data290=square_chunk_data(true);
+ pushFollow(FOLLOW_square_chunk_data_in_square_chunk_data4932);
+ square_chunk_data286=square_chunk_data(true);
state._fsp--;
if (state.failed) return retval;
- if ( state.backtracking==0 ) adaptor.addChild(root_0, square_chunk_data290.getTree());
+ if ( state.backtracking==0 ) adaptor.addChild(root_0, square_chunk_data286.getTree());
}
break;
default :
- break loop105;
+ break loop104;
}
} while (true);
- rs1=(Token)match(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_square_chunk_data4988); if (state.failed) return retval;
+ rs1=(Token)match(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_square_chunk_data4943); if (state.failed) return retval;
if ( state.backtracking==0 ) {
rs1_tree = (Object)adaptor.create(rs1);
adaptor.addChild(root_0, rs1_tree);
@@ -13467,7 +13371,7 @@
};
// $ANTLR start "lock_on_active_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1437:1: lock_on_active_key : {...}? =>id1= ID mis1= MISC id2= ID mis2= MISC id3= ID -> VK_LOCK_ON_ACTIVE[$start, text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1445:1: lock_on_active_key : {...}? =>id1= ID mis1= MISC id2= ID mis2= MISC id3= ID -> VK_LOCK_ON_ACTIVE[$start, text] ;
public final DRLParser.lock_on_active_key_return lock_on_active_key() throws RecognitionException {
DRLParser.lock_on_active_key_return retval = new DRLParser.lock_on_active_key_return();
retval.start = input.LT(1);
@@ -13492,26 +13396,26 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1440:3: ({...}? =>id1= ID mis1= MISC id2= ID mis2= MISC id3= ID -> VK_LOCK_ON_ACTIVE[$start, text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1440:5: {...}? =>id1= ID mis1= MISC id2= ID mis2= MISC id3= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1448:3: ({...}? =>id1= ID mis1= MISC id2= ID mis2= MISC id3= ID -> VK_LOCK_ON_ACTIVE[$start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1448:5: {...}? =>id1= ID mis1= MISC id2= ID mis2= MISC id3= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.LOCK) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.ON) && validateLT(4, "-") && validateLT(5, DroolsSoftKeywords.ACTIVE)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "lock_on_active_key", "(validateIdentifierKey(DroolsSoftKeywords.LOCK) && validateLT(2, \"-\") && validateLT(3, DroolsSoftKeywords.ON) && validateLT(4, \"-\") && validateLT(5, DroolsSoftKeywords.ACTIVE))");
}
- id1=(Token)match(input,ID,FOLLOW_ID_in_lock_on_active_key5012); if (state.failed) return retval;
+ id1=(Token)match(input,ID,FOLLOW_ID_in_lock_on_active_key4967); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id1);
- mis1=(Token)match(input,MISC,FOLLOW_MISC_in_lock_on_active_key5016); if (state.failed) return retval;
+ mis1=(Token)match(input,MISC,FOLLOW_MISC_in_lock_on_active_key4971); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_MISC.add(mis1);
- id2=(Token)match(input,ID,FOLLOW_ID_in_lock_on_active_key5020); if (state.failed) return retval;
+ id2=(Token)match(input,ID,FOLLOW_ID_in_lock_on_active_key4975); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id2);
- mis2=(Token)match(input,MISC,FOLLOW_MISC_in_lock_on_active_key5024); if (state.failed) return retval;
+ mis2=(Token)match(input,MISC,FOLLOW_MISC_in_lock_on_active_key4979); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_MISC.add(mis2);
- id3=(Token)match(input,ID,FOLLOW_ID_in_lock_on_active_key5028); if (state.failed) return retval;
+ id3=(Token)match(input,ID,FOLLOW_ID_in_lock_on_active_key4983); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id3);
if ( state.backtracking==0 ) {
@@ -13537,7 +13441,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1446:3: -> VK_LOCK_ON_ACTIVE[$start, text]
+ // 1454:3: -> VK_LOCK_ON_ACTIVE[$start, text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_LOCK_ON_ACTIVE, ((Token)retval.start), text));
@@ -13572,7 +13476,7 @@
};
// $ANTLR start "date_effective_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1449:1: date_effective_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_DATE_EFFECTIVE[$start, text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1457:1: date_effective_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_DATE_EFFECTIVE[$start, text] ;
public final DRLParser.date_effective_key_return date_effective_key() throws RecognitionException {
DRLParser.date_effective_key_return retval = new DRLParser.date_effective_key_return();
retval.start = input.LT(1);
@@ -13593,20 +13497,20 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1452:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_DATE_EFFECTIVE[$start, text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1452:5: {...}? =>id1= ID mis1= MISC id2= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1460:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_DATE_EFFECTIVE[$start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1460:5: {...}? =>id1= ID mis1= MISC id2= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EFFECTIVE)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "date_effective_key", "(validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, \"-\") && validateLT(3, DroolsSoftKeywords.EFFECTIVE))");
}
- id1=(Token)match(input,ID,FOLLOW_ID_in_date_effective_key5060); if (state.failed) return retval;
+ id1=(Token)match(input,ID,FOLLOW_ID_in_date_effective_key5015); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id1);
- mis1=(Token)match(input,MISC,FOLLOW_MISC_in_date_effective_key5064); if (state.failed) return retval;
+ mis1=(Token)match(input,MISC,FOLLOW_MISC_in_date_effective_key5019); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_MISC.add(mis1);
- id2=(Token)match(input,ID,FOLLOW_ID_in_date_effective_key5068); if (state.failed) return retval;
+ id2=(Token)match(input,ID,FOLLOW_ID_in_date_effective_key5023); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id2);
if ( state.backtracking==0 ) {
@@ -13630,7 +13534,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1456:3: -> VK_DATE_EFFECTIVE[$start, text]
+ // 1464:3: -> VK_DATE_EFFECTIVE[$start, text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_DATE_EFFECTIVE, ((Token)retval.start), text));
@@ -13665,7 +13569,7 @@
};
// $ANTLR start "date_expires_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1459:1: date_expires_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_DATE_EXPIRES[$start, text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1467:1: date_expires_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_DATE_EXPIRES[$start, text] ;
public final DRLParser.date_expires_key_return date_expires_key() throws RecognitionException {
DRLParser.date_expires_key_return retval = new DRLParser.date_expires_key_return();
retval.start = input.LT(1);
@@ -13686,20 +13590,20 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1462:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_DATE_EXPIRES[$start, text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1462:5: {...}? =>id1= ID mis1= MISC id2= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1470:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_DATE_EXPIRES[$start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1470:5: {...}? =>id1= ID mis1= MISC id2= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EXPIRES)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "date_expires_key", "(validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, \"-\") && validateLT(3, DroolsSoftKeywords.EXPIRES))");
}
- id1=(Token)match(input,ID,FOLLOW_ID_in_date_expires_key5100); if (state.failed) return retval;
+ id1=(Token)match(input,ID,FOLLOW_ID_in_date_expires_key5055); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id1);
- mis1=(Token)match(input,MISC,FOLLOW_MISC_in_date_expires_key5104); if (state.failed) return retval;
+ mis1=(Token)match(input,MISC,FOLLOW_MISC_in_date_expires_key5059); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_MISC.add(mis1);
- id2=(Token)match(input,ID,FOLLOW_ID_in_date_expires_key5108); if (state.failed) return retval;
+ id2=(Token)match(input,ID,FOLLOW_ID_in_date_expires_key5063); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id2);
if ( state.backtracking==0 ) {
@@ -13723,7 +13627,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1466:3: -> VK_DATE_EXPIRES[$start, text]
+ // 1474:3: -> VK_DATE_EXPIRES[$start, text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_DATE_EXPIRES, ((Token)retval.start), text));
@@ -13758,7 +13662,7 @@
};
// $ANTLR start "no_loop_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1469:1: no_loop_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_NO_LOOP[$start, text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1477:1: no_loop_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_NO_LOOP[$start, text] ;
public final DRLParser.no_loop_key_return no_loop_key() throws RecognitionException {
DRLParser.no_loop_key_return retval = new DRLParser.no_loop_key_return();
retval.start = input.LT(1);
@@ -13779,20 +13683,20 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1472:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_NO_LOOP[$start, text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1472:5: {...}? =>id1= ID mis1= MISC id2= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1480:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_NO_LOOP[$start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1480:5: {...}? =>id1= ID mis1= MISC id2= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.NO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.LOOP)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "no_loop_key", "(validateIdentifierKey(DroolsSoftKeywords.NO) && validateLT(2, \"-\") && validateLT(3, DroolsSoftKeywords.LOOP))");
}
- id1=(Token)match(input,ID,FOLLOW_ID_in_no_loop_key5140); if (state.failed) return retval;
+ id1=(Token)match(input,ID,FOLLOW_ID_in_no_loop_key5095); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id1);
- mis1=(Token)match(input,MISC,FOLLOW_MISC_in_no_loop_key5144); if (state.failed) return retval;
+ mis1=(Token)match(input,MISC,FOLLOW_MISC_in_no_loop_key5099); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_MISC.add(mis1);
- id2=(Token)match(input,ID,FOLLOW_ID_in_no_loop_key5148); if (state.failed) return retval;
+ id2=(Token)match(input,ID,FOLLOW_ID_in_no_loop_key5103); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id2);
if ( state.backtracking==0 ) {
@@ -13816,7 +13720,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1476:3: -> VK_NO_LOOP[$start, text]
+ // 1484:3: -> VK_NO_LOOP[$start, text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_NO_LOOP, ((Token)retval.start), text));
@@ -13851,7 +13755,7 @@
};
// $ANTLR start "auto_focus_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1479:1: auto_focus_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_AUTO_FOCUS[$start, text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1487:1: auto_focus_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_AUTO_FOCUS[$start, text] ;
public final DRLParser.auto_focus_key_return auto_focus_key() throws RecognitionException {
DRLParser.auto_focus_key_return retval = new DRLParser.auto_focus_key_return();
retval.start = input.LT(1);
@@ -13872,20 +13776,20 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1482:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_AUTO_FOCUS[$start, text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1482:5: {...}? =>id1= ID mis1= MISC id2= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1490:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_AUTO_FOCUS[$start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1490:5: {...}? =>id1= ID mis1= MISC id2= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.AUTO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.FOCUS)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "auto_focus_key", "(validateIdentifierKey(DroolsSoftKeywords.AUTO) && validateLT(2, \"-\") && validateLT(3, DroolsSoftKeywords.FOCUS))");
}
- id1=(Token)match(input,ID,FOLLOW_ID_in_auto_focus_key5180); if (state.failed) return retval;
+ id1=(Token)match(input,ID,FOLLOW_ID_in_auto_focus_key5135); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id1);
- mis1=(Token)match(input,MISC,FOLLOW_MISC_in_auto_focus_key5184); if (state.failed) return retval;
+ mis1=(Token)match(input,MISC,FOLLOW_MISC_in_auto_focus_key5139); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_MISC.add(mis1);
- id2=(Token)match(input,ID,FOLLOW_ID_in_auto_focus_key5188); if (state.failed) return retval;
+ id2=(Token)match(input,ID,FOLLOW_ID_in_auto_focus_key5143); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id2);
if ( state.backtracking==0 ) {
@@ -13909,7 +13813,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1486:3: -> VK_AUTO_FOCUS[$start, text]
+ // 1494:3: -> VK_AUTO_FOCUS[$start, text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_AUTO_FOCUS, ((Token)retval.start), text));
@@ -13944,7 +13848,7 @@
};
// $ANTLR start "activation_group_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1489:1: activation_group_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_ACTIVATION_GROUP[$start, text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1497:1: activation_group_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_ACTIVATION_GROUP[$start, text] ;
public final DRLParser.activation_group_key_return activation_group_key() throws RecognitionException {
DRLParser.activation_group_key_return retval = new DRLParser.activation_group_key_return();
retval.start = input.LT(1);
@@ -13965,20 +13869,20 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1492:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_ACTIVATION_GROUP[$start, text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1492:5: {...}? =>id1= ID mis1= MISC id2= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1500:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_ACTIVATION_GROUP[$start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1500:5: {...}? =>id1= ID mis1= MISC id2= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.ACTIVATION) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "activation_group_key", "(validateIdentifierKey(DroolsSoftKeywords.ACTIVATION) && validateLT(2, \"-\") && validateLT(3, DroolsSoftKeywords.GROUP))");
}
- id1=(Token)match(input,ID,FOLLOW_ID_in_activation_group_key5220); if (state.failed) return retval;
+ id1=(Token)match(input,ID,FOLLOW_ID_in_activation_group_key5175); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id1);
- mis1=(Token)match(input,MISC,FOLLOW_MISC_in_activation_group_key5224); if (state.failed) return retval;
+ mis1=(Token)match(input,MISC,FOLLOW_MISC_in_activation_group_key5179); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_MISC.add(mis1);
- id2=(Token)match(input,ID,FOLLOW_ID_in_activation_group_key5228); if (state.failed) return retval;
+ id2=(Token)match(input,ID,FOLLOW_ID_in_activation_group_key5183); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id2);
if ( state.backtracking==0 ) {
@@ -14002,7 +13906,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1496:3: -> VK_ACTIVATION_GROUP[$start, text]
+ // 1504:3: -> VK_ACTIVATION_GROUP[$start, text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_ACTIVATION_GROUP, ((Token)retval.start), text));
@@ -14037,7 +13941,7 @@
};
// $ANTLR start "agenda_group_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1499:1: agenda_group_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_AGENDA_GROUP[$start, text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1507:1: agenda_group_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_AGENDA_GROUP[$start, text] ;
public final DRLParser.agenda_group_key_return agenda_group_key() throws RecognitionException {
DRLParser.agenda_group_key_return retval = new DRLParser.agenda_group_key_return();
retval.start = input.LT(1);
@@ -14058,20 +13962,20 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1502:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_AGENDA_GROUP[$start, text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1502:5: {...}? =>id1= ID mis1= MISC id2= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1510:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_AGENDA_GROUP[$start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1510:5: {...}? =>id1= ID mis1= MISC id2= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.AGENDA) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "agenda_group_key", "(validateIdentifierKey(DroolsSoftKeywords.AGENDA) && validateLT(2, \"-\") && validateLT(3, DroolsSoftKeywords.GROUP))");
}
- id1=(Token)match(input,ID,FOLLOW_ID_in_agenda_group_key5260); if (state.failed) return retval;
+ id1=(Token)match(input,ID,FOLLOW_ID_in_agenda_group_key5215); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id1);
- mis1=(Token)match(input,MISC,FOLLOW_MISC_in_agenda_group_key5264); if (state.failed) return retval;
+ mis1=(Token)match(input,MISC,FOLLOW_MISC_in_agenda_group_key5219); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_MISC.add(mis1);
- id2=(Token)match(input,ID,FOLLOW_ID_in_agenda_group_key5268); if (state.failed) return retval;
+ id2=(Token)match(input,ID,FOLLOW_ID_in_agenda_group_key5223); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id2);
if ( state.backtracking==0 ) {
@@ -14095,7 +13999,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1506:3: -> VK_AGENDA_GROUP[$start, text]
+ // 1514:3: -> VK_AGENDA_GROUP[$start, text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_AGENDA_GROUP, ((Token)retval.start), text));
@@ -14130,7 +14034,7 @@
};
// $ANTLR start "ruleflow_group_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1509:1: ruleflow_group_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_RULEFLOW_GROUP[$start, text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1517:1: ruleflow_group_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_RULEFLOW_GROUP[$start, text] ;
public final DRLParser.ruleflow_group_key_return ruleflow_group_key() throws RecognitionException {
DRLParser.ruleflow_group_key_return retval = new DRLParser.ruleflow_group_key_return();
retval.start = input.LT(1);
@@ -14151,20 +14055,20 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1512:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_RULEFLOW_GROUP[$start, text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1512:5: {...}? =>id1= ID mis1= MISC id2= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1520:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_RULEFLOW_GROUP[$start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1520:5: {...}? =>id1= ID mis1= MISC id2= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.RULEFLOW) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "ruleflow_group_key", "(validateIdentifierKey(DroolsSoftKeywords.RULEFLOW) && validateLT(2, \"-\") && validateLT(3, DroolsSoftKeywords.GROUP))");
}
- id1=(Token)match(input,ID,FOLLOW_ID_in_ruleflow_group_key5300); if (state.failed) return retval;
+ id1=(Token)match(input,ID,FOLLOW_ID_in_ruleflow_group_key5255); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id1);
- mis1=(Token)match(input,MISC,FOLLOW_MISC_in_ruleflow_group_key5304); if (state.failed) return retval;
+ mis1=(Token)match(input,MISC,FOLLOW_MISC_in_ruleflow_group_key5259); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_MISC.add(mis1);
- id2=(Token)match(input,ID,FOLLOW_ID_in_ruleflow_group_key5308); if (state.failed) return retval;
+ id2=(Token)match(input,ID,FOLLOW_ID_in_ruleflow_group_key5263); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id2);
if ( state.backtracking==0 ) {
@@ -14188,7 +14092,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1516:3: -> VK_RULEFLOW_GROUP[$start, text]
+ // 1524:3: -> VK_RULEFLOW_GROUP[$start, text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_RULEFLOW_GROUP, ((Token)retval.start), text));
@@ -14223,7 +14127,7 @@
};
// $ANTLR start "entry_point_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1519:1: entry_point_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_ENTRY_POINT[$start, text] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1527:1: entry_point_key : {...}? =>id1= ID mis1= MISC id2= ID -> VK_ENTRY_POINT[$start, text] ;
public final DRLParser.entry_point_key_return entry_point_key() throws RecognitionException {
DRLParser.entry_point_key_return retval = new DRLParser.entry_point_key_return();
retval.start = input.LT(1);
@@ -14244,20 +14148,20 @@
String text = "";
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1522:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_ENTRY_POINT[$start, text] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1522:5: {...}? =>id1= ID mis1= MISC id2= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1530:3: ({...}? =>id1= ID mis1= MISC id2= ID -> VK_ENTRY_POINT[$start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1530:5: {...}? =>id1= ID mis1= MISC id2= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.ENTRY) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.POINT)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "entry_point_key", "(validateIdentifierKey(DroolsSoftKeywords.ENTRY) && validateLT(2, \"-\") && validateLT(3, DroolsSoftKeywords.POINT))");
}
- id1=(Token)match(input,ID,FOLLOW_ID_in_entry_point_key5340); if (state.failed) return retval;
+ id1=(Token)match(input,ID,FOLLOW_ID_in_entry_point_key5295); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id1);
- mis1=(Token)match(input,MISC,FOLLOW_MISC_in_entry_point_key5344); if (state.failed) return retval;
+ mis1=(Token)match(input,MISC,FOLLOW_MISC_in_entry_point_key5299); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_MISC.add(mis1);
- id2=(Token)match(input,ID,FOLLOW_ID_in_entry_point_key5348); if (state.failed) return retval;
+ id2=(Token)match(input,ID,FOLLOW_ID_in_entry_point_key5303); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id2);
if ( state.backtracking==0 ) {
@@ -14281,7 +14185,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1526:3: -> VK_ENTRY_POINT[$start, text]
+ // 1534:3: -> VK_ENTRY_POINT[$start, text]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_ENTRY_POINT, ((Token)retval.start), text));
@@ -14316,7 +14220,7 @@
};
// $ANTLR start "duration_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1529:1: duration_key : {...}? =>id= ID -> VK_DURATION[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1537:1: duration_key : {...}? =>id= ID -> VK_DURATION[$id] ;
public final DRLParser.duration_key_return duration_key() throws RecognitionException {
DRLParser.duration_key_return retval = new DRLParser.duration_key_return();
retval.start = input.LT(1);
@@ -14329,14 +14233,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1530:2: ({...}? =>id= ID -> VK_DURATION[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1530:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1538:2: ({...}? =>id= ID -> VK_DURATION[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1538:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.DURATION)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "duration_key", "(validateIdentifierKey(DroolsSoftKeywords.DURATION))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_duration_key5377); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_duration_key5332); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -14355,7 +14259,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1532:3: -> VK_DURATION[$id]
+ // 1540:3: -> VK_DURATION[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_DURATION, id));
@@ -14390,7 +14294,7 @@
};
// $ANTLR start "package_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1535:1: package_key : {...}? =>id= ID -> VK_PACKAGE[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1543:1: package_key : {...}? =>id= ID -> VK_PACKAGE[$id] ;
public final DRLParser.package_key_return package_key() throws RecognitionException {
DRLParser.package_key_return retval = new DRLParser.package_key_return();
retval.start = input.LT(1);
@@ -14403,14 +14307,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1536:2: ({...}? =>id= ID -> VK_PACKAGE[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1536:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1544:2: ({...}? =>id= ID -> VK_PACKAGE[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1544:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.PACKAGE)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "package_key", "(validateIdentifierKey(DroolsSoftKeywords.PACKAGE))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_package_key5403); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_package_key5359); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -14429,7 +14333,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1538:3: -> VK_PACKAGE[$id]
+ // 1546:3: -> VK_PACKAGE[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_PACKAGE, id));
@@ -14464,7 +14368,7 @@
};
// $ANTLR start "import_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1541:1: import_key : {...}? =>id= ID -> VK_IMPORT[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1549:1: import_key : {...}? =>id= ID -> VK_IMPORT[$id] ;
public final DRLParser.import_key_return import_key() throws RecognitionException {
DRLParser.import_key_return retval = new DRLParser.import_key_return();
retval.start = input.LT(1);
@@ -14477,14 +14381,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1542:2: ({...}? =>id= ID -> VK_IMPORT[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1542:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1550:2: ({...}? =>id= ID -> VK_IMPORT[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1550:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "import_key", "(validateIdentifierKey(DroolsSoftKeywords.IMPORT))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_import_key5430); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_import_key5386); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -14503,7 +14407,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1544:3: -> VK_IMPORT[$id]
+ // 1552:3: -> VK_IMPORT[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_IMPORT, id));
@@ -14538,7 +14442,7 @@
};
// $ANTLR start "dialect_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1547:1: dialect_key : {...}? =>id= ID -> VK_DIALECT[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1555:1: dialect_key : {...}? =>id= ID -> VK_DIALECT[$id] ;
public final DRLParser.dialect_key_return dialect_key() throws RecognitionException {
DRLParser.dialect_key_return retval = new DRLParser.dialect_key_return();
retval.start = input.LT(1);
@@ -14551,14 +14455,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1548:2: ({...}? =>id= ID -> VK_DIALECT[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1548:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1556:2: ({...}? =>id= ID -> VK_DIALECT[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1556:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "dialect_key", "(validateIdentifierKey(DroolsSoftKeywords.DIALECT))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_dialect_key5457); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_dialect_key5413); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -14577,7 +14481,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1550:3: -> VK_DIALECT[$id]
+ // 1558:3: -> VK_DIALECT[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_DIALECT, id));
@@ -14612,7 +14516,7 @@
};
// $ANTLR start "salience_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1553:1: salience_key : {...}? =>id= ID -> VK_SALIENCE[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1561:1: salience_key : {...}? =>id= ID -> VK_SALIENCE[$id] ;
public final DRLParser.salience_key_return salience_key() throws RecognitionException {
DRLParser.salience_key_return retval = new DRLParser.salience_key_return();
retval.start = input.LT(1);
@@ -14625,14 +14529,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1554:2: ({...}? =>id= ID -> VK_SALIENCE[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1554:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1562:2: ({...}? =>id= ID -> VK_SALIENCE[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1562:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "salience_key", "(validateIdentifierKey(DroolsSoftKeywords.SALIENCE))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_salience_key5484); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_salience_key5440); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -14651,7 +14555,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1556:3: -> VK_SALIENCE[$id]
+ // 1564:3: -> VK_SALIENCE[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_SALIENCE, id));
@@ -14686,7 +14590,7 @@
};
// $ANTLR start "enabled_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1559:1: enabled_key : {...}? =>id= ID -> VK_ENABLED[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1567:1: enabled_key : {...}? =>id= ID -> VK_ENABLED[$id] ;
public final DRLParser.enabled_key_return enabled_key() throws RecognitionException {
DRLParser.enabled_key_return retval = new DRLParser.enabled_key_return();
retval.start = input.LT(1);
@@ -14699,14 +14603,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1560:2: ({...}? =>id= ID -> VK_ENABLED[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1560:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1568:2: ({...}? =>id= ID -> VK_ENABLED[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1568:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.ENABLED)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "enabled_key", "(validateIdentifierKey(DroolsSoftKeywords.ENABLED))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_enabled_key5511); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_enabled_key5467); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -14725,7 +14629,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1562:3: -> VK_ENABLED[$id]
+ // 1570:3: -> VK_ENABLED[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_ENABLED, id));
@@ -14760,7 +14664,7 @@
};
// $ANTLR start "attributes_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1565:1: attributes_key : {...}? =>id= ID -> VK_ATTRIBUTES[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1573:1: attributes_key : {...}? =>id= ID -> VK_ATTRIBUTES[$id] ;
public final DRLParser.attributes_key_return attributes_key() throws RecognitionException {
DRLParser.attributes_key_return retval = new DRLParser.attributes_key_return();
retval.start = input.LT(1);
@@ -14773,14 +14677,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1566:2: ({...}? =>id= ID -> VK_ATTRIBUTES[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1566:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1574:2: ({...}? =>id= ID -> VK_ATTRIBUTES[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1574:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.ATTRIBUTES)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "attributes_key", "(validateIdentifierKey(DroolsSoftKeywords.ATTRIBUTES))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_attributes_key5538); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_attributes_key5494); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -14799,7 +14703,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1568:3: -> VK_ATTRIBUTES[$id]
+ // 1576:3: -> VK_ATTRIBUTES[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_ATTRIBUTES, id));
@@ -14834,7 +14738,7 @@
};
// $ANTLR start "rule_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1571:1: rule_key : {...}? =>id= ID -> VK_RULE[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1579:1: rule_key : {...}? =>id= ID -> VK_RULE[$id] ;
public final DRLParser.rule_key_return rule_key() throws RecognitionException {
DRLParser.rule_key_return retval = new DRLParser.rule_key_return();
retval.start = input.LT(1);
@@ -14847,14 +14751,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1572:2: ({...}? =>id= ID -> VK_RULE[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1572:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1580:2: ({...}? =>id= ID -> VK_RULE[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1580:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.RULE)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "rule_key", "(validateIdentifierKey(DroolsSoftKeywords.RULE))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_rule_key5565); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_rule_key5521); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -14873,7 +14777,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1574:3: -> VK_RULE[$id]
+ // 1582:3: -> VK_RULE[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_RULE, id));
@@ -14908,7 +14812,7 @@
};
// $ANTLR start "extend_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1577:1: extend_key : {...}? =>id= ID -> VK_EXTEND[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1585:1: extend_key : {...}? =>id= ID -> VK_EXTEND[$id] ;
public final DRLParser.extend_key_return extend_key() throws RecognitionException {
DRLParser.extend_key_return retval = new DRLParser.extend_key_return();
retval.start = input.LT(1);
@@ -14921,14 +14825,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1578:2: ({...}? =>id= ID -> VK_EXTEND[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1578:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1586:2: ({...}? =>id= ID -> VK_EXTEND[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1586:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.EXTEND)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "extend_key", "(validateIdentifierKey(DroolsSoftKeywords.EXTEND))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_extend_key5592); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_extend_key5548); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -14947,7 +14851,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1580:3: -> VK_EXTEND[$id]
+ // 1588:3: -> VK_EXTEND[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_EXTEND, id));
@@ -14982,7 +14886,7 @@
};
// $ANTLR start "template_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1583:1: template_key : {...}? =>id= ID -> VK_TEMPLATE[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1591:1: template_key : {...}? =>id= ID -> VK_TEMPLATE[$id] ;
public final DRLParser.template_key_return template_key() throws RecognitionException {
DRLParser.template_key_return retval = new DRLParser.template_key_return();
retval.start = input.LT(1);
@@ -14995,14 +14899,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1584:2: ({...}? =>id= ID -> VK_TEMPLATE[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1584:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1592:2: ({...}? =>id= ID -> VK_TEMPLATE[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1592:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "template_key", "(validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_template_key5619); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_template_key5575); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15021,7 +14925,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1586:3: -> VK_TEMPLATE[$id]
+ // 1594:3: -> VK_TEMPLATE[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_TEMPLATE, id));
@@ -15056,7 +14960,7 @@
};
// $ANTLR start "query_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1589:1: query_key : {...}? =>id= ID -> VK_QUERY[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1597:1: query_key : {...}? =>id= ID -> VK_QUERY[$id] ;
public final DRLParser.query_key_return query_key() throws RecognitionException {
DRLParser.query_key_return retval = new DRLParser.query_key_return();
retval.start = input.LT(1);
@@ -15069,14 +14973,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1590:2: ({...}? =>id= ID -> VK_QUERY[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1590:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1598:2: ({...}? =>id= ID -> VK_QUERY[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1598:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.QUERY)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "query_key", "(validateIdentifierKey(DroolsSoftKeywords.QUERY))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_query_key5646); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_query_key5602); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15095,7 +14999,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1592:3: -> VK_QUERY[$id]
+ // 1600:3: -> VK_QUERY[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_QUERY, id));
@@ -15130,7 +15034,7 @@
};
// $ANTLR start "declare_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1595:1: declare_key : {...}? =>id= ID -> VK_DECLARE[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1603:1: declare_key : {...}? =>id= ID -> VK_DECLARE[$id] ;
public final DRLParser.declare_key_return declare_key() throws RecognitionException {
DRLParser.declare_key_return retval = new DRLParser.declare_key_return();
retval.start = input.LT(1);
@@ -15143,14 +15047,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1596:2: ({...}? =>id= ID -> VK_DECLARE[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1596:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1604:2: ({...}? =>id= ID -> VK_DECLARE[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1604:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "declare_key", "(validateIdentifierKey(DroolsSoftKeywords.DECLARE))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_declare_key5673); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_declare_key5629); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15169,7 +15073,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1598:3: -> VK_DECLARE[$id]
+ // 1606:3: -> VK_DECLARE[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_DECLARE, id));
@@ -15204,7 +15108,7 @@
};
// $ANTLR start "function_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1601:1: function_key : {...}? =>id= ID -> VK_FUNCTION[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1609:1: function_key : {...}? =>id= ID -> VK_FUNCTION[$id] ;
public final DRLParser.function_key_return function_key() throws RecognitionException {
DRLParser.function_key_return retval = new DRLParser.function_key_return();
retval.start = input.LT(1);
@@ -15217,14 +15121,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1602:2: ({...}? =>id= ID -> VK_FUNCTION[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1602:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1610:2: ({...}? =>id= ID -> VK_FUNCTION[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1610:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "function_key", "(validateIdentifierKey(DroolsSoftKeywords.FUNCTION))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_function_key5700); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_function_key5656); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15243,7 +15147,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1604:3: -> VK_FUNCTION[$id]
+ // 1612:3: -> VK_FUNCTION[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_FUNCTION, id));
@@ -15278,7 +15182,7 @@
};
// $ANTLR start "global_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1607:1: global_key : {...}? =>id= ID -> VK_GLOBAL[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1615:1: global_key : {...}? =>id= ID -> VK_GLOBAL[$id] ;
public final DRLParser.global_key_return global_key() throws RecognitionException {
DRLParser.global_key_return retval = new DRLParser.global_key_return();
retval.start = input.LT(1);
@@ -15291,14 +15195,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1608:2: ({...}? =>id= ID -> VK_GLOBAL[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1608:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1616:2: ({...}? =>id= ID -> VK_GLOBAL[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1616:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "global_key", "(validateIdentifierKey(DroolsSoftKeywords.GLOBAL))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_global_key5727); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_global_key5683); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15317,7 +15221,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1610:3: -> VK_GLOBAL[$id]
+ // 1618:3: -> VK_GLOBAL[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_GLOBAL, id));
@@ -15352,7 +15256,7 @@
};
// $ANTLR start "eval_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1613:1: eval_key : {...}? =>id= ID -> VK_EVAL[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1621:1: eval_key : {...}? =>id= ID -> VK_EVAL[$id] ;
public final DRLParser.eval_key_return eval_key() throws RecognitionException {
DRLParser.eval_key_return retval = new DRLParser.eval_key_return();
retval.start = input.LT(1);
@@ -15365,14 +15269,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1614:2: ({...}? =>id= ID -> VK_EVAL[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1614:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1622:2: ({...}? =>id= ID -> VK_EVAL[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1622:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.EVAL)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "eval_key", "(validateIdentifierKey(DroolsSoftKeywords.EVAL))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_eval_key5754); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_eval_key5710); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15391,7 +15295,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1616:3: -> VK_EVAL[$id]
+ // 1624:3: -> VK_EVAL[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_EVAL, id));
@@ -15426,7 +15330,7 @@
};
// $ANTLR start "contains_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1619:1: contains_key : {...}? =>id= ID -> VK_CONTAINS[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1627:1: contains_key : {...}? =>id= ID -> VK_CONTAINS[$id] ;
public final DRLParser.contains_key_return contains_key() throws RecognitionException {
DRLParser.contains_key_return retval = new DRLParser.contains_key_return();
retval.start = input.LT(1);
@@ -15439,14 +15343,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1620:2: ({...}? =>id= ID -> VK_CONTAINS[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1620:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1628:2: ({...}? =>id= ID -> VK_CONTAINS[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1628:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "contains_key", "(validateIdentifierKey(DroolsSoftKeywords.CONTAINS))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_contains_key5781); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_contains_key5737); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15465,7 +15369,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1622:3: -> VK_CONTAINS[$id]
+ // 1630:3: -> VK_CONTAINS[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_CONTAINS, id));
@@ -15500,7 +15404,7 @@
};
// $ANTLR start "matches_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1625:1: matches_key : {...}? =>id= ID -> VK_MATCHES[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1633:1: matches_key : {...}? =>id= ID -> VK_MATCHES[$id] ;
public final DRLParser.matches_key_return matches_key() throws RecognitionException {
DRLParser.matches_key_return retval = new DRLParser.matches_key_return();
retval.start = input.LT(1);
@@ -15513,14 +15417,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1626:2: ({...}? =>id= ID -> VK_MATCHES[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1626:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1634:2: ({...}? =>id= ID -> VK_MATCHES[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1634:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "matches_key", "(validateIdentifierKey(DroolsSoftKeywords.MATCHES))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_matches_key5808); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_matches_key5764); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15539,7 +15443,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1628:3: -> VK_MATCHES[$id]
+ // 1636:3: -> VK_MATCHES[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_MATCHES, id));
@@ -15574,7 +15478,7 @@
};
// $ANTLR start "excludes_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1631:1: excludes_key : {...}? =>id= ID -> VK_EXCLUDES[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1639:1: excludes_key : {...}? =>id= ID -> VK_EXCLUDES[$id] ;
public final DRLParser.excludes_key_return excludes_key() throws RecognitionException {
DRLParser.excludes_key_return retval = new DRLParser.excludes_key_return();
retval.start = input.LT(1);
@@ -15587,14 +15491,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1632:2: ({...}? =>id= ID -> VK_EXCLUDES[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1632:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1640:2: ({...}? =>id= ID -> VK_EXCLUDES[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1640:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.EXCLUDES)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "excludes_key", "(validateIdentifierKey(DroolsSoftKeywords.EXCLUDES))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_excludes_key5835); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_excludes_key5791); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15613,7 +15517,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1634:3: -> VK_EXCLUDES[$id]
+ // 1642:3: -> VK_EXCLUDES[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_EXCLUDES, id));
@@ -15648,7 +15552,7 @@
};
// $ANTLR start "soundslike_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1637:1: soundslike_key : {...}? =>id= ID -> VK_SOUNDSLIKE[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1645:1: soundslike_key : {...}? =>id= ID -> VK_SOUNDSLIKE[$id] ;
public final DRLParser.soundslike_key_return soundslike_key() throws RecognitionException {
DRLParser.soundslike_key_return retval = new DRLParser.soundslike_key_return();
retval.start = input.LT(1);
@@ -15661,14 +15565,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1638:2: ({...}? =>id= ID -> VK_SOUNDSLIKE[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1638:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1646:2: ({...}? =>id= ID -> VK_SOUNDSLIKE[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1646:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "soundslike_key", "(validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_soundslike_key5862); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_soundslike_key5818); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15687,7 +15591,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1640:3: -> VK_SOUNDSLIKE[$id]
+ // 1648:3: -> VK_SOUNDSLIKE[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_SOUNDSLIKE, id));
@@ -15722,7 +15626,7 @@
};
// $ANTLR start "memberof_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1643:1: memberof_key : {...}? =>id= ID -> VK_MEMBEROF[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1651:1: memberof_key : {...}? =>id= ID -> VK_MEMBEROF[$id] ;
public final DRLParser.memberof_key_return memberof_key() throws RecognitionException {
DRLParser.memberof_key_return retval = new DRLParser.memberof_key_return();
retval.start = input.LT(1);
@@ -15735,14 +15639,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1644:2: ({...}? =>id= ID -> VK_MEMBEROF[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1644:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1652:2: ({...}? =>id= ID -> VK_MEMBEROF[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1652:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "memberof_key", "(validateIdentifierKey(DroolsSoftKeywords.MEMBEROF))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_memberof_key5889); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_memberof_key5845); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15761,7 +15665,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1646:3: -> VK_MEMBEROF[$id]
+ // 1654:3: -> VK_MEMBEROF[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_MEMBEROF, id));
@@ -15796,7 +15700,7 @@
};
// $ANTLR start "not_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1649:1: not_key : {...}? =>id= ID -> VK_NOT[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1657:1: not_key : {...}? =>id= ID -> VK_NOT[$id] ;
public final DRLParser.not_key_return not_key() throws RecognitionException {
DRLParser.not_key_return retval = new DRLParser.not_key_return();
retval.start = input.LT(1);
@@ -15809,14 +15713,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1650:2: ({...}? =>id= ID -> VK_NOT[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1650:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1658:2: ({...}? =>id= ID -> VK_NOT[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1658:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.NOT)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "not_key", "(validateIdentifierKey(DroolsSoftKeywords.NOT))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_not_key5916); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_not_key5872); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15835,7 +15739,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1652:3: -> VK_NOT[$id]
+ // 1660:3: -> VK_NOT[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_NOT, id));
@@ -15870,7 +15774,7 @@
};
// $ANTLR start "in_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1655:1: in_key : {...}? =>id= ID -> VK_IN[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1663:1: in_key : {...}? =>id= ID -> VK_IN[$id] ;
public final DRLParser.in_key_return in_key() throws RecognitionException {
DRLParser.in_key_return retval = new DRLParser.in_key_return();
retval.start = input.LT(1);
@@ -15883,14 +15787,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1656:2: ({...}? =>id= ID -> VK_IN[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1656:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1664:2: ({...}? =>id= ID -> VK_IN[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1664:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "in_key", "(validateIdentifierKey(DroolsSoftKeywords.IN))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_in_key5943); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_in_key5899); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15909,7 +15813,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1658:3: -> VK_IN[$id]
+ // 1666:3: -> VK_IN[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_IN, id));
@@ -15944,7 +15848,7 @@
};
// $ANTLR start "or_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1661:1: or_key : {...}? =>id= ID -> VK_OR[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1669:1: or_key : {...}? =>id= ID -> VK_OR[$id] ;
public final DRLParser.or_key_return or_key() throws RecognitionException {
DRLParser.or_key_return retval = new DRLParser.or_key_return();
retval.start = input.LT(1);
@@ -15957,14 +15861,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1662:2: ({...}? =>id= ID -> VK_OR[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1662:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1670:2: ({...}? =>id= ID -> VK_OR[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1670:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.OR)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "or_key", "(validateIdentifierKey(DroolsSoftKeywords.OR))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_or_key5970); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_or_key5926); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -15983,7 +15887,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1664:3: -> VK_OR[$id]
+ // 1672:3: -> VK_OR[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_OR, id));
@@ -16018,7 +15922,7 @@
};
// $ANTLR start "and_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1667:1: and_key : {...}? =>id= ID -> VK_AND[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1675:1: and_key : {...}? =>id= ID -> VK_AND[$id] ;
public final DRLParser.and_key_return and_key() throws RecognitionException {
DRLParser.and_key_return retval = new DRLParser.and_key_return();
retval.start = input.LT(1);
@@ -16031,14 +15935,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1668:2: ({...}? =>id= ID -> VK_AND[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1668:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1676:2: ({...}? =>id= ID -> VK_AND[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1676:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.AND)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "and_key", "(validateIdentifierKey(DroolsSoftKeywords.AND))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_and_key5997); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_and_key5953); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -16057,7 +15961,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1670:3: -> VK_AND[$id]
+ // 1678:3: -> VK_AND[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_AND, id));
@@ -16092,7 +15996,7 @@
};
// $ANTLR start "exists_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1673:1: exists_key : {...}? =>id= ID -> VK_EXISTS[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1681:1: exists_key : {...}? =>id= ID -> VK_EXISTS[$id] ;
public final DRLParser.exists_key_return exists_key() throws RecognitionException {
DRLParser.exists_key_return retval = new DRLParser.exists_key_return();
retval.start = input.LT(1);
@@ -16105,14 +16009,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1674:2: ({...}? =>id= ID -> VK_EXISTS[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1674:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1682:2: ({...}? =>id= ID -> VK_EXISTS[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1682:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.EXISTS)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "exists_key", "(validateIdentifierKey(DroolsSoftKeywords.EXISTS))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_exists_key6024); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_exists_key5980); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -16131,7 +16035,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1676:3: -> VK_EXISTS[$id]
+ // 1684:3: -> VK_EXISTS[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_EXISTS, id));
@@ -16166,7 +16070,7 @@
};
// $ANTLR start "forall_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1679:1: forall_key : {...}? =>id= ID -> VK_FORALL[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1687:1: forall_key : {...}? =>id= ID -> VK_FORALL[$id] ;
public final DRLParser.forall_key_return forall_key() throws RecognitionException {
DRLParser.forall_key_return retval = new DRLParser.forall_key_return();
retval.start = input.LT(1);
@@ -16179,14 +16083,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1680:2: ({...}? =>id= ID -> VK_FORALL[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1680:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1688:2: ({...}? =>id= ID -> VK_FORALL[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1688:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.FORALL)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "forall_key", "(validateIdentifierKey(DroolsSoftKeywords.FORALL))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_forall_key6051); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_forall_key6007); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -16205,7 +16109,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1682:3: -> VK_FORALL[$id]
+ // 1690:3: -> VK_FORALL[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_FORALL, id));
@@ -16240,7 +16144,7 @@
};
// $ANTLR start "action_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1685:1: action_key : {...}? =>id= ID -> VK_ACTION[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1693:1: action_key : {...}? =>id= ID -> VK_ACTION[$id] ;
public final DRLParser.action_key_return action_key() throws RecognitionException {
DRLParser.action_key_return retval = new DRLParser.action_key_return();
retval.start = input.LT(1);
@@ -16253,14 +16157,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1686:2: ({...}? =>id= ID -> VK_ACTION[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1686:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1694:2: ({...}? =>id= ID -> VK_ACTION[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1694:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.ACTION)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "action_key", "(validateIdentifierKey(DroolsSoftKeywords.ACTION))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_action_key6078); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_action_key6034); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -16279,7 +16183,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1688:3: -> VK_ACTION[$id]
+ // 1696:3: -> VK_ACTION[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_ACTION, id));
@@ -16314,7 +16218,7 @@
};
// $ANTLR start "reverse_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1691:1: reverse_key : {...}? =>id= ID -> VK_REVERSE[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1699:1: reverse_key : {...}? =>id= ID -> VK_REVERSE[$id] ;
public final DRLParser.reverse_key_return reverse_key() throws RecognitionException {
DRLParser.reverse_key_return retval = new DRLParser.reverse_key_return();
retval.start = input.LT(1);
@@ -16327,14 +16231,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1692:2: ({...}? =>id= ID -> VK_REVERSE[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1692:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1700:2: ({...}? =>id= ID -> VK_REVERSE[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1700:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.REVERSE)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "reverse_key", "(validateIdentifierKey(DroolsSoftKeywords.REVERSE))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_reverse_key6105); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_reverse_key6061); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -16353,7 +16257,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1694:3: -> VK_REVERSE[$id]
+ // 1702:3: -> VK_REVERSE[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_REVERSE, id));
@@ -16388,7 +16292,7 @@
};
// $ANTLR start "result_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1697:1: result_key : {...}? =>id= ID -> VK_RESULT[$id] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1705:1: result_key : {...}? =>id= ID -> VK_RESULT[$id] ;
public final DRLParser.result_key_return result_key() throws RecognitionException {
DRLParser.result_key_return retval = new DRLParser.result_key_return();
retval.start = input.LT(1);
@@ -16401,14 +16305,14 @@
RewriteRuleTokenStream stream_ID=new RewriteRuleTokenStream(adaptor,"token ID");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1698:2: ({...}? =>id= ID -> VK_RESULT[$id] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1698:4: {...}? =>id= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1706:2: ({...}? =>id= ID -> VK_RESULT[$id] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1706:4: {...}? =>id= ID
{
if ( !(((validateIdentifierKey(DroolsSoftKeywords.RESULT)))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
throw new FailedPredicateException(input, "result_key", "(validateIdentifierKey(DroolsSoftKeywords.RESULT))");
}
- id=(Token)match(input,ID,FOLLOW_ID_in_result_key6132); if (state.failed) return retval;
+ id=(Token)match(input,ID,FOLLOW_ID_in_result_key6088); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_ID.add(id);
if ( state.backtracking==0 ) {
@@ -16427,7 +16331,7 @@
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
- // 1700:3: -> VK_RESULT[$id]
+ // 1708:3: -> VK_RESULT[$id]
{
adaptor.addChild(root_0, (Object)adaptor.create(VK_RESULT, id));
@@ -16458,11 +16362,11 @@
// $ANTLR start synpred1_DRL
public final void synpred1_DRL_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:813:5: ( LEFT_PAREN or_key )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:813:6: LEFT_PAREN or_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:807:5: ( LEFT_PAREN or_key )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:807:6: LEFT_PAREN or_key
{
- match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred1_DRL2046); if (state.failed) return ;
- pushFollow(FOLLOW_or_key_in_synpred1_DRL2048);
+ match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred1_DRL2050); if (state.failed) return ;
+ pushFollow(FOLLOW_or_key_in_synpred1_DRL2052);
or_key();
state._fsp--;
@@ -16474,28 +16378,28 @@
// $ANTLR start synpred2_DRL
public final void synpred2_DRL_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:821:5: ( or_key | DOUBLE_PIPE )
- int alt106=2;
- int LA106_0 = input.LA(1);
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:815:5: ( or_key | DOUBLE_PIPE )
+ int alt105=2;
+ int LA105_0 = input.LA(1);
- if ( (LA106_0==ID) && (((validateIdentifierKey(DroolsSoftKeywords.OR))))) {
- alt106=1;
+ if ( (LA105_0==ID) && (((validateIdentifierKey(DroolsSoftKeywords.OR))))) {
+ alt105=1;
}
- else if ( (LA106_0==DOUBLE_PIPE) ) {
- alt106=2;
+ else if ( (LA105_0==DOUBLE_PIPE) ) {
+ alt105=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 106, 0, input);
+ new NoViableAltException("", 105, 0, input);
throw nvae;
}
- switch (alt106) {
+ switch (alt105) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:821:6: or_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:815:6: or_key
{
- pushFollow(FOLLOW_or_key_in_synpred2_DRL2115);
+ pushFollow(FOLLOW_or_key_in_synpred2_DRL2119);
or_key();
state._fsp--;
@@ -16504,9 +16408,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:821:13: DOUBLE_PIPE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:815:13: DOUBLE_PIPE
{
- match(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_synpred2_DRL2117); if (state.failed) return ;
+ match(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_synpred2_DRL2121); if (state.failed) return ;
}
break;
@@ -16516,11 +16420,11 @@
// $ANTLR start synpred3_DRL
public final void synpred3_DRL_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:830:5: ( LEFT_PAREN and_key )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:830:6: LEFT_PAREN and_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:824:5: ( LEFT_PAREN and_key )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:824:6: LEFT_PAREN and_key
{
- match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred3_DRL2174); if (state.failed) return ;
- pushFollow(FOLLOW_and_key_in_synpred3_DRL2176);
+ match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred3_DRL2178); if (state.failed) return ;
+ pushFollow(FOLLOW_and_key_in_synpred3_DRL2180);
and_key();
state._fsp--;
@@ -16532,28 +16436,28 @@
// $ANTLR start synpred4_DRL
public final void synpred4_DRL_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:838:5: ( and_key | DOUBLE_AMPER )
- int alt107=2;
- int LA107_0 = input.LA(1);
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:832:5: ( and_key | DOUBLE_AMPER )
+ int alt106=2;
+ int LA106_0 = input.LA(1);
- if ( (LA107_0==ID) && (((validateIdentifierKey(DroolsSoftKeywords.AND))))) {
- alt107=1;
+ if ( (LA106_0==ID) && (((validateIdentifierKey(DroolsSoftKeywords.AND))))) {
+ alt106=1;
}
- else if ( (LA107_0==DOUBLE_AMPER) ) {
- alt107=2;
+ else if ( (LA106_0==DOUBLE_AMPER) ) {
+ alt106=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 107, 0, input);
+ new NoViableAltException("", 106, 0, input);
throw nvae;
}
- switch (alt107) {
+ switch (alt106) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:838:6: and_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:832:6: and_key
{
- pushFollow(FOLLOW_and_key_in_synpred4_DRL2244);
+ pushFollow(FOLLOW_and_key_in_synpred4_DRL2248);
and_key();
state._fsp--;
@@ -16562,9 +16466,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:838:14: DOUBLE_AMPER
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:832:14: DOUBLE_AMPER
{
- match(input,DOUBLE_AMPER,FOLLOW_DOUBLE_AMPER_in_synpred4_DRL2246); if (state.failed) return ;
+ match(input,DOUBLE_AMPER,FOLLOW_DOUBLE_AMPER_in_synpred4_DRL2250); if (state.failed) return ;
}
break;
@@ -16574,10 +16478,10 @@
// $ANTLR start synpred5_DRL
public final void synpred5_DRL_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:855:4: ( SEMICOLON )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:855:5: SEMICOLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:849:4: ( SEMICOLON )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:849:5: SEMICOLON
{
- match(input,SEMICOLON,FOLLOW_SEMICOLON_in_synpred5_DRL2369); if (state.failed) return ;
+ match(input,SEMICOLON,FOLLOW_SEMICOLON_in_synpred5_DRL2373); if (state.failed) return ;
}
}
@@ -16585,27 +16489,27 @@
// $ANTLR start synpred6_DRL
public final void synpred6_DRL_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:861:12: ( LEFT_PAREN ( or_key | and_key ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:861:13: LEFT_PAREN ( or_key | and_key )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:855:12: ( LEFT_PAREN ( or_key | and_key ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:855:13: LEFT_PAREN ( or_key | and_key )
{
- match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred6_DRL2406); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:861:24: ( or_key | and_key )
- int alt108=2;
- int LA108_0 = input.LA(1);
+ match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred6_DRL2410); if (state.failed) return ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:855:24: ( or_key | and_key )
+ int alt107=2;
+ int LA107_0 = input.LA(1);
- if ( (LA108_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.AND)))||((validateIdentifierKey(DroolsSoftKeywords.OR)))))) {
- int LA108_1 = input.LA(2);
+ if ( (LA107_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.AND)))||((validateIdentifierKey(DroolsSoftKeywords.OR)))))) {
+ int LA107_1 = input.LA(2);
if ( (((validateIdentifierKey(DroolsSoftKeywords.OR)))) ) {
- alt108=1;
+ alt107=1;
}
else if ( (((validateIdentifierKey(DroolsSoftKeywords.AND)))) ) {
- alt108=2;
+ alt107=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 108, 1, input);
+ new NoViableAltException("", 107, 1, input);
throw nvae;
}
@@ -16613,15 +16517,15 @@
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 108, 0, input);
+ new NoViableAltException("", 107, 0, input);
throw nvae;
}
- switch (alt108) {
+ switch (alt107) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:861:25: or_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:855:25: or_key
{
- pushFollow(FOLLOW_or_key_in_synpred6_DRL2409);
+ pushFollow(FOLLOW_or_key_in_synpred6_DRL2413);
or_key();
state._fsp--;
@@ -16630,9 +16534,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:861:32: and_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:855:32: and_key
{
- pushFollow(FOLLOW_and_key_in_synpred6_DRL2411);
+ pushFollow(FOLLOW_and_key_in_synpred6_DRL2415);
and_key();
state._fsp--;
@@ -16650,27 +16554,27 @@
// $ANTLR start synpred7_DRL
public final void synpred7_DRL_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:877:5: ( LEFT_PAREN ( or_key | and_key ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:877:6: LEFT_PAREN ( or_key | and_key )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:871:5: ( LEFT_PAREN ( or_key | and_key ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:871:6: LEFT_PAREN ( or_key | and_key )
{
- match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred7_DRL2534); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:877:17: ( or_key | and_key )
- int alt109=2;
- int LA109_0 = input.LA(1);
+ match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred7_DRL2538); if (state.failed) return ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:871:17: ( or_key | and_key )
+ int alt108=2;
+ int LA108_0 = input.LA(1);
- if ( (LA109_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.AND)))||((validateIdentifierKey(DroolsSoftKeywords.OR)))))) {
- int LA109_1 = input.LA(2);
+ if ( (LA108_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.AND)))||((validateIdentifierKey(DroolsSoftKeywords.OR)))))) {
+ int LA108_1 = input.LA(2);
if ( (((validateIdentifierKey(DroolsSoftKeywords.OR)))) ) {
- alt109=1;
+ alt108=1;
}
else if ( (((validateIdentifierKey(DroolsSoftKeywords.AND)))) ) {
- alt109=2;
+ alt108=2;
}
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 109, 1, input);
+ new NoViableAltException("", 108, 1, input);
throw nvae;
}
@@ -16678,15 +16582,15 @@
else {
if (state.backtracking>0) {state.failed=true; return ;}
NoViableAltException nvae =
- new NoViableAltException("", 109, 0, input);
+ new NoViableAltException("", 108, 0, input);
throw nvae;
}
- switch (alt109) {
+ switch (alt108) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:877:18: or_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:871:18: or_key
{
- pushFollow(FOLLOW_or_key_in_synpred7_DRL2537);
+ pushFollow(FOLLOW_or_key_in_synpred7_DRL2541);
or_key();
state._fsp--;
@@ -16695,9 +16599,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:877:25: and_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:871:25: and_key
{
- pushFollow(FOLLOW_and_key_in_synpred7_DRL2539);
+ pushFollow(FOLLOW_and_key_in_synpred7_DRL2543);
and_key();
state._fsp--;
@@ -16715,10 +16619,10 @@
// $ANTLR start synpred8_DRL
public final void synpred8_DRL_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1046:5: ( LEFT_PAREN )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1046:6: LEFT_PAREN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1048:5: ( LEFT_PAREN )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1048:6: LEFT_PAREN
{
- match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred8_DRL3368); if (state.failed) return ;
+ match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_synpred8_DRL3372); if (state.failed) return ;
}
}
@@ -16855,21 +16759,21 @@
static final String DFA1_eofS =
"\1\2\11\uffff";
static final String DFA1_minS =
- "\2\125\2\uffff\1\0\5\uffff";
+ "\2\125\4\uffff\1\0\3\uffff";
static final String DFA1_maxS =
- "\1\125\1\170\2\uffff\1\0\5\uffff";
+ "\1\125\1\170\4\uffff\1\0\3\uffff";
static final String DFA1_acceptS =
- "\2\uffff\2\2\1\uffff\4\2\1\1";
+ "\2\uffff\4\2\1\uffff\2\2\1\1";
static final String DFA1_specialS =
- "\1\0\1\1\2\uffff\1\2\5\uffff}>";
+ "\1\uffff\1\1\4\uffff\1\0\3\uffff}>";
static final String[] DFA1_transitionS = {
"\1\1",
- "\1\4\3\uffff\1\5\1\10\6\uffff\1\7\1\6\25\uffff\1\3",
+ "\1\6\3\uffff\1\7\1\5\6\uffff\1\10\1\4\25\uffff\1\3",
"",
"",
- "\1\uffff",
"",
"",
+ "\1\uffff",
"",
"",
""
@@ -16905,25 +16809,25 @@
this.transition = DFA1_transition;
}
public String getDescription() {
- return "409:4: ( package_statement )?";
+ return "399:4: ( package_statement )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
- int LA1_0 = input.LA(1);
+ int LA1_6 = input.LA(1);
- int index1_0 = input.index();
+ int index1_6 = input.index();
input.rewind();
s = -1;
- if ( (LA1_0==ID) && (((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EFFECTIVE)))||((validateIdentifierKey(DroolsSoftKeywords.AGENDA) && validateLT(2, "-") && validateLT(3, DroolsSoft!
Keywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.RULE)))||((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EXPIRES)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.ENABLED)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords!
.TEMPLATE))))||((validateIdentifierKey(DroolsSoftKeywords.RULEFLOW) &&
validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.PACKAGE)))||((validateIdentifierKey(DroolsSoftKeywords.AUTO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.FOCUS)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)!
)))||((validateIdentifierKey(DroolsSoftKeywords.ACTIVATION) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.NO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.LOOP)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.DURATION)))||((validateIdentifierKey(DroolsSoftKeywords.LOCK) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.ON) && validateLT(4, "-") && validateLT(5, DroolsSoftKeywords.ACTIVE)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoft!
Keywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPL
ATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))))) {s = 1;}
+ if ( (((validateIdentifierKey(DroolsSoftKeywords.PACKAGE)))) ) {s = 9;}
- else if ( (LA1_0==EOF) ) {s = 2;}
+ else if ( (true) ) {s = 8;}
- input.seek(index1_0);
+ input.seek(index1_6);
if ( s>=0 ) return s;
break;
case 1 :
@@ -16935,35 +16839,20 @@
s = -1;
if ( (LA1_1==MISC) && ((((validateIdentifierKey(DroolsSoftKeywords.AGENDA) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EXPIRES)))||((validateIdentifierKey(DroolsSoftKeywords.ACTIVATION) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.LOCK) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.ON) && validateLT(4, "-") && validateLT(5, DroolsSoftKeywords.ACTIVE)))||((validateIdentifierKey(DroolsSoftKeywords.NO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.LOOP)))||((validateIdentifierKey(DroolsSoftKeywords.RULEFLOW) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.AUTO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.FOCUS)))||((validateIdentifierKey(DroolsSoftKeywords.DATE!
) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EFFECTIVE)))))) {s = 3;}
- else if ( (LA1_1==ID) && (((((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(Droo!
lsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||((validateIdentifierKey(DroolsSoftKeywords.PACKAGE)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((v!
alidateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1,
DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((!
validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.RULE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKe!
ywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)
)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") &&!
validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))))) {s = 4;}
+ else if ( (LA1_1==INT) && ((((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.DURATION)))))) {s = 4;}
- else if ( (LA1_1==STRING) && ((((validateIdentifierKey(DroolsSoftKeywords.RULE)))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))))) {s = 5;}
+ else if ( (LA1_1==LEFT_PAREN) && ((((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.ENABLED)))))) {s = 5;}
- else if ( (LA1_1==INT) && ((((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.DURATION)))))) {s = 6;}
+ else if ( (LA1_1==ID) ) {s = 6;}
- else if ( (LA1_1==BOOL) && (((validateIdentifierKey(DroolsSoftKeywords.ENABLED))))) {s = 7;}
+ else if ( (LA1_1==STRING) ) {s = 7;}
- else if ( (LA1_1==LEFT_PAREN) && ((((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.ENABLED)))))) {s = 8;}
+ else if ( (LA1_1==BOOL) && (((validateIdentifierKey(DroolsSoftKeywords.ENABLED))))) {s = 8;}
input.seek(index1_1);
if ( s>=0 ) return s;
break;
- case 2 :
- int LA1_4 = input.LA(1);
-
-
- int index1_4 = input.index();
- input.rewind();
- s = -1;
- if ( (((validateIdentifierKey(DroolsSoftKeywords.PACKAGE)))) ) {s = 9;}
-
- else if ( (((((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.RULE)))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION))))) ) {s = 8;}
-
-
- input.seek(index1_4);
- if ( s>=0 ) return s;
- break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
@@ -16977,19 +16866,17 @@
static final String DFA5_eofS =
"\20\uffff";
static final String DFA5_minS =
- "\2\125\3\uffff\2\0\11\uffff";
+ "\2\125\1\uffff\2\0\13\uffff";
static final String DFA5_maxS =
- "\1\125\1\170\3\uffff\2\0\11\uffff";
+ "\1\125\1\170\1\uffff\2\0\13\uffff";
static final String DFA5_acceptS =
- "\2\uffff\3\1\2\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11";
+ "\2\uffff\1\1\2\uffff\3\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11";
static final String DFA5_specialS =
- "\1\0\1\1\3\uffff\1\2\1\3\11\uffff}>";
+ "\1\uffff\1\0\1\uffff\1\1\1\2\13\uffff}>";
static final String[] DFA5_transitionS = {
"\1\1",
- "\1\5\3\uffff\1\6\1\4\6\uffff\1\3\1\7\25\uffff\1\2",
+ "\1\3\3\uffff\1\4\1\6\6\uffff\1\5\1\7\25\uffff\1\2",
"",
- "",
- "",
"\1\uffff",
"\1\uffff",
"",
@@ -17000,6 +16887,8 @@
"",
"",
"",
+ "",
+ "",
""
};
@@ -17033,26 +16922,13 @@
this.transition = DFA5_transition;
}
public String getDescription() {
- return "465:1: statement options {k=2; } : ( rule_attribute | {...}? => function_import_statement | import_statement | global | function | {...}? => template | {...}? => type_declaration | rule | query );";
+ return "457:1: statement options {k=2; } : ( rule_attribute | {...}? => function_import_statement | import_statement | global | function | {...}? => template | {...}? => type_declaration | rule | query );";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
- int LA5_0 = input.LA(1);
-
-
- int index5_0 = input.index();
- input.rewind();
- s = -1;
- if ( (LA5_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsS!
oftKeywords.TEMPLATE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EFFECTIVE)))||((validateIdentifierKey(DroolsSoftKeywords.AGENDA) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.RULE)))||((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EXPIRES)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.RULEFLOW) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.EN!
ABLED)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateId
entifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||((validateIdentifierKey(DroolsSoftKeywords.AUTO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.FOCUS)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.ACTIVATION) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.NO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.LOOP)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.I!
MPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.DURATION)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.LOCK) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.ON) && validateLT(4, "-") && validateLT(5, DroolsSoftKeywords.ACTIVE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(Drool!
sSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)
))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))))) {s = 1;}
-
-
- input.seek(index5_0);
- if ( s>=0 ) return s;
- break;
- case 1 :
int LA5_1 = input.LA(1);
@@ -17061,13 +16937,13 @@
s = -1;
if ( (LA5_1==MISC) && ((((validateIdentifierKey(DroolsSoftKeywords.AGENDA) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EXPIRES)))||((validateIdentifierKey(DroolsSoftKeywords.ACTIVATION) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.LOCK) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.ON) && validateLT(4, "-") && validateLT(5, DroolsSoftKeywords.ACTIVE)))||((validateIdentifierKey(DroolsSoftKeywords.NO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.LOOP)))||((validateIdentifierKey(DroolsSoftKeywords.RULEFLOW) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.AUTO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.FOCUS)))||((validateIdentifierKey(DroolsSoftKeywords.DATE!
) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EFFECTIVE)))))) {s = 2;}
- else if ( (LA5_1==BOOL) && (((validateIdentifierKey(DroolsSoftKeywords.ENABLED))))) {s = 3;}
+ else if ( (LA5_1==ID) && ((!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((vali!
dateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT!
(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeyword
s.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "functio!
n") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))!
&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||(((validat
eLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validat!
eIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1!
, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKey
words.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.!
IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLAT!
E))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIde
ntifierKey(DroolsSoftKeywords.DECLARE))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKe!
y(DroolsSoftKeywords.IMPORT)))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeyw!
ords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))
||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||!
((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL!
)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateI
dentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(!
DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && valid!
ateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IM
PORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT))!
)||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((!
validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(D
roolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifie!
rKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!((((((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeyw!
ords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "functio
n") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCT!
ION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))!
||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!((((((validateLT
(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifier!
Key(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(Dr!
oolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.
GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)!
))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") !
))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateI
dentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(Dro!
olsSoftKeywords.DECLARE))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKe!
ywords.TEMPLATE))))))||((validateIdentifierKey(DroolsSoftKeywords.IMPO
RT)))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!
!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((!
validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifie
rKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSo!
ftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DE!
CLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||(
((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||!((((((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validate!
LT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!((((((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") &!
& validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeyw
ords.IMPORT)))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT!
))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!((((((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdenti!
fierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") &&
validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && vali!
dateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywor!
ds.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function")
))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((valida!
teIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifie!
rKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftK
eywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords!
.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.D!
ECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((v
alidateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "imp!
ort") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdenti!
fierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeyw
ords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DE!
CLARE)))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE!
)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentif
ierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey!
(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, Drools!
SoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKey
words.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||!
!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((!
(validateLT(1, "import") && validateLT(2, "function") ))&&((validateId
entifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifie!
rKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!((((((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKey!
words.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))
||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((val!
idateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||!
((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdenti
fierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKe!
ywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKe!
ywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)
)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((va!
lidateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "i!
mport") && validateLT(2, "function") ))&&((validateIdentifierKey(Drool
sSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2!
, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords!
.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((v
alidateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validat!
eLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey!
(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKey
words.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSof!
tKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKe!
ywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))|
|((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!((((((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((val!
idateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateId!
entifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftK
eywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftK!
eywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)!
))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "
import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIden!
tifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.D!
ECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validate
IdentifierKey(DroolsSoftKeywords.DECLARE))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT!
(1, DroolsSoftKeywords.TEMPLATE))))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((valid!
ateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKe
ywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.!
DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function!
") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||!((((
(validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((va!
lidateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIden!
tifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(Drools
SoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKey!
words.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.!
IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((v
alidateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifi!
erKey(DroolsSoftKeywords.DECLARE)))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!((((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, !
DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsS
oftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))))))))) {s = 3;}
- else if ( (LA5_1==LEFT_PAREN) && ((((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.ENABLED)))))) {s = 4;}
+ else if ( (LA5_1==STRING) && ((!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((vali!
dateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, !
DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsS
oftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords!
.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))|!
|((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1
, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSof!
tKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.!
TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY))
)||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((valida!
teIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifi!
erKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeyword
s.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)!
)))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!((!
(((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdenti
fierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(Dro!
olsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKey!
words.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!
(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((valida!
teIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, Dr!
oolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSof
tKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.Q!
UERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))||!(((((vali!
dateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey
(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoft!
Keywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.D!
IALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((va
lidateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, D!
roolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftK!
eywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords
.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||!
((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validate!
IdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSof
tKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.T!
EMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE)))!
)))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((valida
teIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifie!
rKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))||!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))))) {s = 4;}
- else if ( (LA5_1==ID) && (((((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((vali!
dateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPL!
ATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateId
entifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeyword!
s.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.RULE)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIde!
ntifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftK
eywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(D!
roolsSoftKeywords.DECLARE))))))) {s = 5;}
+ else if ( (LA5_1==BOOL) && (((validateIdentifierKey(DroolsSoftKeywords.ENABLED))))) {s = 5;}
- else if ( (LA5_1==STRING) && (((((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoft!
Keywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||((validateIdentifierKey(DroolsSoftKeywords.RULE)))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdenti!
fierKey(DroolsSoftKeywords.TEMPLATE))))||(((validateLT(1, DroolsSoftKe
ywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))))) {s = 6;}
+ else if ( (LA5_1==LEFT_PAREN) && ((((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.ENABLED)))))) {s = 6;}
else if ( (LA5_1==INT) && ((((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.DURATION)))))) {s = 7;}
@@ -17075,11 +16951,11 @@
input.seek(index5_1);
if ( s>=0 ) return s;
break;
- case 2 :
- int LA5_5 = input.LA(1);
+ case 1 :
+ int LA5_3 = input.LA(1);
- int index5_5 = input.index();
+ int index5_3 = input.index();
input.rewind();
s = -1;
if ( ((((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))) ) {s = 8;}
@@ -17090,35 +16966,35 @@
else if ( (((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))) ) {s = 11;}
- else if ( ((((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))) ) {s = 12;}
+ else if ( (((validateLT(1, DroolsSoftKeywords.TEMPLATE)))) ) {s = 12;}
else if ( ((((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))) ) {s = 13;}
- else if ( (((validateIdentifierKey(DroolsSoftKeywords.RULE)))) ) {s = 14;}
+ else if ( (!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.GLOBAL)))||(((validateLT(1, "import") && validateLT(2, "function") ))&&((validateIdentifierKey(DroolsSoftKeywords.IMPORT))))||(((validateLT(1, DroolsSoftKeywords.DECLARE)))&&((validateIdentifierKey(DroolsSoftKeywords.DECLARE))))||((validateIdentifierKey(DroolsSoftKeywords.IMPORT)))||((validateIdentifierKey(DroolsSoftKeywords.FUNCTION)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))) ) {s = 14;}
else if ( (((validateIdentifierKey(DroolsSoftKeywords.QUERY)))) ) {s = 15;}
- input.seek(index5_5);
+ input.seek(index5_3);
if ( s>=0 ) return s;
break;
- case 3 :
- int LA5_6 = input.LA(1);
+ case 2 :
+ int LA5_4 = input.LA(1);
- int index5_6 = input.index();
+ int index5_4 = input.index();
input.rewind();
s = -1;
if ( (((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))) ) {s = 7;}
- else if ( ((((validateLT(1, DroolsSoftKeywords.TEMPLATE)))&&((validateIdentifierKey(DroolsSoftKeywords.TEMPLATE))))) ) {s = 12;}
+ else if ( (((validateLT(1, DroolsSoftKeywords.TEMPLATE)))) ) {s = 12;}
- else if ( (((validateIdentifierKey(DroolsSoftKeywords.RULE)))) ) {s = 14;}
+ else if ( (!(((((validateIdentifierKey(DroolsSoftKeywords.QUERY)))||((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateLT(1, DroolsSoftKeywords.TEMPLATE))))))) ) {s = 14;}
else if ( (((validateIdentifierKey(DroolsSoftKeywords.QUERY)))) ) {s = 15;}
- input.seek(index5_6);
+ input.seek(index5_4);
if ( s>=0 ) return s;
break;
}
@@ -17134,9 +17010,10 @@
static final String DFA12_eofS =
"\16\uffff";
static final String DFA12_minS =
- "\2\125\1\uffff\1\125\1\uffff\1\125\1\164\3\125\2\164\1\132\1\125";
+ "\2\125\1\uffff\1\125\1\uffff\2\125\2\164\2\125\1\132\1\164\1\125";
static final String DFA12_maxS =
- "\1\132\1\134\1\uffff\1\163\1\uffff\1\125\1\164\3\163\2\164\2\163";
+ "\1\132\1\134\1\uffff\1\163\1\uffff\1\163\1\125\2\164\3\163\1\164"+
+ "\1\163";
static final String DFA12_acceptS =
"\2\uffff\1\2\1\uffff\1\1\11\uffff";
static final String DFA12_specialS =
@@ -17145,17 +17022,17 @@
"\1\2\2\uffff\1\2\1\uffff\1\1",
"\1\3\4\uffff\1\2\1\uffff\1\4",
"",
- "\1\7\1\5\3\uffff\1\2\2\4\1\uffff\1\2\24\uffff\1\6",
+ "\1\5\1\6\3\uffff\1\2\2\4\1\uffff\1\2\24\uffff\1\7",
"",
- "\1\10",
+ "\2\2\3\uffff\1\2\2\4\1\uffff\1\2\24\uffff\1\10",
"\1\11",
- "\2\2\3\uffff\1\2\2\4\1\uffff\1\2\24\uffff\1\12",
- "\1\4\1\5\3\uffff\1\2\30\uffff\1\13",
- "\1\4\4\uffff\1\2\2\4\26\uffff\1\6",
- "\1\14",
+ "\1\12",
+ "\1\13",
+ "\1\4\1\6\3\uffff\1\2\30\uffff\1\14",
+ "\1\4\4\uffff\1\2\2\4\26\uffff\1\7",
+ "\1\2\2\4\26\uffff\1\10",
"\1\15",
- "\1\2\2\4\26\uffff\1\12",
- "\1\4\4\uffff\1\2\30\uffff\1\13"
+ "\1\4\4\uffff\1\2\30\uffff\1\14"
};
static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS);
@@ -17188,7 +17065,7 @@
this.transition = DFA12_transition;
}
public String getDescription() {
- return "538:3: ( parameters )?";
+ return "528:3: ( parameters )?";
}
}
static final String DFA17_eotS =
@@ -17242,7 +17119,7 @@
this.transition = DFA17_transition;
}
public String getDescription() {
- return "564:4: ( data_type )?";
+ return "554:4: ( data_type )?";
}
}
static final String DFA28_eotS =
@@ -17250,24 +17127,24 @@
static final String DFA28_eofS =
"\12\uffff";
static final String DFA28_minS =
- "\2\125\4\uffff\1\0\3\uffff";
+ "\2\125\6\uffff\1\0\1\uffff";
static final String DFA28_maxS =
- "\1\165\1\170\4\uffff\1\0\3\uffff";
+ "\1\165\1\170\6\uffff\1\0\1\uffff";
static final String DFA28_acceptS =
- "\2\uffff\4\2\1\uffff\1\1\2\2";
+ "\2\uffff\5\2\1\1\1\uffff\1\2";
static final String DFA28_specialS =
- "\1\2\1\0\4\uffff\1\1\3\uffff}>";
+ "\1\0\1\1\6\uffff\1\2\1\uffff}>";
static final String[] DFA28_transitionS = {
"\1\1\7\uffff\1\2\2\uffff\1\2\24\uffff\1\2",
- "\1\7\3\uffff\1\6\1\5\3\uffff\1\11\2\uffff\1\4\1\10\25\uffff"+
+ "\1\7\3\uffff\1\10\1\6\3\uffff\1\4\2\uffff\1\5\1\11\25\uffff"+
"\1\3",
"",
"",
"",
"",
- "\1\uffff",
"",
"",
+ "\1\uffff",
""
};
@@ -17301,13 +17178,28 @@
this.transition = DFA28_transition;
}
public String getDescription() {
- return "652:3: ( extend_key rule_id )?";
+ return "646:3: ( extend_key rule_id )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
+ int LA28_0 = input.LA(1);
+
+
+ int index28_0 = input.index();
+ input.rewind();
+ s = -1;
+ if ( (LA28_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateIdentifierKey(DroolsSoftKeywords.ACTIVATION) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.EXTEND)))||((validateIdentifierKey(DroolsSoftKeywords.NO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.LOOP)))||((validateIdentifierKey(DroolsSoftKeywords.DURATION)))||((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EFFECTIVE)))||((validateIdentifierKey(DroolsSoftKeywords.AGENDA) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EXPIRES)))||((validateIdentifierKey(DroolsSoftKeywords.LOCK) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.ON) && validateLT(4, "-") && validateLT(5, DroolsSoftKeywords.ACTIVE)))||!
((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.RULEFLOW) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.ENABLED)))||((validateIdentifierKey(DroolsSoftKeywords.ATTRIBUTES)))||((validateIdentifierKey(DroolsSoftKeywords.AUTO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.FOCUS)))))) {s = 1;}
+
+ else if ( (LA28_0==AT||LA28_0==WHEN||LA28_0==THEN) ) {s = 2;}
+
+
+ input.seek(index28_0);
+ if ( s>=0 ) return s;
+ break;
+ case 1 :
int LA28_1 = input.LA(1);
@@ -17316,27 +17208,27 @@
s = -1;
if ( (LA28_1==MISC) && ((((validateIdentifierKey(DroolsSoftKeywords.AGENDA) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EXPIRES)))||((validateIdentifierKey(DroolsSoftKeywords.ACTIVATION) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.LOCK) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.ON) && validateLT(4, "-") && validateLT(5, DroolsSoftKeywords.ACTIVE)))||((validateIdentifierKey(DroolsSoftKeywords.NO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.LOOP)))||((validateIdentifierKey(DroolsSoftKeywords.RULEFLOW) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.AUTO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.FOCUS)))||((validateIdentifierKey(DroolsSoftKeywords.DAT!
E) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EFFECTIVE)))))) {s = 3;}
- else if ( (LA28_1==BOOL) && (((validateIdentifierKey(DroolsSoftKeywords.ENABLED))))) {s = 4;}
+ else if ( (LA28_1==COLON) && (((validateIdentifierKey(DroolsSoftKeywords.ATTRIBUTES))))) {s = 4;}
- else if ( (LA28_1==LEFT_PAREN) && ((((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.ENABLED)))))) {s = 5;}
+ else if ( (LA28_1==BOOL) && (((validateIdentifierKey(DroolsSoftKeywords.ENABLED))))) {s = 5;}
- else if ( (LA28_1==STRING) && ((((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateIdentifierKey(DroolsSoftKeywords.EXTEND)))))) {s = 6;}
+ else if ( (LA28_1==LEFT_PAREN) && ((((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.ENABLED)))))) {s = 6;}
else if ( (LA28_1==ID) && (((validateIdentifierKey(DroolsSoftKeywords.EXTEND))))) {s = 7;}
- else if ( (LA28_1==INT) && ((((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.DURATION)))))) {s = 8;}
+ else if ( (LA28_1==STRING) && ((((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateIdentifierKey(DroolsSoftKeywords.EXTEND)))))) {s = 8;}
- else if ( (LA28_1==COLON) && (((validateIdentifierKey(DroolsSoftKeywords.ATTRIBUTES))))) {s = 9;}
+ else if ( (LA28_1==INT) && ((((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.DURATION)))))) {s = 9;}
input.seek(index28_1);
if ( s>=0 ) return s;
break;
- case 1 :
- int LA28_6 = input.LA(1);
+ case 2 :
+ int LA28_8 = input.LA(1);
- int index28_6 = input.index();
+ int index28_8 = input.index();
input.rewind();
s = -1;
if ( (((validateIdentifierKey(DroolsSoftKeywords.EXTEND)))) ) {s = 7;}
@@ -17344,24 +17236,9 @@
else if ( (((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))) ) {s = 9;}
- input.seek(index28_6);
+ input.seek(index28_8);
if ( s>=0 ) return s;
break;
- case 2 :
- int LA28_0 = input.LA(1);
-
-
- int index28_0 = input.index();
- input.rewind();
- s = -1;
- if ( (LA28_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.DIALECT)))||((validateIdentifierKey(DroolsSoftKeywords.ACTIVATION) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.EXTEND)))||((validateIdentifierKey(DroolsSoftKeywords.NO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.LOOP)))||((validateIdentifierKey(DroolsSoftKeywords.DURATION)))||((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EFFECTIVE)))||((validateIdentifierKey(DroolsSoftKeywords.AGENDA) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.DATE) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.EXPIRES)))||((validateIdentifierKey(DroolsSoftKeywords.LOCK) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.ON) && validateLT(4, "-") && validateLT(5, DroolsSoftKeywords.ACTIVE)))||!
((validateIdentifierKey(DroolsSoftKeywords.SALIENCE)))||((validateIdentifierKey(DroolsSoftKeywords.RULEFLOW) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.GROUP)))||((validateIdentifierKey(DroolsSoftKeywords.ENABLED)))||((validateIdentifierKey(DroolsSoftKeywords.ATTRIBUTES)))||((validateIdentifierKey(DroolsSoftKeywords.AUTO) && validateLT(2, "-") && validateLT(3, DroolsSoftKeywords.FOCUS)))))) {s = 1;}
-
- else if ( (LA28_0==AT||LA28_0==WHEN||LA28_0==THEN) ) {s = 2;}
-
-
- input.seek(index28_0);
- if ( s>=0 ) return s;
- break;
}
if (state.backtracking>0) {state.failed=true; return -1;}
NoViableAltException nvae =
@@ -17429,7 +17306,7 @@
this.transition = DFA37_transition;
}
public String getDescription() {
- return "679:1: rule_attribute : ( salience | no_loop | agenda_group | duration | activation_group | auto_focus | date_effective | date_expires | enabled | ruleflow_group | lock_on_active | dialect );";
+ return "715:1: rule_attribute : ( salience | no_loop | agenda_group | duration | activation_group | auto_focus | date_effective | date_expires | enabled | ruleflow_group | lock_on_active | dialect );";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
@@ -17550,7 +17427,7 @@
this.transition = DFA69_transition;
}
public String getDescription() {
- return "1046:3: ( ( LEFT_PAREN )=>args= paren_chunk )?";
+ return "1048:3: ( ( LEFT_PAREN )=>args= paren_chunk )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
@@ -17639,7 +17516,7 @@
this.transition = DFA71_transition;
}
public String getDescription() {
- return "1060:4: ({...}? paren_chunk | square_chunk )?";
+ return "1062:4: ({...}? paren_chunk | square_chunk )?";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
@@ -17673,17 +17550,18 @@
static final String DFA81_eofS =
"\17\uffff";
static final String DFA81_minS =
- "\2\125\12\uffff\1\0\2\uffff";
+ "\2\125\1\uffff\1\0\13\uffff";
static final String DFA81_maxS =
- "\1\132\1\163\12\uffff\1\0\2\uffff";
+ "\1\132\1\163\1\uffff\1\0\13\uffff";
static final String DFA81_acceptS =
- "\2\uffff\1\3\1\2\12\uffff\1\1";
+ "\2\uffff\1\3\1\uffff\1\2\11\uffff\1\1";
static final String DFA81_specialS =
- "\14\uffff\1\0\2\uffff}>";
+ "\3\uffff\1\0\13\uffff}>";
static final String[] DFA81_transitionS = {
"\1\1\4\uffff\1\2",
- "\2\3\3\uffff\1\14\3\uffff\1\3\14\uffff\6\3\2\uffff\1\3",
+ "\2\4\3\uffff\1\3\3\uffff\1\4\14\uffff\6\4\2\uffff\1\4",
"",
+ "\1\uffff",
"",
"",
"",
@@ -17693,7 +17571,6 @@
"",
"",
"",
- "\1\uffff",
"",
""
};
@@ -17728,25 +17605,25 @@
this.transition = DFA81_transition;
}
public String getDescription() {
- return "1133:1: unary_constr options {k=2; } : ( eval_key paren_chunk | field_constraint | LEFT_PAREN or_constr RIGHT_PAREN );";
+ return "1135:1: unary_constr options {k=2; } : ( eval_key paren_chunk | field_constraint | LEFT_PAREN or_constr RIGHT_PAREN );";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
int _s = s;
switch ( s ) {
case 0 :
- int LA81_12 = input.LA(1);
+ int LA81_3 = input.LA(1);
- int index81_12 = input.index();
+ int index81_3 = input.index();
input.rewind();
s = -1;
if ( (((validateIdentifierKey(DroolsSoftKeywords.EVAL)))) ) {s = 14;}
- else if ( (true) ) {s = 3;}
+ else if ( (true) ) {s = 4;}
- input.seek(index81_12);
+ input.seek(index81_3);
if ( s>=0 ) return s;
break;
}
@@ -17758,25 +17635,24 @@
}
}
static final String DFA86_eotS =
- "\51\uffff";
+ "\50\uffff";
static final String DFA86_eofS =
- "\11\uffff\1\36\37\uffff";
+ "\50\uffff";
static final String DFA86_minS =
- "\2\125\7\uffff\1\125\5\uffff\1\4\1\uffff\1\0\15\uffff\2\0\1\uffff"+
- "\5\0\2\uffff";
+ "\2\125\7\uffff\1\4\1\125\6\uffff\2\0\1\uffff\5\0\15\uffff\1\0\1"+
+ "\uffff";
static final String DFA86_maxS =
- "\1\160\1\163\7\uffff\1\163\5\uffff\1\u0083\1\uffff\1\0\15\uffff"+
- "\2\0\1\uffff\5\0\2\uffff";
+ "\1\160\1\163\7\uffff\1\u0082\1\163\6\uffff\2\0\1\uffff\5\0\15\uffff"+
+ "\1\0\1\uffff";
static final String DFA86_acceptS =
- "\2\uffff\1\2\5\uffff\1\3\1\uffff\5\2\1\uffff\1\2\1\uffff\1\2\5\uffff"+
- "\7\2\2\uffff\1\2\5\uffff\1\2\1\1";
+ "\2\uffff\1\2\5\uffff\1\3\2\uffff\1\2\16\uffff\2\2\4\uffff\1\2\6"+
+ "\uffff\1\1";
static final String DFA86_specialS =
- "\1\0\1\1\7\uffff\1\2\5\uffff\1\3\1\uffff\1\4\15\uffff\1\5\1\6\1"+
- "\uffff\1\7\1\10\1\11\1\12\1\13\2\uffff}>";
+ "\1\0\1\1\7\uffff\1\2\1\3\6\uffff\1\4\1\5\1\uffff\1\6\1\7\1\10\1"+
+ "\11\1\12\15\uffff\1\13\1\uffff}>";
static final String[] DFA86_transitionS = {
"\1\1\4\uffff\1\10\20\uffff\6\2",
- "\1\11\3\uffff\1\12\1\17\6\uffff\1\15\1\13\16\uffff\1\14\1\16"+
- "\1\20",
+ "\1\12\3\uffff\1\13\1\11\6\uffff\2\13\16\uffff\3\13",
"",
"",
"",
@@ -17784,18 +17660,24 @@
"",
"",
"",
- "\1\22\1\31\2\uffff\1\22\1\21\1\34\1\35\4\uffff\2\22\1\33\1\32"+
- "\14\uffff\2\22\1\30",
+ "\121\13\1\21\3\13\1\24\1\22\6\13\1\27\1\25\16\13\1\26\1\30"+
+ "\20\13",
+ "\1\40\1\33\2\uffff\1\40\1\46\2\33\4\uffff\2\40\2\33\14\uffff"+
+ "\2\40\1\32",
"",
"",
"",
"",
"",
- "\121\47\1\37\3\47\1\42\1\40\1\47\1\41\4\47\1\45\1\43\16\47\1"+
- "\44\1\46\21\47",
"",
"\1\uffff",
+ "\1\uffff",
"",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
"",
"",
"",
@@ -17808,15 +17690,8 @@
"",
"",
"",
- "\1\uffff",
- "\1\uffff",
"",
"\1\uffff",
- "\1\uffff",
- "\1\uffff",
- "\1\uffff",
- "\1\uffff",
- "",
""
};
@@ -17850,7 +17725,7 @@
this.transition = DFA86_transition;
}
public String getDescription() {
- return "1180:1: constraint_expression options {k=3; } : ( compound_operator | simple_operator | LEFT_PAREN or_restr_connective RIGHT_PAREN );";
+ return "1199:1: constraint_expression options {k=3; } : ( compound_operator | simple_operator | LEFT_PAREN or_restr_connective RIGHT_PAREN );";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
TokenStream input = (TokenStream)_input;
@@ -17863,7 +17738,7 @@
int index86_0 = input.index();
input.rewind();
s = -1;
- if ( (LA86_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))||((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 1;}
+ if ( (LA86_0==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.IN)))||((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((isPluggableEvaluator(false)))))) {s = 1;}
else if ( ((LA86_0>=EQUAL && LA86_0<=NOT_EQUAL)) ) {s = 2;}
@@ -17880,22 +17755,12 @@
int index86_1 = input.index();
input.rewind();
s = -1;
- if ( (LA86_1==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 9;}
+ if ( (LA86_1==LEFT_PAREN) && ((((validateIdentifierKey(DroolsSoftKeywords.IN)))||((isPluggableEvaluator(false)))))) {s = 9;}
- else if ( (LA86_1==STRING) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 10;}
+ else if ( (LA86_1==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((isPluggableEvaluator(false)))))) {s = 10;}
- else if ( (LA86_1==INT) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 11;}
+ else if ( (LA86_1==STRING||(LA86_1>=BOOL && LA86_1<=INT)||(LA86_1>=FLOAT && LA86_1<=LEFT_SQUARE)) && (((isPluggableEvaluator(false))))) {s = 11;}
- else if ( (LA86_1==FLOAT) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 12;}
-
- else if ( (LA86_1==BOOL) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 13;}
-
- else if ( (LA86_1==NULL) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 14;}
-
- else if ( (LA86_1==LEFT_PAREN) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 15;}
-
- else if ( (LA86_1==LEFT_SQUARE) && (((isPluggableEvaluator(false))))) {s = 16;}
-
input.seek(index86_1);
if ( s>=0 ) return s;
@@ -17907,55 +17772,43 @@
int index86_9 = input.index();
input.rewind();
s = -1;
- if ( (LA86_9==LEFT_PAREN) && (((validateIdentifierKey(DroolsSoftKeywords.NOT))))) {s = 17;}
+ if ( (LA86_9==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.IN)))||((isPluggableEvaluator(false)))))) {s = 17;}
- else if ( (LA86_9==ID||LA86_9==STRING||(LA86_9>=BOOL && LA86_9<=INT)||(LA86_9>=FLOAT && LA86_9<=NULL)) && (((validateIdentifierKey(DroolsSoftKeywords.NOT))))) {s = 18;}
+ else if ( (LA86_9==LEFT_PAREN) && ((((validateIdentifierKey(DroolsSoftKeywords.IN)))||((isPluggableEvaluator(false)))))) {s = 18;}
- else if ( (LA86_9==LEFT_SQUARE) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 24;}
+ else if ( ((LA86_9>=VT_COMPILATION_UNIT && LA86_9<=SEMICOLON)||(LA86_9>=DOT && LA86_9<=END)||(LA86_9>=COMMA && LA86_9<=WHEN)||(LA86_9>=DOUBLE_PIPE && LA86_9<=NOT_EQUAL)||(LA86_9>=LEFT_SQUARE && LA86_9<=MULTI_LINE_COMMENT)) && (((isPluggableEvaluator(false))))) {s = 11;}
- else if ( (LA86_9==DOT) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 25;}
+ else if ( (LA86_9==STRING) && ((((validateIdentifierKey(DroolsSoftKeywords.IN)))||((isPluggableEvaluator(false)))))) {s = 20;}
- else if ( (LA86_9==DOUBLE_AMPER) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 26;}
+ else if ( (LA86_9==INT) && ((((validateIdentifierKey(DroolsSoftKeywords.IN)))||((isPluggableEvaluator(false)))))) {s = 21;}
- else if ( (LA86_9==DOUBLE_PIPE) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 27;}
+ else if ( (LA86_9==FLOAT) && ((((validateIdentifierKey(DroolsSoftKeywords.IN)))||((isPluggableEvaluator(false)))))) {s = 22;}
- else if ( (LA86_9==COMMA) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 28;}
+ else if ( (LA86_9==BOOL) && ((((validateIdentifierKey(DroolsSoftKeywords.IN)))||((isPluggableEvaluator(false)))))) {s = 23;}
- else if ( (LA86_9==RIGHT_PAREN) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 29;}
+ else if ( (LA86_9==NULL) && ((((validateIdentifierKey(DroolsSoftKeywords.IN)))||((isPluggableEvaluator(false)))))) {s = 24;}
- else if ( (LA86_9==EOF) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 30;}
-
input.seek(index86_9);
if ( s>=0 ) return s;
break;
case 3 :
- int LA86_15 = input.LA(1);
+ int LA86_10 = input.LA(1);
- int index86_15 = input.index();
+ int index86_10 = input.index();
input.rewind();
s = -1;
- if ( (LA86_15==ID) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 31;}
+ if ( (LA86_10==LEFT_SQUARE) && ((((validateIdentifierKey(DroolsSoftKeywords.NOT)))||((isPluggableEvaluator(false)))))) {s = 26;}
- else if ( (LA86_15==LEFT_PAREN) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 32;}
+ else if ( (LA86_10==DOT||(LA86_10>=COMMA && LA86_10<=RIGHT_PAREN)||(LA86_10>=DOUBLE_PIPE && LA86_10<=DOUBLE_AMPER)) && (((isPluggableEvaluator(false))))) {s = 27;}
- else if ( (LA86_15==RIGHT_PAREN) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 33;}
+ else if ( (LA86_10==ID||LA86_10==STRING||(LA86_10>=BOOL && LA86_10<=INT)||(LA86_10>=FLOAT && LA86_10<=NULL)) && (((validateIdentifierKey(DroolsSoftKeywords.NOT))))) {s = 32;}
- else if ( (LA86_15==STRING) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 34;}
+ else if ( (LA86_10==LEFT_PAREN) && (((validateIdentifierKey(DroolsSoftKeywords.NOT))))) {s = 38;}
- else if ( (LA86_15==INT) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 35;}
-
- else if ( (LA86_15==FLOAT) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 36;}
-
- else if ( (LA86_15==BOOL) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 37;}
-
- else if ( (LA86_15==NULL) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.IN)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 38;}
-
- else if ( ((LA86_15>=VT_COMPILATION_UNIT && LA86_15<=SEMICOLON)||(LA86_15>=DOT && LA86_15<=END)||LA86_15==COMMA||(LA86_15>=AT && LA86_15<=WHEN)||(LA86_15>=DOUBLE_PIPE && LA86_15<=NOT_EQUAL)||(LA86_15>=LEFT_SQUARE && LA86_15<=MULTI_LINE_COMMENT)) && ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF)))))) {s = 39;}
-
- input.seek(index86_15);
+ input.seek(index86_10);
if ( s>=0 ) return s;
break;
case 4 :
@@ -17965,102 +17818,102 @@
int index86_17 = input.index();
input.rewind();
s = -1;
- if ( (((validateIdentifierKey(DroolsSoftKeywords.NOT)))) ) {s = 40;}
+ if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 39;}
- else if ( (((validateIdentifierKey(DroolsSoftKeywords.NOT)))) ) {s = 39;}
+ else if ( (((isPluggableEvaluator(false)))) ) {s = 32;}
input.seek(index86_17);
if ( s>=0 ) return s;
break;
case 5 :
- int LA86_31 = input.LA(1);
+ int LA86_18 = input.LA(1);
- int index86_31 = input.index();
+ int index86_18 = input.index();
input.rewind();
s = -1;
- if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 40;}
+ if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 39;}
- else if ( ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF))))) ) {s = 39;}
+ else if ( (((isPluggableEvaluator(false)))) ) {s = 32;}
- input.seek(index86_31);
+ input.seek(index86_18);
if ( s>=0 ) return s;
break;
case 6 :
- int LA86_32 = input.LA(1);
+ int LA86_20 = input.LA(1);
- int index86_32 = input.index();
+ int index86_20 = input.index();
input.rewind();
s = -1;
- if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 40;}
+ if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 39;}
- else if ( ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF))))) ) {s = 39;}
+ else if ( (((isPluggableEvaluator(false)))) ) {s = 32;}
- input.seek(index86_32);
+ input.seek(index86_20);
if ( s>=0 ) return s;
break;
case 7 :
- int LA86_34 = input.LA(1);
+ int LA86_21 = input.LA(1);
- int index86_34 = input.index();
+ int index86_21 = input.index();
input.rewind();
s = -1;
- if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 40;}
+ if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 39;}
- else if ( ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF))))) ) {s = 39;}
+ else if ( (((isPluggableEvaluator(false)))) ) {s = 32;}
- input.seek(index86_34);
+ input.seek(index86_21);
if ( s>=0 ) return s;
break;
case 8 :
- int LA86_35 = input.LA(1);
+ int LA86_22 = input.LA(1);
- int index86_35 = input.index();
+ int index86_22 = input.index();
input.rewind();
s = -1;
- if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 40;}
+ if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 39;}
- else if ( ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF))))) ) {s = 39;}
+ else if ( (((isPluggableEvaluator(false)))) ) {s = 32;}
- input.seek(index86_35);
+ input.seek(index86_22);
if ( s>=0 ) return s;
break;
case 9 :
- int LA86_36 = input.LA(1);
+ int LA86_23 = input.LA(1);
- int index86_36 = input.index();
+ int index86_23 = input.index();
input.rewind();
s = -1;
- if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 40;}
+ if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 39;}
- else if ( ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF))))) ) {s = 39;}
+ else if ( (((isPluggableEvaluator(false)))) ) {s = 32;}
- input.seek(index86_36);
+ input.seek(index86_23);
if ( s>=0 ) return s;
break;
case 10 :
- int LA86_37 = input.LA(1);
+ int LA86_24 = input.LA(1);
- int index86_37 = input.index();
+ int index86_24 = input.index();
input.rewind();
s = -1;
- if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 40;}
+ if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 39;}
- else if ( ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF))))) ) {s = 39;}
+ else if ( (((isPluggableEvaluator(false)))) ) {s = 32;}
- input.seek(index86_37);
+ input.seek(index86_24);
if ( s>=0 ) return s;
break;
case 11 :
@@ -18070,9 +17923,9 @@
int index86_38 = input.index();
input.rewind();
s = -1;
- if ( (((validateIdentifierKey(DroolsSoftKeywords.IN)))) ) {s = 40;}
+ if ( (((validateIdentifierKey(DroolsSoftKeywords.NOT)))) ) {s = 39;}
- else if ( ((((validateIdentifierKey(DroolsSoftKeywords.CONTAINS)))||((validateIdentifierKey(DroolsSoftKeywords.SOUNDSLIKE)))||((validateIdentifierKey(DroolsSoftKeywords.MATCHES)))||((isPluggableEvaluator(false)))||((validateIdentifierKey(DroolsSoftKeywords.MEMBEROF))))) ) {s = 39;}
+ else if ( (((validateIdentifierKey(DroolsSoftKeywords.NOT)))) ) {s = 32;}
input.seek(index86_38);
@@ -18090,440 +17943,436 @@
public static final BitSet FOLLOW_package_statement_in_compilation_unit396 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
public static final BitSet FOLLOW_statement_in_compilation_unit401 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_EOF_in_compilation_unit407 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_package_key_in_package_statement462 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_package_id_in_package_statement466 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_SEMICOLON_in_package_statement468 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_package_id495 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
- public static final BitSet FOLLOW_DOT_in_package_id501 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_package_id505 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
- public static final BitSet FOLLOW_rule_attribute_in_statement549 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_function_import_statement_in_statement556 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_import_statement_in_statement562 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_global_in_statement568 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_function_in_statement574 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_template_in_statement582 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_type_declaration_in_statement590 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_rule_in_statement595 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_query_in_statement600 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_import_key_in_import_statement622 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_import_name_in_import_statement624 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_SEMICOLON_in_import_statement627 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_import_key_in_function_import_statement665 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_function_key_in_function_import_statement667 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_import_name_in_function_import_statement669 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_SEMICOLON_in_function_import_statement672 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_import_name706 = new BitSet(new long[]{0x0000000000000002L,0x0000000000C00000L});
- public static final BitSet FOLLOW_DOT_in_import_name712 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_import_name716 = new BitSet(new long[]{0x0000000000000002L,0x0000000000C00000L});
- public static final BitSet FOLLOW_DOT_STAR_in_import_name723 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_global_key_in_global763 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_data_type_in_global765 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_global_id_in_global767 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_SEMICOLON_in_global769 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_global_id798 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_function_key_in_function830 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_data_type_in_function832 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_function_id_in_function835 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_parameters_in_function837 = new BitSet(new long[]{0x0000000000000000L,0x0040000000000000L});
- public static final BitSet FOLLOW_curly_chunk_in_function839 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_function_id869 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_query_key_in_query901 = new BitSet(new long[]{0x0000000000000000L,0x0000000002200000L});
- public static final BitSet FOLLOW_query_id_in_query903 = new BitSet(new long[]{0x0000000000000000L,0x0000000005200000L});
- public static final BitSet FOLLOW_parameters_in_query911 = new BitSet(new long[]{0x0000000000000000L,0x0000000005200000L});
- public static final BitSet FOLLOW_normal_lhs_block_in_query920 = new BitSet(new long[]{0x0000000000000000L,0x0000000001000000L});
- public static final BitSet FOLLOW_END_in_query925 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_SEMICOLON_in_query927 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_query_id962 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_STRING_in_query_id978 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_parameters997 = new BitSet(new long[]{0x0000000000000000L,0x0000000010200000L});
+ public static final BitSet FOLLOW_EOF_in_compilation_unit406 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_package_key_in_package_statement461 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_package_id_in_package_statement465 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_SEMICOLON_in_package_statement467 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_package_id494 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
+ public static final BitSet FOLLOW_DOT_in_package_id500 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_package_id504 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
+ public static final BitSet FOLLOW_rule_attribute_in_statement542 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_function_import_statement_in_statement549 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_import_statement_in_statement555 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_global_in_statement561 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_function_in_statement567 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_template_in_statement575 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_type_declaration_in_statement583 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rule_in_statement588 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_query_in_statement593 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_import_key_in_import_statement615 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_import_name_in_import_statement617 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_SEMICOLON_in_import_statement620 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_import_key_in_function_import_statement658 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_function_key_in_function_import_statement660 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_import_name_in_function_import_statement662 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_SEMICOLON_in_function_import_statement665 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_import_name699 = new BitSet(new long[]{0x0000000000000002L,0x0000000000C00000L});
+ public static final BitSet FOLLOW_DOT_in_import_name705 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_import_name709 = new BitSet(new long[]{0x0000000000000002L,0x0000000000C00000L});
+ public static final BitSet FOLLOW_DOT_STAR_in_import_name716 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_global_key_in_global756 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_data_type_in_global758 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_global_id_in_global760 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_SEMICOLON_in_global762 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_global_id791 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_function_key_in_function823 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_data_type_in_function825 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_function_id_in_function828 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_parameters_in_function830 = new BitSet(new long[]{0x0000000000000000L,0x0040000000000000L});
+ public static final BitSet FOLLOW_curly_chunk_in_function832 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_function_id862 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_query_key_in_query894 = new BitSet(new long[]{0x0000000000000000L,0x0000000002200000L});
+ public static final BitSet FOLLOW_query_id_in_query896 = new BitSet(new long[]{0x0000000000000000L,0x0000000005200000L});
+ public static final BitSet FOLLOW_parameters_in_query904 = new BitSet(new long[]{0x0000000000000000L,0x0000000005200000L});
+ public static final BitSet FOLLOW_normal_lhs_block_in_query913 = new BitSet(new long[]{0x0000000000000000L,0x0000000001000000L});
+ public static final BitSet FOLLOW_END_in_query918 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_SEMICOLON_in_query920 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_query_id955 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_STRING_in_query_id971 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_parameters990 = new BitSet(new long[]{0x0000000000000000L,0x0000000010200000L});
+ public static final BitSet FOLLOW_param_definition_in_parameters999 = new BitSet(new long[]{0x0000000000000000L,0x0000000018000000L});
+ public static final BitSet FOLLOW_COMMA_in_parameters1002 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
public static final BitSet FOLLOW_param_definition_in_parameters1006 = new BitSet(new long[]{0x0000000000000000L,0x0000000018000000L});
- public static final BitSet FOLLOW_COMMA_in_parameters1009 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_param_definition_in_parameters1013 = new BitSet(new long[]{0x0000000000000000L,0x0000000018000000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_parameters1022 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_data_type_in_param_definition1048 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_argument_in_param_definition1051 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_argument1062 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
- public static final BitSet FOLLOW_dimension_definition_in_argument1068 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
- public static final BitSet FOLLOW_declare_key_in_type_declaration1091 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_type_declare_id_in_type_declaration1094 = new BitSet(new long[]{0x0000000000000000L,0x0000000021200000L});
- public static final BitSet FOLLOW_decl_metadata_in_type_declaration1098 = new BitSet(new long[]{0x0000000000000000L,0x0000000021200000L});
- public static final BitSet FOLLOW_decl_field_in_type_declaration1103 = new BitSet(new long[]{0x0000000000000000L,0x0000000001200000L});
- public static final BitSet FOLLOW_END_in_type_declaration1108 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_type_declare_id1143 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_AT_in_decl_metadata1162 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_decl_metadata1170 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_paren_chunk_in_decl_metadata1177 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_decl_field1200 = new BitSet(new long[]{0x0000000000000000L,0x00000000C0000000L});
- public static final BitSet FOLLOW_decl_field_initialization_in_decl_field1206 = new BitSet(new long[]{0x0000000000000000L,0x0000000040000000L});
- public static final BitSet FOLLOW_COLON_in_decl_field1212 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_data_type_in_decl_field1218 = new BitSet(new long[]{0x0000000000000002L,0x0000000020000000L});
- public static final BitSet FOLLOW_decl_metadata_in_decl_field1222 = new BitSet(new long[]{0x0000000000000002L,0x0000000020000000L});
- public static final BitSet FOLLOW_EQUALS_in_decl_field_initialization1250 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_paren_chunk_in_decl_field_initialization1256 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_template_key_in_template1287 = new BitSet(new long[]{0x0000000000000000L,0x0000000002200000L});
- public static final BitSet FOLLOW_template_id_in_template1289 = new BitSet(new long[]{0x0000000000000000L,0x0000000000300000L});
- public static final BitSet FOLLOW_SEMICOLON_in_template1296 = new BitSet(new long[]{0x0000000000000000L,0x0000000000300000L});
- public static final BitSet FOLLOW_template_slot_in_template1304 = new BitSet(new long[]{0x0000000000000000L,0x0000000001300000L});
- public static final BitSet FOLLOW_END_in_template1309 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_SEMICOLON_in_template1313 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_template_id1346 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_STRING_in_template_id1362 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_data_type_in_template_slot1382 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_slot_id_in_template_slot1384 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_SEMICOLON_in_template_slot1386 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_slot_id1415 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_rule_key_in_rule1447 = new BitSet(new long[]{0x0000000000000000L,0x0000000002200000L});
- public static final BitSet FOLLOW_rule_id_in_rule1449 = new BitSet(new long[]{0x0000000000000000L,0x0020000120200000L});
- public static final BitSet FOLLOW_extend_key_in_rule1458 = new BitSet(new long[]{0x0000000000000000L,0x0000000002200000L});
- public static final BitSet FOLLOW_rule_id_in_rule1460 = new BitSet(new long[]{0x0000000000000000L,0x0020000120200000L});
- public static final BitSet FOLLOW_decl_metadata_in_rule1464 = new BitSet(new long[]{0x0000000000000000L,0x0020000120200000L});
- public static final BitSet FOLLOW_rule_attributes_in_rule1467 = new BitSet(new long[]{0x0000000000000000L,0x0020000120200000L});
- public static final BitSet FOLLOW_when_part_in_rule1470 = new BitSet(new long[]{0x0000000000000000L,0x0020000120200000L});
- public static final BitSet FOLLOW_rhs_chunk_in_rule1473 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_WHEN_in_when_part1513 = new BitSet(new long[]{0x0000000000000000L,0x0000000044200000L});
- public static final BitSet FOLLOW_COLON_in_when_part1519 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_normal_lhs_block_in_when_part1529 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_rule_id1550 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_STRING_in_rule_id1566 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_attributes_key_in_rule_attributes1587 = new BitSet(new long[]{0x0000000000000000L,0x0000000040000000L});
- public static final BitSet FOLLOW_COLON_in_rule_attributes1589 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_rule_attribute_in_rule_attributes1599 = new BitSet(new long[]{0x0000000000000002L,0x0000000008200000L});
- public static final BitSet FOLLOW_COMMA_in_rule_attributes1603 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_rule_attribute_in_rule_attributes1610 = new BitSet(new long[]{0x0000000000000002L,0x0000000008200000L});
- public static final BitSet FOLLOW_salience_in_rule_attribute1649 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_no_loop_in_rule_attribute1655 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_agenda_group_in_rule_attribute1660 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_duration_in_rule_attribute1667 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_activation_group_in_rule_attribute1674 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_auto_focus_in_rule_attribute1680 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_date_effective_in_rule_attribute1686 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_date_expires_in_rule_attribute1692 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_enabled_in_rule_attribute1698 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleflow_group_in_rule_attribute1704 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_lock_on_active_in_rule_attribute1710 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_dialect_in_rule_attribute1715 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_date_effective_key_in_date_effective1731 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L});
- public static final BitSet FOLLOW_STRING_in_date_effective1736 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_date_expires_key_in_date_expires1750 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L});
- public static final BitSet FOLLOW_STRING_in_date_expires1755 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_enabled_key_in_enabled1770 = new BitSet(new long[]{0x0000000000000000L,0x0000000204000000L});
- public static final BitSet FOLLOW_BOOL_in_enabled1783 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_paren_chunk_in_enabled1794 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_salience_key_in_salience1814 = new BitSet(new long[]{0x0000000000000000L,0x0000000404000000L});
- public static final BitSet FOLLOW_INT_in_salience1823 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_paren_chunk_in_salience1832 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_no_loop_key_in_no_loop1847 = new BitSet(new long[]{0x0000000000000002L,0x0000000200000000L});
- public static final BitSet FOLLOW_BOOL_in_no_loop1852 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_auto_focus_key_in_auto_focus1867 = new BitSet(new long[]{0x0000000000000002L,0x0000000200000000L});
- public static final BitSet FOLLOW_BOOL_in_auto_focus1872 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_activation_group_key_in_activation_group1889 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L});
- public static final BitSet FOLLOW_STRING_in_activation_group1894 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleflow_group_key_in_ruleflow_group1908 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L});
- public static final BitSet FOLLOW_STRING_in_ruleflow_group1913 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_agenda_group_key_in_agenda_group1927 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L});
- public static final BitSet FOLLOW_STRING_in_agenda_group1932 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_duration_key_in_duration1946 = new BitSet(new long[]{0x0000000000000000L,0x0000000400000000L});
- public static final BitSet FOLLOW_INT_in_duration1951 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_dialect_key_in_dialect1967 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L});
- public static final BitSet FOLLOW_STRING_in_dialect1972 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_lock_on_active_key_in_lock_on_active1990 = new BitSet(new long[]{0x0000000000000002L,0x0000000200000000L});
- public static final BitSet FOLLOW_BOOL_in_lock_on_active1995 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_lhs_in_normal_lhs_block2010 = new BitSet(new long[]{0x0000000000000002L,0x0000000004200000L});
- public static final BitSet FOLLOW_lhs_or_in_lhs2031 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_lhs_or2055 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_or_key_in_lhs_or2065 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_lhs_and_in_lhs_or2073 = new BitSet(new long[]{0x0000000000000000L,0x0000000014200000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_lhs_or2079 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_lhs_and_in_lhs_or2102 = new BitSet(new long[]{0x0000000000000002L,0x0000000800200000L});
- public static final BitSet FOLLOW_or_key_in_lhs_or2124 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_DOUBLE_PIPE_in_lhs_or2131 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_lhs_and_in_lhs_or2142 = new BitSet(new long[]{0x0000000000000002L,0x0000000800200000L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_lhs_and2183 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_and_key_in_lhs_and2193 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_lhs_unary_in_lhs_and2201 = new BitSet(new long[]{0x0000000000000000L,0x0000000014200000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_lhs_and2207 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_lhs_unary_in_lhs_and2231 = new BitSet(new long[]{0x0000000000000002L,0x0000001000200000L});
- public static final BitSet FOLLOW_and_key_in_lhs_and2253 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_DOUBLE_AMPER_in_lhs_and2260 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_lhs_unary_in_lhs_and2271 = new BitSet(new long[]{0x0000000000000002L,0x0000001000200000L});
- public static final BitSet FOLLOW_lhs_exist_in_lhs_unary2302 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_lhs_not_binding_in_lhs_unary2310 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_lhs_not_in_lhs_unary2316 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_lhs_eval_in_lhs_unary2322 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_lhs_forall_in_lhs_unary2328 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_lhs_unary2334 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_lhs_or_in_lhs_unary2345 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_lhs_unary2351 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_pattern_source_in_lhs_unary2359 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_SEMICOLON_in_lhs_unary2373 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_exists_key_in_lhs_exist2389 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_lhs_or_in_lhs_exist2416 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_lhs_exist2423 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_lhs_or_in_lhs_exist2431 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_lhs_exist2438 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_lhs_pattern_in_lhs_exist2453 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_not_key_in_lhs_not_binding2499 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_fact_binding_in_lhs_not_binding2501 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_not_key_in_lhs_not2524 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_lhs_or_in_lhs_not2546 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_lhs_not2553 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_lhs_or_in_lhs_not2562 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_lhs_not2568 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_lhs_pattern_in_lhs_not2578 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_eval_key_in_lhs_eval2617 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_paren_chunk_in_lhs_eval2626 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_forall_key_in_lhs_forall2653 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_lhs_forall2658 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_lhs_pattern_in_lhs_forall2666 = new BitSet(new long[]{0x0000000000000000L,0x0000000014200000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_lhs_forall2672 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_lhs_pattern_in_pattern_source2708 = new BitSet(new long[]{0x0000000000000002L,0x0000006000000000L});
- public static final BitSet FOLLOW_over_clause_in_pattern_source2712 = new BitSet(new long[]{0x0000000000000002L,0x0000002000000000L});
- public static final BitSet FOLLOW_FROM_in_pattern_source2722 = new BitSet(new long[]{0x0000000000000000L,0x0000028000200000L});
- public static final BitSet FOLLOW_accumulate_statement_in_pattern_source2742 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_collect_statement_in_pattern_source2758 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_entrypoint_statement_in_pattern_source2775 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_from_source_in_pattern_source2791 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_OVER_in_over_clause2823 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_over_elements_in_over_clause2828 = new BitSet(new long[]{0x0000000000000002L,0x0000000008000000L});
- public static final BitSet FOLLOW_COMMA_in_over_clause2835 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_over_elements_in_over_clause2840 = new BitSet(new long[]{0x0000000000000002L,0x0000000008000000L});
- public static final BitSet FOLLOW_ID_in_over_elements2855 = new BitSet(new long[]{0x0000000000000000L,0x0000000040000000L});
- public static final BitSet FOLLOW_COLON_in_over_elements2862 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_over_elements2871 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_paren_chunk_in_over_elements2878 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ACCUMULATE_in_accumulate_statement2904 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_accumulate_statement2913 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_lhs_or_in_accumulate_statement2921 = new BitSet(new long[]{0x0000000000000000L,0x0000010008200000L});
- public static final BitSet FOLLOW_COMMA_in_accumulate_statement2926 = new BitSet(new long[]{0x0000000000000000L,0x0000010008200000L});
- public static final BitSet FOLLOW_accumulate_init_clause_in_accumulate_statement2936 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
- public static final BitSet FOLLOW_accumulate_id_clause_in_accumulate_statement2942 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_accumulate_statement2950 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_INIT_in_accumulate_init_clause2996 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3007 = new BitSet(new long[]{0x0000000000000000L,0x0000000008200000L});
- public static final BitSet FOLLOW_COMMA_in_accumulate_init_clause3012 = new BitSet(new long[]{0x0000000000000000L,0x0000000008200000L});
- public static final BitSet FOLLOW_action_key_in_accumulate_init_clause3023 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3027 = new BitSet(new long[]{0x0000000000000000L,0x0000000008200000L});
- public static final BitSet FOLLOW_COMMA_in_accumulate_init_clause3032 = new BitSet(new long[]{0x0000000000000000L,0x0000000008200000L});
- public static final BitSet FOLLOW_reverse_key_in_accumulate_init_clause3045 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3049 = new BitSet(new long[]{0x0000000000000000L,0x0000000008200000L});
- public static final BitSet FOLLOW_COMMA_in_accumulate_init_clause3054 = new BitSet(new long[]{0x0000000000000000L,0x0000000008200000L});
- public static final BitSet FOLLOW_result_key_in_accumulate_init_clause3069 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3075 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_accumulate_paren_chunk_data_in_accumulate_paren_chunk3133 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_accumulate_paren_chunk_data3157 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_set_in_accumulate_paren_chunk_data3169 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_accumulate_paren_chunk_data_in_accumulate_paren_chunk_data3185 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_accumulate_paren_chunk_data3196 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_accumulate_id_clause3212 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_paren_chunk_in_accumulate_id_clause3218 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_COLLECT_in_collect_statement3240 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_collect_statement3249 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_pattern_source_in_collect_statement3256 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_collect_statement3261 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_entry_point_key_in_entrypoint_statement3288 = new BitSet(new long[]{0x0000000000000000L,0x0000000002200000L});
- public static final BitSet FOLLOW_entrypoint_id_in_entrypoint_statement3296 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_entrypoint_id3322 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_STRING_in_entrypoint_id3339 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_from_source3359 = new BitSet(new long[]{0x0000000000000002L,0x0000000004400000L});
- public static final BitSet FOLLOW_paren_chunk_in_from_source3374 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
- public static final BitSet FOLLOW_expression_chain_in_from_source3381 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_DOT_in_expression_chain3414 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_expression_chain3421 = new BitSet(new long[]{0x0000000000000002L,0x0008000004400000L});
- public static final BitSet FOLLOW_paren_chunk_in_expression_chain3437 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
- public static final BitSet FOLLOW_square_chunk_in_expression_chain3451 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
- public static final BitSet FOLLOW_expression_chain_in_expression_chain3462 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_fact_binding_in_lhs_pattern3495 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_fact_in_lhs_pattern3508 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_label_in_fact_binding3528 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_fact_in_fact_binding3534 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_fact_binding3541 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_fact_binding_expression_in_fact_binding3549 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_fact_binding3557 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_fact_in_fact_binding_expression3598 = new BitSet(new long[]{0x0000000000000002L,0x0000000800200000L});
- public static final BitSet FOLLOW_or_key_in_fact_binding_expression3610 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_DOUBLE_PIPE_in_fact_binding_expression3616 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_fact_in_fact_binding_expression3621 = new BitSet(new long[]{0x0000000000000002L,0x0000000800200000L});
- public static final BitSet FOLLOW_pattern_type_in_fact3661 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_fact3666 = new BitSet(new long[]{0x0000000000000000L,0x0000000014200000L});
- public static final BitSet FOLLOW_constraints_in_fact3677 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_fact3683 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_constraint_in_constraints3717 = new BitSet(new long[]{0x0000000000000002L,0x0000000008000000L});
- public static final BitSet FOLLOW_COMMA_in_constraints3721 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_constraint_in_constraints3728 = new BitSet(new long[]{0x0000000000000002L,0x0000000008000000L});
- public static final BitSet FOLLOW_or_constr_in_constraint3742 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_and_constr_in_or_constr3753 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L});
- public static final BitSet FOLLOW_DOUBLE_PIPE_in_or_constr3757 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_and_constr_in_or_constr3764 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L});
- public static final BitSet FOLLOW_unary_constr_in_and_constr3779 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L});
- public static final BitSet FOLLOW_DOUBLE_AMPER_in_and_constr3783 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_unary_constr_in_and_constr3790 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L});
- public static final BitSet FOLLOW_eval_key_in_unary_constr3823 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_paren_chunk_in_unary_constr3826 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_field_constraint_in_unary_constr3831 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_unary_constr3837 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
- public static final BitSet FOLLOW_or_constr_in_unary_constr3847 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_unary_constr3852 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_label_in_field_constraint3881 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_accessor_path_in_field_constraint3883 = new BitSet(new long[]{0x0000000000000002L,0x0001FC0004200000L});
- public static final BitSet FOLLOW_or_restr_connective_in_field_constraint3890 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ARROW_in_field_constraint3896 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_paren_chunk_in_field_constraint3900 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_accessor_path_in_field_constraint3954 = new BitSet(new long[]{0x0000000000000000L,0x0001F80004200000L});
- public static final BitSet FOLLOW_or_restr_connective_in_field_constraint3956 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_label3981 = new BitSet(new long[]{0x0000000000000000L,0x0000000040000000L});
- public static final BitSet FOLLOW_COLON_in_label3988 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_and_restr_connective_in_or_restr_connective4009 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L});
- public static final BitSet FOLLOW_DOUBLE_PIPE_in_or_restr_connective4015 = new BitSet(new long[]{0x0000000000000000L,0x0001F80004200000L});
- public static final BitSet FOLLOW_and_restr_connective_in_or_restr_connective4023 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L});
- public static final BitSet FOLLOW_constraint_expression_in_and_restr_connective4038 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L});
- public static final BitSet FOLLOW_DOUBLE_AMPER_in_and_restr_connective4044 = new BitSet(new long[]{0x0000000000000000L,0x0001F80004200000L});
- public static final BitSet FOLLOW_constraint_expression_in_and_restr_connective4051 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L});
- public static final BitSet FOLLOW_compound_operator_in_constraint_expression4076 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_simple_operator_in_constraint_expression4081 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_constraint_expression4086 = new BitSet(new long[]{0x0000000000000000L,0x0001F80004200000L});
- public static final BitSet FOLLOW_or_restr_connective_in_constraint_expression4095 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_constraint_expression4100 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_EQUAL_in_simple_operator4130 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_GREATER_in_simple_operator4138 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_GREATER_EQUAL_in_simple_operator4146 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_LESS_in_simple_operator4154 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_LESS_EQUAL_in_simple_operator4162 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_NOT_EQUAL_in_simple_operator4170 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_not_key_in_simple_operator4178 = new BitSet(new long[]{0x0000000000000000L,0x0001F80000200000L});
- public static final BitSet FOLLOW_contains_key_in_simple_operator4185 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_soundslike_key_in_simple_operator4192 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_matches_key_in_simple_operator4199 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_memberof_key_in_simple_operator4206 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_operator_key_in_simple_operator4213 = new BitSet(new long[]{0x0000000000000000L,0x000E000606200000L});
- public static final BitSet FOLLOW_square_chunk_in_simple_operator4216 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_expression_value_in_simple_operator4253 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_in_key_in_compound_operator4273 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_not_key_in_compound_operator4278 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_in_key_in_compound_operator4280 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_compound_operator4291 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_expression_value_in_compound_operator4299 = new BitSet(new long[]{0x0000000000000000L,0x0000000018000000L});
- public static final BitSet FOLLOW_COMMA_in_compound_operator4303 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
- public static final BitSet FOLLOW_expression_value_in_compound_operator4308 = new BitSet(new long[]{0x0000000000000000L,0x0000000018000000L});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_compound_operator4316 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_operator_key4347 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_neg_operator_key4392 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_accessor_path_in_expression_value4432 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_literal_constraint_in_expression_value4437 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_paren_chunk_in_expression_value4443 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_STRING_in_literal_constraint4462 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_INT_in_literal_constraint4469 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_FLOAT_in_literal_constraint4476 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_BOOL_in_literal_constraint4483 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_NULL_in_literal_constraint4490 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_pattern_type4505 = new BitSet(new long[]{0x0000000000000002L,0x0008000000400000L});
- public static final BitSet FOLLOW_DOT_in_pattern_type4511 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_pattern_type4515 = new BitSet(new long[]{0x0000000000000002L,0x0008000000400000L});
- public static final BitSet FOLLOW_dimension_definition_in_pattern_type4530 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
- public static final BitSet FOLLOW_ID_in_data_type4558 = new BitSet(new long[]{0x0000000000000002L,0x0008000000400000L});
- public static final BitSet FOLLOW_DOT_in_data_type4564 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_data_type4568 = new BitSet(new long[]{0x0000000000000002L,0x0008000000400000L});
- public static final BitSet FOLLOW_dimension_definition_in_data_type4573 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
- public static final BitSet FOLLOW_LEFT_SQUARE_in_dimension_definition4602 = new BitSet(new long[]{0x0000000000000000L,0x0010000000000000L});
- public static final BitSet FOLLOW_RIGHT_SQUARE_in_dimension_definition4609 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_accessor_element_in_accessor_path4623 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
- public static final BitSet FOLLOW_DOT_in_accessor_path4627 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_accessor_element_in_accessor_path4631 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
- public static final BitSet FOLLOW_ID_in_accessor_element4655 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
- public static final BitSet FOLLOW_square_chunk_in_accessor_element4661 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
- public static final BitSet FOLLOW_rhs_chunk_data_in_rhs_chunk4690 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_THEN_in_rhs_chunk_data4709 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_set_in_rhs_chunk_data4722 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_END_in_rhs_chunk_data4735 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
- public static final BitSet FOLLOW_SEMICOLON_in_rhs_chunk_data4741 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_curly_chunk_data_in_curly_chunk4760 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_CURLY_in_curly_chunk_data4783 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_set_in_curly_chunk_data4795 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_curly_chunk_data_in_curly_chunk_data4811 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_RIGHT_CURLY_in_curly_chunk_data4822 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_paren_chunk_data_in_paren_chunk4843 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_paren_chunk_data4867 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_set_in_paren_chunk_data4879 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_paren_chunk_data_in_paren_chunk_data4895 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_RIGHT_PAREN_in_paren_chunk_data4906 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_square_chunk_data_in_square_chunk4927 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_SQUARE_in_square_chunk_data4950 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_set_in_square_chunk_data4962 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_square_chunk_data_in_square_chunk_data4977 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x000000000000000FL});
- public static final BitSet FOLLOW_RIGHT_SQUARE_in_square_chunk_data4988 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_lock_on_active_key5012 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
- public static final BitSet FOLLOW_MISC_in_lock_on_active_key5016 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_lock_on_active_key5020 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
- public static final BitSet FOLLOW_MISC_in_lock_on_active_key5024 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_lock_on_active_key5028 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_date_effective_key5060 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
- public static final BitSet FOLLOW_MISC_in_date_effective_key5064 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_date_effective_key5068 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_date_expires_key5100 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
- public static final BitSet FOLLOW_MISC_in_date_expires_key5104 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_date_expires_key5108 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_no_loop_key5140 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
- public static final BitSet FOLLOW_MISC_in_no_loop_key5144 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_no_loop_key5148 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_auto_focus_key5180 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
- public static final BitSet FOLLOW_MISC_in_auto_focus_key5184 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_auto_focus_key5188 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_activation_group_key5220 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
- public static final BitSet FOLLOW_MISC_in_activation_group_key5224 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_activation_group_key5228 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_agenda_group_key5260 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
- public static final BitSet FOLLOW_MISC_in_agenda_group_key5264 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_agenda_group_key5268 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_ruleflow_group_key5300 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
- public static final BitSet FOLLOW_MISC_in_ruleflow_group_key5304 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_ruleflow_group_key5308 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_entry_point_key5340 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
- public static final BitSet FOLLOW_MISC_in_entry_point_key5344 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_ID_in_entry_point_key5348 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_duration_key5377 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_package_key5403 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_import_key5430 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_dialect_key5457 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_salience_key5484 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_enabled_key5511 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_attributes_key5538 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_rule_key5565 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_extend_key5592 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_template_key5619 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_query_key5646 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_declare_key5673 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_function_key5700 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_global_key5727 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_eval_key5754 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_contains_key5781 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_matches_key5808 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_excludes_key5835 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_soundslike_key5862 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_memberof_key5889 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_not_key5916 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_in_key5943 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_or_key5970 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_and_key5997 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_exists_key6024 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_forall_key6051 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_action_key6078 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_reverse_key6105 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ID_in_result_key6132 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_synpred1_DRL2046 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_or_key_in_synpred1_DRL2048 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_or_key_in_synpred2_DRL2115 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_DOUBLE_PIPE_in_synpred2_DRL2117 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_synpred3_DRL2174 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_and_key_in_synpred3_DRL2176 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_and_key_in_synpred4_DRL2244 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_DOUBLE_AMPER_in_synpred4_DRL2246 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_SEMICOLON_in_synpred5_DRL2369 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_synpred6_DRL2406 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_or_key_in_synpred6_DRL2409 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_and_key_in_synpred6_DRL2411 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_synpred7_DRL2534 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
- public static final BitSet FOLLOW_or_key_in_synpred7_DRL2537 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_and_key_in_synpred7_DRL2539 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_LEFT_PAREN_in_synpred8_DRL3368 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_parameters1015 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_data_type_in_param_definition1041 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_argument_in_param_definition1044 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_argument1055 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
+ public static final BitSet FOLLOW_dimension_definition_in_argument1061 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
+ public static final BitSet FOLLOW_declare_key_in_type_declaration1084 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_type_declare_id_in_type_declaration1087 = new BitSet(new long[]{0x0000000000000000L,0x0000000021200000L});
+ public static final BitSet FOLLOW_decl_metadata_in_type_declaration1091 = new BitSet(new long[]{0x0000000000000000L,0x0000000021200000L});
+ public static final BitSet FOLLOW_decl_field_in_type_declaration1096 = new BitSet(new long[]{0x0000000000000000L,0x0000000001200000L});
+ public static final BitSet FOLLOW_END_in_type_declaration1101 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_type_declare_id1136 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_AT_in_decl_metadata1155 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_decl_metadata1163 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_paren_chunk_in_decl_metadata1170 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_decl_field1193 = new BitSet(new long[]{0x0000000000000000L,0x00000000C0000000L});
+ public static final BitSet FOLLOW_decl_field_initialization_in_decl_field1199 = new BitSet(new long[]{0x0000000000000000L,0x0000000040000000L});
+ public static final BitSet FOLLOW_COLON_in_decl_field1205 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_data_type_in_decl_field1211 = new BitSet(new long[]{0x0000000000000002L,0x0000000020000000L});
+ public static final BitSet FOLLOW_decl_metadata_in_decl_field1215 = new BitSet(new long[]{0x0000000000000002L,0x0000000020000000L});
+ public static final BitSet FOLLOW_EQUALS_in_decl_field_initialization1243 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_paren_chunk_in_decl_field_initialization1249 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_template_key_in_template1286 = new BitSet(new long[]{0x0000000000000000L,0x0000000002200000L});
+ public static final BitSet FOLLOW_template_id_in_template1288 = new BitSet(new long[]{0x0000000000000000L,0x0000000000300000L});
+ public static final BitSet FOLLOW_SEMICOLON_in_template1295 = new BitSet(new long[]{0x0000000000000000L,0x0000000000300000L});
+ public static final BitSet FOLLOW_template_slot_in_template1303 = new BitSet(new long[]{0x0000000000000000L,0x0000000001300000L});
+ public static final BitSet FOLLOW_END_in_template1308 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_SEMICOLON_in_template1312 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_template_id1345 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_STRING_in_template_id1361 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_data_type_in_template_slot1381 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_slot_id_in_template_slot1383 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_SEMICOLON_in_template_slot1385 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_slot_id1414 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rule_key_in_rule1451 = new BitSet(new long[]{0x0000000000000000L,0x0000000002200000L});
+ public static final BitSet FOLLOW_rule_id_in_rule1453 = new BitSet(new long[]{0x0000000000000000L,0x0020000120200000L});
+ public static final BitSet FOLLOW_extend_key_in_rule1462 = new BitSet(new long[]{0x0000000000000000L,0x0000000002200000L});
+ public static final BitSet FOLLOW_rule_id_in_rule1464 = new BitSet(new long[]{0x0000000000000000L,0x0020000120200000L});
+ public static final BitSet FOLLOW_decl_metadata_in_rule1468 = new BitSet(new long[]{0x0000000000000000L,0x0020000120200000L});
+ public static final BitSet FOLLOW_rule_attributes_in_rule1471 = new BitSet(new long[]{0x0000000000000000L,0x0020000120200000L});
+ public static final BitSet FOLLOW_when_part_in_rule1474 = new BitSet(new long[]{0x0000000000000000L,0x0020000120200000L});
+ public static final BitSet FOLLOW_rhs_chunk_in_rule1477 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_WHEN_in_when_part1521 = new BitSet(new long[]{0x0000000000000000L,0x0000000044200000L});
+ public static final BitSet FOLLOW_COLON_in_when_part1527 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_normal_lhs_block_in_when_part1537 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_rule_id1558 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_STRING_in_rule_id1574 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_attributes_key_in_rule_attributes1595 = new BitSet(new long[]{0x0000000000000000L,0x0000000040000000L});
+ public static final BitSet FOLLOW_COLON_in_rule_attributes1597 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_rule_attribute_in_rule_attributes1607 = new BitSet(new long[]{0x0000000000000002L,0x0000000008200000L});
+ public static final BitSet FOLLOW_COMMA_in_rule_attributes1611 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_rule_attribute_in_rule_attributes1618 = new BitSet(new long[]{0x0000000000000002L,0x0000000008200000L});
+ public static final BitSet FOLLOW_salience_in_rule_attribute1657 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_no_loop_in_rule_attribute1663 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_agenda_group_in_rule_attribute1668 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_duration_in_rule_attribute1675 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_activation_group_in_rule_attribute1682 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_auto_focus_in_rule_attribute1688 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_date_effective_in_rule_attribute1694 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_date_expires_in_rule_attribute1700 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_enabled_in_rule_attribute1706 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleflow_group_in_rule_attribute1712 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_lock_on_active_in_rule_attribute1718 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_dialect_in_rule_attribute1723 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_date_effective_key_in_date_effective1735 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L});
+ public static final BitSet FOLLOW_STRING_in_date_effective1740 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_date_expires_key_in_date_expires1754 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L});
+ public static final BitSet FOLLOW_STRING_in_date_expires1759 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_enabled_key_in_enabled1774 = new BitSet(new long[]{0x0000000000000000L,0x0000000204000000L});
+ public static final BitSet FOLLOW_BOOL_in_enabled1787 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_paren_chunk_in_enabled1798 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_salience_key_in_salience1818 = new BitSet(new long[]{0x0000000000000000L,0x0000000404000000L});
+ public static final BitSet FOLLOW_INT_in_salience1827 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_paren_chunk_in_salience1836 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_no_loop_key_in_no_loop1851 = new BitSet(new long[]{0x0000000000000002L,0x0000000200000000L});
+ public static final BitSet FOLLOW_BOOL_in_no_loop1856 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_auto_focus_key_in_auto_focus1871 = new BitSet(new long[]{0x0000000000000002L,0x0000000200000000L});
+ public static final BitSet FOLLOW_BOOL_in_auto_focus1876 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_activation_group_key_in_activation_group1893 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L});
+ public static final BitSet FOLLOW_STRING_in_activation_group1898 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleflow_group_key_in_ruleflow_group1912 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L});
+ public static final BitSet FOLLOW_STRING_in_ruleflow_group1917 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_agenda_group_key_in_agenda_group1931 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L});
+ public static final BitSet FOLLOW_STRING_in_agenda_group1936 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_duration_key_in_duration1950 = new BitSet(new long[]{0x0000000000000000L,0x0000000400000000L});
+ public static final BitSet FOLLOW_INT_in_duration1955 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_dialect_key_in_dialect1971 = new BitSet(new long[]{0x0000000000000000L,0x0000000002000000L});
+ public static final BitSet FOLLOW_STRING_in_dialect1976 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_lock_on_active_key_in_lock_on_active1994 = new BitSet(new long[]{0x0000000000000002L,0x0000000200000000L});
+ public static final BitSet FOLLOW_BOOL_in_lock_on_active1999 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_lhs_in_normal_lhs_block2014 = new BitSet(new long[]{0x0000000000000002L,0x0000000004200000L});
+ public static final BitSet FOLLOW_lhs_or_in_lhs2035 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_lhs_or2059 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_or_key_in_lhs_or2069 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_lhs_and_in_lhs_or2077 = new BitSet(new long[]{0x0000000000000000L,0x0000000014200000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_lhs_or2083 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_lhs_and_in_lhs_or2106 = new BitSet(new long[]{0x0000000000000002L,0x0000000800200000L});
+ public static final BitSet FOLLOW_or_key_in_lhs_or2128 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_DOUBLE_PIPE_in_lhs_or2135 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_lhs_and_in_lhs_or2146 = new BitSet(new long[]{0x0000000000000002L,0x0000000800200000L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_lhs_and2187 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_and_key_in_lhs_and2197 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_lhs_unary_in_lhs_and2205 = new BitSet(new long[]{0x0000000000000000L,0x0000000014200000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_lhs_and2211 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_lhs_unary_in_lhs_and2235 = new BitSet(new long[]{0x0000000000000002L,0x0000001000200000L});
+ public static final BitSet FOLLOW_and_key_in_lhs_and2257 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_DOUBLE_AMPER_in_lhs_and2264 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_lhs_unary_in_lhs_and2275 = new BitSet(new long[]{0x0000000000000002L,0x0000001000200000L});
+ public static final BitSet FOLLOW_lhs_exist_in_lhs_unary2306 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_lhs_not_binding_in_lhs_unary2314 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_lhs_not_in_lhs_unary2320 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_lhs_eval_in_lhs_unary2326 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_lhs_forall_in_lhs_unary2332 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_lhs_unary2338 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_lhs_or_in_lhs_unary2349 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_lhs_unary2355 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_pattern_source_in_lhs_unary2363 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_SEMICOLON_in_lhs_unary2377 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_exists_key_in_lhs_exist2393 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_lhs_or_in_lhs_exist2420 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_lhs_exist2427 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_lhs_or_in_lhs_exist2435 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_lhs_exist2442 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_lhs_pattern_in_lhs_exist2457 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_not_key_in_lhs_not_binding2503 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_fact_binding_in_lhs_not_binding2505 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_not_key_in_lhs_not2528 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_lhs_or_in_lhs_not2550 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_lhs_not2557 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_lhs_or_in_lhs_not2566 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_lhs_not2572 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_lhs_pattern_in_lhs_not2582 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_eval_key_in_lhs_eval2621 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_paren_chunk_in_lhs_eval2630 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_forall_key_in_lhs_forall2657 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_lhs_forall2662 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_lhs_pattern_in_lhs_forall2670 = new BitSet(new long[]{0x0000000000000000L,0x0000000014200000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_lhs_forall2676 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_lhs_pattern_in_pattern_source2712 = new BitSet(new long[]{0x0000000000000002L,0x0000006000000000L});
+ public static final BitSet FOLLOW_over_clause_in_pattern_source2716 = new BitSet(new long[]{0x0000000000000002L,0x0000002000000000L});
+ public static final BitSet FOLLOW_FROM_in_pattern_source2726 = new BitSet(new long[]{0x0000000000000000L,0x0000028000200000L});
+ public static final BitSet FOLLOW_accumulate_statement_in_pattern_source2746 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_collect_statement_in_pattern_source2762 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_entrypoint_statement_in_pattern_source2779 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_from_source_in_pattern_source2795 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_OVER_in_over_clause2827 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_over_elements_in_over_clause2832 = new BitSet(new long[]{0x0000000000000002L,0x0000000008000000L});
+ public static final BitSet FOLLOW_COMMA_in_over_clause2839 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_over_elements_in_over_clause2844 = new BitSet(new long[]{0x0000000000000002L,0x0000000008000000L});
+ public static final BitSet FOLLOW_ID_in_over_elements2859 = new BitSet(new long[]{0x0000000000000000L,0x0000000040000000L});
+ public static final BitSet FOLLOW_COLON_in_over_elements2866 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_over_elements2875 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_paren_chunk_in_over_elements2882 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ACCUMULATE_in_accumulate_statement2908 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_accumulate_statement2917 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_lhs_or_in_accumulate_statement2925 = new BitSet(new long[]{0x0000000000000000L,0x0000010008200000L});
+ public static final BitSet FOLLOW_COMMA_in_accumulate_statement2930 = new BitSet(new long[]{0x0000000000000000L,0x0000010008200000L});
+ public static final BitSet FOLLOW_accumulate_init_clause_in_accumulate_statement2940 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
+ public static final BitSet FOLLOW_accumulate_id_clause_in_accumulate_statement2946 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_accumulate_statement2954 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_INIT_in_accumulate_init_clause3000 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3011 = new BitSet(new long[]{0x0000000000000000L,0x0000000008200000L});
+ public static final BitSet FOLLOW_COMMA_in_accumulate_init_clause3016 = new BitSet(new long[]{0x0000000000000000L,0x0000000008200000L});
+ public static final BitSet FOLLOW_action_key_in_accumulate_init_clause3027 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3031 = new BitSet(new long[]{0x0000000000000000L,0x0000000008200000L});
+ public static final BitSet FOLLOW_COMMA_in_accumulate_init_clause3036 = new BitSet(new long[]{0x0000000000000000L,0x0000000008200000L});
+ public static final BitSet FOLLOW_reverse_key_in_accumulate_init_clause3048 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3052 = new BitSet(new long[]{0x0000000000000000L,0x0000000008200000L});
+ public static final BitSet FOLLOW_COMMA_in_accumulate_init_clause3057 = new BitSet(new long[]{0x0000000000000000L,0x0000000008200000L});
+ public static final BitSet FOLLOW_result_key_in_accumulate_init_clause3073 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_accumulate_paren_chunk_in_accumulate_init_clause3079 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_accumulate_paren_chunk_data_in_accumulate_paren_chunk3137 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_accumulate_paren_chunk_data3161 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_set_in_accumulate_paren_chunk_data3173 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_accumulate_paren_chunk_data_in_accumulate_paren_chunk_data3189 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_accumulate_paren_chunk_data3200 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_accumulate_id_clause3216 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_paren_chunk_in_accumulate_id_clause3222 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_COLLECT_in_collect_statement3244 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_collect_statement3253 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_pattern_source_in_collect_statement3260 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_collect_statement3265 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_entry_point_key_in_entrypoint_statement3292 = new BitSet(new long[]{0x0000000000000000L,0x0000000002200000L});
+ public static final BitSet FOLLOW_entrypoint_id_in_entrypoint_statement3300 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_entrypoint_id3326 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_STRING_in_entrypoint_id3343 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_from_source3363 = new BitSet(new long[]{0x0000000000000002L,0x0000000004400000L});
+ public static final BitSet FOLLOW_paren_chunk_in_from_source3378 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
+ public static final BitSet FOLLOW_expression_chain_in_from_source3385 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_DOT_in_expression_chain3418 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_expression_chain3425 = new BitSet(new long[]{0x0000000000000002L,0x0008000004400000L});
+ public static final BitSet FOLLOW_paren_chunk_in_expression_chain3441 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
+ public static final BitSet FOLLOW_square_chunk_in_expression_chain3455 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
+ public static final BitSet FOLLOW_expression_chain_in_expression_chain3466 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_fact_binding_in_lhs_pattern3499 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_fact_in_lhs_pattern3512 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_label_in_fact_binding3532 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_fact_in_fact_binding3538 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_fact_binding3545 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_fact_binding_expression_in_fact_binding3553 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_fact_binding3561 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_fact_in_fact_binding_expression3602 = new BitSet(new long[]{0x0000000000000002L,0x0000000800200000L});
+ public static final BitSet FOLLOW_or_key_in_fact_binding_expression3614 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_DOUBLE_PIPE_in_fact_binding_expression3620 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_fact_in_fact_binding_expression3625 = new BitSet(new long[]{0x0000000000000002L,0x0000000800200000L});
+ public static final BitSet FOLLOW_pattern_type_in_fact3665 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_fact3670 = new BitSet(new long[]{0x0000000000000000L,0x0000000014200000L});
+ public static final BitSet FOLLOW_constraints_in_fact3681 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_fact3687 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_constraint_in_constraints3721 = new BitSet(new long[]{0x0000000000000002L,0x0000000008000000L});
+ public static final BitSet FOLLOW_COMMA_in_constraints3725 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_constraint_in_constraints3732 = new BitSet(new long[]{0x0000000000000002L,0x0000000008000000L});
+ public static final BitSet FOLLOW_or_constr_in_constraint3746 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_and_constr_in_or_constr3757 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L});
+ public static final BitSet FOLLOW_DOUBLE_PIPE_in_or_constr3761 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_and_constr_in_or_constr3768 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L});
+ public static final BitSet FOLLOW_unary_constr_in_and_constr3783 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L});
+ public static final BitSet FOLLOW_DOUBLE_AMPER_in_and_constr3787 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_unary_constr_in_and_constr3794 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L});
+ public static final BitSet FOLLOW_eval_key_in_unary_constr3827 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_paren_chunk_in_unary_constr3830 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_field_constraint_in_unary_constr3835 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_unary_constr3841 = new BitSet(new long[]{0x0000000000000000L,0x0000000004200000L});
+ public static final BitSet FOLLOW_or_constr_in_unary_constr3851 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_unary_constr3856 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_label_in_field_constraint3876 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_accessor_path_in_field_constraint3878 = new BitSet(new long[]{0x0000000000000002L,0x0001FC0004200000L});
+ public static final BitSet FOLLOW_or_restr_connective_in_field_constraint3885 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ARROW_in_field_constraint3891 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_paren_chunk_in_field_constraint3895 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_accessor_path_in_field_constraint3949 = new BitSet(new long[]{0x0000000000000000L,0x0001F80004200000L});
+ public static final BitSet FOLLOW_or_restr_connective_in_field_constraint3951 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_label3976 = new BitSet(new long[]{0x0000000000000000L,0x0000000040000000L});
+ public static final BitSet FOLLOW_COLON_in_label3983 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_and_restr_connective_in_or_restr_connective4004 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L});
+ public static final BitSet FOLLOW_DOUBLE_PIPE_in_or_restr_connective4010 = new BitSet(new long[]{0x0000000000000000L,0x0001F80004200000L});
+ public static final BitSet FOLLOW_and_restr_connective_in_or_restr_connective4018 = new BitSet(new long[]{0x0000000000000002L,0x0000000800000000L});
+ public static final BitSet FOLLOW_constraint_expression_in_and_restr_connective4039 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L});
+ public static final BitSet FOLLOW_DOUBLE_AMPER_in_and_restr_connective4045 = new BitSet(new long[]{0x0000000000000000L,0x0001F80004200000L});
+ public static final BitSet FOLLOW_constraint_expression_in_and_restr_connective4052 = new BitSet(new long[]{0x0000000000000002L,0x0000001000000000L});
+ public static final BitSet FOLLOW_compound_operator_in_constraint_expression4080 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_simple_operator_in_constraint_expression4085 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_constraint_expression4090 = new BitSet(new long[]{0x0000000000000000L,0x0001F80004200000L});
+ public static final BitSet FOLLOW_or_restr_connective_in_constraint_expression4099 = new BitSet(new long[]{0x0000000000000000L,0x0000000010000000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_constraint_expression4104 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_EQUAL_in_simple_operator4139 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
+ public static final BitSet FOLLOW_GREATER_in_simple_operator4147 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
+ public static final BitSet FOLLOW_GREATER_EQUAL_in_simple_operator4155 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
+ public static final BitSet FOLLOW_LESS_in_simple_operator4163 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
+ public static final BitSet FOLLOW_LESS_EQUAL_in_simple_operator4171 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
+ public static final BitSet FOLLOW_NOT_EQUAL_in_simple_operator4179 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
+ public static final BitSet FOLLOW_not_key_in_simple_operator4187 = new BitSet(new long[]{0x0000000000000000L,0x0001F80000200000L});
+ public static final BitSet FOLLOW_operator_key_in_simple_operator4194 = new BitSet(new long[]{0x0000000000000000L,0x000E000606200000L});
+ public static final BitSet FOLLOW_square_chunk_in_simple_operator4197 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
+ public static final BitSet FOLLOW_expression_value_in_simple_operator4209 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_in_key_in_compound_operator4231 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_not_key_in_compound_operator4236 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_in_key_in_compound_operator4238 = new BitSet(new long[]{0x0000000000000000L,0x0000000004000000L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_compound_operator4249 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
+ public static final BitSet FOLLOW_expression_value_in_compound_operator4257 = new BitSet(new long[]{0x0000000000000000L,0x0000000018000000L});
+ public static final BitSet FOLLOW_COMMA_in_compound_operator4261 = new BitSet(new long[]{0x0000000000000000L,0x0006000606200000L});
+ public static final BitSet FOLLOW_expression_value_in_compound_operator4266 = new BitSet(new long[]{0x0000000000000000L,0x0000000018000000L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_compound_operator4274 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_operator_key4305 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_neg_operator_key4350 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_accessor_path_in_expression_value4387 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_literal_constraint_in_expression_value4392 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_paren_chunk_in_expression_value4398 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_STRING_in_literal_constraint4417 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_INT_in_literal_constraint4424 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_FLOAT_in_literal_constraint4431 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_BOOL_in_literal_constraint4438 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_NULL_in_literal_constraint4445 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_pattern_type4460 = new BitSet(new long[]{0x0000000000000002L,0x0008000000400000L});
+ public static final BitSet FOLLOW_DOT_in_pattern_type4466 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_pattern_type4470 = new BitSet(new long[]{0x0000000000000002L,0x0008000000400000L});
+ public static final BitSet FOLLOW_dimension_definition_in_pattern_type4485 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
+ public static final BitSet FOLLOW_ID_in_data_type4513 = new BitSet(new long[]{0x0000000000000002L,0x0008000000400000L});
+ public static final BitSet FOLLOW_DOT_in_data_type4519 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_data_type4523 = new BitSet(new long[]{0x0000000000000002L,0x0008000000400000L});
+ public static final BitSet FOLLOW_dimension_definition_in_data_type4528 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
+ public static final BitSet FOLLOW_LEFT_SQUARE_in_dimension_definition4557 = new BitSet(new long[]{0x0000000000000000L,0x0010000000000000L});
+ public static final BitSet FOLLOW_RIGHT_SQUARE_in_dimension_definition4564 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_accessor_element_in_accessor_path4578 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
+ public static final BitSet FOLLOW_DOT_in_accessor_path4582 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_accessor_element_in_accessor_path4586 = new BitSet(new long[]{0x0000000000000002L,0x0000000000400000L});
+ public static final BitSet FOLLOW_ID_in_accessor_element4610 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
+ public static final BitSet FOLLOW_square_chunk_in_accessor_element4616 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
+ public static final BitSet FOLLOW_rhs_chunk_data_in_rhs_chunk4645 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_THEN_in_rhs_chunk_data4664 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_set_in_rhs_chunk_data4677 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_END_in_rhs_chunk_data4690 = new BitSet(new long[]{0x0000000000000002L,0x0000000000100000L});
+ public static final BitSet FOLLOW_SEMICOLON_in_rhs_chunk_data4696 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_curly_chunk_data_in_curly_chunk4715 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_CURLY_in_curly_chunk_data4738 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_set_in_curly_chunk_data4750 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_curly_chunk_data_in_curly_chunk_data4766 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_RIGHT_CURLY_in_curly_chunk_data4777 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_paren_chunk_data_in_paren_chunk4798 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_paren_chunk_data4822 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_set_in_paren_chunk_data4834 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_paren_chunk_data_in_paren_chunk_data4850 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_RIGHT_PAREN_in_paren_chunk_data4861 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_square_chunk_data_in_square_chunk4882 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_SQUARE_in_square_chunk_data4905 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_set_in_square_chunk_data4917 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_square_chunk_data_in_square_chunk_data4932 = new BitSet(new long[]{0xFFFFFFFFFFFFFFF0L,0xFFFFFFFFFFFFFFFFL,0x0000000000000007L});
+ public static final BitSet FOLLOW_RIGHT_SQUARE_in_square_chunk_data4943 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_lock_on_active_key4967 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
+ public static final BitSet FOLLOW_MISC_in_lock_on_active_key4971 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_lock_on_active_key4975 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
+ public static final BitSet FOLLOW_MISC_in_lock_on_active_key4979 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_lock_on_active_key4983 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_date_effective_key5015 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
+ public static final BitSet FOLLOW_MISC_in_date_effective_key5019 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_date_effective_key5023 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_date_expires_key5055 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
+ public static final BitSet FOLLOW_MISC_in_date_expires_key5059 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_date_expires_key5063 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_no_loop_key5095 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
+ public static final BitSet FOLLOW_MISC_in_no_loop_key5099 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_no_loop_key5103 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_auto_focus_key5135 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
+ public static final BitSet FOLLOW_MISC_in_auto_focus_key5139 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_auto_focus_key5143 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_activation_group_key5175 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
+ public static final BitSet FOLLOW_MISC_in_activation_group_key5179 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_activation_group_key5183 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_agenda_group_key5215 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
+ public static final BitSet FOLLOW_MISC_in_agenda_group_key5219 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_agenda_group_key5223 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_ruleflow_group_key5255 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
+ public static final BitSet FOLLOW_MISC_in_ruleflow_group_key5259 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_ruleflow_group_key5263 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_entry_point_key5295 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L});
+ public static final BitSet FOLLOW_MISC_in_entry_point_key5299 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_entry_point_key5303 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_duration_key5332 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_package_key5359 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_import_key5386 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_dialect_key5413 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_salience_key5440 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_enabled_key5467 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_attributes_key5494 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_rule_key5521 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_extend_key5548 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_template_key5575 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_query_key5602 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_declare_key5629 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_function_key5656 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_global_key5683 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_eval_key5710 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_contains_key5737 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_matches_key5764 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_excludes_key5791 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_soundslike_key5818 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_memberof_key5845 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_not_key5872 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_in_key5899 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_or_key5926 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_and_key5953 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_exists_key5980 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_forall_key6007 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_action_key6034 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_reverse_key6061 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ID_in_result_key6088 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_synpred1_DRL2050 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_or_key_in_synpred1_DRL2052 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_or_key_in_synpred2_DRL2119 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_DOUBLE_PIPE_in_synpred2_DRL2121 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_synpred3_DRL2178 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_and_key_in_synpred3_DRL2180 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_and_key_in_synpred4_DRL2248 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_DOUBLE_AMPER_in_synpred4_DRL2250 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_SEMICOLON_in_synpred5_DRL2373 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_synpred6_DRL2410 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_or_key_in_synpred6_DRL2413 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_and_key_in_synpred6_DRL2415 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_synpred7_DRL2538 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_or_key_in_synpred7_DRL2541 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_and_key_in_synpred7_DRL2543 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_LEFT_PAREN_in_synpred8_DRL3372 = new BitSet(new long[]{0x0000000000000002L});
}
\ No newline at end of file
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DescrBuilderTree.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DescrBuilderTree.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DescrBuilderTree.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -1,4 +1,4 @@
-// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g 2008-11-13 00:21:27
+// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g 2008-11-21 20:04:59
package org.drools.lang;
@@ -36,7 +36,7 @@
public class DescrBuilderTree extends TreeParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "VT_COMPILATION_UNIT", "VT_FUNCTION_IMPORT", "VT_FACT", "VT_CONSTRAINTS", "VT_LABEL", "VT_QUERY_ID", "VT_TEMPLATE_ID", "VT_TYPE_DECLARE_ID", "VT_RULE_ID", "VT_ENTRYPOINT_ID", "VT_SLOT_ID", "VT_SLOT", "VT_RULE_ATTRIBUTES", "VT_RHS_CHUNK", "VT_CURLY_CHUNK", "VT_SQUARE_CHUNK", "VT_PAREN_CHUNK", "VT_BEHAVIOR", "VT_AND_IMPLICIT", "VT_AND_PREFIX", "VT_OR_PREFIX", "VT_AND_INFIX", "VT_OR_INFIX", "VT_ACCUMULATE_INIT_CLAUSE", "VT_ACCUMULATE_ID_CLAUSE", "VT_FROM_SOURCE", "VT_EXPRESSION_CHAIN", "VT_PATTERN", "VT_FACT_BINDING", "VT_FACT_OR", "VT_BIND_FIELD", "VT_FIELD", "VT_ACCESSOR_PATH", "VT_ACCESSOR_ELEMENT", "VT_DATA_TYPE", "VT_PATTERN_TYPE", "VT_PACKAGE_ID", "VT_IMPORT_ID", "VT_GLOBAL_ID", "VT_FUNCTION_ID", "VT_PARAM_LIST", "VK_DATE_EFFECTIVE", "VK_DATE_EXPIRES", "VK_LOCK_ON_ACTIVE", "VK_NO_LOOP", "VK_AUTO_FOCUS", "VK_ACTIVATION_GROUP", "VK_AGENDA_GROUP", "VK_RULEFLOW_GROUP", "VK_DURATION", "VK_DIALECT", "VK_SALIENCE", "VK_ENABLED", "!
VK_ATTRIBUTES", "VK_RULE", "VK_EXTEND", "VK_IMPORT", "VK_PACKAGE", "VK_TEMPLATE", "VK_QUERY", "VK_DECLARE", "VK_FUNCTION", "VK_GLOBAL", "VK_EVAL", "VK_CONTAINS", "VK_MATCHES", "VK_EXCLUDES", "VK_SOUNDSLIKE", "VK_MEMBEROF", "VK_ENTRY_POINT", "VK_NOT", "VK_IN", "VK_OR", "VK_AND", "VK_EXISTS", "VK_FORALL", "VK_ACTION", "VK_REVERSE", "VK_RESULT", "VK_OPERATOR", "SEMICOLON", "ID", "DOT", "DOT_STAR", "END", "STRING", "LEFT_PAREN", "COMMA", "RIGHT_PAREN", "AT", "COLON", "EQUALS", "WHEN", "BOOL", "INT", "DOUBLE_PIPE", "DOUBLE_AMPER", "FROM", "OVER", "ACCUMULATE", "INIT", "COLLECT", "ARROW", "EQUAL", "GREATER", "GREATER_EQUAL", "LESS", "LESS_EQUAL", "NOT_EQUAL", "FLOAT", "NULL", "LEFT_SQUARE", "RIGHT_SQUARE", "THEN", "LEFT_CURLY", "RIGHT_CURLY", "MISC", "EOL", "WS", "EscapeSequence", "HexDigit", "UnicodeEscape", "OctalEscape", "GRAVE_ACCENT", "TILDE", "SH_STYLE_SINGLE_LINE_COMMENT", "C_STYLE_SINGLE_LINE_COMMENT", "MULTI_LINE_COMMENT"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "VT_COMPILATION_UNIT", "VT_FUNCTION_IMPORT", "VT_FACT", "VT_CONSTRAINTS", "VT_LABEL", "VT_QUERY_ID", "VT_TEMPLATE_ID", "VT_TYPE_DECLARE_ID", "VT_RULE_ID", "VT_ENTRYPOINT_ID", "VT_SLOT_ID", "VT_SLOT", "VT_RULE_ATTRIBUTES", "VT_RHS_CHUNK", "VT_CURLY_CHUNK", "VT_SQUARE_CHUNK", "VT_PAREN_CHUNK", "VT_BEHAVIOR", "VT_AND_IMPLICIT", "VT_AND_PREFIX", "VT_OR_PREFIX", "VT_AND_INFIX", "VT_OR_INFIX", "VT_ACCUMULATE_INIT_CLAUSE", "VT_ACCUMULATE_ID_CLAUSE", "VT_FROM_SOURCE", "VT_EXPRESSION_CHAIN", "VT_PATTERN", "VT_FACT_BINDING", "VT_FACT_OR", "VT_BIND_FIELD", "VT_FIELD", "VT_ACCESSOR_PATH", "VT_ACCESSOR_ELEMENT", "VT_DATA_TYPE", "VT_PATTERN_TYPE", "VT_PACKAGE_ID", "VT_IMPORT_ID", "VT_GLOBAL_ID", "VT_FUNCTION_ID", "VT_PARAM_LIST", "VK_DATE_EFFECTIVE", "VK_DATE_EXPIRES", "VK_LOCK_ON_ACTIVE", "VK_NO_LOOP", "VK_AUTO_FOCUS", "VK_ACTIVATION_GROUP", "VK_AGENDA_GROUP", "VK_RULEFLOW_GROUP", "VK_DURATION", "VK_DIALECT", "VK_SALIENCE", "VK_ENABLED", "!
VK_ATTRIBUTES", "VK_RULE", "VK_EXTEND", "VK_IMPORT", "VK_PACKAGE", "VK_TEMPLATE", "VK_QUERY", "VK_DECLARE", "VK_FUNCTION", "VK_GLOBAL", "VK_EVAL", "VK_CONTAINS", "VK_MATCHES", "VK_EXCLUDES", "VK_SOUNDSLIKE", "VK_MEMBEROF", "VK_ENTRY_POINT", "VK_NOT", "VK_IN", "VK_OR", "VK_AND", "VK_EXISTS", "VK_FORALL", "VK_ACTION", "VK_REVERSE", "VK_RESULT", "VK_OPERATOR", "SEMICOLON", "ID", "DOT", "DOT_STAR", "END", "STRING", "LEFT_PAREN", "COMMA", "RIGHT_PAREN", "AT", "COLON", "EQUALS", "WHEN", "BOOL", "INT", "DOUBLE_PIPE", "DOUBLE_AMPER", "FROM", "OVER", "ACCUMULATE", "INIT", "COLLECT", "ARROW", "EQUAL", "GREATER", "GREATER_EQUAL", "LESS", "LESS_EQUAL", "NOT_EQUAL", "FLOAT", "NULL", "LEFT_SQUARE", "RIGHT_SQUARE", "THEN", "LEFT_CURLY", "RIGHT_CURLY", "MISC", "EOL", "WS", "EscapeSequence", "HexDigit", "UnicodeEscape", "OctalEscape", "GRAVE_ACCENT", "SH_STYLE_SINGLE_LINE_COMMENT", "C_STYLE_SINGLE_LINE_COMMENT", "MULTI_LINE_COMMENT"
};
public static final int COMMA=91;
public static final int VT_PATTERN_TYPE=39;
@@ -52,13 +52,12 @@
public static final int VK_QUERY=63;
public static final int THEN=117;
public static final int VK_AUTO_FOCUS=49;
- public static final int TILDE=128;
public static final int DOT=86;
public static final int VK_IMPORT=60;
public static final int VT_SLOT=15;
public static final int VT_PACKAGE_ID=40;
public static final int LEFT_SQUARE=115;
- public static final int SH_STYLE_SINGLE_LINE_COMMENT=129;
+ public static final int SH_STYLE_SINGLE_LINE_COMMENT=128;
public static final int VT_DATA_TYPE=38;
public static final int VK_MATCHES=69;
public static final int VT_FACT=6;
@@ -103,7 +102,7 @@
public static final int VT_AND_IMPLICIT=22;
public static final int NULL=114;
public static final int COLON=94;
- public static final int MULTI_LINE_COMMENT=131;
+ public static final int MULTI_LINE_COMMENT=130;
public static final int VT_RULE_ATTRIBUTES=16;
public static final int RIGHT_SQUARE=116;
public static final int VK_AGENDA_GROUP=51;
@@ -166,7 +165,7 @@
public static final int RIGHT_PAREN=92;
public static final int VT_TEMPLATE_ID=10;
public static final int VK_DECLARE=64;
- public static final int C_STYLE_SINGLE_LINE_COMMENT=130;
+ public static final int C_STYLE_SINGLE_LINE_COMMENT=129;
// delegates
// delegators
@@ -182,7 +181,7 @@
public String[] getTokenNames() { return DescrBuilderTree.tokenNames; }
- public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g"; }
+ public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g"; }
DescrFactory factory = new DescrFactory();
@@ -195,11 +194,11 @@
// $ANTLR start "compilation_unit"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:48:1: compilation_unit : ^( VT_COMPILATION_UNIT package_statement ( statement )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:48:1: compilation_unit : ^( VT_COMPILATION_UNIT package_statement ( statement )* ) ;
public final void compilation_unit() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:49:2: ( ^( VT_COMPILATION_UNIT package_statement ( statement )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:49:4: ^( VT_COMPILATION_UNIT package_statement ( statement )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:49:2: ( ^( VT_COMPILATION_UNIT package_statement ( statement )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:49:4: ^( VT_COMPILATION_UNIT package_statement ( statement )* )
{
match(input,VT_COMPILATION_UNIT,FOLLOW_VT_COMPILATION_UNIT_in_compilation_unit49);
@@ -210,7 +209,7 @@
state._fsp--;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:49:44: ( statement )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:49:44: ( statement )*
loop1:
do {
int alt1=2;
@@ -223,7 +222,7 @@
switch (alt1) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:49:44: statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:49:44: statement
{
pushFollow(FOLLOW_statement_in_compilation_unit53);
statement();
@@ -258,7 +257,7 @@
// $ANTLR start "package_statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:52:1: package_statement returns [String packageName] : ( ^( VK_PACKAGE packageId= package_id ) | );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:52:1: package_statement returns [String packageName] : ( ^( VK_PACKAGE packageId= package_id ) | );
public final String package_statement() throws RecognitionException {
String packageName = null;
@@ -266,7 +265,7 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:53:2: ( ^( VK_PACKAGE packageId= package_id ) | )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:53:2: ( ^( VK_PACKAGE packageId= package_id ) | )
int alt2=2;
int LA2_0 = input.LA(1);
@@ -284,7 +283,7 @@
}
switch (alt2) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:53:4: ^( VK_PACKAGE packageId= package_id )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:53:4: ^( VK_PACKAGE packageId= package_id )
{
match(input,VK_PACKAGE,FOLLOW_VK_PACKAGE_in_package_statement71);
@@ -302,7 +301,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:57:2:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:57:2:
{
this.packageDescr = factory.createPackage(null);
packageName = "";
@@ -324,7 +323,7 @@
// $ANTLR start "package_id"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:61:1: package_id returns [List idList] : ^( VT_PACKAGE_ID (tempList+= ID )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:61:1: package_id returns [List idList] : ^( VT_PACKAGE_ID (tempList+= ID )+ ) ;
public final List package_id() throws RecognitionException {
List idList = null;
@@ -332,13 +331,13 @@
List list_tempList=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:62:2: ( ^( VT_PACKAGE_ID (tempList+= ID )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:62:4: ^( VT_PACKAGE_ID (tempList+= ID )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:62:2: ( ^( VT_PACKAGE_ID (tempList+= ID )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:62:4: ^( VT_PACKAGE_ID (tempList+= ID )+ )
{
match(input,VT_PACKAGE_ID,FOLLOW_VT_PACKAGE_ID_in_package_id102);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:62:28: (tempList+= ID )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:62:28: (tempList+= ID )+
int cnt3=0;
loop3:
do {
@@ -352,7 +351,7 @@
switch (alt3) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:62:28: tempList+= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:62:28: tempList+= ID
{
tempList=(DroolsTree)match(input,ID,FOLLOW_ID_in_package_id106);
if (list_tempList==null) list_tempList=new ArrayList();
@@ -390,7 +389,7 @@
// $ANTLR start "statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:66:1: statement : (a= rule_attribute | fi= function_import_statement | is= import_statement | gl= global | fn= function | tp= template | rl= rule | qr= query | td= type_declaration );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:66:1: statement : (a= rule_attribute | fi= function_import_statement | is= import_statement | gl= global | fn= function | tp= template | rl= rule | qr= query | td= type_declaration );
public final void statement() throws RecognitionException {
AttributeDescr a = null;
@@ -412,7 +411,7 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:67:2: (a= rule_attribute | fi= function_import_statement | is= import_statement | gl= global | fn= function | tp= template | rl= rule | qr= query | td= type_declaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:67:2: (a= rule_attribute | fi= function_import_statement | is= import_statement | gl= global | fn= function | tp= template | rl= rule | qr= query | td= type_declaration )
int alt4=9;
switch ( input.LA(1) ) {
case VK_DATE_EFFECTIVE:
@@ -480,7 +479,7 @@
switch (alt4) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:67:4: a= rule_attribute
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:67:4: a= rule_attribute
{
pushFollow(FOLLOW_rule_attribute_in_statement124);
a=rule_attribute();
@@ -492,7 +491,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:69:4: fi= function_import_statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:69:4: fi= function_import_statement
{
pushFollow(FOLLOW_function_import_statement_in_statement134);
fi=function_import_statement();
@@ -504,7 +503,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:71:4: is= import_statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:71:4: is= import_statement
{
pushFollow(FOLLOW_import_statement_in_statement144);
is=import_statement();
@@ -516,7 +515,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:73:4: gl= global
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:73:4: gl= global
{
pushFollow(FOLLOW_global_in_statement155);
gl=global();
@@ -528,7 +527,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:75:4: fn= function
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:75:4: fn= function
{
pushFollow(FOLLOW_function_in_statement165);
fn=function();
@@ -540,7 +539,7 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:77:4: tp= template
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:77:4: tp= template
{
pushFollow(FOLLOW_template_in_statement175);
tp=template();
@@ -552,7 +551,7 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:79:4: rl= rule
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:79:4: rl= rule
{
pushFollow(FOLLOW_rule_in_statement185);
rl=rule();
@@ -564,7 +563,7 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:81:4: qr= query
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:81:4: qr= query
{
pushFollow(FOLLOW_query_in_statement195);
qr=query();
@@ -576,7 +575,7 @@
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:83:4: td= type_declaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:83:4: td= type_declaration
{
pushFollow(FOLLOW_type_declaration_in_statement205);
td=type_declaration();
@@ -602,7 +601,7 @@
// $ANTLR start "import_statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:87:1: import_statement returns [ImportDescr importDescr] : ^(importStart= VK_IMPORT importId= import_name ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:87:1: import_statement returns [ImportDescr importDescr] : ^(importStart= VK_IMPORT importId= import_name ) ;
public final ImportDescr import_statement() throws RecognitionException {
ImportDescr importDescr = null;
@@ -611,8 +610,8 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:88:2: ( ^(importStart= VK_IMPORT importId= import_name ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:88:4: ^(importStart= VK_IMPORT importId= import_name )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:88:2: ( ^(importStart= VK_IMPORT importId= import_name ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:88:4: ^(importStart= VK_IMPORT importId= import_name )
{
importStart=(DroolsTree)match(input,VK_IMPORT,FOLLOW_VK_IMPORT_in_import_statement226);
@@ -641,7 +640,7 @@
// $ANTLR start "function_import_statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:92:1: function_import_statement returns [FunctionImportDescr functionImportDescr] : ^(importStart= VT_FUNCTION_IMPORT VK_FUNCTION importId= import_name ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:92:1: function_import_statement returns [FunctionImportDescr functionImportDescr] : ^(importStart= VT_FUNCTION_IMPORT VK_FUNCTION importId= import_name ) ;
public final FunctionImportDescr function_import_statement() throws RecognitionException {
FunctionImportDescr functionImportDescr = null;
@@ -650,8 +649,8 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:93:2: ( ^(importStart= VT_FUNCTION_IMPORT VK_FUNCTION importId= import_name ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:93:4: ^(importStart= VT_FUNCTION_IMPORT VK_FUNCTION importId= import_name )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:93:2: ( ^(importStart= VT_FUNCTION_IMPORT VK_FUNCTION importId= import_name ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:93:4: ^(importStart= VT_FUNCTION_IMPORT VK_FUNCTION importId= import_name )
{
importStart=(DroolsTree)match(input,VT_FUNCTION_IMPORT,FOLLOW_VT_FUNCTION_IMPORT_in_function_import_statement252);
@@ -685,7 +684,7 @@
};
// $ANTLR start "import_name"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:97:1: import_name returns [List idList, DroolsTree dotStar] : ^( VT_IMPORT_ID (tempList+= ID )+ (tempDotStar= DOT_STAR )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:97:1: import_name returns [List idList, DroolsTree dotStar] : ^( VT_IMPORT_ID (tempList+= ID )+ (tempDotStar= DOT_STAR )? ) ;
public final DescrBuilderTree.import_name_return import_name() throws RecognitionException {
DescrBuilderTree.import_name_return retval = new DescrBuilderTree.import_name_return();
retval.start = input.LT(1);
@@ -695,13 +694,13 @@
List list_tempList=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:98:2: ( ^( VT_IMPORT_ID (tempList+= ID )+ (tempDotStar= DOT_STAR )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:98:4: ^( VT_IMPORT_ID (tempList+= ID )+ (tempDotStar= DOT_STAR )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:98:2: ( ^( VT_IMPORT_ID (tempList+= ID )+ (tempDotStar= DOT_STAR )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:98:4: ^( VT_IMPORT_ID (tempList+= ID )+ (tempDotStar= DOT_STAR )? )
{
match(input,VT_IMPORT_ID,FOLLOW_VT_IMPORT_ID_in_import_name277);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:98:27: (tempList+= ID )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:98:27: (tempList+= ID )+
int cnt5=0;
loop5:
do {
@@ -715,7 +714,7 @@
switch (alt5) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:98:27: tempList+= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:98:27: tempList+= ID
{
tempList=(DroolsTree)match(input,ID,FOLLOW_ID_in_import_name281);
if (list_tempList==null) list_tempList=new ArrayList();
@@ -734,7 +733,7 @@
cnt5++;
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:98:44: (tempDotStar= DOT_STAR )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:98:44: (tempDotStar= DOT_STAR )?
int alt6=2;
int LA6_0 = input.LA(1);
@@ -743,7 +742,7 @@
}
switch (alt6) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:98:44: tempDotStar= DOT_STAR
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:98:44: tempDotStar= DOT_STAR
{
tempDotStar=(DroolsTree)match(input,DOT_STAR,FOLLOW_DOT_STAR_in_import_name286);
@@ -775,7 +774,7 @@
};
// $ANTLR start "global"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:103:1: global returns [GlobalDescr globalDescr] : ^(start= VK_GLOBAL dt= data_type globalId= VT_GLOBAL_ID ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:103:1: global returns [GlobalDescr globalDescr] : ^(start= VK_GLOBAL dt= data_type globalId= VT_GLOBAL_ID ) ;
public final DescrBuilderTree.global_return global() throws RecognitionException {
DescrBuilderTree.global_return retval = new DescrBuilderTree.global_return();
retval.start = input.LT(1);
@@ -786,8 +785,8 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:104:2: ( ^(start= VK_GLOBAL dt= data_type globalId= VT_GLOBAL_ID ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:104:4: ^(start= VK_GLOBAL dt= data_type globalId= VT_GLOBAL_ID )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:104:2: ( ^(start= VK_GLOBAL dt= data_type globalId= VT_GLOBAL_ID ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:104:4: ^(start= VK_GLOBAL dt= data_type globalId= VT_GLOBAL_ID )
{
start=(DroolsTree)match(input,VK_GLOBAL,FOLLOW_VK_GLOBAL_in_global309);
@@ -820,7 +819,7 @@
};
// $ANTLR start "function"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:108:1: function returns [FunctionDescr functionDescr] : ^(start= VK_FUNCTION (dt= data_type )? functionId= VT_FUNCTION_ID params= parameters content= VT_CURLY_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:108:1: function returns [FunctionDescr functionDescr] : ^(start= VK_FUNCTION (dt= data_type )? functionId= VT_FUNCTION_ID params= parameters content= VT_CURLY_CHUNK ) ;
public final DescrBuilderTree.function_return function() throws RecognitionException {
DescrBuilderTree.function_return retval = new DescrBuilderTree.function_return();
retval.start = input.LT(1);
@@ -834,13 +833,13 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:109:2: ( ^(start= VK_FUNCTION (dt= data_type )? functionId= VT_FUNCTION_ID params= parameters content= VT_CURLY_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:109:4: ^(start= VK_FUNCTION (dt= data_type )? functionId= VT_FUNCTION_ID params= parameters content= VT_CURLY_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:109:2: ( ^(start= VK_FUNCTION (dt= data_type )? functionId= VT_FUNCTION_ID params= parameters content= VT_CURLY_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:109:4: ^(start= VK_FUNCTION (dt= data_type )? functionId= VT_FUNCTION_ID params= parameters content= VT_CURLY_CHUNK )
{
start=(DroolsTree)match(input,VK_FUNCTION,FOLLOW_VK_FUNCTION_in_function339);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:109:26: (dt= data_type )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:109:26: (dt= data_type )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -849,7 +848,7 @@
}
switch (alt7) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:109:26: dt= data_type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:109:26: dt= data_type
{
pushFollow(FOLLOW_data_type_in_function343);
dt=data_type();
@@ -891,7 +890,7 @@
};
// $ANTLR start "template"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:113:1: template returns [FactTemplateDescr factTemplateDescr] : ^(start= VK_TEMPLATE id= VT_TEMPLATE_ID (ts= template_slot )+ end= END ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:113:1: template returns [FactTemplateDescr factTemplateDescr] : ^(start= VK_TEMPLATE id= VT_TEMPLATE_ID (ts= template_slot )+ end= END ) ;
public final DescrBuilderTree.template_return template() throws RecognitionException {
DescrBuilderTree.template_return retval = new DescrBuilderTree.template_return();
retval.start = input.LT(1);
@@ -906,14 +905,14 @@
List slotList = new LinkedList<FieldTemplateDescr>();
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:116:3: ( ^(start= VK_TEMPLATE id= VT_TEMPLATE_ID (ts= template_slot )+ end= END ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:116:5: ^(start= VK_TEMPLATE id= VT_TEMPLATE_ID (ts= template_slot )+ end= END )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:116:3: ( ^(start= VK_TEMPLATE id= VT_TEMPLATE_ID (ts= template_slot )+ end= END ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:116:5: ^(start= VK_TEMPLATE id= VT_TEMPLATE_ID (ts= template_slot )+ end= END )
{
start=(DroolsTree)match(input,VK_TEMPLATE,FOLLOW_VK_TEMPLATE_in_template381);
match(input, Token.DOWN, null);
id=(DroolsTree)match(input,VT_TEMPLATE_ID,FOLLOW_VT_TEMPLATE_ID_in_template385);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:117:4: (ts= template_slot )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:117:4: (ts= template_slot )+
int cnt8=0;
loop8:
do {
@@ -927,7 +926,7 @@
switch (alt8) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:117:6: ts= template_slot
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:117:6: ts= template_slot
{
pushFollow(FOLLOW_template_slot_in_template394);
ts=template_slot();
@@ -968,7 +967,7 @@
// $ANTLR start "template_slot"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:121:1: template_slot returns [FieldTemplateDescr fieldTemplateDescr] : ^( VT_SLOT dt= data_type id= VT_SLOT_ID ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:121:1: template_slot returns [FieldTemplateDescr fieldTemplateDescr] : ^( VT_SLOT dt= data_type id= VT_SLOT_ID ) ;
public final FieldTemplateDescr template_slot() throws RecognitionException {
FieldTemplateDescr fieldTemplateDescr = null;
@@ -977,8 +976,8 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:122:2: ( ^( VT_SLOT dt= data_type id= VT_SLOT_ID ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:122:4: ^( VT_SLOT dt= data_type id= VT_SLOT_ID )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:122:2: ( ^( VT_SLOT dt= data_type id= VT_SLOT_ID ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:122:4: ^( VT_SLOT dt= data_type id= VT_SLOT_ID )
{
match(input,VT_SLOT,FOLLOW_VT_SLOT_in_template_slot422);
@@ -1011,7 +1010,7 @@
};
// $ANTLR start "query"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:126:1: query returns [QueryDescr queryDescr] : ^(start= VK_QUERY id= VT_QUERY_ID (params= parameters )? lb= lhs_block end= END ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:126:1: query returns [QueryDescr queryDescr] : ^(start= VK_QUERY id= VT_QUERY_ID (params= parameters )? lb= lhs_block end= END ) ;
public final DescrBuilderTree.query_return query() throws RecognitionException {
DescrBuilderTree.query_return retval = new DescrBuilderTree.query_return();
retval.start = input.LT(1);
@@ -1025,14 +1024,14 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:127:2: ( ^(start= VK_QUERY id= VT_QUERY_ID (params= parameters )? lb= lhs_block end= END ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:127:4: ^(start= VK_QUERY id= VT_QUERY_ID (params= parameters )? lb= lhs_block end= END )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:127:2: ( ^(start= VK_QUERY id= VT_QUERY_ID (params= parameters )? lb= lhs_block end= END ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:127:4: ^(start= VK_QUERY id= VT_QUERY_ID (params= parameters )? lb= lhs_block end= END )
{
start=(DroolsTree)match(input,VK_QUERY,FOLLOW_VK_QUERY_in_query452);
match(input, Token.DOWN, null);
id=(DroolsTree)match(input,VT_QUERY_ID,FOLLOW_VT_QUERY_ID_in_query456);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:127:42: (params= parameters )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:127:42: (params= parameters )?
int alt9=2;
int LA9_0 = input.LA(1);
@@ -1041,7 +1040,7 @@
}
switch (alt9) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:127:42: params= parameters
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:127:42: params= parameters
{
pushFollow(FOLLOW_parameters_in_query460);
params=parameters();
@@ -1082,7 +1081,7 @@
};
// $ANTLR start "rule"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:131:1: rule returns [RuleDescr ruleDescr] : ^(start= VK_RULE id= VT_RULE_ID ( ^( VK_EXTEND parent_id= VT_RULE_ID ) )? (dm= decl_metadata )* (ra= rule_attributes )? (wn= when_part )? content= VT_RHS_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:131:1: rule returns [RuleDescr ruleDescr] : ^(start= VK_RULE id= VT_RULE_ID ( ^( VK_EXTEND parent_id= VT_RULE_ID ) )? (dm= decl_metadata )* (ra= rule_attributes )? (wn= when_part )? content= VT_RHS_CHUNK ) ;
public final DescrBuilderTree.rule_return rule() throws RecognitionException {
DescrBuilderTree.rule_return retval = new DescrBuilderTree.rule_return();
retval.start = input.LT(1);
@@ -1100,14 +1099,14 @@
List<Map> declMetadaList = new LinkedList<Map>();
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:133:2: ( ^(start= VK_RULE id= VT_RULE_ID ( ^( VK_EXTEND parent_id= VT_RULE_ID ) )? (dm= decl_metadata )* (ra= rule_attributes )? (wn= when_part )? content= VT_RHS_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:133:4: ^(start= VK_RULE id= VT_RULE_ID ( ^( VK_EXTEND parent_id= VT_RULE_ID ) )? (dm= decl_metadata )* (ra= rule_attributes )? (wn= when_part )? content= VT_RHS_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:133:2: ( ^(start= VK_RULE id= VT_RULE_ID ( ^( VK_EXTEND parent_id= VT_RULE_ID ) )? (dm= decl_metadata )* (ra= rule_attributes )? (wn= when_part )? content= VT_RHS_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:133:4: ^(start= VK_RULE id= VT_RULE_ID ( ^( VK_EXTEND parent_id= VT_RULE_ID ) )? (dm= decl_metadata )* (ra= rule_attributes )? (wn= when_part )? content= VT_RHS_CHUNK )
{
start=(DroolsTree)match(input,VK_RULE,FOLLOW_VK_RULE_in_rule496);
match(input, Token.DOWN, null);
id=(DroolsTree)match(input,VT_RULE_ID,FOLLOW_VT_RULE_ID_in_rule500);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:133:35: ( ^( VK_EXTEND parent_id= VT_RULE_ID ) )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:133:35: ( ^( VK_EXTEND parent_id= VT_RULE_ID ) )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -1116,7 +1115,7 @@
}
switch (alt10) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:133:36: ^( VK_EXTEND parent_id= VT_RULE_ID )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:133:36: ^( VK_EXTEND parent_id= VT_RULE_ID )
{
match(input,VK_EXTEND,FOLLOW_VK_EXTEND_in_rule505);
@@ -1130,7 +1129,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:134:3: (dm= decl_metadata )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:134:3: (dm= decl_metadata )*
loop11:
do {
int alt11=2;
@@ -1143,7 +1142,7 @@
switch (alt11) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:134:4: dm= decl_metadata
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:134:4: dm= decl_metadata
{
pushFollow(FOLLOW_decl_metadata_in_rule519);
dm=decl_metadata();
@@ -1160,7 +1159,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:135:6: (ra= rule_attributes )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:135:6: (ra= rule_attributes )?
int alt12=2;
int LA12_0 = input.LA(1);
@@ -1169,7 +1168,7 @@
}
switch (alt12) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:135:6: ra= rule_attributes
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:135:6: ra= rule_attributes
{
pushFollow(FOLLOW_rule_attributes_in_rule530);
ra=rule_attributes();
@@ -1182,7 +1181,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:136:6: (wn= when_part )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:136:6: (wn= when_part )?
int alt13=2;
int LA13_0 = input.LA(1);
@@ -1191,7 +1190,7 @@
}
switch (alt13) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:136:6: wn= when_part
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:136:6: wn= when_part
{
pushFollow(FOLLOW_when_part_in_rule539);
wn=when_part();
@@ -1224,7 +1223,7 @@
// $ANTLR start "when_part"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:140:1: when_part returns [AndDescr andDescr] : WHEN lh= lhs_block ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:140:1: when_part returns [AndDescr andDescr] : WHEN lh= lhs_block ;
public final AndDescr when_part() throws RecognitionException {
AndDescr andDescr = null;
@@ -1232,8 +1231,8 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:141:2: ( WHEN lh= lhs_block )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:141:4: WHEN lh= lhs_block
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:141:2: ( WHEN lh= lhs_block )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:141:4: WHEN lh= lhs_block
{
match(input,WHEN,FOLLOW_WHEN_in_when_part563);
pushFollow(FOLLOW_lhs_block_in_when_part567);
@@ -1258,7 +1257,7 @@
// $ANTLR start "rule_attributes"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:145:1: rule_attributes returns [List attrList] : ^( VT_RULE_ATTRIBUTES ( VK_ATTRIBUTES )? (rl= rule_attribute )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:145:1: rule_attributes returns [List attrList] : ^( VT_RULE_ATTRIBUTES ( VK_ATTRIBUTES )? (rl= rule_attribute )+ ) ;
public final List rule_attributes() throws RecognitionException {
List attrList = null;
@@ -1269,13 +1268,13 @@
attrList = new LinkedList<AttributeDescr>();
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:148:3: ( ^( VT_RULE_ATTRIBUTES ( VK_ATTRIBUTES )? (rl= rule_attribute )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:148:5: ^( VT_RULE_ATTRIBUTES ( VK_ATTRIBUTES )? (rl= rule_attribute )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:148:3: ( ^( VT_RULE_ATTRIBUTES ( VK_ATTRIBUTES )? (rl= rule_attribute )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:148:5: ^( VT_RULE_ATTRIBUTES ( VK_ATTRIBUTES )? (rl= rule_attribute )+ )
{
match(input,VT_RULE_ATTRIBUTES,FOLLOW_VT_RULE_ATTRIBUTES_in_rule_attributes589);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:148:26: ( VK_ATTRIBUTES )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:148:26: ( VK_ATTRIBUTES )?
int alt14=2;
int LA14_0 = input.LA(1);
@@ -1284,7 +1283,7 @@
}
switch (alt14) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:148:26: VK_ATTRIBUTES
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:148:26: VK_ATTRIBUTES
{
match(input,VK_ATTRIBUTES,FOLLOW_VK_ATTRIBUTES_in_rule_attributes591);
@@ -1293,7 +1292,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:148:41: (rl= rule_attribute )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:148:41: (rl= rule_attribute )+
int cnt15=0;
loop15:
do {
@@ -1307,7 +1306,7 @@
switch (alt15) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:148:42: rl= rule_attribute
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:148:42: rl= rule_attribute
{
pushFollow(FOLLOW_rule_attribute_in_rule_attributes597);
rl=rule_attribute();
@@ -1346,7 +1345,7 @@
// $ANTLR start "parameters"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:151:1: parameters returns [List paramList] : ^( VT_PARAM_LIST (p= param_definition )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:151:1: parameters returns [List paramList] : ^( VT_PARAM_LIST (p= param_definition )* ) ;
public final List parameters() throws RecognitionException {
List paramList = null;
@@ -1357,14 +1356,14 @@
paramList = new LinkedList<Map<BaseDescr, BaseDescr>>();
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:154:3: ( ^( VT_PARAM_LIST (p= param_definition )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:154:5: ^( VT_PARAM_LIST (p= param_definition )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:154:3: ( ^( VT_PARAM_LIST (p= param_definition )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:154:5: ^( VT_PARAM_LIST (p= param_definition )* )
{
match(input,VT_PARAM_LIST,FOLLOW_VT_PARAM_LIST_in_parameters621);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:154:21: (p= param_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:154:21: (p= param_definition )*
loop16:
do {
int alt16=2;
@@ -1377,7 +1376,7 @@
switch (alt16) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:154:22: p= param_definition
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:154:22: p= param_definition
{
pushFollow(FOLLOW_param_definition_in_parameters626);
p=param_definition();
@@ -1413,7 +1412,7 @@
// $ANTLR start "param_definition"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:157:1: param_definition returns [Map param] : (dt= data_type )? a= argument ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:157:1: param_definition returns [Map param] : (dt= data_type )? a= argument ;
public final Map param_definition() throws RecognitionException {
Map param = null;
@@ -1423,10 +1422,10 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:158:2: ( (dt= data_type )? a= argument )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:158:4: (dt= data_type )? a= argument
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:158:2: ( (dt= data_type )? a= argument )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:158:4: (dt= data_type )? a= argument
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:158:6: (dt= data_type )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:158:6: (dt= data_type )?
int alt17=2;
int LA17_0 = input.LA(1);
@@ -1435,7 +1434,7 @@
}
switch (alt17) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:158:6: dt= data_type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:158:6: dt= data_type
{
pushFollow(FOLLOW_data_type_in_param_definition648);
dt=data_type();
@@ -1471,7 +1470,7 @@
// $ANTLR start "argument"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:163:1: argument returns [BaseDescr arg] : id= ID ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:163:1: argument returns [BaseDescr arg] : id= ID ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* ;
public final BaseDescr argument() throws RecognitionException {
BaseDescr arg = null;
@@ -1480,11 +1479,11 @@
List list_rightList=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:164:2: (id= ID ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:164:4: id= ID ( LEFT_SQUARE rightList+= RIGHT_SQUARE )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:164:2: (id= ID ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:164:4: id= ID ( LEFT_SQUARE rightList+= RIGHT_SQUARE )*
{
id=(DroolsTree)match(input,ID,FOLLOW_ID_in_argument673);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:164:10: ( LEFT_SQUARE rightList+= RIGHT_SQUARE )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:164:10: ( LEFT_SQUARE rightList+= RIGHT_SQUARE )*
loop18:
do {
int alt18=2;
@@ -1497,7 +1496,7 @@
switch (alt18) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:164:11: LEFT_SQUARE rightList+= RIGHT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:164:11: LEFT_SQUARE rightList+= RIGHT_SQUARE
{
match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_argument676);
rightList=(DroolsTree)match(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_argument680);
@@ -1530,7 +1529,7 @@
// $ANTLR start "type_declaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:168:1: type_declaration returns [TypeDeclarationDescr declaration] : ^( VK_DECLARE id= VT_TYPE_DECLARE_ID (dm= decl_metadata )* (df= decl_field )* END ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:168:1: type_declaration returns [TypeDeclarationDescr declaration] : ^( VK_DECLARE id= VT_TYPE_DECLARE_ID (dm= decl_metadata )* (df= decl_field )* END ) ;
public final TypeDeclarationDescr type_declaration() throws RecognitionException {
TypeDeclarationDescr declaration = null;
@@ -1543,14 +1542,14 @@
List<Map> declMetadaList = new LinkedList<Map>();
List<TypeFieldDescr> declFieldList = new LinkedList<TypeFieldDescr>();
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:171:2: ( ^( VK_DECLARE id= VT_TYPE_DECLARE_ID (dm= decl_metadata )* (df= decl_field )* END ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:171:4: ^( VK_DECLARE id= VT_TYPE_DECLARE_ID (dm= decl_metadata )* (df= decl_field )* END )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:171:2: ( ^( VK_DECLARE id= VT_TYPE_DECLARE_ID (dm= decl_metadata )* (df= decl_field )* END ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:171:4: ^( VK_DECLARE id= VT_TYPE_DECLARE_ID (dm= decl_metadata )* (df= decl_field )* END )
{
match(input,VK_DECLARE,FOLLOW_VK_DECLARE_in_type_declaration706);
match(input, Token.DOWN, null);
id=(DroolsTree)match(input,VT_TYPE_DECLARE_ID,FOLLOW_VT_TYPE_DECLARE_ID_in_type_declaration710);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:172:4: (dm= decl_metadata )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:172:4: (dm= decl_metadata )*
loop19:
do {
int alt19=2;
@@ -1563,7 +1562,7 @@
switch (alt19) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:172:5: dm= decl_metadata
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:172:5: dm= decl_metadata
{
pushFollow(FOLLOW_decl_metadata_in_type_declaration719);
dm=decl_metadata();
@@ -1580,7 +1579,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:173:4: (df= decl_field )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:173:4: (df= decl_field )*
loop20:
do {
int alt20=2;
@@ -1593,7 +1592,7 @@
switch (alt20) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:173:5: df= decl_field
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:173:5: df= decl_field
{
pushFollow(FOLLOW_decl_field_in_type_declaration732);
df=decl_field();
@@ -1630,7 +1629,7 @@
// $ANTLR start "decl_metadata"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:177:1: decl_metadata returns [Map attData] : ^( AT att= ID pc= VT_PAREN_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:177:1: decl_metadata returns [Map attData] : ^( AT att= ID pc= VT_PAREN_CHUNK ) ;
public final Map decl_metadata() throws RecognitionException {
Map attData = null;
@@ -1639,8 +1638,8 @@
attData = new HashMap();
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:179:2: ( ^( AT att= ID pc= VT_PAREN_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:179:4: ^( AT att= ID pc= VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:179:2: ( ^( AT att= ID pc= VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:179:4: ^( AT att= ID pc= VT_PAREN_CHUNK )
{
match(input,AT,FOLLOW_AT_in_decl_metadata763);
@@ -1666,7 +1665,7 @@
// $ANTLR start "decl_field"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:183:1: decl_field returns [TypeFieldDescr fieldDescr] : ^(id= ID (init= decl_field_initialization )? dt= data_type (dm= decl_metadata )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:183:1: decl_field returns [TypeFieldDescr fieldDescr] : ^(id= ID (init= decl_field_initialization )? dt= data_type (dm= decl_metadata )* ) ;
public final TypeFieldDescr decl_field() throws RecognitionException {
TypeFieldDescr fieldDescr = null;
@@ -1680,13 +1679,13 @@
List<Map> declMetadaList = new LinkedList<Map>();
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:185:2: ( ^(id= ID (init= decl_field_initialization )? dt= data_type (dm= decl_metadata )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:185:4: ^(id= ID (init= decl_field_initialization )? dt= data_type (dm= decl_metadata )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:185:2: ( ^(id= ID (init= decl_field_initialization )? dt= data_type (dm= decl_metadata )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:185:4: ^(id= ID (init= decl_field_initialization )? dt= data_type (dm= decl_metadata )* )
{
id=(DroolsTree)match(input,ID,FOLLOW_ID_in_decl_field798);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:185:16: (init= decl_field_initialization )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:185:16: (init= decl_field_initialization )?
int alt21=2;
int LA21_0 = input.LA(1);
@@ -1695,7 +1694,7 @@
}
switch (alt21) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:185:16: init= decl_field_initialization
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:185:16: init= decl_field_initialization
{
pushFollow(FOLLOW_decl_field_initialization_in_decl_field802);
init=decl_field_initialization();
@@ -1713,7 +1712,7 @@
state._fsp--;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:185:57: (dm= decl_metadata )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:185:57: (dm= decl_metadata )*
loop22:
do {
int alt22=2;
@@ -1726,7 +1725,7 @@
switch (alt22) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:185:58: dm= decl_metadata
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:185:58: dm= decl_metadata
{
pushFollow(FOLLOW_decl_metadata_in_decl_field812);
dm=decl_metadata();
@@ -1762,15 +1761,15 @@
// $ANTLR start "decl_field_initialization"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:189:1: decl_field_initialization returns [String expr] : ^( EQUALS pc= VT_PAREN_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:189:1: decl_field_initialization returns [String expr] : ^( EQUALS pc= VT_PAREN_CHUNK ) ;
public final String decl_field_initialization() throws RecognitionException {
String expr = null;
DroolsTree pc=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:190:2: ( ^( EQUALS pc= VT_PAREN_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:190:4: ^( EQUALS pc= VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:190:2: ( ^( EQUALS pc= VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:190:4: ^( EQUALS pc= VT_PAREN_CHUNK )
{
match(input,EQUALS,FOLLOW_EQUALS_in_decl_field_initialization839);
@@ -1795,7 +1794,7 @@
// $ANTLR start "rule_attribute"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:194:1: rule_attribute returns [AttributeDescr attributeDescr] : ( ^(attrName= VK_SALIENCE (value= INT | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_NO_LOOP (value= BOOL )? ) | ^(attrName= VK_AGENDA_GROUP value= STRING ) | ^(attrName= VK_DURATION value= INT ) | ^(attrName= VK_ACTIVATION_GROUP value= STRING ) | ^(attrName= VK_AUTO_FOCUS (value= BOOL )? ) | ^(attrName= VK_DATE_EFFECTIVE value= STRING ) | ^(attrName= VK_DATE_EXPIRES value= STRING ) | ^(attrName= VK_ENABLED (value= BOOL | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_RULEFLOW_GROUP value= STRING ) | ^(attrName= VK_LOCK_ON_ACTIVE (value= BOOL )? ) | ^(attrName= VK_DIALECT value= STRING ) ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:194:1: rule_attribute returns [AttributeDescr attributeDescr] : ( ^(attrName= VK_SALIENCE (value= INT | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_NO_LOOP (value= BOOL )? ) | ^(attrName= VK_AGENDA_GROUP value= STRING ) | ^(attrName= VK_DURATION value= INT ) | ^(attrName= VK_ACTIVATION_GROUP value= STRING ) | ^(attrName= VK_AUTO_FOCUS (value= BOOL )? ) | ^(attrName= VK_DATE_EFFECTIVE value= STRING ) | ^(attrName= VK_DATE_EXPIRES value= STRING ) | ^(attrName= VK_ENABLED (value= BOOL | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_RULEFLOW_GROUP value= STRING ) | ^(attrName= VK_LOCK_ON_ACTIVE (value= BOOL )? ) | ^(attrName= VK_DIALECT value= STRING ) ) ;
public final AttributeDescr rule_attribute() throws RecognitionException {
AttributeDescr attributeDescr = null;
@@ -1803,10 +1802,10 @@
DroolsTree value=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:2: ( ( ^(attrName= VK_SALIENCE (value= INT | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_NO_LOOP (value= BOOL )? ) | ^(attrName= VK_AGENDA_GROUP value= STRING ) | ^(attrName= VK_DURATION value= INT ) | ^(attrName= VK_ACTIVATION_GROUP value= STRING ) | ^(attrName= VK_AUTO_FOCUS (value= BOOL )? ) | ^(attrName= VK_DATE_EFFECTIVE value= STRING ) | ^(attrName= VK_DATE_EXPIRES value= STRING ) | ^(attrName= VK_ENABLED (value= BOOL | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_RULEFLOW_GROUP value= STRING ) | ^(attrName= VK_LOCK_ON_ACTIVE (value= BOOL )? ) | ^(attrName= VK_DIALECT value= STRING ) ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:4: ( ^(attrName= VK_SALIENCE (value= INT | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_NO_LOOP (value= BOOL )? ) | ^(attrName= VK_AGENDA_GROUP value= STRING ) | ^(attrName= VK_DURATION value= INT ) | ^(attrName= VK_ACTIVATION_GROUP value= STRING ) | ^(attrName= VK_AUTO_FOCUS (value= BOOL )? ) | ^(attrName= VK_DATE_EFFECTIVE value= STRING ) | ^(attrName= VK_DATE_EXPIRES value= STRING ) | ^(attrName= VK_ENABLED (value= BOOL | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_RULEFLOW_GROUP value= STRING ) | ^(attrName= VK_LOCK_ON_ACTIVE (value= BOOL )? ) | ^(attrName= VK_DIALECT value= STRING ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:2: ( ( ^(attrName= VK_SALIENCE (value= INT | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_NO_LOOP (value= BOOL )? ) | ^(attrName= VK_AGENDA_GROUP value= STRING ) | ^(attrName= VK_DURATION value= INT ) | ^(attrName= VK_ACTIVATION_GROUP value= STRING ) | ^(attrName= VK_AUTO_FOCUS (value= BOOL )? ) | ^(attrName= VK_DATE_EFFECTIVE value= STRING ) | ^(attrName= VK_DATE_EXPIRES value= STRING ) | ^(attrName= VK_ENABLED (value= BOOL | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_RULEFLOW_GROUP value= STRING ) | ^(attrName= VK_LOCK_ON_ACTIVE (value= BOOL )? ) | ^(attrName= VK_DIALECT value= STRING ) ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:4: ( ^(attrName= VK_SALIENCE (value= INT | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_NO_LOOP (value= BOOL )? ) | ^(attrName= VK_AGENDA_GROUP value= STRING ) | ^(attrName= VK_DURATION value= INT ) | ^(attrName= VK_ACTIVATION_GROUP value= STRING ) | ^(attrName= VK_AUTO_FOCUS (value= BOOL )? ) | ^(attrName= VK_DATE_EFFECTIVE value= STRING ) | ^(attrName= VK_DATE_EXPIRES value= STRING ) | ^(attrName= VK_ENABLED (value= BOOL | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_RULEFLOW_GROUP value= STRING ) | ^(attrName= VK_LOCK_ON_ACTIVE (value= BOOL )? ) | ^(attrName= VK_DIALECT value= STRING ) )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:4: ( ^(attrName= VK_SALIENCE (value= INT | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_NO_LOOP (value= BOOL )? ) | ^(attrName= VK_AGENDA_GROUP value= STRING ) | ^(attrName= VK_DURATION value= INT ) | ^(attrName= VK_ACTIVATION_GROUP value= STRING ) | ^(attrName= VK_AUTO_FOCUS (value= BOOL )? ) | ^(attrName= VK_DATE_EFFECTIVE value= STRING ) | ^(attrName= VK_DATE_EXPIRES value= STRING ) | ^(attrName= VK_ENABLED (value= BOOL | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_RULEFLOW_GROUP value= STRING ) | ^(attrName= VK_LOCK_ON_ACTIVE (value= BOOL )? ) | ^(attrName= VK_DIALECT value= STRING ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:4: ( ^(attrName= VK_SALIENCE (value= INT | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_NO_LOOP (value= BOOL )? ) | ^(attrName= VK_AGENDA_GROUP value= STRING ) | ^(attrName= VK_DURATION value= INT ) | ^(attrName= VK_ACTIVATION_GROUP value= STRING ) | ^(attrName= VK_AUTO_FOCUS (value= BOOL )? ) | ^(attrName= VK_DATE_EFFECTIVE value= STRING ) | ^(attrName= VK_DATE_EXPIRES value= STRING ) | ^(attrName= VK_ENABLED (value= BOOL | value= VT_PAREN_CHUNK ) ) | ^(attrName= VK_RULEFLOW_GROUP value= STRING ) | ^(attrName= VK_LOCK_ON_ACTIVE (value= BOOL )? ) | ^(attrName= VK_DIALECT value= STRING ) )
int alt28=12;
switch ( input.LA(1) ) {
case VK_SALIENCE:
@@ -1878,12 +1877,12 @@
switch (alt28) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:5: ^(attrName= VK_SALIENCE (value= INT | value= VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:5: ^(attrName= VK_SALIENCE (value= INT | value= VT_PAREN_CHUNK ) )
{
attrName=(DroolsTree)match(input,VK_SALIENCE,FOLLOW_VK_SALIENCE_in_rule_attribute866);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:28: (value= INT | value= VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:28: (value= INT | value= VT_PAREN_CHUNK )
int alt23=2;
int LA23_0 = input.LA(1);
@@ -1901,14 +1900,14 @@
}
switch (alt23) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:29: value= INT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:29: value= INT
{
value=(DroolsTree)match(input,INT,FOLLOW_INT_in_rule_attribute871);
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:39: value= VT_PAREN_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:195:39: value= VT_PAREN_CHUNK
{
value=(DroolsTree)match(input,VT_PAREN_CHUNK,FOLLOW_VT_PAREN_CHUNK_in_rule_attribute875);
@@ -1923,13 +1922,13 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:196:4: ^(attrName= VK_NO_LOOP (value= BOOL )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:196:4: ^(attrName= VK_NO_LOOP (value= BOOL )? )
{
attrName=(DroolsTree)match(input,VK_NO_LOOP,FOLLOW_VK_NO_LOOP_in_rule_attribute886);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:196:31: (value= BOOL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:196:31: (value= BOOL )?
int alt24=2;
int LA24_0 = input.LA(1);
@@ -1938,7 +1937,7 @@
}
switch (alt24) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:196:31: value= BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:196:31: value= BOOL
{
value=(DroolsTree)match(input,BOOL,FOLLOW_BOOL_in_rule_attribute890);
@@ -1954,7 +1953,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:197:4: ^(attrName= VK_AGENDA_GROUP value= STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:197:4: ^(attrName= VK_AGENDA_GROUP value= STRING )
{
attrName=(DroolsTree)match(input,VK_AGENDA_GROUP,FOLLOW_VK_AGENDA_GROUP_in_rule_attribute902);
@@ -1966,7 +1965,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:198:4: ^(attrName= VK_DURATION value= INT )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:198:4: ^(attrName= VK_DURATION value= INT )
{
attrName=(DroolsTree)match(input,VK_DURATION,FOLLOW_VK_DURATION_in_rule_attribute917);
@@ -1978,7 +1977,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:199:4: ^(attrName= VK_ACTIVATION_GROUP value= STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:199:4: ^(attrName= VK_ACTIVATION_GROUP value= STRING )
{
attrName=(DroolsTree)match(input,VK_ACTIVATION_GROUP,FOLLOW_VK_ACTIVATION_GROUP_in_rule_attribute933);
@@ -1990,13 +1989,13 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:200:4: ^(attrName= VK_AUTO_FOCUS (value= BOOL )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:200:4: ^(attrName= VK_AUTO_FOCUS (value= BOOL )? )
{
attrName=(DroolsTree)match(input,VK_AUTO_FOCUS,FOLLOW_VK_AUTO_FOCUS_in_rule_attribute947);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:200:34: (value= BOOL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:200:34: (value= BOOL )?
int alt25=2;
int LA25_0 = input.LA(1);
@@ -2005,7 +2004,7 @@
}
switch (alt25) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:200:34: value= BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:200:34: value= BOOL
{
value=(DroolsTree)match(input,BOOL,FOLLOW_BOOL_in_rule_attribute951);
@@ -2021,7 +2020,7 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:201:4: ^(attrName= VK_DATE_EFFECTIVE value= STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:201:4: ^(attrName= VK_DATE_EFFECTIVE value= STRING )
{
attrName=(DroolsTree)match(input,VK_DATE_EFFECTIVE,FOLLOW_VK_DATE_EFFECTIVE_in_rule_attribute962);
@@ -2033,7 +2032,7 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:202:4: ^(attrName= VK_DATE_EXPIRES value= STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:202:4: ^(attrName= VK_DATE_EXPIRES value= STRING )
{
attrName=(DroolsTree)match(input,VK_DATE_EXPIRES,FOLLOW_VK_DATE_EXPIRES_in_rule_attribute976);
@@ -2045,12 +2044,12 @@
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:203:4: ^(attrName= VK_ENABLED (value= BOOL | value= VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:203:4: ^(attrName= VK_ENABLED (value= BOOL | value= VT_PAREN_CHUNK ) )
{
attrName=(DroolsTree)match(input,VK_ENABLED,FOLLOW_VK_ENABLED_in_rule_attribute990);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:203:26: (value= BOOL | value= VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:203:26: (value= BOOL | value= VT_PAREN_CHUNK )
int alt26=2;
int LA26_0 = input.LA(1);
@@ -2068,14 +2067,14 @@
}
switch (alt26) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:203:27: value= BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:203:27: value= BOOL
{
value=(DroolsTree)match(input,BOOL,FOLLOW_BOOL_in_rule_attribute995);
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:203:38: value= VT_PAREN_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:203:38: value= VT_PAREN_CHUNK
{
value=(DroolsTree)match(input,VT_PAREN_CHUNK,FOLLOW_VT_PAREN_CHUNK_in_rule_attribute999);
@@ -2090,7 +2089,7 @@
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:204:4: ^(attrName= VK_RULEFLOW_GROUP value= STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:204:4: ^(attrName= VK_RULEFLOW_GROUP value= STRING )
{
attrName=(DroolsTree)match(input,VK_RULEFLOW_GROUP,FOLLOW_VK_RULEFLOW_GROUP_in_rule_attribute1010);
@@ -2102,13 +2101,13 @@
}
break;
case 11 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:205:4: ^(attrName= VK_LOCK_ON_ACTIVE (value= BOOL )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:205:4: ^(attrName= VK_LOCK_ON_ACTIVE (value= BOOL )? )
{
attrName=(DroolsTree)match(input,VK_LOCK_ON_ACTIVE,FOLLOW_VK_LOCK_ON_ACTIVE_in_rule_attribute1024);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:205:38: (value= BOOL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:205:38: (value= BOOL )?
int alt27=2;
int LA27_0 = input.LA(1);
@@ -2117,7 +2116,7 @@
}
switch (alt27) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:205:38: value= BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:205:38: value= BOOL
{
value=(DroolsTree)match(input,BOOL,FOLLOW_BOOL_in_rule_attribute1028);
@@ -2133,7 +2132,7 @@
}
break;
case 12 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:206:4: ^(attrName= VK_DIALECT value= STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:206:4: ^(attrName= VK_DIALECT value= STRING )
{
attrName=(DroolsTree)match(input,VK_DIALECT,FOLLOW_VK_DIALECT_in_rule_attribute1038);
@@ -2164,7 +2163,7 @@
// $ANTLR start "lhs_block"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:210:1: lhs_block returns [AndDescr andDescr] : ^( VT_AND_IMPLICIT (dt= lhs )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:210:1: lhs_block returns [AndDescr andDescr] : ^( VT_AND_IMPLICIT (dt= lhs )* ) ;
public final AndDescr lhs_block() throws RecognitionException {
AndDescr andDescr = null;
@@ -2175,14 +2174,14 @@
andDescr = new AndDescr();
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:213:3: ( ^( VT_AND_IMPLICIT (dt= lhs )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:213:5: ^( VT_AND_IMPLICIT (dt= lhs )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:213:3: ( ^( VT_AND_IMPLICIT (dt= lhs )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:213:5: ^( VT_AND_IMPLICIT (dt= lhs )* )
{
match(input,VT_AND_IMPLICIT,FOLLOW_VT_AND_IMPLICIT_in_lhs_block1067);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:213:23: (dt= lhs )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:213:23: (dt= lhs )*
loop29:
do {
int alt29=2;
@@ -2195,7 +2194,7 @@
switch (alt29) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:213:24: dt= lhs
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:213:24: dt= lhs
{
pushFollow(FOLLOW_lhs_in_lhs_block1072);
dt=lhs();
@@ -2234,7 +2233,7 @@
};
// $ANTLR start "lhs"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:216:1: lhs returns [BaseDescr baseDescr] : ( ^(start= VT_OR_PREFIX (dt= lhs )+ ) | ^(start= VT_OR_INFIX dt1= lhs dt2= lhs ) | ^(start= VT_AND_PREFIX (dt= lhs )+ ) | ^(start= VT_AND_INFIX dt1= lhs dt2= lhs ) | ^(start= VK_EXISTS dt= lhs ) | ^(start= VK_NOT dt= lhs ) | ^(start= VK_EVAL pc= VT_PAREN_CHUNK ) | ^(start= VK_FORALL (dt= lhs )+ ) | ^( FROM pn= lhs_pattern fe= from_elements ) | pn= lhs_pattern );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:216:1: lhs returns [BaseDescr baseDescr] : ( ^(start= VT_OR_PREFIX (dt= lhs )+ ) | ^(start= VT_OR_INFIX dt1= lhs dt2= lhs ) | ^(start= VT_AND_PREFIX (dt= lhs )+ ) | ^(start= VT_AND_INFIX dt1= lhs dt2= lhs ) | ^(start= VK_EXISTS dt= lhs ) | ^(start= VK_NOT dt= lhs ) | ^(start= VK_EVAL pc= VT_PAREN_CHUNK ) | ^(start= VK_FORALL (dt= lhs )+ ) | ^( FROM pn= lhs_pattern fe= from_elements ) | pn= lhs_pattern );
public final DescrBuilderTree.lhs_return lhs() throws RecognitionException {
DescrBuilderTree.lhs_return retval = new DescrBuilderTree.lhs_return();
retval.start = input.LT(1);
@@ -2256,7 +2255,7 @@
List<BaseDescr> lhsList = new LinkedList<BaseDescr>();
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:219:3: ( ^(start= VT_OR_PREFIX (dt= lhs )+ ) | ^(start= VT_OR_INFIX dt1= lhs dt2= lhs ) | ^(start= VT_AND_PREFIX (dt= lhs )+ ) | ^(start= VT_AND_INFIX dt1= lhs dt2= lhs ) | ^(start= VK_EXISTS dt= lhs ) | ^(start= VK_NOT dt= lhs ) | ^(start= VK_EVAL pc= VT_PAREN_CHUNK ) | ^(start= VK_FORALL (dt= lhs )+ ) | ^( FROM pn= lhs_pattern fe= from_elements ) | pn= lhs_pattern )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:219:3: ( ^(start= VT_OR_PREFIX (dt= lhs )+ ) | ^(start= VT_OR_INFIX dt1= lhs dt2= lhs ) | ^(start= VT_AND_PREFIX (dt= lhs )+ ) | ^(start= VT_AND_INFIX dt1= lhs dt2= lhs ) | ^(start= VK_EXISTS dt= lhs ) | ^(start= VK_NOT dt= lhs ) | ^(start= VK_EVAL pc= VT_PAREN_CHUNK ) | ^(start= VK_FORALL (dt= lhs )+ ) | ^( FROM pn= lhs_pattern fe= from_elements ) | pn= lhs_pattern )
int alt33=10;
switch ( input.LA(1) ) {
case VT_OR_PREFIX:
@@ -2318,12 +2317,12 @@
switch (alt33) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:219:5: ^(start= VT_OR_PREFIX (dt= lhs )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:219:5: ^(start= VT_OR_PREFIX (dt= lhs )+ )
{
start=(DroolsTree)match(input,VT_OR_PREFIX,FOLLOW_VT_OR_PREFIX_in_lhs1098);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:219:26: (dt= lhs )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:219:26: (dt= lhs )+
int cnt30=0;
loop30:
do {
@@ -2337,7 +2336,7 @@
switch (alt30) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:219:27: dt= lhs
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:219:27: dt= lhs
{
pushFollow(FOLLOW_lhs_in_lhs1103);
dt=lhs();
@@ -2365,7 +2364,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:221:4: ^(start= VT_OR_INFIX dt1= lhs dt2= lhs )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:221:4: ^(start= VT_OR_INFIX dt1= lhs dt2= lhs )
{
start=(DroolsTree)match(input,VT_OR_INFIX,FOLLOW_VT_OR_INFIX_in_lhs1119);
@@ -2389,12 +2388,12 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:225:4: ^(start= VT_AND_PREFIX (dt= lhs )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:225:4: ^(start= VT_AND_PREFIX (dt= lhs )+ )
{
start=(DroolsTree)match(input,VT_AND_PREFIX,FOLLOW_VT_AND_PREFIX_in_lhs1139);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:225:26: (dt= lhs )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:225:26: (dt= lhs )+
int cnt31=0;
loop31:
do {
@@ -2408,7 +2407,7 @@
switch (alt31) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:225:27: dt= lhs
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:225:27: dt= lhs
{
pushFollow(FOLLOW_lhs_in_lhs1144);
dt=lhs();
@@ -2436,7 +2435,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:227:4: ^(start= VT_AND_INFIX dt1= lhs dt2= lhs )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:227:4: ^(start= VT_AND_INFIX dt1= lhs dt2= lhs )
{
start=(DroolsTree)match(input,VT_AND_INFIX,FOLLOW_VT_AND_INFIX_in_lhs1160);
@@ -2460,7 +2459,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:231:4: ^(start= VK_EXISTS dt= lhs )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:231:4: ^(start= VK_EXISTS dt= lhs )
{
start=(DroolsTree)match(input,VK_EXISTS,FOLLOW_VK_EXISTS_in_lhs1180);
@@ -2477,7 +2476,7 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:233:4: ^(start= VK_NOT dt= lhs )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:233:4: ^(start= VK_NOT dt= lhs )
{
start=(DroolsTree)match(input,VK_NOT,FOLLOW_VK_NOT_in_lhs1196);
@@ -2494,7 +2493,7 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:235:4: ^(start= VK_EVAL pc= VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:235:4: ^(start= VK_EVAL pc= VT_PAREN_CHUNK )
{
start=(DroolsTree)match(input,VK_EVAL,FOLLOW_VK_EVAL_in_lhs1212);
@@ -2507,12 +2506,12 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:237:4: ^(start= VK_FORALL (dt= lhs )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:237:4: ^(start= VK_FORALL (dt= lhs )+ )
{
start=(DroolsTree)match(input,VK_FORALL,FOLLOW_VK_FORALL_in_lhs1228);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:237:22: (dt= lhs )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:237:22: (dt= lhs )+
int cnt32=0;
loop32:
do {
@@ -2526,7 +2525,7 @@
switch (alt32) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:237:23: dt= lhs
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:237:23: dt= lhs
{
pushFollow(FOLLOW_lhs_in_lhs1233);
dt=lhs();
@@ -2554,7 +2553,7 @@
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:239:4: ^( FROM pn= lhs_pattern fe= from_elements )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:239:4: ^( FROM pn= lhs_pattern fe= from_elements )
{
match(input,FROM,FOLLOW_FROM_in_lhs1247);
@@ -2576,7 +2575,7 @@
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:241:4: pn= lhs_pattern
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:241:4: pn= lhs_pattern
{
pushFollow(FOLLOW_lhs_pattern_in_lhs1266);
pn=lhs_pattern();
@@ -2605,7 +2604,7 @@
};
// $ANTLR start "from_elements"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:245:1: from_elements returns [PatternSourceDescr patternSourceDescr] : ( ^(start= ACCUMULATE dt= lhs ret= accumulate_parts[$patternSourceDescr] ) | ^(start= COLLECT dt= lhs ) | ^(start= VK_ENTRY_POINT entryId= VT_ENTRYPOINT_ID ) | fs= from_source_clause );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:245:1: from_elements returns [PatternSourceDescr patternSourceDescr] : ( ^(start= ACCUMULATE dt= lhs ret= accumulate_parts[$patternSourceDescr] ) | ^(start= COLLECT dt= lhs ) | ^(start= VK_ENTRY_POINT entryId= VT_ENTRYPOINT_ID ) | fs= from_source_clause );
public final DescrBuilderTree.from_elements_return from_elements() throws RecognitionException {
DescrBuilderTree.from_elements_return retval = new DescrBuilderTree.from_elements_return();
retval.start = input.LT(1);
@@ -2620,7 +2619,7 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:246:2: ( ^(start= ACCUMULATE dt= lhs ret= accumulate_parts[$patternSourceDescr] ) | ^(start= COLLECT dt= lhs ) | ^(start= VK_ENTRY_POINT entryId= VT_ENTRYPOINT_ID ) | fs= from_source_clause )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:246:2: ( ^(start= ACCUMULATE dt= lhs ret= accumulate_parts[$patternSourceDescr] ) | ^(start= COLLECT dt= lhs ) | ^(start= VK_ENTRY_POINT entryId= VT_ENTRYPOINT_ID ) | fs= from_source_clause )
int alt34=4;
switch ( input.LA(1) ) {
case ACCUMULATE:
@@ -2652,7 +2651,7 @@
switch (alt34) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:246:4: ^(start= ACCUMULATE dt= lhs ret= accumulate_parts[$patternSourceDescr] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:246:4: ^(start= ACCUMULATE dt= lhs ret= accumulate_parts[$patternSourceDescr] )
{
start=(DroolsTree)match(input,ACCUMULATE,FOLLOW_ACCUMULATE_in_from_elements1287);
@@ -2675,7 +2674,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:250:4: ^(start= COLLECT dt= lhs )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:250:4: ^(start= COLLECT dt= lhs )
{
start=(DroolsTree)match(input,COLLECT,FOLLOW_COLLECT_in_from_elements1314);
@@ -2692,7 +2691,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:252:4: ^(start= VK_ENTRY_POINT entryId= VT_ENTRYPOINT_ID )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:252:4: ^(start= VK_ENTRY_POINT entryId= VT_ENTRYPOINT_ID )
{
start=(DroolsTree)match(input,VK_ENTRY_POINT,FOLLOW_VK_ENTRY_POINT_in_from_elements1330);
@@ -2705,7 +2704,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:254:4: fs= from_source_clause
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:254:4: fs= from_source_clause
{
pushFollow(FOLLOW_from_source_clause_in_from_elements1345);
fs=from_source_clause();
@@ -2731,7 +2730,7 @@
// $ANTLR start "accumulate_parts"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:258:1: accumulate_parts[PatternSourceDescr patternSourceDescr] returns [AccumulateDescr accumulateDescr] : (ac1= accumulate_init_clause[$patternSourceDescr] | ac2= accumulate_id_clause[$patternSourceDescr] );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:258:1: accumulate_parts[PatternSourceDescr patternSourceDescr] returns [AccumulateDescr accumulateDescr] : (ac1= accumulate_init_clause[$patternSourceDescr] | ac2= accumulate_id_clause[$patternSourceDescr] );
public final AccumulateDescr accumulate_parts(PatternSourceDescr patternSourceDescr) throws RecognitionException {
AccumulateDescr accumulateDescr = null;
@@ -2741,7 +2740,7 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:259:2: (ac1= accumulate_init_clause[$patternSourceDescr] | ac2= accumulate_id_clause[$patternSourceDescr] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:259:2: (ac1= accumulate_init_clause[$patternSourceDescr] | ac2= accumulate_id_clause[$patternSourceDescr] )
int alt35=2;
int LA35_0 = input.LA(1);
@@ -2759,7 +2758,7 @@
}
switch (alt35) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:259:4: ac1= accumulate_init_clause[$patternSourceDescr]
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:259:4: ac1= accumulate_init_clause[$patternSourceDescr]
{
pushFollow(FOLLOW_accumulate_init_clause_in_accumulate_parts1366);
ac1=accumulate_init_clause(patternSourceDescr);
@@ -2771,7 +2770,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:261:4: ac2= accumulate_id_clause[$patternSourceDescr]
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:261:4: ac2= accumulate_id_clause[$patternSourceDescr]
{
pushFollow(FOLLOW_accumulate_id_clause_in_accumulate_parts1377);
ac2=accumulate_id_clause(patternSourceDescr);
@@ -2800,7 +2799,7 @@
};
// $ANTLR start "accumulate_init_clause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:265:1: accumulate_init_clause[PatternSourceDescr accumulateParam] returns [AccumulateDescr accumulateDescr] : ^( VT_ACCUMULATE_INIT_CLAUSE ^(start= INIT pc1= VT_PAREN_CHUNK ) ^( VK_ACTION pc2= VT_PAREN_CHUNK ) (rev= accumulate_init_reverse_clause )? ^( VK_RESULT pc3= VT_PAREN_CHUNK ) ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:265:1: accumulate_init_clause[PatternSourceDescr accumulateParam] returns [AccumulateDescr accumulateDescr] : ^( VT_ACCUMULATE_INIT_CLAUSE ^(start= INIT pc1= VT_PAREN_CHUNK ) ^( VK_ACTION pc2= VT_PAREN_CHUNK ) (rev= accumulate_init_reverse_clause )? ^( VK_RESULT pc3= VT_PAREN_CHUNK ) ) ;
public final DescrBuilderTree.accumulate_init_clause_return accumulate_init_clause(PatternSourceDescr accumulateParam) throws RecognitionException {
DescrBuilderTree.accumulate_init_clause_return retval = new DescrBuilderTree.accumulate_init_clause_return();
retval.start = input.LT(1);
@@ -2813,8 +2812,8 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:266:2: ( ^( VT_ACCUMULATE_INIT_CLAUSE ^(start= INIT pc1= VT_PAREN_CHUNK ) ^( VK_ACTION pc2= VT_PAREN_CHUNK ) (rev= accumulate_init_reverse_clause )? ^( VK_RESULT pc3= VT_PAREN_CHUNK ) ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:266:4: ^( VT_ACCUMULATE_INIT_CLAUSE ^(start= INIT pc1= VT_PAREN_CHUNK ) ^( VK_ACTION pc2= VT_PAREN_CHUNK ) (rev= accumulate_init_reverse_clause )? ^( VK_RESULT pc3= VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:266:2: ( ^( VT_ACCUMULATE_INIT_CLAUSE ^(start= INIT pc1= VT_PAREN_CHUNK ) ^( VK_ACTION pc2= VT_PAREN_CHUNK ) (rev= accumulate_init_reverse_clause )? ^( VK_RESULT pc3= VT_PAREN_CHUNK ) ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:266:4: ^( VT_ACCUMULATE_INIT_CLAUSE ^(start= INIT pc1= VT_PAREN_CHUNK ) ^( VK_ACTION pc2= VT_PAREN_CHUNK ) (rev= accumulate_init_reverse_clause )? ^( VK_RESULT pc3= VT_PAREN_CHUNK ) )
{
match(input,VT_ACCUMULATE_INIT_CLAUSE,FOLLOW_VT_ACCUMULATE_INIT_CLAUSE_in_accumulate_init_clause1400);
@@ -2831,7 +2830,7 @@
pc2=(DroolsTree)match(input,VT_PAREN_CHUNK,FOLLOW_VT_PAREN_CHUNK_in_accumulate_init_clause1425);
match(input, Token.UP, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:269:7: (rev= accumulate_init_reverse_clause )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:269:7: (rev= accumulate_init_reverse_clause )?
int alt36=2;
int LA36_0 = input.LA(1);
@@ -2840,7 +2839,7 @@
}
switch (alt36) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:269:7: rev= accumulate_init_reverse_clause
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:269:7: rev= accumulate_init_reverse_clause
{
pushFollow(FOLLOW_accumulate_init_reverse_clause_in_accumulate_init_clause1434);
rev=accumulate_init_reverse_clause();
@@ -2886,7 +2885,7 @@
};
// $ANTLR start "accumulate_init_reverse_clause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:278:1: accumulate_init_reverse_clause returns [DroolsTree vkReverse, DroolsTree vkReverseChunk] : ^(vk= VK_REVERSE pc= VT_PAREN_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:278:1: accumulate_init_reverse_clause returns [DroolsTree vkReverse, DroolsTree vkReverseChunk] : ^(vk= VK_REVERSE pc= VT_PAREN_CHUNK ) ;
public final DescrBuilderTree.accumulate_init_reverse_clause_return accumulate_init_reverse_clause() throws RecognitionException {
DescrBuilderTree.accumulate_init_reverse_clause_return retval = new DescrBuilderTree.accumulate_init_reverse_clause_return();
retval.start = input.LT(1);
@@ -2895,8 +2894,8 @@
DroolsTree pc=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:279:2: ( ^(vk= VK_REVERSE pc= VT_PAREN_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:279:4: ^(vk= VK_REVERSE pc= VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:279:2: ( ^(vk= VK_REVERSE pc= VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:279:4: ^(vk= VK_REVERSE pc= VT_PAREN_CHUNK )
{
vk=(DroolsTree)match(input,VK_REVERSE,FOLLOW_VK_REVERSE_in_accumulate_init_reverse_clause1468);
@@ -2922,7 +2921,7 @@
// $ANTLR start "accumulate_id_clause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:284:1: accumulate_id_clause[PatternSourceDescr accumulateParam] returns [AccumulateDescr accumulateDescr] : ^( VT_ACCUMULATE_ID_CLAUSE id= ID pc= VT_PAREN_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:284:1: accumulate_id_clause[PatternSourceDescr accumulateParam] returns [AccumulateDescr accumulateDescr] : ^( VT_ACCUMULATE_ID_CLAUSE id= ID pc= VT_PAREN_CHUNK ) ;
public final AccumulateDescr accumulate_id_clause(PatternSourceDescr accumulateParam) throws RecognitionException {
AccumulateDescr accumulateDescr = null;
@@ -2930,8 +2929,8 @@
DroolsTree pc=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:285:2: ( ^( VT_ACCUMULATE_ID_CLAUSE id= ID pc= VT_PAREN_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:285:4: ^( VT_ACCUMULATE_ID_CLAUSE id= ID pc= VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:285:2: ( ^( VT_ACCUMULATE_ID_CLAUSE id= ID pc= VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:285:4: ^( VT_ACCUMULATE_ID_CLAUSE id= ID pc= VT_PAREN_CHUNK )
{
match(input,VT_ACCUMULATE_ID_CLAUSE,FOLLOW_VT_ACCUMULATE_ID_CLAUSE_in_accumulate_id_clause1494);
@@ -2966,7 +2965,7 @@
};
// $ANTLR start "from_source_clause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:289:1: from_source_clause returns [FromDescr fromDescr, AccessorDescr retAccessorDescr] : ^( VT_FROM_SOURCE id= ID (pc= VT_PAREN_CHUNK )? ( expression_chain )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:289:1: from_source_clause returns [FromDescr fromDescr, AccessorDescr retAccessorDescr] : ^( VT_FROM_SOURCE id= ID (pc= VT_PAREN_CHUNK )? ( expression_chain )? ) ;
public final DescrBuilderTree.from_source_clause_return from_source_clause() throws RecognitionException {
from_source_clause_stack.push(new from_source_clause_scope());
DescrBuilderTree.from_source_clause_return retval = new DescrBuilderTree.from_source_clause_return();
@@ -2976,14 +2975,14 @@
DroolsTree pc=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:292:3: ( ^( VT_FROM_SOURCE id= ID (pc= VT_PAREN_CHUNK )? ( expression_chain )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:292:5: ^( VT_FROM_SOURCE id= ID (pc= VT_PAREN_CHUNK )? ( expression_chain )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:292:3: ( ^( VT_FROM_SOURCE id= ID (pc= VT_PAREN_CHUNK )? ( expression_chain )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:292:5: ^( VT_FROM_SOURCE id= ID (pc= VT_PAREN_CHUNK )? ( expression_chain )? )
{
match(input,VT_FROM_SOURCE,FOLLOW_VT_FROM_SOURCE_in_from_source_clause1524);
match(input, Token.DOWN, null);
id=(DroolsTree)match(input,ID,FOLLOW_ID_in_from_source_clause1528);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:292:30: (pc= VT_PAREN_CHUNK )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:292:30: (pc= VT_PAREN_CHUNK )?
int alt37=2;
int LA37_0 = input.LA(1);
@@ -2992,7 +2991,7 @@
}
switch (alt37) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:292:30: pc= VT_PAREN_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:292:30: pc= VT_PAREN_CHUNK
{
pc=(DroolsTree)match(input,VT_PAREN_CHUNK,FOLLOW_VT_PAREN_CHUNK_in_from_source_clause1532);
@@ -3003,7 +3002,7 @@
((from_source_clause_scope)from_source_clause_stack.peek()).accessorDescr = factory.createAccessor(id, pc);
retval.retAccessorDescr = ((from_source_clause_scope)from_source_clause_stack.peek()).accessorDescr;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:295:3: ( expression_chain )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:295:3: ( expression_chain )?
int alt38=2;
int LA38_0 = input.LA(1);
@@ -3012,7 +3011,7 @@
}
switch (alt38) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:295:3: expression_chain
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:295:3: expression_chain
{
pushFollow(FOLLOW_expression_chain_in_from_source_clause1541);
expression_chain();
@@ -3047,7 +3046,7 @@
};
// $ANTLR start "expression_chain"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:299:1: expression_chain : ^(start= VT_EXPRESSION_CHAIN id= ID (sc= VT_SQUARE_CHUNK )? (pc= VT_PAREN_CHUNK )? ( expression_chain )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:299:1: expression_chain : ^(start= VT_EXPRESSION_CHAIN id= ID (sc= VT_SQUARE_CHUNK )? (pc= VT_PAREN_CHUNK )? ( expression_chain )? ) ;
public final DescrBuilderTree.expression_chain_return expression_chain() throws RecognitionException {
DescrBuilderTree.expression_chain_return retval = new DescrBuilderTree.expression_chain_return();
retval.start = input.LT(1);
@@ -3058,14 +3057,14 @@
DroolsTree pc=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:300:2: ( ^(start= VT_EXPRESSION_CHAIN id= ID (sc= VT_SQUARE_CHUNK )? (pc= VT_PAREN_CHUNK )? ( expression_chain )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:300:4: ^(start= VT_EXPRESSION_CHAIN id= ID (sc= VT_SQUARE_CHUNK )? (pc= VT_PAREN_CHUNK )? ( expression_chain )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:300:2: ( ^(start= VT_EXPRESSION_CHAIN id= ID (sc= VT_SQUARE_CHUNK )? (pc= VT_PAREN_CHUNK )? ( expression_chain )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:300:4: ^(start= VT_EXPRESSION_CHAIN id= ID (sc= VT_SQUARE_CHUNK )? (pc= VT_PAREN_CHUNK )? ( expression_chain )? )
{
start=(DroolsTree)match(input,VT_EXPRESSION_CHAIN,FOLLOW_VT_EXPRESSION_CHAIN_in_expression_chain1560);
match(input, Token.DOWN, null);
id=(DroolsTree)match(input,ID,FOLLOW_ID_in_expression_chain1564);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:300:40: (sc= VT_SQUARE_CHUNK )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:300:40: (sc= VT_SQUARE_CHUNK )?
int alt39=2;
int LA39_0 = input.LA(1);
@@ -3074,7 +3073,7 @@
}
switch (alt39) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:300:40: sc= VT_SQUARE_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:300:40: sc= VT_SQUARE_CHUNK
{
sc=(DroolsTree)match(input,VT_SQUARE_CHUNK,FOLLOW_VT_SQUARE_CHUNK_in_expression_chain1568);
@@ -3083,7 +3082,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:300:60: (pc= VT_PAREN_CHUNK )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:300:60: (pc= VT_PAREN_CHUNK )?
int alt40=2;
int LA40_0 = input.LA(1);
@@ -3092,7 +3091,7 @@
}
switch (alt40) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:300:60: pc= VT_PAREN_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:300:60: pc= VT_PAREN_CHUNK
{
pc=(DroolsTree)match(input,VT_PAREN_CHUNK,FOLLOW_VT_PAREN_CHUNK_in_expression_chain1573);
@@ -3103,7 +3102,7 @@
DeclarativeInvokerDescr declarativeInvokerResult = factory.createExpressionChain(start, id, sc, pc);
((from_source_clause_scope)from_source_clause_stack.peek()).accessorDescr.addInvoker(declarativeInvokerResult);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:303:3: ( expression_chain )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:303:3: ( expression_chain )?
int alt41=2;
int LA41_0 = input.LA(1);
@@ -3112,7 +3111,7 @@
}
switch (alt41) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:303:3: expression_chain
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:303:3: expression_chain
{
pushFollow(FOLLOW_expression_chain_in_expression_chain1581);
expression_chain();
@@ -3143,7 +3142,7 @@
// $ANTLR start "lhs_pattern"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:306:1: lhs_pattern returns [BaseDescr baseDescr] : ^( VT_PATTERN fe= fact_expression ) (oc= over_clause )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:306:1: lhs_pattern returns [BaseDescr baseDescr] : ^( VT_PATTERN fe= fact_expression ) (oc= over_clause )? ;
public final BaseDescr lhs_pattern() throws RecognitionException {
BaseDescr baseDescr = null;
@@ -3153,8 +3152,8 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:307:2: ( ^( VT_PATTERN fe= fact_expression ) (oc= over_clause )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:307:4: ^( VT_PATTERN fe= fact_expression ) (oc= over_clause )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:307:2: ( ^( VT_PATTERN fe= fact_expression ) (oc= over_clause )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:307:4: ^( VT_PATTERN fe= fact_expression ) (oc= over_clause )?
{
match(input,VT_PATTERN,FOLLOW_VT_PATTERN_in_lhs_pattern1599);
@@ -3166,7 +3165,7 @@
match(input, Token.UP, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:307:39: (oc= over_clause )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:307:39: (oc= over_clause )?
int alt42=2;
int LA42_0 = input.LA(1);
@@ -3175,7 +3174,7 @@
}
switch (alt42) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:307:39: oc= over_clause
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:307:39: oc= over_clause
{
pushFollow(FOLLOW_over_clause_in_lhs_pattern1608);
oc=over_clause();
@@ -3205,7 +3204,7 @@
// $ANTLR start "over_clause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:311:1: over_clause returns [List behaviorList] : ^( OVER (oe= over_element )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:311:1: over_clause returns [List behaviorList] : ^( OVER (oe= over_element )+ ) ;
public final List over_clause() throws RecognitionException {
List behaviorList = null;
@@ -3214,13 +3213,13 @@
behaviorList = new LinkedList();
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:313:2: ( ^( OVER (oe= over_element )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:313:4: ^( OVER (oe= over_element )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:313:2: ( ^( OVER (oe= over_element )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:313:4: ^( OVER (oe= over_element )+ )
{
match(input,OVER,FOLLOW_OVER_in_over_clause1633);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:313:11: (oe= over_element )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:313:11: (oe= over_element )+
int cnt43=0;
loop43:
do {
@@ -3234,7 +3233,7 @@
switch (alt43) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:313:12: oe= over_element
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:313:12: oe= over_element
{
pushFollow(FOLLOW_over_element_in_over_clause1638);
oe=over_element();
@@ -3273,7 +3272,7 @@
// $ANTLR start "over_element"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:316:1: over_element returns [BehaviorDescr behavior] : ^( VT_BEHAVIOR ID id2= ID pc= VT_PAREN_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:316:1: over_element returns [BehaviorDescr behavior] : ^( VT_BEHAVIOR ID id2= ID pc= VT_PAREN_CHUNK ) ;
public final BehaviorDescr over_element() throws RecognitionException {
BehaviorDescr behavior = null;
@@ -3281,8 +3280,8 @@
DroolsTree pc=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:317:2: ( ^( VT_BEHAVIOR ID id2= ID pc= VT_PAREN_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:317:4: ^( VT_BEHAVIOR ID id2= ID pc= VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:317:2: ( ^( VT_BEHAVIOR ID id2= ID pc= VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:317:4: ^( VT_BEHAVIOR ID id2= ID pc= VT_PAREN_CHUNK )
{
match(input,VT_BEHAVIOR,FOLLOW_VT_BEHAVIOR_in_over_element1659);
@@ -3312,7 +3311,7 @@
};
// $ANTLR start "fact_expression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:321:1: fact_expression returns [BaseDescr descr] : ( ^( VT_FACT pt= pattern_type (fe= fact_expression )* ) | ^( VT_FACT_BINDING label= VT_LABEL fact= fact_expression ) | ^(start= VT_FACT_OR left= fact_expression right= fact_expression ) | ^( VT_FIELD field= field_element (fe= fact_expression )? ) | ^( VT_BIND_FIELD label= VT_LABEL fe= fact_expression ) | ^( VK_EVAL pc= VT_PAREN_CHUNK ) | ^(op= EQUAL fe= fact_expression ) | ^(op= NOT_EQUAL fe= fact_expression ) | ^(op= GREATER fe= fact_expression ) | ^(op= GREATER_EQUAL fe= fact_expression ) | ^(op= LESS fe= fact_expression ) | ^(op= LESS_EQUAL fe= fact_expression ) | ^(op= VK_CONTAINS (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_EXCLUDES (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_MATCHES (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_SOUNDSLIKE (not= VK_NOT )? fe= fact_expression ) | ^(op!
= VK_MEMBEROF (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_OPERATOR (not= VK_NOT )? (param= VT_SQUARE_CHUNK )? fe= fact_expression ) | ^( VK_IN (not= VK_NOT )? (fe= fact_expression )+ ) | ^( DOUBLE_PIPE left= fact_expression right= fact_expression ) | ^( DOUBLE_AMPER left= fact_expression right= fact_expression ) | ^( VT_ACCESSOR_PATH (ae= accessor_element )+ ) | s= STRING | i= INT | f= FLOAT | b= BOOL | n= NULL | pc= VT_PAREN_CHUNK );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:321:1: fact_expression returns [BaseDescr descr] : ( ^( VT_FACT pt= pattern_type (fe= fact_expression )* ) | ^( VT_FACT_BINDING label= VT_LABEL fact= fact_expression ) | ^(start= VT_FACT_OR left= fact_expression right= fact_expression ) | ^( VT_FIELD field= field_element (fe= fact_expression )? ) | ^( VT_BIND_FIELD label= VT_LABEL fe= fact_expression ) | ^( VK_EVAL pc= VT_PAREN_CHUNK ) | ^(op= EQUAL fe= fact_expression ) | ^(op= NOT_EQUAL fe= fact_expression ) | ^(op= GREATER fe= fact_expression ) | ^(op= GREATER_EQUAL fe= fact_expression ) | ^(op= LESS fe= fact_expression ) | ^(op= LESS_EQUAL fe= fact_expression ) | ^(op= VK_CONTAINS (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_EXCLUDES (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_MATCHES (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_SOUNDSLIKE (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_M!
EMBEROF (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_OPERATOR (not= VK_NOT )? (param= VT_SQUARE_CHUNK )? fe= fact_expression ) | ^( VK_IN (not= VK_NOT )? (fe= fact_expression )+ ) | ^( DOUBLE_PIPE left= fact_expression right= fact_expression ) | ^( DOUBLE_AMPER left= fact_expression right= fact_expression ) | ^( VT_ACCESSOR_PATH (ae= accessor_element )+ ) | s= STRING | i= INT | f= FLOAT | b= BOOL | n= NULL | pc= VT_PAREN_CHUNK );
public final DescrBuilderTree.fact_expression_return fact_expression() throws RecognitionException {
DescrBuilderTree.fact_expression_return retval = new DescrBuilderTree.fact_expression_return();
retval.start = input.LT(1);
@@ -3347,7 +3346,7 @@
List<BaseDescr> exprList = new LinkedList<BaseDescr>();
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:324:3: ( ^( VT_FACT pt= pattern_type (fe= fact_expression )* ) | ^( VT_FACT_BINDING label= VT_LABEL fact= fact_expression ) | ^(start= VT_FACT_OR left= fact_expression right= fact_expression ) | ^( VT_FIELD field= field_element (fe= fact_expression )? ) | ^( VT_BIND_FIELD label= VT_LABEL fe= fact_expression ) | ^( VK_EVAL pc= VT_PAREN_CHUNK ) | ^(op= EQUAL fe= fact_expression ) | ^(op= NOT_EQUAL fe= fact_expression ) | ^(op= GREATER fe= fact_expression ) | ^(op= GREATER_EQUAL fe= fact_expression ) | ^(op= LESS fe= fact_expression ) | ^(op= LESS_EQUAL fe= fact_expression ) | ^(op= VK_CONTAINS (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_EXCLUDES (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_MATCHES (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_SOUNDSLIKE (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_MEMBEROF (not= VK_NOT )? fe= fa!
ct_expression ) | ^(op= VK_OPERATOR (not= VK_NOT )? (param= VT_SQUARE_CHUNK )? fe= fact_expression ) | ^( VK_IN (not= VK_NOT )? (fe= fact_expression )+ ) | ^( DOUBLE_PIPE left= fact_expression right= fact_expression ) | ^( DOUBLE_AMPER left= fact_expression right= fact_expression ) | ^( VT_ACCESSOR_PATH (ae= accessor_element )+ ) | s= STRING | i= INT | f= FLOAT | b= BOOL | n= NULL | pc= VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:324:3: ( ^( VT_FACT pt= pattern_type (fe= fact_expression )* ) | ^( VT_FACT_BINDING label= VT_LABEL fact= fact_expression ) | ^(start= VT_FACT_OR left= fact_expression right= fact_expression ) | ^( VT_FIELD field= field_element (fe= fact_expression )? ) | ^( VT_BIND_FIELD label= VT_LABEL fe= fact_expression ) | ^( VK_EVAL pc= VT_PAREN_CHUNK ) | ^(op= EQUAL fe= fact_expression ) | ^(op= NOT_EQUAL fe= fact_expression ) | ^(op= GREATER fe= fact_expression ) | ^(op= GREATER_EQUAL fe= fact_expression ) | ^(op= LESS fe= fact_expression ) | ^(op= LESS_EQUAL fe= fact_expression ) | ^(op= VK_CONTAINS (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_EXCLUDES (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_MATCHES (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_SOUNDSLIKE (not= VK_NOT )? fe= fact_expression ) | ^(op= VK_MEMBEROF (not= VK_NOT )? fe= fact_exp!
ression ) | ^(op= VK_OPERATOR (not= VK_NOT )? (param= VT_SQUARE_CHUNK )? fe= fact_expression ) | ^( VK_IN (not= VK_NOT )? (fe= fact_expression )+ ) | ^( DOUBLE_PIPE left= fact_expression right= fact_expression ) | ^( DOUBLE_AMPER left= fact_expression right= fact_expression ) | ^( VT_ACCESSOR_PATH (ae= accessor_element )+ ) | s= STRING | i= INT | f= FLOAT | b= BOOL | n= NULL | pc= VT_PAREN_CHUNK )
int alt56=28;
switch ( input.LA(1) ) {
case VT_FACT:
@@ -3499,7 +3498,7 @@
switch (alt56) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:324:5: ^( VT_FACT pt= pattern_type (fe= fact_expression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:324:5: ^( VT_FACT pt= pattern_type (fe= fact_expression )* )
{
match(input,VT_FACT,FOLLOW_VT_FACT_in_fact_expression1692);
@@ -3509,7 +3508,7 @@
state._fsp--;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:324:31: (fe= fact_expression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:324:31: (fe= fact_expression )*
loop44:
do {
int alt44=2;
@@ -3522,7 +3521,7 @@
switch (alt44) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:324:32: fe= fact_expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:324:32: fe= fact_expression
{
pushFollow(FOLLOW_fact_expression_in_fact_expression1701);
fe=fact_expression();
@@ -3546,7 +3545,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:326:4: ^( VT_FACT_BINDING label= VT_LABEL fact= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:326:4: ^( VT_FACT_BINDING label= VT_LABEL fact= fact_expression )
{
match(input,VT_FACT_BINDING,FOLLOW_VT_FACT_BINDING_in_fact_expression1715);
@@ -3564,7 +3563,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:328:4: ^(start= VT_FACT_OR left= fact_expression right= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:328:4: ^(start= VT_FACT_OR left= fact_expression right= fact_expression )
{
start=(DroolsTree)match(input,VT_FACT_OR,FOLLOW_VT_FACT_OR_in_fact_expression1735);
@@ -3586,7 +3585,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:331:4: ^( VT_FIELD field= field_element (fe= fact_expression )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:331:4: ^( VT_FIELD field= field_element (fe= fact_expression )? )
{
match(input,VT_FIELD,FOLLOW_VT_FIELD_in_fact_expression1754);
@@ -3596,7 +3595,7 @@
state._fsp--;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:331:37: (fe= fact_expression )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:331:37: (fe= fact_expression )?
int alt45=2;
int LA45_0 = input.LA(1);
@@ -3605,7 +3604,7 @@
}
switch (alt45) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:331:37: fe= fact_expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:331:37: fe= fact_expression
{
pushFollow(FOLLOW_fact_expression_in_fact_expression1762);
fe=fact_expression();
@@ -3629,7 +3628,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:337:4: ^( VT_BIND_FIELD label= VT_LABEL fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:337:4: ^( VT_BIND_FIELD label= VT_LABEL fe= fact_expression )
{
match(input,VT_BIND_FIELD,FOLLOW_VT_BIND_FIELD_in_fact_expression1773);
@@ -3647,7 +3646,7 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:340:4: ^( VK_EVAL pc= VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:340:4: ^( VK_EVAL pc= VT_PAREN_CHUNK )
{
match(input,VK_EVAL,FOLLOW_VK_EVAL_in_fact_expression1792);
@@ -3660,7 +3659,7 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:343:4: ^(op= EQUAL fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:343:4: ^(op= EQUAL fe= fact_expression )
{
op=(DroolsTree)match(input,EQUAL,FOLLOW_EQUAL_in_fact_expression1809);
@@ -3677,7 +3676,7 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:345:4: ^(op= NOT_EQUAL fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:345:4: ^(op= NOT_EQUAL fe= fact_expression )
{
op=(DroolsTree)match(input,NOT_EQUAL,FOLLOW_NOT_EQUAL_in_fact_expression1825);
@@ -3694,7 +3693,7 @@
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:347:4: ^(op= GREATER fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:347:4: ^(op= GREATER fe= fact_expression )
{
op=(DroolsTree)match(input,GREATER,FOLLOW_GREATER_in_fact_expression1841);
@@ -3711,7 +3710,7 @@
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:349:4: ^(op= GREATER_EQUAL fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:349:4: ^(op= GREATER_EQUAL fe= fact_expression )
{
op=(DroolsTree)match(input,GREATER_EQUAL,FOLLOW_GREATER_EQUAL_in_fact_expression1857);
@@ -3728,7 +3727,7 @@
}
break;
case 11 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:351:4: ^(op= LESS fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:351:4: ^(op= LESS fe= fact_expression )
{
op=(DroolsTree)match(input,LESS,FOLLOW_LESS_in_fact_expression1873);
@@ -3745,7 +3744,7 @@
}
break;
case 12 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:353:4: ^(op= LESS_EQUAL fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:353:4: ^(op= LESS_EQUAL fe= fact_expression )
{
op=(DroolsTree)match(input,LESS_EQUAL,FOLLOW_LESS_EQUAL_in_fact_expression1889);
@@ -3762,12 +3761,12 @@
}
break;
case 13 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:355:4: ^(op= VK_CONTAINS (not= VK_NOT )? fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:355:4: ^(op= VK_CONTAINS (not= VK_NOT )? fe= fact_expression )
{
op=(DroolsTree)match(input,VK_CONTAINS,FOLLOW_VK_CONTAINS_in_fact_expression1905);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:355:24: (not= VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:355:24: (not= VK_NOT )?
int alt46=2;
int LA46_0 = input.LA(1);
@@ -3776,7 +3775,7 @@
}
switch (alt46) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:355:24: not= VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:355:24: not= VK_NOT
{
not=(DroolsTree)match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression1909);
@@ -3797,12 +3796,12 @@
}
break;
case 14 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:357:4: ^(op= VK_EXCLUDES (not= VK_NOT )? fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:357:4: ^(op= VK_EXCLUDES (not= VK_NOT )? fe= fact_expression )
{
op=(DroolsTree)match(input,VK_EXCLUDES,FOLLOW_VK_EXCLUDES_in_fact_expression1926);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:357:24: (not= VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:357:24: (not= VK_NOT )?
int alt47=2;
int LA47_0 = input.LA(1);
@@ -3811,7 +3810,7 @@
}
switch (alt47) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:357:24: not= VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:357:24: not= VK_NOT
{
not=(DroolsTree)match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression1930);
@@ -3832,12 +3831,12 @@
}
break;
case 15 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:359:4: ^(op= VK_MATCHES (not= VK_NOT )? fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:359:4: ^(op= VK_MATCHES (not= VK_NOT )? fe= fact_expression )
{
op=(DroolsTree)match(input,VK_MATCHES,FOLLOW_VK_MATCHES_in_fact_expression1947);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:359:23: (not= VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:359:23: (not= VK_NOT )?
int alt48=2;
int LA48_0 = input.LA(1);
@@ -3846,7 +3845,7 @@
}
switch (alt48) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:359:23: not= VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:359:23: not= VK_NOT
{
not=(DroolsTree)match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression1951);
@@ -3867,12 +3866,12 @@
}
break;
case 16 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:361:4: ^(op= VK_SOUNDSLIKE (not= VK_NOT )? fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:361:4: ^(op= VK_SOUNDSLIKE (not= VK_NOT )? fe= fact_expression )
{
op=(DroolsTree)match(input,VK_SOUNDSLIKE,FOLLOW_VK_SOUNDSLIKE_in_fact_expression1968);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:361:26: (not= VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:361:26: (not= VK_NOT )?
int alt49=2;
int LA49_0 = input.LA(1);
@@ -3881,7 +3880,7 @@
}
switch (alt49) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:361:26: not= VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:361:26: not= VK_NOT
{
not=(DroolsTree)match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression1972);
@@ -3902,12 +3901,12 @@
}
break;
case 17 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:363:4: ^(op= VK_MEMBEROF (not= VK_NOT )? fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:363:4: ^(op= VK_MEMBEROF (not= VK_NOT )? fe= fact_expression )
{
op=(DroolsTree)match(input,VK_MEMBEROF,FOLLOW_VK_MEMBEROF_in_fact_expression1989);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:363:24: (not= VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:363:24: (not= VK_NOT )?
int alt50=2;
int LA50_0 = input.LA(1);
@@ -3916,7 +3915,7 @@
}
switch (alt50) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:363:24: not= VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:363:24: not= VK_NOT
{
not=(DroolsTree)match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression1993);
@@ -3937,12 +3936,12 @@
}
break;
case 18 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:365:4: ^(op= VK_OPERATOR (not= VK_NOT )? (param= VT_SQUARE_CHUNK )? fe= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:365:4: ^(op= VK_OPERATOR (not= VK_NOT )? (param= VT_SQUARE_CHUNK )? fe= fact_expression )
{
op=(DroolsTree)match(input,VK_OPERATOR,FOLLOW_VK_OPERATOR_in_fact_expression2010);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:365:24: (not= VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:365:24: (not= VK_NOT )?
int alt51=2;
int LA51_0 = input.LA(1);
@@ -3951,7 +3950,7 @@
}
switch (alt51) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:365:24: not= VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:365:24: not= VK_NOT
{
not=(DroolsTree)match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression2014);
@@ -3960,7 +3959,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:365:38: (param= VT_SQUARE_CHUNK )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:365:38: (param= VT_SQUARE_CHUNK )?
int alt52=2;
int LA52_0 = input.LA(1);
@@ -3969,7 +3968,7 @@
}
switch (alt52) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:365:38: param= VT_SQUARE_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:365:38: param= VT_SQUARE_CHUNK
{
param=(DroolsTree)match(input,VT_SQUARE_CHUNK,FOLLOW_VT_SQUARE_CHUNK_in_fact_expression2019);
@@ -3990,12 +3989,12 @@
}
break;
case 19 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:368:4: ^( VK_IN (not= VK_NOT )? (fe= fact_expression )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:368:4: ^( VK_IN (not= VK_NOT )? (fe= fact_expression )+ )
{
match(input,VK_IN,FOLLOW_VK_IN_in_fact_expression2035);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:368:15: (not= VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:368:15: (not= VK_NOT )?
int alt53=2;
int LA53_0 = input.LA(1);
@@ -4004,7 +4003,7 @@
}
switch (alt53) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:368:15: not= VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:368:15: not= VK_NOT
{
not=(DroolsTree)match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression2039);
@@ -4013,7 +4012,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:368:24: (fe= fact_expression )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:368:24: (fe= fact_expression )+
int cnt54=0;
loop54:
do {
@@ -4027,7 +4026,7 @@
switch (alt54) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:368:25: fe= fact_expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:368:25: fe= fact_expression
{
pushFollow(FOLLOW_fact_expression_in_fact_expression2045);
fe=fact_expression();
@@ -4055,7 +4054,7 @@
}
break;
case 20 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:371:4: ^( DOUBLE_PIPE left= fact_expression right= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:371:4: ^( DOUBLE_PIPE left= fact_expression right= fact_expression )
{
match(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_fact_expression2060);
@@ -4077,7 +4076,7 @@
}
break;
case 21 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:373:4: ^( DOUBLE_AMPER left= fact_expression right= fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:373:4: ^( DOUBLE_AMPER left= fact_expression right= fact_expression )
{
match(input,DOUBLE_AMPER,FOLLOW_DOUBLE_AMPER_in_fact_expression2078);
@@ -4099,12 +4098,12 @@
}
break;
case 22 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:376:4: ^( VT_ACCESSOR_PATH (ae= accessor_element )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:376:4: ^( VT_ACCESSOR_PATH (ae= accessor_element )+ )
{
match(input,VT_ACCESSOR_PATH,FOLLOW_VT_ACCESSOR_PATH_in_fact_expression2097);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:376:23: (ae= accessor_element )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:376:23: (ae= accessor_element )+
int cnt55=0;
loop55:
do {
@@ -4118,7 +4117,7 @@
switch (alt55) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:376:24: ae= accessor_element
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:376:24: ae= accessor_element
{
pushFollow(FOLLOW_accessor_element_in_fact_expression2102);
ae=accessor_element();
@@ -4146,7 +4145,7 @@
}
break;
case 23 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:378:4: s= STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:378:4: s= STRING
{
s=(DroolsTree)match(input,STRING,FOLLOW_STRING_in_fact_expression2117);
retval.descr = factory.createStringLiteralRestriction(s);
@@ -4154,7 +4153,7 @@
}
break;
case 24 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:380:4: i= INT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:380:4: i= INT
{
i=(DroolsTree)match(input,INT,FOLLOW_INT_in_fact_expression2127);
retval.descr = factory.createIntLiteralRestriction(i);
@@ -4162,7 +4161,7 @@
}
break;
case 25 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:382:4: f= FLOAT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:382:4: f= FLOAT
{
f=(DroolsTree)match(input,FLOAT,FOLLOW_FLOAT_in_fact_expression2137);
retval.descr = factory.createFloatLiteralRestriction(f);
@@ -4170,7 +4169,7 @@
}
break;
case 26 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:384:4: b= BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:384:4: b= BOOL
{
b=(DroolsTree)match(input,BOOL,FOLLOW_BOOL_in_fact_expression2147);
retval.descr = factory.createBoolLiteralRestriction(b);
@@ -4178,7 +4177,7 @@
}
break;
case 27 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:386:4: n= NULL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:386:4: n= NULL
{
n=(DroolsTree)match(input,NULL,FOLLOW_NULL_in_fact_expression2157);
retval.descr = factory.createNullLiteralRestriction(n);
@@ -4186,7 +4185,7 @@
}
break;
case 28 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:388:4: pc= VT_PAREN_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:388:4: pc= VT_PAREN_CHUNK
{
pc=(DroolsTree)match(input,VT_PAREN_CHUNK,FOLLOW_VT_PAREN_CHUNK_in_fact_expression2167);
retval.descr = factory.createReturnValue(pc);
@@ -4208,7 +4207,7 @@
// $ANTLR start "field_element"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:392:1: field_element returns [FieldConstraintDescr element] : ^( VT_ACCESSOR_PATH (ae= accessor_element )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:392:1: field_element returns [FieldConstraintDescr element] : ^( VT_ACCESSOR_PATH (ae= accessor_element )+ ) ;
public final FieldConstraintDescr field_element() throws RecognitionException {
FieldConstraintDescr element = null;
@@ -4219,13 +4218,13 @@
List<BaseDescr> aeList = new LinkedList<BaseDescr>();
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:395:3: ( ^( VT_ACCESSOR_PATH (ae= accessor_element )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:395:5: ^( VT_ACCESSOR_PATH (ae= accessor_element )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:395:3: ( ^( VT_ACCESSOR_PATH (ae= accessor_element )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:395:5: ^( VT_ACCESSOR_PATH (ae= accessor_element )+ )
{
match(input,VT_ACCESSOR_PATH,FOLLOW_VT_ACCESSOR_PATH_in_field_element2189);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:395:24: (ae= accessor_element )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:395:24: (ae= accessor_element )+
int cnt57=0;
loop57:
do {
@@ -4239,7 +4238,7 @@
switch (alt57) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:395:25: ae= accessor_element
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:395:25: ae= accessor_element
{
pushFollow(FOLLOW_accessor_element_in_field_element2194);
ae=accessor_element();
@@ -4279,7 +4278,7 @@
// $ANTLR start "accessor_element"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:399:1: accessor_element returns [BaseDescr element] : ^( VT_ACCESSOR_ELEMENT id= ID (sc+= VT_SQUARE_CHUNK )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:399:1: accessor_element returns [BaseDescr element] : ^( VT_ACCESSOR_ELEMENT id= ID (sc+= VT_SQUARE_CHUNK )* ) ;
public final BaseDescr accessor_element() throws RecognitionException {
BaseDescr element = null;
@@ -4288,14 +4287,14 @@
List list_sc=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:400:2: ( ^( VT_ACCESSOR_ELEMENT id= ID (sc+= VT_SQUARE_CHUNK )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:400:4: ^( VT_ACCESSOR_ELEMENT id= ID (sc+= VT_SQUARE_CHUNK )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:400:2: ( ^( VT_ACCESSOR_ELEMENT id= ID (sc+= VT_SQUARE_CHUNK )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:400:4: ^( VT_ACCESSOR_ELEMENT id= ID (sc+= VT_SQUARE_CHUNK )* )
{
match(input,VT_ACCESSOR_ELEMENT,FOLLOW_VT_ACCESSOR_ELEMENT_in_accessor_element2218);
match(input, Token.DOWN, null);
id=(DroolsTree)match(input,ID,FOLLOW_ID_in_accessor_element2222);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:400:34: (sc+= VT_SQUARE_CHUNK )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:400:34: (sc+= VT_SQUARE_CHUNK )*
loop58:
do {
int alt58=2;
@@ -4308,7 +4307,7 @@
switch (alt58) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:400:34: sc+= VT_SQUARE_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:400:34: sc+= VT_SQUARE_CHUNK
{
sc=(DroolsTree)match(input,VT_SQUARE_CHUNK,FOLLOW_VT_SQUARE_CHUNK_in_accessor_element2226);
if (list_sc==null) list_sc=new ArrayList();
@@ -4342,7 +4341,7 @@
// $ANTLR start "pattern_type"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:404:1: pattern_type returns [BaseDescr dataType] : ^( VT_PATTERN_TYPE (idList+= ID )+ ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:404:1: pattern_type returns [BaseDescr dataType] : ^( VT_PATTERN_TYPE (idList+= ID )+ ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* ) ;
public final BaseDescr pattern_type() throws RecognitionException {
BaseDescr dataType = null;
@@ -4352,13 +4351,13 @@
List list_rightList=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:405:2: ( ^( VT_PATTERN_TYPE (idList+= ID )+ ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:405:4: ^( VT_PATTERN_TYPE (idList+= ID )+ ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:405:2: ( ^( VT_PATTERN_TYPE (idList+= ID )+ ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:405:4: ^( VT_PATTERN_TYPE (idList+= ID )+ ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* )
{
match(input,VT_PATTERN_TYPE,FOLLOW_VT_PATTERN_TYPE_in_pattern_type2247);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:405:28: (idList+= ID )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:405:28: (idList+= ID )+
int cnt59=0;
loop59:
do {
@@ -4372,7 +4371,7 @@
switch (alt59) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:405:28: idList+= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:405:28: idList+= ID
{
idList=(DroolsTree)match(input,ID,FOLLOW_ID_in_pattern_type2251);
if (list_idList==null) list_idList=new ArrayList();
@@ -4391,7 +4390,7 @@
cnt59++;
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:405:34: ( LEFT_SQUARE rightList+= RIGHT_SQUARE )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:405:34: ( LEFT_SQUARE rightList+= RIGHT_SQUARE )*
loop60:
do {
int alt60=2;
@@ -4404,7 +4403,7 @@
switch (alt60) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:405:35: LEFT_SQUARE rightList+= RIGHT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:405:35: LEFT_SQUARE rightList+= RIGHT_SQUARE
{
match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_pattern_type2255);
rightList=(DroolsTree)match(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_pattern_type2259);
@@ -4439,7 +4438,7 @@
// $ANTLR start "data_type"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:409:1: data_type returns [BaseDescr dataType] : ^( VT_DATA_TYPE (idList+= ID )+ ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:409:1: data_type returns [BaseDescr dataType] : ^( VT_DATA_TYPE (idList+= ID )+ ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* ) ;
public final BaseDescr data_type() throws RecognitionException {
BaseDescr dataType = null;
@@ -4449,13 +4448,13 @@
List list_rightList=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:410:2: ( ^( VT_DATA_TYPE (idList+= ID )+ ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:410:4: ^( VT_DATA_TYPE (idList+= ID )+ ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:410:2: ( ^( VT_DATA_TYPE (idList+= ID )+ ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:410:4: ^( VT_DATA_TYPE (idList+= ID )+ ( LEFT_SQUARE rightList+= RIGHT_SQUARE )* )
{
match(input,VT_DATA_TYPE,FOLLOW_VT_DATA_TYPE_in_data_type2281);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:410:25: (idList+= ID )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:410:25: (idList+= ID )+
int cnt61=0;
loop61:
do {
@@ -4469,7 +4468,7 @@
switch (alt61) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:410:25: idList+= ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:410:25: idList+= ID
{
idList=(DroolsTree)match(input,ID,FOLLOW_ID_in_data_type2285);
if (list_idList==null) list_idList=new ArrayList();
@@ -4488,7 +4487,7 @@
cnt61++;
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:410:31: ( LEFT_SQUARE rightList+= RIGHT_SQUARE )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:410:31: ( LEFT_SQUARE rightList+= RIGHT_SQUARE )*
loop62:
do {
int alt62=2;
@@ -4501,7 +4500,7 @@
switch (alt62) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:410:32: LEFT_SQUARE rightList+= RIGHT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/DescrBuilderTree.g:410:32: LEFT_SQUARE rightList+= RIGHT_SQUARE
{
match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_data_type2289);
rightList=(DroolsTree)match(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_data_type2293);
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DroolsParserExceptionFactory.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DroolsParserExceptionFactory.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DroolsParserExceptionFactory.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -100,7 +100,7 @@
String message = "";
if (e instanceof MismatchedTokenException) {
MismatchedTokenException mte = (MismatchedTokenException) e;
- if (mte.expecting >= 0 && mte.expecting < tokenNames.length) {
+ if (tokenNames != null && mte.expecting >= 0 && mte.expecting < tokenNames.length) {
message = String
.format(
DroolsParserExceptionFactory.MISMATCHED_TOKEN_MESSAGE_COMPLETE,
@@ -192,18 +192,20 @@
*/
private String formatParserLocation() {
StringBuilder sb = new StringBuilder();
- for (Map<DroolsParaphraseTypes, String> map : paraphrases) {
- for (Entry<DroolsParaphraseTypes, String> activeEntry : map
- .entrySet()) {
- if (activeEntry.getValue().length() == 0) {
- sb.append(String.format(PARSER_LOCATION_MESSAGE_PART,
- getLocationName(activeEntry.getKey())));
- } else {
- sb.append(String.format(PARSER_LOCATION_MESSAGE_COMPLETE,
- getLocationName(activeEntry.getKey()), activeEntry
- .getValue()));
+ if (paraphrases != null){
+ for (Map<DroolsParaphraseTypes, String> map : paraphrases) {
+ for (Entry<DroolsParaphraseTypes, String> activeEntry : map
+ .entrySet()) {
+ if (activeEntry.getValue().length() == 0) {
+ sb.append(String.format(PARSER_LOCATION_MESSAGE_PART,
+ getLocationName(activeEntry.getKey())));
+ } else {
+ sb.append(String.format(PARSER_LOCATION_MESSAGE_COMPLETE,
+ getLocationName(activeEntry.getKey()), activeEntry
+ .getValue()));
+ }
}
- }
+ }
}
return sb.toString();
}
@@ -250,6 +252,9 @@
* @return user friendly token definition
*/
private String getBetterToken(Token token) {
+ if (token == null){
+ return "";
+ }
return getBetterToken(token.getType(), token.getText());
}
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DroolsTreeAdaptor.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DroolsTreeAdaptor.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/DroolsTreeAdaptor.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -140,9 +140,13 @@
result
.setStartCharOffset(((DroolsToken) fromToken)
.getStartIndex());
- result
- .setEndCharOffset(result.getStartCharOffset()
- + text.length());
+ if (text == null) {
+ result.setEndCharOffset(((DroolsToken) fromToken)
+ .getStopIndex());
+ } else {
+ result.setEndCharOffset(result.getStartCharOffset()
+ + text.length());
+ }
return result;
}
return super.create(tokenType, fromToken, text);
@@ -163,18 +167,19 @@
*/
public void addChild(Object t, Object child) {
if (t != null && child != null) {
- DroolsTree tParent = (DroolsTree) t;
- DroolsTree tChild = (DroolsTree) child;
+ if (t instanceof DroolsTree && child instanceof DroolsTree) {
+ DroolsTree tParent = (DroolsTree) t;
+ DroolsTree tChild = (DroolsTree) child;
- if (0 >= tParent.getStartCharOffset()) {
- tParent.setStartCharOffset(tChild.getStartCharOffset());
- tParent.setEndCharOffset(tChild.getEndCharOffset());
+ if (0 >= tParent.getStartCharOffset()) {
+ tParent.setStartCharOffset(tChild.getStartCharOffset());
+ tParent.setEndCharOffset(tChild.getEndCharOffset());
+ }
+ if (0 < tParent.getChildCount()) {
+ tParent.setEndCharOffset(tChild.getEndCharOffset());
+ }
}
- if (0 < tParent.getChildCount()) {
- tParent.setEndCharOffset(tChild.getEndCharOffset());
- }
-
- if (DRLLexer.RIGHT_PAREN != tChild.getType()) {
+ if (DRLLexer.RIGHT_PAREN != ((Tree) child).getType()) {
((Tree) t).addChild((Tree) child);
}
}
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/dsl/DSLMapLexer.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/dsl/DSLMapLexer.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/dsl/DSLMapLexer.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -1,11 +1,11 @@
-// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g 2008-11-13 00:53:52
-
- package org.drools.lang.dsl;
- import java.util.List;
- import java.util.ArrayList;
-// import org.drools.lang.dsl.DSLMappingParseException;
+// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g 2008-11-21 15:39:55
+ package org.drools.lang.dsl;
+ import java.util.List;
+ import java.util.ArrayList;
+// import org.drools.lang.dsl.DSLMappingParseException;
+
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
@@ -58,17 +58,17 @@
super(input,state);
}
- public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g"; }
+ public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g"; }
// $ANTLR start "WS"
public final void mWS() throws RecognitionException {
try {
int _type = WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:269:9: ( ( ' ' | '\\t' | '\\f' )+ )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:269:17: ( ' ' | '\\t' | '\\f' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:269:9: ( ( ' ' | '\\t' | '\\f' )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:269:17: ( ' ' | '\\t' | '\\f' )+
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:269:17: ( ' ' | '\\t' | '\\f' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:269:17: ( ' ' | '\\t' | '\\f' )+
int cnt1=0;
loop1:
do {
@@ -82,7 +82,7 @@
switch (alt1) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:
{
if ( input.LA(1)=='\t'||input.LA(1)=='\f'||input.LA(1)==' ' ) {
input.consume();
@@ -127,10 +127,10 @@
try {
int _type = EOL;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:276:6: ( ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:277:6: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:276:6: ( ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:277:6: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:277:6: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:277:6: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' )
int alt2=3;
int LA2_0 = input.LA(1);
@@ -155,7 +155,7 @@
}
switch (alt2) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:277:14: ( '\\r\\n' )=> '\\r\\n'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:277:14: ( '\\r\\n' )=> '\\r\\n'
{
match("\r\n"); if (state.failed) return ;
@@ -163,14 +163,14 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:278:25: '\\r'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:278:25: '\\r'
{
match('\r'); if (state.failed) return ;
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:279:25: '\\n'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:279:25: '\\n'
{
match('\n'); if (state.failed) return ;
@@ -193,8 +193,8 @@
// $ANTLR start "EscapeSequence"
public final void mEscapeSequence() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:285:5: ( '\\\\' ( 'b' | 'B' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' | '.' | 'o' | 'x' | 'a' | 'e' | 'c' | 'd' | 'D' | 's' | 'S' | 'w' | 'W' | 'p' | 'A' | 'G' | 'Z' | 'z' | 'Q' | 'E' | '*' | '[' | ']' | '(' | ')' | '$' | '^' | '{' | '}' | '?' | '+' | '-' | '&' | '|' | '=' | 'u' | '0' | '#' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:285:9: '\\\\' ( 'b' | 'B' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' | '.' | 'o' | 'x' | 'a' | 'e' | 'c' | 'd' | 'D' | 's' | 'S' | 'w' | 'W' | 'p' | 'A' | 'G' | 'Z' | 'z' | 'Q' | 'E' | '*' | '[' | ']' | '(' | ')' | '$' | '^' | '{' | '}' | '?' | '+' | '-' | '&' | '|' | '=' | 'u' | '0' | '#' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:285:5: ( '\\\\' ( 'b' | 'B' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' | '.' | 'o' | 'x' | 'a' | 'e' | 'c' | 'd' | 'D' | 's' | 'S' | 'w' | 'W' | 'p' | 'A' | 'G' | 'Z' | 'z' | 'Q' | 'E' | '*' | '[' | ']' | '(' | ')' | '$' | '^' | '{' | '}' | '?' | '+' | '-' | '&' | '|' | '=' | 'u' | '0' | '#' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:285:9: '\\\\' ( 'b' | 'B' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' | '.' | 'o' | 'x' | 'a' | 'e' | 'c' | 'd' | 'D' | 's' | 'S' | 'w' | 'W' | 'p' | 'A' | 'G' | 'Z' | 'z' | 'Q' | 'E' | '*' | '[' | ']' | '(' | ')' | '$' | '^' | '{' | '}' | '?' | '+' | '-' | '&' | '|' | '=' | 'u' | '0' | '#' )
{
match('\\'); if (state.failed) return ;
if ( (input.LA(1)>='\"' && input.LA(1)<='$')||(input.LA(1)>='&' && input.LA(1)<='+')||(input.LA(1)>='-' && input.LA(1)<='.')||input.LA(1)=='0'||input.LA(1)=='='||input.LA(1)=='?'||(input.LA(1)>='A' && input.LA(1)<='B')||(input.LA(1)>='D' && input.LA(1)<='E')||input.LA(1)=='G'||input.LA(1)=='Q'||input.LA(1)=='S'||input.LA(1)=='W'||(input.LA(1)>='Z' && input.LA(1)<='^')||(input.LA(1)>='a' && input.LA(1)<='f')||(input.LA(1)>='n' && input.LA(1)<='p')||(input.LA(1)>='r' && input.LA(1)<='u')||(input.LA(1)>='w' && input.LA(1)<='x')||(input.LA(1)>='z' && input.LA(1)<='}') ) {
@@ -221,8 +221,8 @@
try {
int _type = LEFT_SQUARE;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:292:9: ( '[' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:292:11: '['
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:292:9: ( '[' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:292:11: '['
{
match('['); if (state.failed) return ;
@@ -241,8 +241,8 @@
try {
int _type = RIGHT_SQUARE;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:296:9: ( ']' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:296:11: ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:296:9: ( ']' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:296:11: ']'
{
match(']'); if (state.failed) return ;
@@ -261,8 +261,8 @@
try {
int _type = LEFT_CURLY;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:300:9: ( '{' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:300:11: '{'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:300:9: ( '{' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:300:11: '{'
{
match('{'); if (state.failed) return ;
@@ -281,8 +281,8 @@
try {
int _type = RIGHT_CURLY;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:304:9: ( '}' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:304:11: '}'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:304:9: ( '}' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:304:11: '}'
{
match('}'); if (state.failed) return ;
@@ -301,8 +301,8 @@
try {
int _type = EQUALS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:307:8: ( '=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:307:10: '='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:307:8: ( '=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:307:10: '='
{
match('='); if (state.failed) return ;
@@ -321,8 +321,8 @@
try {
int _type = DOT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:310:5: ( '.' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:310:7: '.'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:310:5: ( '.' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:310:7: '.'
{
match('.'); if (state.failed) return ;
@@ -341,8 +341,8 @@
try {
int _type = POUND;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:313:9: ( '#' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:313:11: '#'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:313:9: ( '#' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:313:11: '#'
{
match('#'); if (state.failed) return ;
@@ -361,8 +361,8 @@
try {
int _type = COLON;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:316:7: ( ':' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:316:9: ':'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:316:7: ( ':' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:316:9: ':'
{
match(':'); if (state.failed) return ;
@@ -381,8 +381,8 @@
try {
int _type = COMMA;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:319:7: ( ',' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:319:9: ','
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:319:7: ( ',' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:319:9: ','
{
match(','); if (state.failed) return ;
@@ -401,11 +401,11 @@
try {
int _type = LINE_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:327:2: ( POUND ( options {greedy=false; } : . )* EOL )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:327:4: POUND ( options {greedy=false; } : . )* EOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:327:2: ( POUND ( options {greedy=false; } : . )* EOL )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:327:4: POUND ( options {greedy=false; } : . )* EOL
{
mPOUND(); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:327:10: ( options {greedy=false; } : . )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:327:10: ( options {greedy=false; } : . )*
loop3:
do {
int alt3=2;
@@ -424,7 +424,7 @@
switch (alt3) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:327:37: .
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:327:37: .
{
matchAny(); if (state.failed) return ;
@@ -453,10 +453,10 @@
try {
int _type = LITERAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:2: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' | MISC | EscapeSequence | DOT )+ )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:4: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' | MISC | EscapeSequence | DOT )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:2: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' | MISC | EscapeSequence | DOT )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:4: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' | MISC | EscapeSequence | DOT )+
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:4: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' | MISC | EscapeSequence | DOT )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:4: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' | MISC | EscapeSequence | DOT )+
int cnt4=0;
loop4:
do {
@@ -464,56 +464,56 @@
alt4 = dfa4.predict(input);
switch (alt4) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:5: 'a' .. 'z'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:5: 'a' .. 'z'
{
matchRange('a','z'); if (state.failed) return ;
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:14: 'A' .. 'Z'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:14: 'A' .. 'Z'
{
matchRange('A','Z'); if (state.failed) return ;
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:23: '_'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:23: '_'
{
match('_'); if (state.failed) return ;
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:27: '0' .. '9'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:27: '0' .. '9'
{
matchRange('0','9'); if (state.failed) return ;
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:36: '\\u00c0' .. '\\u00ff'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:36: '\\u00c0' .. '\\u00ff'
{
matchRange('\u00C0','\u00FF'); if (state.failed) return ;
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:55: MISC
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:55: MISC
{
mMISC(); if (state.failed) return ;
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:60: EscapeSequence
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:60: EscapeSequence
{
mEscapeSequence(); if (state.failed) return ;
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:75: DOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:335:75: DOT
{
mDOT(); if (state.failed) return ;
@@ -544,8 +544,8 @@
// $ANTLR start "MISC"
public final void mMISC() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:339:7: ( '>' | '<' | '!' | '@' | '$' | '%' | '^' | '*' | '-' | '+' | '?' | COMMA | '/' | '\\'' | '\"' | '|' | '&' | '(' | ')' | ';' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:339:7: ( '>' | '<' | '!' | '@' | '$' | '%' | '^' | '*' | '-' | '+' | '?' | COMMA | '/' | '\\'' | '\"' | '|' | '&' | '(' | ')' | ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:
{
if ( (input.LA(1)>='!' && input.LA(1)<='\"')||(input.LA(1)>='$' && input.LA(1)<='-')||input.LA(1)=='/'||(input.LA(1)>=';' && input.LA(1)<='<')||(input.LA(1)>='>' && input.LA(1)<='@')||input.LA(1)=='^'||input.LA(1)=='|' ) {
input.consume();
@@ -567,96 +567,96 @@
// $ANTLR end "MISC"
public void mTokens() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:8: ( WS | EOL | LEFT_SQUARE | RIGHT_SQUARE | LEFT_CURLY | RIGHT_CURLY | EQUALS | DOT | POUND | COLON | COMMA | LINE_COMMENT | LITERAL )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:8: ( WS | EOL | LEFT_SQUARE | RIGHT_SQUARE | LEFT_CURLY | RIGHT_CURLY | EQUALS | DOT | POUND | COLON | COMMA | LINE_COMMENT | LITERAL )
int alt5=13;
alt5 = dfa5.predict(input);
switch (alt5) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:10: WS
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:10: WS
{
mWS(); if (state.failed) return ;
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:13: EOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:13: EOL
{
mEOL(); if (state.failed) return ;
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:17: LEFT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:17: LEFT_SQUARE
{
mLEFT_SQUARE(); if (state.failed) return ;
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:29: RIGHT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:29: RIGHT_SQUARE
{
mRIGHT_SQUARE(); if (state.failed) return ;
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:42: LEFT_CURLY
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:42: LEFT_CURLY
{
mLEFT_CURLY(); if (state.failed) return ;
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:53: RIGHT_CURLY
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:53: RIGHT_CURLY
{
mRIGHT_CURLY(); if (state.failed) return ;
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:65: EQUALS
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:65: EQUALS
{
mEQUALS(); if (state.failed) return ;
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:72: DOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:72: DOT
{
mDOT(); if (state.failed) return ;
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:76: POUND
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:76: POUND
{
mPOUND(); if (state.failed) return ;
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:82: COLON
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:82: COLON
{
mCOLON(); if (state.failed) return ;
}
break;
case 11 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:88: COMMA
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:88: COMMA
{
mCOMMA(); if (state.failed) return ;
}
break;
case 12 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:94: LINE_COMMENT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:94: LINE_COMMENT
{
mLINE_COMMENT(); if (state.failed) return ;
}
break;
case 13 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:107: LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:1:107: LITERAL
{
mLITERAL(); if (state.failed) return ;
@@ -669,8 +669,8 @@
// $ANTLR start synpred1_DSLMap
public final void synpred1_DSLMap_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:277:14: ( '\\r\\n' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:277:16: '\\r\\n'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:277:14: ( '\\r\\n' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:277:16: '\\r\\n'
{
match("\r\n"); if (state.failed) return ;
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/dsl/DSLMapParser.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/dsl/DSLMapParser.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/dsl/DSLMapParser.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -1,11 +1,11 @@
-// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g 2008-11-13 00:53:52
-
- package org.drools.lang.dsl;
- import java.util.List;
- import java.util.ArrayList;
-// import org.drools.lang.dsl.DSLMappingParseException;
+// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g 2008-11-21 15:39:54
+ package org.drools.lang.dsl;
+ import java.util.List;
+ import java.util.ArrayList;
+// import org.drools.lang.dsl.DSLMappingParseException;
+
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
@@ -75,56 +75,56 @@
}
public String[] getTokenNames() { return DSLMapParser.tokenNames; }
- public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g"; }
+ public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g"; }
-
- //we may not need the check on [], as the LITERAL token being examined
- //should not have them.
-
- private List errorList = new ArrayList();
- public List getErrorList(){
- return errorList;
- }
-
- private boolean validateLT(int LTNumber, String text){
- if (null == input) return false;
- if (null == input.LT(LTNumber)) return false;
- if (null == input.LT(LTNumber).getText()) return false;
-
- String text2Validate = input.LT(LTNumber).getText();
- if (text2Validate.startsWith("[") && text2Validate.endsWith("]")){
- text2Validate = text2Validate.substring(1, text2Validate.length() - 1);
- }
-
- return text2Validate.equalsIgnoreCase(text);
- }
-
- private boolean validateIdentifierKey(String text){
- return validateLT(1, text);
- }
-
- //public void reportError(RecognitionException re) {
- // if we've already reported an error and have not matched a token
- // yet successfully, don't report any errors.
- // if (errorRecovery) {
- // return;
- // }
- // errorRecovery = true;
- //
- // String error = "Error parsing mapping entry: " + getErrorMessage(re, tokenNames);
- // DSLMappingParseException exception = new DSLMappingParseException (error, re.line);
- // errorList.add(exception);
- //}
-
+ //we may not need the check on [], as the LITERAL token being examined
+ //should not have them.
+
+ private List errorList = new ArrayList();
+ public List getErrorList(){
+ return errorList;
+ }
+ private boolean validateLT(int LTNumber, String text){
+ if (null == input) return false;
+ if (null == input.LT(LTNumber)) return false;
+ if (null == input.LT(LTNumber).getText()) return false;
+
+ String text2Validate = input.LT(LTNumber).getText();
+ if (text2Validate.startsWith("[") && text2Validate.endsWith("]")){
+ text2Validate = text2Validate.substring(1, text2Validate.length() - 1);
+ }
+
+ return text2Validate.equalsIgnoreCase(text);
+ }
+
+ private boolean validateIdentifierKey(String text){
+ return validateLT(1, text);
+ }
+
+ //public void reportError(RecognitionException re) {
+ // if we've already reported an error and have not matched a token
+ // yet successfully, don't report any errors.
+ // if (errorRecovery) {
+ // return;
+ // }
+ // errorRecovery = true;
+ //
+ // String error = "Error parsing mapping entry: " + getErrorMessage(re, tokenNames);
+ // DSLMappingParseException exception = new DSLMappingParseException (error, re.line);
+ // errorList.add(exception);
+ //}
+
+
+
public static class mapping_file_return extends ParserRuleReturnScope {
Object tree;
public Object getTree() { return tree; }
};
// $ANTLR start "mapping_file"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:86:1: mapping_file : ( statement )* -> ^( VT_DSL_GRAMMAR ( statement )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:86:1: mapping_file : ( statement )* -> ^( VT_DSL_GRAMMAR ( statement )* ) ;
public final DSLMapParser.mapping_file_return mapping_file() throws RecognitionException {
DSLMapParser.mapping_file_return retval = new DSLMapParser.mapping_file_return();
retval.start = input.LT(1);
@@ -136,10 +136,10 @@
RewriteRuleSubtreeStream stream_statement=new RewriteRuleSubtreeStream(adaptor,"rule statement");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:87:2: ( ( statement )* -> ^( VT_DSL_GRAMMAR ( statement )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:87:4: ( statement )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:87:2: ( ( statement )* -> ^( VT_DSL_GRAMMAR ( statement )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:87:4: ( statement )*
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:87:4: ( statement )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:87:4: ( statement )*
loop1:
do {
int alt1=2;
@@ -152,7 +152,7 @@
switch (alt1) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:0:0: statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:0:0: statement
{
pushFollow(FOLLOW_statement_in_mapping_file273);
statement1=statement();
@@ -184,12 +184,12 @@
root_0 = (Object)adaptor.nil();
// 88:2: -> ^( VT_DSL_GRAMMAR ( statement )* )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:88:5: ^( VT_DSL_GRAMMAR ( statement )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:88:5: ^( VT_DSL_GRAMMAR ( statement )* )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_DSL_GRAMMAR, "VT_DSL_GRAMMAR"), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:88:22: ( statement )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:88:22: ( statement )*
while ( stream_statement.hasNext() ) {
adaptor.addChild(root_1, stream_statement.nextTree());
@@ -230,7 +230,7 @@
};
// $ANTLR start "statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:91:1: statement : ( entry | comment | EOL );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:91:1: statement : ( entry | comment | EOL );
public final DSLMapParser.statement_return statement() throws RecognitionException {
DSLMapParser.statement_return retval = new DSLMapParser.statement_return();
retval.start = input.LT(1);
@@ -246,7 +246,7 @@
Object EOL4_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:92:2: ( entry | comment | EOL )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:92:2: ( entry | comment | EOL )
int alt2=3;
switch ( input.LA(1) ) {
case LEFT_SQUARE:
@@ -274,7 +274,7 @@
switch (alt2) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:92:4: entry
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:92:4: entry
{
root_0 = (Object)adaptor.nil();
@@ -288,7 +288,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:93:4: comment
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:93:4: comment
{
root_0 = (Object)adaptor.nil();
@@ -302,7 +302,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:94:4: EOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:94:4: EOL
{
root_0 = (Object)adaptor.nil();
@@ -338,7 +338,7 @@
};
// $ANTLR start "comment"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:99:1: comment : LINE_COMMENT -> ^( VT_COMMENT[$LINE_COMMENT, \"COMMENT\"] LINE_COMMENT ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:99:1: comment : LINE_COMMENT -> ^( VT_COMMENT[$LINE_COMMENT, \"COMMENT\"] LINE_COMMENT ) ;
public final DSLMapParser.comment_return comment() throws RecognitionException {
DSLMapParser.comment_return retval = new DSLMapParser.comment_return();
retval.start = input.LT(1);
@@ -351,8 +351,8 @@
RewriteRuleTokenStream stream_LINE_COMMENT=new RewriteRuleTokenStream(adaptor,"token LINE_COMMENT");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:99:9: ( LINE_COMMENT -> ^( VT_COMMENT[$LINE_COMMENT, \"COMMENT\"] LINE_COMMENT ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:99:11: LINE_COMMENT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:99:9: ( LINE_COMMENT -> ^( VT_COMMENT[$LINE_COMMENT, \"COMMENT\"] LINE_COMMENT ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:99:11: LINE_COMMENT
{
LINE_COMMENT5=(Token)match(input,LINE_COMMENT,FOLLOW_LINE_COMMENT_in_comment325); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LINE_COMMENT.add(LINE_COMMENT5);
@@ -372,7 +372,7 @@
root_0 = (Object)adaptor.nil();
// 100:2: -> ^( VT_COMMENT[$LINE_COMMENT, \"COMMENT\"] LINE_COMMENT )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:100:5: ^( VT_COMMENT[$LINE_COMMENT, \"COMMENT\"] LINE_COMMENT )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:100:5: ^( VT_COMMENT[$LINE_COMMENT, \"COMMENT\"] LINE_COMMENT )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_COMMENT, LINE_COMMENT5, "COMMENT"), root_1);
@@ -413,7 +413,7 @@
};
// $ANTLR start "entry"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:1: entry : scope_section ( meta_section )? key_section EQUALS value_section ( EOL | EOF ) -> ^( VT_ENTRY scope_section ( meta_section )? key_section value_section ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:1: entry : scope_section ( meta_section )? key_section EQUALS value_section ( EOL | EOF ) -> ^( VT_ENTRY scope_section ( meta_section )? key_section value_section ) ;
public final DSLMapParser.entry_return entry() throws RecognitionException {
DSLMapParser.entry_return retval = new DSLMapParser.entry_return();
retval.start = input.LT(1);
@@ -443,8 +443,8 @@
RewriteRuleSubtreeStream stream_scope_section=new RewriteRuleSubtreeStream(adaptor,"rule scope_section");
RewriteRuleSubtreeStream stream_meta_section=new RewriteRuleSubtreeStream(adaptor,"rule meta_section");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:8: ( scope_section ( meta_section )? key_section EQUALS value_section ( EOL | EOF ) -> ^( VT_ENTRY scope_section ( meta_section )? key_section value_section ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:10: scope_section ( meta_section )? key_section EQUALS value_section ( EOL | EOF )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:8: ( scope_section ( meta_section )? key_section EQUALS value_section ( EOL | EOF ) -> ^( VT_ENTRY scope_section ( meta_section )? key_section value_section ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:10: scope_section ( meta_section )? key_section EQUALS value_section ( EOL | EOF )
{
pushFollow(FOLLOW_scope_section_in_entry350);
scope_section6=scope_section();
@@ -452,7 +452,7 @@
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_scope_section.add(scope_section6.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:24: ( meta_section )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:24: ( meta_section )?
int alt3=2;
int LA3_0 = input.LA(1);
@@ -480,7 +480,7 @@
}
switch (alt3) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:0:0: meta_section
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:0:0: meta_section
{
pushFollow(FOLLOW_meta_section_in_entry352);
meta_section7=meta_section();
@@ -509,7 +509,7 @@
state._fsp--;
if (state.failed) return retval;
if ( state.backtracking==0 ) stream_value_section.add(value_section10.getTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:71: ( EOL | EOF )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:71: ( EOL | EOF )
int alt4=2;
int LA4_0 = input.LA(1);
@@ -528,7 +528,7 @@
}
switch (alt4) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:72: EOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:72: EOL
{
EOL11=(Token)match(input,EOL,FOLLOW_EOL_in_entry362); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_EOL.add(EOL11);
@@ -537,7 +537,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:76: EOF
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:76: EOF
{
EOF12=(Token)match(input,EOF,FOLLOW_EOF_in_entry364); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_EOF.add(EOF12);
@@ -551,7 +551,7 @@
// AST REWRITE
- // elements: value_section, meta_section, scope_section, key_section
+ // elements: scope_section, key_section, value_section, meta_section
// token labels:
// rule labels: retval
// token list labels:
@@ -563,13 +563,13 @@
root_0 = (Object)adaptor.nil();
// 105:2: -> ^( VT_ENTRY scope_section ( meta_section )? key_section value_section )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:105:5: ^( VT_ENTRY scope_section ( meta_section )? key_section value_section )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:105:5: ^( VT_ENTRY scope_section ( meta_section )? key_section value_section )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_ENTRY, "VT_ENTRY"), root_1);
adaptor.addChild(root_1, stream_scope_section.nextTree());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:105:30: ( meta_section )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:105:30: ( meta_section )?
if ( stream_meta_section.hasNext() ) {
adaptor.addChild(root_1, stream_meta_section.nextTree());
@@ -595,12 +595,12 @@
}
}
catch ( RecognitionException e ) {
-
- reportError( e );
+
+ reportError( e );
}
catch ( RewriteEmptyStreamException e ) {
-
+
}
finally {
@@ -615,7 +615,7 @@
};
// $ANTLR start "scope_section"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:115:1: scope_section : LEFT_SQUARE (value1= condition_key | value2= consequence_key | value3= keyword_key | value4= any_key ) RIGHT_SQUARE -> ^( VT_SCOPE[$LEFT_SQUARE, \"SCOPE SECTION\"] ( $value1)? ( $value2)? ( $value3)? ( $value4)? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:115:1: scope_section : LEFT_SQUARE (value1= condition_key | value2= consequence_key | value3= keyword_key | value4= any_key ) RIGHT_SQUARE -> ^( VT_SCOPE[$LEFT_SQUARE, \"SCOPE SECTION\"] ( $value1)? ( $value2)? ( $value3)? ( $value4)? ) ;
public final DSLMapParser.scope_section_return scope_section() throws RecognitionException {
DSLMapParser.scope_section_return retval = new DSLMapParser.scope_section_return();
retval.start = input.LT(1);
@@ -642,13 +642,13 @@
RewriteRuleSubtreeStream stream_keyword_key=new RewriteRuleSubtreeStream(adaptor,"rule keyword_key");
RewriteRuleSubtreeStream stream_consequence_key=new RewriteRuleSubtreeStream(adaptor,"rule consequence_key");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:116:2: ( LEFT_SQUARE (value1= condition_key | value2= consequence_key | value3= keyword_key | value4= any_key ) RIGHT_SQUARE -> ^( VT_SCOPE[$LEFT_SQUARE, \"SCOPE SECTION\"] ( $value1)? ( $value2)? ( $value3)? ( $value4)? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:116:4: LEFT_SQUARE (value1= condition_key | value2= consequence_key | value3= keyword_key | value4= any_key ) RIGHT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:116:2: ( LEFT_SQUARE (value1= condition_key | value2= consequence_key | value3= keyword_key | value4= any_key ) RIGHT_SQUARE -> ^( VT_SCOPE[$LEFT_SQUARE, \"SCOPE SECTION\"] ( $value1)? ( $value2)? ( $value3)? ( $value4)? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:116:4: LEFT_SQUARE (value1= condition_key | value2= consequence_key | value3= keyword_key | value4= any_key ) RIGHT_SQUARE
{
LEFT_SQUARE13=(Token)match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_scope_section410); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_SQUARE.add(LEFT_SQUARE13);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:117:3: (value1= condition_key | value2= consequence_key | value3= keyword_key | value4= any_key )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:117:3: (value1= condition_key | value2= consequence_key | value3= keyword_key | value4= any_key )
int alt5=4;
int LA5_0 = input.LA(1);
@@ -684,7 +684,7 @@
}
switch (alt5) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:117:4: value1= condition_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:117:4: value1= condition_key
{
pushFollow(FOLLOW_condition_key_in_scope_section418);
value1=condition_key();
@@ -696,7 +696,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:118:5: value2= consequence_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:118:5: value2= consequence_key
{
pushFollow(FOLLOW_consequence_key_in_scope_section427);
value2=consequence_key();
@@ -708,7 +708,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:119:5: value3= keyword_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:119:5: value3= keyword_key
{
pushFollow(FOLLOW_keyword_key_in_scope_section435);
value3=keyword_key();
@@ -720,7 +720,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:120:5: value4= any_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:120:5: value4= any_key
{
pushFollow(FOLLOW_any_key_in_scope_section443);
value4=any_key();
@@ -740,7 +740,7 @@
// AST REWRITE
- // elements: value3, value1, value2, value4
+ // elements: value4, value3, value1, value2
// token labels:
// rule labels: value1, value4, value2, retval, value3
// token list labels:
@@ -756,30 +756,30 @@
root_0 = (Object)adaptor.nil();
// 123:2: -> ^( VT_SCOPE[$LEFT_SQUARE, \"SCOPE SECTION\"] ( $value1)? ( $value2)? ( $value3)? ( $value4)? )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:123:5: ^( VT_SCOPE[$LEFT_SQUARE, \"SCOPE SECTION\"] ( $value1)? ( $value2)? ( $value3)? ( $value4)? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:123:5: ^( VT_SCOPE[$LEFT_SQUARE, \"SCOPE SECTION\"] ( $value1)? ( $value2)? ( $value3)? ( $value4)? )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_SCOPE, LEFT_SQUARE13, "SCOPE SECTION"), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:123:47: ( $value1)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:123:47: ( $value1)?
if ( stream_value1.hasNext() ) {
adaptor.addChild(root_1, stream_value1.nextTree());
}
stream_value1.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:123:56: ( $value2)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:123:56: ( $value2)?
if ( stream_value2.hasNext() ) {
adaptor.addChild(root_1, stream_value2.nextTree());
}
stream_value2.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:123:65: ( $value3)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:123:65: ( $value3)?
if ( stream_value3.hasNext() ) {
adaptor.addChild(root_1, stream_value3.nextTree());
}
stream_value3.reset();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:123:74: ( $value4)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:123:74: ( $value4)?
if ( stream_value4.hasNext() ) {
adaptor.addChild(root_1, stream_value4.nextTree());
@@ -820,7 +820,7 @@
};
// $ANTLR start "meta_section"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:129:1: meta_section : LEFT_SQUARE ( LITERAL )? RIGHT_SQUARE -> ^( VT_META[$LEFT_SQUARE, \"META SECTION\"] ( LITERAL )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:129:1: meta_section : LEFT_SQUARE ( LITERAL )? RIGHT_SQUARE -> ^( VT_META[$LEFT_SQUARE, \"META SECTION\"] ( LITERAL )? ) ;
public final DSLMapParser.meta_section_return meta_section() throws RecognitionException {
DSLMapParser.meta_section_return retval = new DSLMapParser.meta_section_return();
retval.start = input.LT(1);
@@ -839,13 +839,13 @@
RewriteRuleTokenStream stream_RIGHT_SQUARE=new RewriteRuleTokenStream(adaptor,"token RIGHT_SQUARE");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:130:2: ( LEFT_SQUARE ( LITERAL )? RIGHT_SQUARE -> ^( VT_META[$LEFT_SQUARE, \"META SECTION\"] ( LITERAL )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:130:4: LEFT_SQUARE ( LITERAL )? RIGHT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:130:2: ( LEFT_SQUARE ( LITERAL )? RIGHT_SQUARE -> ^( VT_META[$LEFT_SQUARE, \"META SECTION\"] ( LITERAL )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:130:4: LEFT_SQUARE ( LITERAL )? RIGHT_SQUARE
{
LEFT_SQUARE15=(Token)match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_meta_section491); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_SQUARE.add(LEFT_SQUARE15);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:130:16: ( LITERAL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:130:16: ( LITERAL )?
int alt6=2;
int LA6_0 = input.LA(1);
@@ -854,7 +854,7 @@
}
switch (alt6) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:0:0: LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:0:0: LITERAL
{
LITERAL16=(Token)match(input,LITERAL,FOLLOW_LITERAL_in_meta_section493); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LITERAL.add(LITERAL16);
@@ -883,12 +883,12 @@
root_0 = (Object)adaptor.nil();
// 131:2: -> ^( VT_META[$LEFT_SQUARE, \"META SECTION\"] ( LITERAL )? )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:131:5: ^( VT_META[$LEFT_SQUARE, \"META SECTION\"] ( LITERAL )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:131:5: ^( VT_META[$LEFT_SQUARE, \"META SECTION\"] ( LITERAL )? )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_META, LEFT_SQUARE15, "META SECTION"), root_1);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:131:45: ( LITERAL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:131:45: ( LITERAL )?
if ( stream_LITERAL.hasNext() ) {
adaptor.addChild(root_1, stream_LITERAL.nextNode());
@@ -929,7 +929,7 @@
};
// $ANTLR start "key_section"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:134:1: key_section : (ks= key_sentence )+ -> ^( VT_ENTRY_KEY ( key_sentence )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:134:1: key_section : (ks= key_sentence )+ -> ^( VT_ENTRY_KEY ( key_sentence )+ ) ;
public final DSLMapParser.key_section_return key_section() throws RecognitionException {
DSLMapParser.key_section_return retval = new DSLMapParser.key_section_return();
retval.start = input.LT(1);
@@ -941,10 +941,10 @@
RewriteRuleSubtreeStream stream_key_sentence=new RewriteRuleSubtreeStream(adaptor,"rule key_sentence");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:135:2: ( (ks= key_sentence )+ -> ^( VT_ENTRY_KEY ( key_sentence )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:135:4: (ks= key_sentence )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:135:2: ( (ks= key_sentence )+ -> ^( VT_ENTRY_KEY ( key_sentence )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:135:4: (ks= key_sentence )+
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:135:6: (ks= key_sentence )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:135:6: (ks= key_sentence )+
int cnt7=0;
loop7:
do {
@@ -958,7 +958,7 @@
switch (alt7) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:0:0: ks= key_sentence
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:0:0: ks= key_sentence
{
pushFollow(FOLLOW_key_sentence_in_key_section520);
ks=key_sentence();
@@ -995,7 +995,7 @@
root_0 = (Object)adaptor.nil();
// 136:2: -> ^( VT_ENTRY_KEY ( key_sentence )+ )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:136:5: ^( VT_ENTRY_KEY ( key_sentence )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:136:5: ^( VT_ENTRY_KEY ( key_sentence )+ )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_ENTRY_KEY, "VT_ENTRY_KEY"), root_1);
@@ -1043,7 +1043,7 @@
};
// $ANTLR start "key_sentence"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:139:1: key_sentence : ( variable_definition | cb= key_chunk -> VT_LITERAL[$cb.start, text] );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:139:1: key_sentence : ( variable_definition | cb= key_chunk -> VT_LITERAL[$cb.start, text] );
public final DSLMapParser.key_sentence_return key_sentence() throws RecognitionException {
DSLMapParser.key_sentence_return retval = new DSLMapParser.key_sentence_return();
retval.start = input.LT(1);
@@ -1056,11 +1056,11 @@
RewriteRuleSubtreeStream stream_key_chunk=new RewriteRuleSubtreeStream(adaptor,"rule key_chunk");
-
- String text = "";
+ String text = "";
+
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:143:2: ( variable_definition | cb= key_chunk -> VT_LITERAL[$cb.start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:143:2: ( variable_definition | cb= key_chunk -> VT_LITERAL[$cb.start, text] )
int alt8=2;
int LA8_0 = input.LA(1);
@@ -1079,7 +1079,7 @@
}
switch (alt8) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:143:4: variable_definition
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:143:4: variable_definition
{
root_0 = (Object)adaptor.nil();
@@ -1093,7 +1093,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:144:4: cb= key_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:144:4: cb= key_chunk
{
pushFollow(FOLLOW_key_chunk_in_key_sentence558);
cb=key_chunk();
@@ -1154,7 +1154,7 @@
};
// $ANTLR start "key_chunk"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:148:1: key_chunk : ( literal )+ ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:148:1: key_chunk : ( literal )+ ;
public final DSLMapParser.key_chunk_return key_chunk() throws RecognitionException {
DSLMapParser.key_chunk_return retval = new DSLMapParser.key_chunk_return();
retval.start = input.LT(1);
@@ -1166,12 +1166,12 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:149:2: ( ( literal )+ )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:149:4: ( literal )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:149:2: ( ( literal )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:149:4: ( literal )+
{
root_0 = (Object)adaptor.nil();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:149:4: ( literal )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:149:4: ( literal )+
int cnt9=0;
loop9:
do {
@@ -1191,7 +1191,7 @@
switch (alt9) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:0:0: literal
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:0:0: literal
{
pushFollow(FOLLOW_literal_in_key_chunk579);
literal19=literal();
@@ -1242,7 +1242,7 @@
};
// $ANTLR start "value_section"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:152:1: value_section : ( value_sentence )+ -> ^( VT_ENTRY_VAL ( value_sentence )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:152:1: value_section : ( value_sentence )+ -> ^( VT_ENTRY_VAL ( value_sentence )+ ) ;
public final DSLMapParser.value_section_return value_section() throws RecognitionException {
DSLMapParser.value_section_return retval = new DSLMapParser.value_section_return();
retval.start = input.LT(1);
@@ -1254,10 +1254,10 @@
RewriteRuleSubtreeStream stream_value_sentence=new RewriteRuleSubtreeStream(adaptor,"rule value_sentence");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:153:2: ( ( value_sentence )+ -> ^( VT_ENTRY_VAL ( value_sentence )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:153:4: ( value_sentence )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:153:2: ( ( value_sentence )+ -> ^( VT_ENTRY_VAL ( value_sentence )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:153:4: ( value_sentence )+
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:153:4: ( value_sentence )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:153:4: ( value_sentence )+
int cnt10=0;
loop10:
do {
@@ -1271,7 +1271,7 @@
switch (alt10) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:0:0: value_sentence
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:0:0: value_sentence
{
pushFollow(FOLLOW_value_sentence_in_value_section594);
value_sentence20=value_sentence();
@@ -1308,7 +1308,7 @@
root_0 = (Object)adaptor.nil();
// 154:2: -> ^( VT_ENTRY_VAL ( value_sentence )+ )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:154:5: ^( VT_ENTRY_VAL ( value_sentence )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:154:5: ^( VT_ENTRY_VAL ( value_sentence )+ )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_ENTRY_VAL, "VT_ENTRY_VAL"), root_1);
@@ -1356,7 +1356,7 @@
};
// $ANTLR start "value_sentence"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:157:1: value_sentence : ( variable_reference | vc= value_chunk -> VT_LITERAL[$vc.start, text] );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:157:1: value_sentence : ( variable_reference | vc= value_chunk -> VT_LITERAL[$vc.start, text] );
public final DSLMapParser.value_sentence_return value_sentence() throws RecognitionException {
DSLMapParser.value_sentence_return retval = new DSLMapParser.value_sentence_return();
retval.start = input.LT(1);
@@ -1369,11 +1369,11 @@
RewriteRuleSubtreeStream stream_value_chunk=new RewriteRuleSubtreeStream(adaptor,"rule value_chunk");
-
- String text = "";
+ String text = "";
+
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:161:2: ( variable_reference | vc= value_chunk -> VT_LITERAL[$vc.start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:161:2: ( variable_reference | vc= value_chunk -> VT_LITERAL[$vc.start, text] )
int alt11=2;
int LA11_0 = input.LA(1);
@@ -1392,7 +1392,7 @@
}
switch (alt11) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:161:4: variable_reference
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:161:4: variable_reference
{
root_0 = (Object)adaptor.nil();
@@ -1406,7 +1406,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:162:4: vc= value_chunk
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:162:4: vc= value_chunk
{
pushFollow(FOLLOW_value_chunk_in_value_sentence632);
vc=value_chunk();
@@ -1467,7 +1467,7 @@
};
// $ANTLR start "value_chunk"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:166:1: value_chunk : ( literal | EQUALS | COMMA )+ ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:166:1: value_chunk : ( literal | EQUALS | COMMA )+ ;
public final DSLMapParser.value_chunk_return value_chunk() throws RecognitionException {
DSLMapParser.value_chunk_return retval = new DSLMapParser.value_chunk_return();
retval.start = input.LT(1);
@@ -1483,12 +1483,12 @@
Object COMMA24_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:2: ( ( literal | EQUALS | COMMA )+ )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:4: ( literal | EQUALS | COMMA )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:2: ( ( literal | EQUALS | COMMA )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:4: ( literal | EQUALS | COMMA )+
{
root_0 = (Object)adaptor.nil();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:4: ( literal | EQUALS | COMMA )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:4: ( literal | EQUALS | COMMA )+
int cnt12=0;
loop12:
do {
@@ -1535,7 +1535,7 @@
switch (alt12) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:5: literal
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:5: literal
{
pushFollow(FOLLOW_literal_in_value_chunk654);
literal22=literal();
@@ -1547,7 +1547,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:13: EQUALS
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:13: EQUALS
{
EQUALS23=(Token)match(input,EQUALS,FOLLOW_EQUALS_in_value_chunk656); if (state.failed) return retval;
if ( state.backtracking==0 ) {
@@ -1558,7 +1558,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:20: COMMA
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:20: COMMA
{
COMMA24=(Token)match(input,COMMA,FOLLOW_COMMA_in_value_chunk658); if (state.failed) return retval;
if ( state.backtracking==0 ) {
@@ -1608,7 +1608,7 @@
};
// $ANTLR start "literal"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:170:1: literal : ( LITERAL | COLON | LEFT_SQUARE | RIGHT_SQUARE ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:170:1: literal : ( LITERAL | COLON | LEFT_SQUARE | RIGHT_SQUARE ) ;
public final DSLMapParser.literal_return literal() throws RecognitionException {
DSLMapParser.literal_return retval = new DSLMapParser.literal_return();
retval.start = input.LT(1);
@@ -1620,8 +1620,8 @@
Object set25_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:171:2: ( ( LITERAL | COLON | LEFT_SQUARE | RIGHT_SQUARE ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:171:4: ( LITERAL | COLON | LEFT_SQUARE | RIGHT_SQUARE )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:171:2: ( ( LITERAL | COLON | LEFT_SQUARE | RIGHT_SQUARE ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:171:4: ( LITERAL | COLON | LEFT_SQUARE | RIGHT_SQUARE )
{
root_0 = (Object)adaptor.nil();
@@ -1666,7 +1666,7 @@
};
// $ANTLR start "variable_definition"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:175:1: variable_definition : lc= LEFT_CURLY name= LITERAL ( ( COLON q= LITERAL )? COLON pat= pattern )? rc= RIGHT_CURLY -> {hasSpaceBefore && !\"\".equals(text) && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) -> {!hasSpaceBefore && !\"\".equals(text) && !hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) -> {hasSpaceBefore && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) -> {!hasSpaceBefore && !hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) -> {hasSpaceBefore && !\"\".equals(text) && hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) VT_SPACE -> {!hasSpaceBefore && !\"\".equals(text) && hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) VT_SPACE -> {hasSpace!
Before && hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) VT_SPACE -> {!hasSpaceBefore && hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) VT_SPACE -> ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:175:1: variable_definition : lc= LEFT_CURLY name= LITERAL ( ( COLON q= LITERAL )? COLON pat= pattern )? rc= RIGHT_CURLY -> {hasSpaceBefore && !\"\".equals(text) && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) -> {!hasSpaceBefore && !\"\".equals(text) && !hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) -> {hasSpaceBefore && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) -> {!hasSpaceBefore && !hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) -> {hasSpaceBefore && !\"\".equals(text) && hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) VT_SPACE -> {!hasSpaceBefore && !\"\".equals(text) && hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) VT_SPACE -> {hasSpaceBefore!
&& hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) VT_SPACE -> {!hasSpaceBefore && hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) VT_SPACE -> ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) ;
public final DSLMapParser.variable_definition_return variable_definition() throws RecognitionException {
DSLMapParser.variable_definition_return retval = new DSLMapParser.variable_definition_return();
retval.start = input.LT(1);
@@ -1693,28 +1693,28 @@
RewriteRuleTokenStream stream_LITERAL=new RewriteRuleTokenStream(adaptor,"token LITERAL");
RewriteRuleTokenStream stream_LEFT_CURLY=new RewriteRuleTokenStream(adaptor,"token LEFT_CURLY");
RewriteRuleSubtreeStream stream_pattern=new RewriteRuleSubtreeStream(adaptor,"rule pattern");
-
- String text = "";
- boolean hasSpaceBefore = false;
- boolean hasSpaceAfter = false;
+ String text = "";
+ boolean hasSpaceBefore = false;
+ boolean hasSpaceAfter = false;
+
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:181:2: (lc= LEFT_CURLY name= LITERAL ( ( COLON q= LITERAL )? COLON pat= pattern )? rc= RIGHT_CURLY -> {hasSpaceBefore && !\"\".equals(text) && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) -> {!hasSpaceBefore && !\"\".equals(text) && !hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) -> {hasSpaceBefore && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) -> {!hasSpaceBefore && !hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) -> {hasSpaceBefore && !\"\".equals(text) && hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) VT_SPACE -> {!hasSpaceBefore && !\"\".equals(text) && hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) VT_SPACE -> {hasSpaceBefore && has!
SpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) VT_SPACE -> {!hasSpaceBefore && hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) VT_SPACE -> ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:181:4: lc= LEFT_CURLY name= LITERAL ( ( COLON q= LITERAL )? COLON pat= pattern )? rc= RIGHT_CURLY
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:181:2: (lc= LEFT_CURLY name= LITERAL ( ( COLON q= LITERAL )? COLON pat= pattern )? rc= RIGHT_CURLY -> {hasSpaceBefore && !\"\".equals(text) && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) -> {!hasSpaceBefore && !\"\".equals(text) && !hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) -> {hasSpaceBefore && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) -> {!hasSpaceBefore && !hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) -> {hasSpaceBefore && !\"\".equals(text) && hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) VT_SPACE -> {!hasSpaceBefore && !\"\".equals(text) && hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) VT_SPACE -> {hasSpaceBefore && hasSpaceA!
fter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) VT_SPACE -> {!hasSpaceBefore && hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) VT_SPACE -> ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:181:4: lc= LEFT_CURLY name= LITERAL ( ( COLON q= LITERAL )? COLON pat= pattern )? rc= RIGHT_CURLY
{
lc=(Token)match(input,LEFT_CURLY,FOLLOW_LEFT_CURLY_in_variable_definition710); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_CURLY.add(lc);
if ( state.backtracking==0 ) {
-
- CommonToken back2 = (CommonToken)input.LT(-2);
- if( back2!=null && back2.getStopIndex() < ((CommonToken)lc).getStartIndex() -1 ) hasSpaceBefore = true;
+
+ CommonToken back2 = (CommonToken)input.LT(-2);
+ if( back2!=null && back2.getStopIndex() < ((CommonToken)lc).getStartIndex() -1 ) hasSpaceBefore = true;
}
name=(Token)match(input,LITERAL,FOLLOW_LITERAL_in_variable_definition721); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LITERAL.add(name);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:186:15: ( ( COLON q= LITERAL )? COLON pat= pattern )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:186:15: ( ( COLON q= LITERAL )? COLON pat= pattern )?
int alt14=2;
int LA14_0 = input.LA(1);
@@ -1723,9 +1723,9 @@
}
switch (alt14) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:186:17: ( COLON q= LITERAL )? COLON pat= pattern
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:186:17: ( COLON q= LITERAL )? COLON pat= pattern
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:186:17: ( COLON q= LITERAL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:186:17: ( COLON q= LITERAL )?
int alt13=2;
int LA13_0 = input.LA(1);
@@ -1746,7 +1746,7 @@
}
switch (alt13) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:186:18: COLON q= LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:186:18: COLON q= LITERAL
{
COLON26=(Token)match(input,COLON,FOLLOW_COLON_in_variable_definition726); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COLON.add(COLON26);
@@ -1782,41 +1782,41 @@
if ( state.backtracking==0 ) stream_RIGHT_CURLY.add(rc);
if ( state.backtracking==0 ) {
-
- CommonToken rc1 = (CommonToken)input.LT(1);
- if(!"=".equals(rc1.getText()) && ((CommonToken)rc).getStopIndex() < rc1.getStartIndex() - 1) hasSpaceAfter = true;
+
+ CommonToken rc1 = (CommonToken)input.LT(1);
+ if(!"=".equals(rc1.getText()) && ((CommonToken)rc).getStopIndex() < rc1.getStartIndex() - 1) hasSpaceAfter = true;
}
// AST REWRITE
- // elements: q, name, q, name, q, q, name, name, q, name, name, name, name, q, q, q, q, name
- // token labels: name, q
+ // elements: name, q, name, q, q, q, name, q, q, q, q, name, name, name, name, name, name, q
+ // token labels: q, name
// rule labels: retval
// token list labels:
// rule list labels:
if ( state.backtracking==0 ) {
retval.tree = root_0;
+ RewriteRuleTokenStream stream_q=new RewriteRuleTokenStream(adaptor,"token q",q);
RewriteRuleTokenStream stream_name=new RewriteRuleTokenStream(adaptor,"token name",name);
- RewriteRuleTokenStream stream_q=new RewriteRuleTokenStream(adaptor,"token q",q);
RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null);
root_0 = (Object)adaptor.nil();
// 191:2: -> {hasSpaceBefore && !\"\".equals(text) && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] )
if (hasSpaceBefore && !"".equals(text) && !hasSpaceAfter) {
adaptor.addChild(root_0, (Object)adaptor.create(VT_SPACE, "VT_SPACE"));
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:191:70: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:191:70: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_DEF, "VT_VAR_DEF"), root_1);
adaptor.addChild(root_1, stream_name.nextNode());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:191:89: ^( VT_QUAL ( $q)? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:191:89: ^( VT_QUAL ( $q)? )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_QUAL, "VT_QUAL"), root_2);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:191:99: ( $q)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:191:99: ( $q)?
if ( stream_q.hasNext() ) {
adaptor.addChild(root_2, stream_q.nextNode());
@@ -1833,18 +1833,18 @@
}
else // 192:2: -> {!hasSpaceBefore && !\"\".equals(text) && !hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] )
if (!hasSpaceBefore && !"".equals(text) && !hasSpaceAfter) {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:192:63: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:192:63: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_DEF, "VT_VAR_DEF"), root_1);
adaptor.addChild(root_1, stream_name.nextNode());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:192:82: ^( VT_QUAL ( $q)? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:192:82: ^( VT_QUAL ( $q)? )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_QUAL, "VT_QUAL"), root_2);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:192:92: ( $q)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:192:92: ( $q)?
if ( stream_q.hasNext() ) {
adaptor.addChild(root_2, stream_q.nextNode());
@@ -1862,18 +1862,18 @@
else // 193:2: -> {hasSpaceBefore && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
if (hasSpaceBefore && !hasSpaceAfter) {
adaptor.addChild(root_0, (Object)adaptor.create(VT_SPACE, "VT_SPACE"));
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:193:51: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:193:51: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_DEF, "VT_VAR_DEF"), root_1);
adaptor.addChild(root_1, stream_name.nextNode());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:193:70: ^( VT_QUAL ( $q)? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:193:70: ^( VT_QUAL ( $q)? )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_QUAL, "VT_QUAL"), root_2);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:193:80: ( $q)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:193:80: ( $q)?
if ( stream_q.hasNext() ) {
adaptor.addChild(root_2, stream_q.nextNode());
@@ -1889,18 +1889,18 @@
}
else // 194:2: -> {!hasSpaceBefore && !hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
if (!hasSpaceBefore && !hasSpaceAfter) {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:194:44: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:194:44: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_DEF, "VT_VAR_DEF"), root_1);
adaptor.addChild(root_1, stream_name.nextNode());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:194:63: ^( VT_QUAL ( $q)? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:194:63: ^( VT_QUAL ( $q)? )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_QUAL, "VT_QUAL"), root_2);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:194:73: ( $q)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:194:73: ( $q)?
if ( stream_q.hasNext() ) {
adaptor.addChild(root_2, stream_q.nextNode());
@@ -1917,18 +1917,18 @@
else // 196:2: -> {hasSpaceBefore && !\"\".equals(text) && hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) VT_SPACE
if (hasSpaceBefore && !"".equals(text) && hasSpaceAfter) {
adaptor.addChild(root_0, (Object)adaptor.create(VT_SPACE, "VT_SPACE"));
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:196:69: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:196:69: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_DEF, "VT_VAR_DEF"), root_1);
adaptor.addChild(root_1, stream_name.nextNode());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:196:88: ^( VT_QUAL ( $q)? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:196:88: ^( VT_QUAL ( $q)? )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_QUAL, "VT_QUAL"), root_2);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:196:98: ( $q)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:196:98: ( $q)?
if ( stream_q.hasNext() ) {
adaptor.addChild(root_2, stream_q.nextNode());
@@ -1946,18 +1946,18 @@
}
else // 197:2: -> {!hasSpaceBefore && !\"\".equals(text) && hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] ) VT_SPACE
if (!hasSpaceBefore && !"".equals(text) && hasSpaceAfter) {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:197:62: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:197:62: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) VT_PATTERN[$pat.start, text] )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_DEF, "VT_VAR_DEF"), root_1);
adaptor.addChild(root_1, stream_name.nextNode());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:197:81: ^( VT_QUAL ( $q)? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:197:81: ^( VT_QUAL ( $q)? )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_QUAL, "VT_QUAL"), root_2);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:197:91: ( $q)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:197:91: ( $q)?
if ( stream_q.hasNext() ) {
adaptor.addChild(root_2, stream_q.nextNode());
@@ -1976,18 +1976,18 @@
else // 198:2: -> {hasSpaceBefore && hasSpaceAfter}? VT_SPACE ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) VT_SPACE
if (hasSpaceBefore && hasSpaceAfter) {
adaptor.addChild(root_0, (Object)adaptor.create(VT_SPACE, "VT_SPACE"));
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:198:50: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:198:50: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_DEF, "VT_VAR_DEF"), root_1);
adaptor.addChild(root_1, stream_name.nextNode());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:198:69: ^( VT_QUAL ( $q)? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:198:69: ^( VT_QUAL ( $q)? )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_QUAL, "VT_QUAL"), root_2);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:198:79: ( $q)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:198:79: ( $q)?
if ( stream_q.hasNext() ) {
adaptor.addChild(root_2, stream_q.nextNode());
@@ -2004,18 +2004,18 @@
}
else // 199:2: -> {!hasSpaceBefore && hasSpaceAfter}? ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) ) VT_SPACE
if (!hasSpaceBefore && hasSpaceAfter) {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:199:43: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:199:43: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_DEF, "VT_VAR_DEF"), root_1);
adaptor.addChild(root_1, stream_name.nextNode());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:199:62: ^( VT_QUAL ( $q)? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:199:62: ^( VT_QUAL ( $q)? )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_QUAL, "VT_QUAL"), root_2);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:199:72: ( $q)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:199:72: ( $q)?
if ( stream_q.hasNext() ) {
adaptor.addChild(root_2, stream_q.nextNode());
@@ -2032,18 +2032,18 @@
}
else // 200:2: -> ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:200:5: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:200:5: ^( VT_VAR_DEF $name ^( VT_QUAL ( $q)? ) )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_DEF, "VT_VAR_DEF"), root_1);
adaptor.addChild(root_1, stream_name.nextNode());
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:200:24: ^( VT_QUAL ( $q)? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:200:24: ^( VT_QUAL ( $q)? )
{
Object root_2 = (Object)adaptor.nil();
root_2 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_QUAL, "VT_QUAL"), root_2);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:200:34: ( $q)?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:200:34: ( $q)?
if ( stream_q.hasNext() ) {
adaptor.addChild(root_2, stream_q.nextNode());
@@ -2087,7 +2087,7 @@
};
// $ANTLR start "variable_definition2"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:203:1: variable_definition2 : LEFT_CURLY name= LITERAL ( COLON pat= pattern )? RIGHT_CURLY -> {!\"\".equals(text)}? ^( VT_VAR_DEF $name VT_PATTERN[$pat.start, text] ) -> ^( VT_VAR_DEF $name) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:203:1: variable_definition2 : LEFT_CURLY name= LITERAL ( COLON pat= pattern )? RIGHT_CURLY -> {!\"\".equals(text)}? ^( VT_VAR_DEF $name VT_PATTERN[$pat.start, text] ) -> ^( VT_VAR_DEF $name) ;
public final DSLMapParser.variable_definition2_return variable_definition2() throws RecognitionException {
DSLMapParser.variable_definition2_return retval = new DSLMapParser.variable_definition2_return();
retval.start = input.LT(1);
@@ -2110,12 +2110,12 @@
RewriteRuleTokenStream stream_LITERAL=new RewriteRuleTokenStream(adaptor,"token LITERAL");
RewriteRuleTokenStream stream_LEFT_CURLY=new RewriteRuleTokenStream(adaptor,"token LEFT_CURLY");
RewriteRuleSubtreeStream stream_pattern=new RewriteRuleSubtreeStream(adaptor,"rule pattern");
-
- String text = "";
+ String text = "";
+
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:207:2: ( LEFT_CURLY name= LITERAL ( COLON pat= pattern )? RIGHT_CURLY -> {!\"\".equals(text)}? ^( VT_VAR_DEF $name VT_PATTERN[$pat.start, text] ) -> ^( VT_VAR_DEF $name) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:207:4: LEFT_CURLY name= LITERAL ( COLON pat= pattern )? RIGHT_CURLY
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:207:2: ( LEFT_CURLY name= LITERAL ( COLON pat= pattern )? RIGHT_CURLY -> {!\"\".equals(text)}? ^( VT_VAR_DEF $name VT_PATTERN[$pat.start, text] ) -> ^( VT_VAR_DEF $name) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:207:4: LEFT_CURLY name= LITERAL ( COLON pat= pattern )? RIGHT_CURLY
{
LEFT_CURLY28=(Token)match(input,LEFT_CURLY,FOLLOW_LEFT_CURLY_in_variable_definition2990); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_CURLY.add(LEFT_CURLY28);
@@ -2123,7 +2123,7 @@
name=(Token)match(input,LITERAL,FOLLOW_LITERAL_in_variable_definition2994); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LITERAL.add(name);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:207:28: ( COLON pat= pattern )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:207:28: ( COLON pat= pattern )?
int alt15=2;
int LA15_0 = input.LA(1);
@@ -2132,7 +2132,7 @@
}
switch (alt15) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:207:30: COLON pat= pattern
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:207:30: COLON pat= pattern
{
COLON29=(Token)match(input,COLON,FOLLOW_COLON_in_variable_definition2998); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_COLON.add(COLON29);
@@ -2171,7 +2171,7 @@
root_0 = (Object)adaptor.nil();
// 208:2: -> {!\"\".equals(text)}? ^( VT_VAR_DEF $name VT_PATTERN[$pat.start, text] )
if (!"".equals(text)) {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:208:25: ^( VT_VAR_DEF $name VT_PATTERN[$pat.start, text] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:208:25: ^( VT_VAR_DEF $name VT_PATTERN[$pat.start, text] )
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_DEF, "VT_VAR_DEF"), root_1);
@@ -2185,7 +2185,7 @@
}
else // 209:2: -> ^( VT_VAR_DEF $name)
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:209:5: ^( VT_VAR_DEF $name)
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:209:5: ^( VT_VAR_DEF $name)
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_DEF, "VT_VAR_DEF"), root_1);
@@ -2226,7 +2226,7 @@
};
// $ANTLR start "pattern"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:213:1: pattern : ( literal | LEFT_CURLY literal RIGHT_CURLY | LEFT_SQUARE pattern RIGHT_SQUARE )+ ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:213:1: pattern : ( literal | LEFT_CURLY literal RIGHT_CURLY | LEFT_SQUARE pattern RIGHT_SQUARE )+ ;
public final DSLMapParser.pattern_return pattern() throws RecognitionException {
DSLMapParser.pattern_return retval = new DSLMapParser.pattern_return();
retval.start = input.LT(1);
@@ -2250,12 +2250,12 @@
Object RIGHT_SQUARE37_tree=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:214:9: ( ( literal | LEFT_CURLY literal RIGHT_CURLY | LEFT_SQUARE pattern RIGHT_SQUARE )+ )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:214:11: ( literal | LEFT_CURLY literal RIGHT_CURLY | LEFT_SQUARE pattern RIGHT_SQUARE )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:214:9: ( ( literal | LEFT_CURLY literal RIGHT_CURLY | LEFT_SQUARE pattern RIGHT_SQUARE )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:214:11: ( literal | LEFT_CURLY literal RIGHT_CURLY | LEFT_SQUARE pattern RIGHT_SQUARE )+
{
root_0 = (Object)adaptor.nil();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:214:11: ( literal | LEFT_CURLY literal RIGHT_CURLY | LEFT_SQUARE pattern RIGHT_SQUARE )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:214:11: ( literal | LEFT_CURLY literal RIGHT_CURLY | LEFT_SQUARE pattern RIGHT_SQUARE )+
int cnt16=0;
loop16:
do {
@@ -2302,7 +2302,7 @@
switch (alt16) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:214:13: literal
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:214:13: literal
{
pushFollow(FOLLOW_literal_in_pattern1060);
literal31=literal();
@@ -2314,7 +2314,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:215:13: LEFT_CURLY literal RIGHT_CURLY
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:215:13: LEFT_CURLY literal RIGHT_CURLY
{
LEFT_CURLY32=(Token)match(input,LEFT_CURLY,FOLLOW_LEFT_CURLY_in_pattern1074); if (state.failed) return retval;
if ( state.backtracking==0 ) {
@@ -2336,7 +2336,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:216:13: LEFT_SQUARE pattern RIGHT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:216:13: LEFT_SQUARE pattern RIGHT_SQUARE
{
LEFT_SQUARE35=(Token)match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_pattern1092); if (state.failed) return retval;
if ( state.backtracking==0 ) {
@@ -2397,7 +2397,7 @@
};
// $ANTLR start "variable_reference"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:221:1: variable_reference : lc= LEFT_CURLY name= LITERAL rc= RIGHT_CURLY -> {hasSpaceBefore && hasSpaceAfter}? VT_SPACE ^( VT_VAR_REF $name) VT_SPACE -> {hasSpaceBefore && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_REF $name) -> {!hasSpaceBefore && hasSpaceAfter}? ^( VT_VAR_REF $name) VT_SPACE -> ^( VT_VAR_REF $name) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:221:1: variable_reference : lc= LEFT_CURLY name= LITERAL rc= RIGHT_CURLY -> {hasSpaceBefore && hasSpaceAfter}? VT_SPACE ^( VT_VAR_REF $name) VT_SPACE -> {hasSpaceBefore && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_REF $name) -> {!hasSpaceBefore && hasSpaceAfter}? ^( VT_VAR_REF $name) VT_SPACE -> ^( VT_VAR_REF $name) ;
public final DSLMapParser.variable_reference_return variable_reference() throws RecognitionException {
DSLMapParser.variable_reference_return retval = new DSLMapParser.variable_reference_return();
retval.start = input.LT(1);
@@ -2415,21 +2415,21 @@
RewriteRuleTokenStream stream_LITERAL=new RewriteRuleTokenStream(adaptor,"token LITERAL");
RewriteRuleTokenStream stream_LEFT_CURLY=new RewriteRuleTokenStream(adaptor,"token LEFT_CURLY");
-
- boolean hasSpaceBefore = false;
- boolean hasSpaceAfter = false;
+ boolean hasSpaceBefore = false;
+ boolean hasSpaceAfter = false;
+
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:226:2: (lc= LEFT_CURLY name= LITERAL rc= RIGHT_CURLY -> {hasSpaceBefore && hasSpaceAfter}? VT_SPACE ^( VT_VAR_REF $name) VT_SPACE -> {hasSpaceBefore && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_REF $name) -> {!hasSpaceBefore && hasSpaceAfter}? ^( VT_VAR_REF $name) VT_SPACE -> ^( VT_VAR_REF $name) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:226:4: lc= LEFT_CURLY name= LITERAL rc= RIGHT_CURLY
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:226:2: (lc= LEFT_CURLY name= LITERAL rc= RIGHT_CURLY -> {hasSpaceBefore && hasSpaceAfter}? VT_SPACE ^( VT_VAR_REF $name) VT_SPACE -> {hasSpaceBefore && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_REF $name) -> {!hasSpaceBefore && hasSpaceAfter}? ^( VT_VAR_REF $name) VT_SPACE -> ^( VT_VAR_REF $name) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:226:4: lc= LEFT_CURLY name= LITERAL rc= RIGHT_CURLY
{
lc=(Token)match(input,LEFT_CURLY,FOLLOW_LEFT_CURLY_in_variable_reference1131); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_CURLY.add(lc);
if ( state.backtracking==0 ) {
-
- CommonToken back2 = (CommonToken)input.LT(-2);
- if( back2!=null && back2.getStopIndex() < ((CommonToken)lc).getStartIndex() -1 ) hasSpaceBefore = true;
+
+ CommonToken back2 = (CommonToken)input.LT(-2);
+ if( back2!=null && back2.getStopIndex() < ((CommonToken)lc).getStartIndex() -1 ) hasSpaceBefore = true;
}
name=(Token)match(input,LITERAL,FOLLOW_LITERAL_in_variable_reference1142); if (state.failed) return retval;
@@ -2458,7 +2458,7 @@
// 233:2: -> {hasSpaceBefore && hasSpaceAfter}? VT_SPACE ^( VT_VAR_REF $name) VT_SPACE
if (hasSpaceBefore && hasSpaceAfter) {
adaptor.addChild(root_0, (Object)adaptor.create(VT_SPACE, "VT_SPACE"));
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:233:49: ^( VT_VAR_REF $name)
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:233:49: ^( VT_VAR_REF $name)
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_REF, "VT_VAR_REF"), root_1);
@@ -2473,7 +2473,7 @@
else // 234:2: -> {hasSpaceBefore && !hasSpaceAfter}? VT_SPACE ^( VT_VAR_REF $name)
if (hasSpaceBefore && !hasSpaceAfter) {
adaptor.addChild(root_0, (Object)adaptor.create(VT_SPACE, "VT_SPACE"));
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:234:50: ^( VT_VAR_REF $name)
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:234:50: ^( VT_VAR_REF $name)
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_REF, "VT_VAR_REF"), root_1);
@@ -2486,7 +2486,7 @@
}
else // 235:2: -> {!hasSpaceBefore && hasSpaceAfter}? ^( VT_VAR_REF $name) VT_SPACE
if (!hasSpaceBefore && hasSpaceAfter) {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:235:42: ^( VT_VAR_REF $name)
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:235:42: ^( VT_VAR_REF $name)
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_REF, "VT_VAR_REF"), root_1);
@@ -2500,7 +2500,7 @@
}
else // 236:2: -> ^( VT_VAR_REF $name)
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:236:6: ^( VT_VAR_REF $name)
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:236:6: ^( VT_VAR_REF $name)
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_REF, "VT_VAR_REF"), root_1);
@@ -2541,7 +2541,7 @@
};
// $ANTLR start "variable_reference2"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:240:1: variable_reference2 : LEFT_CURLY name= LITERAL RIGHT_CURLY -> ^( VT_VAR_REF $name) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:240:1: variable_reference2 : LEFT_CURLY name= LITERAL RIGHT_CURLY -> ^( VT_VAR_REF $name) ;
public final DSLMapParser.variable_reference2_return variable_reference2() throws RecognitionException {
DSLMapParser.variable_reference2_return retval = new DSLMapParser.variable_reference2_return();
retval.start = input.LT(1);
@@ -2560,8 +2560,8 @@
RewriteRuleTokenStream stream_LEFT_CURLY=new RewriteRuleTokenStream(adaptor,"token LEFT_CURLY");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:241:2: ( LEFT_CURLY name= LITERAL RIGHT_CURLY -> ^( VT_VAR_REF $name) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:241:4: LEFT_CURLY name= LITERAL RIGHT_CURLY
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:241:2: ( LEFT_CURLY name= LITERAL RIGHT_CURLY -> ^( VT_VAR_REF $name) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:241:4: LEFT_CURLY name= LITERAL RIGHT_CURLY
{
LEFT_CURLY38=(Token)match(input,LEFT_CURLY,FOLLOW_LEFT_CURLY_in_variable_reference21224); if (state.failed) return retval;
if ( state.backtracking==0 ) stream_LEFT_CURLY.add(LEFT_CURLY38);
@@ -2588,7 +2588,7 @@
root_0 = (Object)adaptor.nil();
// 242:2: -> ^( VT_VAR_REF $name)
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:242:5: ^( VT_VAR_REF $name)
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:242:5: ^( VT_VAR_REF $name)
{
Object root_1 = (Object)adaptor.nil();
root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(VT_VAR_REF, "VT_VAR_REF"), root_1);
@@ -2629,7 +2629,7 @@
};
// $ANTLR start "condition_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:246:1: condition_key : {...}?value= LITERAL -> VT_CONDITION[$value] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:246:1: condition_key : {...}?value= LITERAL -> VT_CONDITION[$value] ;
public final DSLMapParser.condition_key_return condition_key() throws RecognitionException {
DSLMapParser.condition_key_return retval = new DSLMapParser.condition_key_return();
retval.start = input.LT(1);
@@ -2642,8 +2642,8 @@
RewriteRuleTokenStream stream_LITERAL=new RewriteRuleTokenStream(adaptor,"token LITERAL");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:247:2: ({...}?value= LITERAL -> VT_CONDITION[$value] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:247:4: {...}?value= LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:247:2: ({...}?value= LITERAL -> VT_CONDITION[$value] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:247:4: {...}?value= LITERAL
{
if ( !((validateIdentifierKey("condition")||validateIdentifierKey("when"))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
@@ -2700,7 +2700,7 @@
};
// $ANTLR start "consequence_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:251:1: consequence_key : {...}?value= LITERAL -> VT_CONSEQUENCE[$value] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:251:1: consequence_key : {...}?value= LITERAL -> VT_CONSEQUENCE[$value] ;
public final DSLMapParser.consequence_key_return consequence_key() throws RecognitionException {
DSLMapParser.consequence_key_return retval = new DSLMapParser.consequence_key_return();
retval.start = input.LT(1);
@@ -2713,8 +2713,8 @@
RewriteRuleTokenStream stream_LITERAL=new RewriteRuleTokenStream(adaptor,"token LITERAL");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:252:2: ({...}?value= LITERAL -> VT_CONSEQUENCE[$value] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:252:4: {...}?value= LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:252:2: ({...}?value= LITERAL -> VT_CONSEQUENCE[$value] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:252:4: {...}?value= LITERAL
{
if ( !((validateIdentifierKey("consequence")||validateIdentifierKey("then"))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
@@ -2771,7 +2771,7 @@
};
// $ANTLR start "keyword_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:256:1: keyword_key : {...}?value= LITERAL -> VT_KEYWORD[$value] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:256:1: keyword_key : {...}?value= LITERAL -> VT_KEYWORD[$value] ;
public final DSLMapParser.keyword_key_return keyword_key() throws RecognitionException {
DSLMapParser.keyword_key_return retval = new DSLMapParser.keyword_key_return();
retval.start = input.LT(1);
@@ -2784,8 +2784,8 @@
RewriteRuleTokenStream stream_LITERAL=new RewriteRuleTokenStream(adaptor,"token LITERAL");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:257:2: ({...}?value= LITERAL -> VT_KEYWORD[$value] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:257:4: {...}?value= LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:257:2: ({...}?value= LITERAL -> VT_KEYWORD[$value] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:257:4: {...}?value= LITERAL
{
if ( !((validateIdentifierKey("keyword"))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
@@ -2842,7 +2842,7 @@
};
// $ANTLR start "any_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:261:1: any_key : {...}?value= LITERAL -> VT_ANY[$value] ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:261:1: any_key : {...}?value= LITERAL -> VT_ANY[$value] ;
public final DSLMapParser.any_key_return any_key() throws RecognitionException {
DSLMapParser.any_key_return retval = new DSLMapParser.any_key_return();
retval.start = input.LT(1);
@@ -2855,8 +2855,8 @@
RewriteRuleTokenStream stream_LITERAL=new RewriteRuleTokenStream(adaptor,"token LITERAL");
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:262:2: ({...}?value= LITERAL -> VT_ANY[$value] )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:262:4: {...}?value= LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:262:2: ({...}?value= LITERAL -> VT_ANY[$value] )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:262:4: {...}?value= LITERAL
{
if ( !((validateIdentifierKey("*"))) ) {
if (state.backtracking>0) {state.failed=true; return retval;}
@@ -2909,8 +2909,8 @@
// $ANTLR start synpred4_DSLMap
public final void synpred4_DSLMap_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:24: ( meta_section )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:24: meta_section
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:24: ( meta_section )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:104:24: meta_section
{
pushFollow(FOLLOW_meta_section_in_synpred4_DSLMap352);
meta_section();
@@ -2927,8 +2927,8 @@
DSLMapParser.condition_key_return value1 = null;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:117:4: (value1= condition_key )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:117:4: value1= condition_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:117:4: (value1= condition_key )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:117:4: value1= condition_key
{
pushFollow(FOLLOW_condition_key_in_synpred6_DSLMap418);
value1=condition_key();
@@ -2945,8 +2945,8 @@
DSLMapParser.consequence_key_return value2 = null;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:118:5: (value2= consequence_key )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:118:5: value2= consequence_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:118:5: (value2= consequence_key )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:118:5: value2= consequence_key
{
pushFollow(FOLLOW_consequence_key_in_synpred7_DSLMap427);
value2=consequence_key();
@@ -2963,8 +2963,8 @@
DSLMapParser.keyword_key_return value3 = null;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:119:5: (value3= keyword_key )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:119:5: value3= keyword_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:119:5: (value3= keyword_key )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:119:5: value3= keyword_key
{
pushFollow(FOLLOW_keyword_key_in_synpred8_DSLMap435);
value3=keyword_key();
@@ -2978,8 +2978,8 @@
// $ANTLR start synpred12_DSLMap
public final void synpred12_DSLMap_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:149:4: ( literal )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:149:4: literal
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:149:4: ( literal )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:149:4: literal
{
pushFollow(FOLLOW_literal_in_synpred12_DSLMap579);
literal();
@@ -2993,8 +2993,8 @@
// $ANTLR start synpred15_DSLMap
public final void synpred15_DSLMap_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:5: ( literal )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:5: literal
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:5: ( literal )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:5: literal
{
pushFollow(FOLLOW_literal_in_synpred15_DSLMap654);
literal();
@@ -3008,8 +3008,8 @@
// $ANTLR start synpred16_DSLMap
public final void synpred16_DSLMap_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:13: ( EQUALS )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:13: EQUALS
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:13: ( EQUALS )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:13: EQUALS
{
match(input,EQUALS,FOLLOW_EQUALS_in_synpred16_DSLMap656); if (state.failed) return ;
@@ -3019,8 +3019,8 @@
// $ANTLR start synpred17_DSLMap
public final void synpred17_DSLMap_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:20: ( COMMA )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:20: COMMA
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:20: ( COMMA )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:167:20: COMMA
{
match(input,COMMA,FOLLOW_COMMA_in_synpred17_DSLMap658); if (state.failed) return ;
@@ -3032,8 +3032,8 @@
public final void synpred21_DSLMap_fragment() throws RecognitionException {
Token q=null;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:186:18: ( COLON q= LITERAL )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:186:18: COLON q= LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:186:18: ( COLON q= LITERAL )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:186:18: COLON q= LITERAL
{
match(input,COLON,FOLLOW_COLON_in_synpred21_DSLMap726); if (state.failed) return ;
q=(Token)match(input,LITERAL,FOLLOW_LITERAL_in_synpred21_DSLMap730); if (state.failed) return ;
@@ -3044,8 +3044,8 @@
// $ANTLR start synpred24_DSLMap
public final void synpred24_DSLMap_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:214:13: ( literal )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:214:13: literal
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:214:13: ( literal )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:214:13: literal
{
pushFollow(FOLLOW_literal_in_synpred24_DSLMap1060);
literal();
@@ -3059,8 +3059,8 @@
// $ANTLR start synpred26_DSLMap
public final void synpred26_DSLMap_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:216:13: ( LEFT_SQUARE pattern RIGHT_SQUARE )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:216:13: LEFT_SQUARE pattern RIGHT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:216:13: ( LEFT_SQUARE pattern RIGHT_SQUARE )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMap.g:216:13: LEFT_SQUARE pattern RIGHT_SQUARE
{
match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_synpred26_DSLMap1092); if (state.failed) return ;
pushFollow(FOLLOW_pattern_in_synpred26_DSLMap1094);
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/dsl/DSLMapWalker.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/dsl/DSLMapWalker.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/lang/dsl/DSLMapWalker.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -1,12 +1,12 @@
-// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g 2008-11-13 00:53:55
-
- package org.drools.lang.dsl;
-
- import java.util.Map;
- import java.util.HashMap;
-
+// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g 2008-11-21 15:39:58
+ package org.drools.lang.dsl;
+
+ import java.util.Map;
+ import java.util.HashMap;
+
+
import org.antlr.runtime.*;
import org.antlr.runtime.tree.*;import java.util.Stack;
import java.util.List;
@@ -64,7 +64,7 @@
public String[] getTokenNames() { return DSLMapWalker.tokenNames; }
- public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g"; }
+ public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g"; }
protected static class mapping_file_scope {
@@ -74,23 +74,23 @@
// $ANTLR start "mapping_file"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:17:1: mapping_file returns [DSLMapping mapping] : ^( VT_DSL_GRAMMAR ( valid_entry )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:17:1: mapping_file returns [DSLMapping mapping] : ^( VT_DSL_GRAMMAR ( valid_entry )* ) ;
public final DSLMapping mapping_file() throws RecognitionException {
mapping_file_stack.push(new mapping_file_scope());
DSLMapping mapping = null;
-
- ((mapping_file_scope)mapping_file_stack.peek()).retval = new DefaultDSLMapping() ;
+ ((mapping_file_scope)mapping_file_stack.peek()).retval = new DefaultDSLMapping() ;
+
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:24:2: ( ^( VT_DSL_GRAMMAR ( valid_entry )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:24:4: ^( VT_DSL_GRAMMAR ( valid_entry )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:24:2: ( ^( VT_DSL_GRAMMAR ( valid_entry )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:24:4: ^( VT_DSL_GRAMMAR ( valid_entry )* )
{
match(input,VT_DSL_GRAMMAR,FOLLOW_VT_DSL_GRAMMAR_in_mapping_file54);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:24:21: ( valid_entry )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:24:21: ( valid_entry )*
loop1:
do {
int alt1=2;
@@ -103,7 +103,7 @@
switch (alt1) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:24:21: valid_entry
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:24:21: valid_entry
{
pushFollow(FOLLOW_valid_entry_in_mapping_file56);
valid_entry();
@@ -122,8 +122,8 @@
match(input, Token.UP, null);
}
-
- mapping = ((mapping_file_scope)mapping_file_stack.peek()).retval;
+
+ mapping = ((mapping_file_scope)mapping_file_stack.peek()).retval;
}
@@ -142,7 +142,7 @@
// $ANTLR start "valid_entry"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:30:1: valid_entry returns [DSLMappingEntry mappingEntry] : (ent= entry | ^( VT_COMMENT lc= LINE_COMMENT ) );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:30:1: valid_entry returns [DSLMappingEntry mappingEntry] : (ent= entry | ^( VT_COMMENT lc= LINE_COMMENT ) );
public final DSLMappingEntry valid_entry() throws RecognitionException {
DSLMappingEntry mappingEntry = null;
@@ -151,7 +151,7 @@
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:31:2: (ent= entry | ^( VT_COMMENT lc= LINE_COMMENT ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:31:2: (ent= entry | ^( VT_COMMENT lc= LINE_COMMENT ) )
int alt2=2;
int LA2_0 = input.LA(1);
@@ -169,7 +169,7 @@
}
switch (alt2) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:31:4: ent= entry
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:31:4: ent= entry
{
pushFollow(FOLLOW_entry_in_valid_entry78);
ent=entry();
@@ -181,7 +181,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:32:4: ^( VT_COMMENT lc= LINE_COMMENT )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:32:4: ^( VT_COMMENT lc= LINE_COMMENT )
{
match(input,VT_COMMENT,FOLLOW_VT_COMMENT_in_valid_entry86);
@@ -218,21 +218,21 @@
// $ANTLR start "entry"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:36:1: entry returns [DSLMappingEntry mappingEntry] : ^( VT_ENTRY scope_section ( meta_section )? key_section value_section ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:36:1: entry returns [DSLMappingEntry mappingEntry] : ^( VT_ENTRY scope_section ( meta_section )? key_section value_section ) ;
public final DSLMappingEntry entry() throws RecognitionException {
entry_stack.push(new entry_scope());
DSLMappingEntry mappingEntry = null;
-
- ((entry_scope)entry_stack.peek()).retval = new AntlrDSLMappingEntry() ;
- ((entry_scope)entry_stack.peek()).variables = new HashMap();
- ((entry_scope)entry_stack.peek()).keybuffer = new StringBuffer();
- ((entry_scope)entry_stack.peek()).valuebuffer = new StringBuffer();
- ((entry_scope)entry_stack.peek()).sentencebuffer = new StringBuffer();
+ ((entry_scope)entry_stack.peek()).retval = new AntlrDSLMappingEntry() ;
+ ((entry_scope)entry_stack.peek()).variables = new HashMap();
+ ((entry_scope)entry_stack.peek()).keybuffer = new StringBuffer();
+ ((entry_scope)entry_stack.peek()).valuebuffer = new StringBuffer();
+ ((entry_scope)entry_stack.peek()).sentencebuffer = new StringBuffer();
+
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:52:2: ( ^( VT_ENTRY scope_section ( meta_section )? key_section value_section ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:52:4: ^( VT_ENTRY scope_section ( meta_section )? key_section value_section )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:52:2: ( ^( VT_ENTRY scope_section ( meta_section )? key_section value_section ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:52:4: ^( VT_ENTRY scope_section ( meta_section )? key_section value_section )
{
match(input,VT_ENTRY,FOLLOW_VT_ENTRY_in_entry119);
@@ -242,7 +242,7 @@
state._fsp--;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:52:29: ( meta_section )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:52:29: ( meta_section )?
int alt3=2;
int LA3_0 = input.LA(1);
@@ -251,7 +251,7 @@
}
switch (alt3) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:52:29: meta_section
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:52:29: meta_section
{
pushFollow(FOLLOW_meta_section_in_entry123);
meta_section();
@@ -277,10 +277,10 @@
match(input, Token.UP, null);
-
- ((entry_scope)entry_stack.peek()).retval.setMappingValue(((entry_scope)entry_stack.peek()).valuebuffer.toString());
- mappingEntry = ((entry_scope)entry_stack.peek()).retval;
- ((mapping_file_scope)mapping_file_stack.peek()).retval.addEntry(mappingEntry);
+
+ ((entry_scope)entry_stack.peek()).retval.setMappingValue(((entry_scope)entry_stack.peek()).valuebuffer.toString());
+ mappingEntry = ((entry_scope)entry_stack.peek()).retval;
+ ((mapping_file_scope)mapping_file_stack.peek()).retval.addEntry(mappingEntry);
}
@@ -299,19 +299,19 @@
// $ANTLR start "scope_section"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:62:1: scope_section : ^(thescope= VT_SCOPE ( condition_key )? ( consequence_key )? ( keyword_key )? ( any_key )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:62:1: scope_section : ^(thescope= VT_SCOPE ( condition_key )? ( consequence_key )? ( keyword_key )? ( any_key )? ) ;
public final void scope_section() throws RecognitionException {
CommonTree thescope=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:2: ( ^(thescope= VT_SCOPE ( condition_key )? ( consequence_key )? ( keyword_key )? ( any_key )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:4: ^(thescope= VT_SCOPE ( condition_key )? ( consequence_key )? ( keyword_key )? ( any_key )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:2: ( ^(thescope= VT_SCOPE ( condition_key )? ( consequence_key )? ( keyword_key )? ( any_key )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:4: ^(thescope= VT_SCOPE ( condition_key )? ( consequence_key )? ( keyword_key )? ( any_key )? )
{
thescope=(CommonTree)match(input,VT_SCOPE,FOLLOW_VT_SCOPE_in_scope_section152);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:24: ( condition_key )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:24: ( condition_key )?
int alt4=2;
int LA4_0 = input.LA(1);
@@ -320,7 +320,7 @@
}
switch (alt4) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:24: condition_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:24: condition_key
{
pushFollow(FOLLOW_condition_key_in_scope_section154);
condition_key();
@@ -333,7 +333,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:39: ( consequence_key )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:39: ( consequence_key )?
int alt5=2;
int LA5_0 = input.LA(1);
@@ -342,7 +342,7 @@
}
switch (alt5) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:39: consequence_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:39: consequence_key
{
pushFollow(FOLLOW_consequence_key_in_scope_section157);
consequence_key();
@@ -355,7 +355,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:56: ( keyword_key )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:56: ( keyword_key )?
int alt6=2;
int LA6_0 = input.LA(1);
@@ -364,7 +364,7 @@
}
switch (alt6) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:56: keyword_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:56: keyword_key
{
pushFollow(FOLLOW_keyword_key_in_scope_section160);
keyword_key();
@@ -377,7 +377,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:69: ( any_key )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:69: ( any_key )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -386,7 +386,7 @@
}
switch (alt7) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:69: any_key
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:63:69: any_key
{
pushFollow(FOLLOW_any_key_in_scope_section163);
any_key();
@@ -418,19 +418,19 @@
// $ANTLR start "meta_section"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:68:1: meta_section : ^( VT_META (metalit= LITERAL )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:68:1: meta_section : ^( VT_META (metalit= LITERAL )? ) ;
public final void meta_section() throws RecognitionException {
CommonTree metalit=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:69:2: ( ^( VT_META (metalit= LITERAL )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:69:4: ^( VT_META (metalit= LITERAL )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:69:2: ( ^( VT_META (metalit= LITERAL )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:69:4: ^( VT_META (metalit= LITERAL )? )
{
match(input,VT_META,FOLLOW_VT_META_in_meta_section180);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:69:21: (metalit= LITERAL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:69:21: (metalit= LITERAL )?
int alt8=2;
int LA8_0 = input.LA(1);
@@ -439,7 +439,7 @@
}
switch (alt8) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:69:21: metalit= LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:69:21: metalit= LITERAL
{
metalit=(CommonTree)match(input,LITERAL,FOLLOW_LITERAL_in_meta_section184);
@@ -451,12 +451,12 @@
match(input, Token.UP, null);
}
-
- if ( metalit == null || (metalit!=null?metalit.getText():null) == null || (metalit!=null?metalit.getText():null).length() == 0 ) {
- ((entry_scope)entry_stack.peek()).retval.setMetaData(DSLMappingEntry.EMPTY_METADATA);
- } else {
- ((entry_scope)entry_stack.peek()).retval.setMetaData(new DSLMappingEntry.DefaultDSLEntryMetaData( (metalit!=null?metalit.getText():null) ));
- }
+
+ if ( metalit == null || (metalit!=null?metalit.getText():null) == null || (metalit!=null?metalit.getText():null).length() == 0 ) {
+ ((entry_scope)entry_stack.peek()).retval.setMetaData(DSLMappingEntry.EMPTY_METADATA);
+ } else {
+ ((entry_scope)entry_stack.peek()).retval.setMetaData(new DSLMappingEntry.DefaultDSLEntryMetaData( (metalit!=null?metalit.getText():null) ));
+ }
}
@@ -474,16 +474,16 @@
// $ANTLR start "key_section"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:79:1: key_section : ^( VT_ENTRY_KEY ( key_sentence )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:79:1: key_section : ^( VT_ENTRY_KEY ( key_sentence )+ ) ;
public final void key_section() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:80:2: ( ^( VT_ENTRY_KEY ( key_sentence )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:80:4: ^( VT_ENTRY_KEY ( key_sentence )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:80:2: ( ^( VT_ENTRY_KEY ( key_sentence )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:80:4: ^( VT_ENTRY_KEY ( key_sentence )+ )
{
match(input,VT_ENTRY_KEY,FOLLOW_VT_ENTRY_KEY_in_key_section201);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:80:19: ( key_sentence )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:80:19: ( key_sentence )+
int cnt9=0;
loop9:
do {
@@ -497,7 +497,7 @@
switch (alt9) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:80:19: key_sentence
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:80:19: key_sentence
{
pushFollow(FOLLOW_key_sentence_in_key_section203);
key_sentence();
@@ -535,12 +535,12 @@
// $ANTLR start "key_sentence"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:83:1: key_sentence : ( variable_definition | vtl= VT_LITERAL | VT_SPACE );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:83:1: key_sentence : ( variable_definition | vtl= VT_LITERAL | VT_SPACE );
public final void key_sentence() throws RecognitionException {
CommonTree vtl=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:84:2: ( variable_definition | vtl= VT_LITERAL | VT_SPACE )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:84:2: ( variable_definition | vtl= VT_LITERAL | VT_SPACE )
int alt10=3;
switch ( input.LA(1) ) {
case VT_VAR_DEF:
@@ -567,7 +567,7 @@
switch (alt10) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:84:4: variable_definition
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:84:4: variable_definition
{
pushFollow(FOLLOW_variable_definition_in_key_sentence218);
variable_definition();
@@ -578,23 +578,23 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:85:4: vtl= VT_LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:85:4: vtl= VT_LITERAL
{
vtl=(CommonTree)match(input,VT_LITERAL,FOLLOW_VT_LITERAL_in_key_sentence225);
-
- ((entry_scope)entry_stack.peek()).keybuffer.append((vtl!=null?vtl.getText():null));
- ((entry_scope)entry_stack.peek()).sentencebuffer.append((vtl!=null?vtl.getText():null));
+
+ ((entry_scope)entry_stack.peek()).keybuffer.append((vtl!=null?vtl.getText():null));
+ ((entry_scope)entry_stack.peek()).sentencebuffer.append((vtl!=null?vtl.getText():null));
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:90:4: VT_SPACE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:90:4: VT_SPACE
{
match(input,VT_SPACE,FOLLOW_VT_SPACE_in_key_sentence234);
-
- ((entry_scope)entry_stack.peek()).keybuffer.append("\\s+");
- ((entry_scope)entry_stack.peek()).sentencebuffer.append(" ");
+
+ ((entry_scope)entry_stack.peek()).keybuffer.append("\\s+");
+ ((entry_scope)entry_stack.peek()).sentencebuffer.append(" ");
}
@@ -614,16 +614,16 @@
// $ANTLR start "value_section"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:97:1: value_section : ^( VT_ENTRY_VAL ( value_sentence )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:97:1: value_section : ^( VT_ENTRY_VAL ( value_sentence )+ ) ;
public final void value_section() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:101:2: ( ^( VT_ENTRY_VAL ( value_sentence )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:101:4: ^( VT_ENTRY_VAL ( value_sentence )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:101:2: ( ^( VT_ENTRY_VAL ( value_sentence )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:101:4: ^( VT_ENTRY_VAL ( value_sentence )+ )
{
match(input,VT_ENTRY_VAL,FOLLOW_VT_ENTRY_VAL_in_value_section255);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:101:19: ( value_sentence )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:101:19: ( value_sentence )+
int cnt11=0;
loop11:
do {
@@ -637,7 +637,7 @@
switch (alt11) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:101:19: value_sentence
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:101:19: value_sentence
{
pushFollow(FOLLOW_value_sentence_in_value_section257);
value_sentence();
@@ -662,9 +662,9 @@
}
-
- ((entry_scope)entry_stack.peek()).valuebuffer.append(" ");
+ ((entry_scope)entry_stack.peek()).valuebuffer.append(" ");
+
}
catch (RecognitionException re) {
reportError(re);
@@ -678,12 +678,12 @@
// $ANTLR start "value_sentence"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:104:1: value_sentence : ( variable_reference | vtl= VT_LITERAL | VT_SPACE );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:104:1: value_sentence : ( variable_reference | vtl= VT_LITERAL | VT_SPACE );
public final void value_sentence() throws RecognitionException {
CommonTree vtl=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:105:2: ( variable_reference | vtl= VT_LITERAL | VT_SPACE )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:105:2: ( variable_reference | vtl= VT_LITERAL | VT_SPACE )
int alt12=3;
switch ( input.LA(1) ) {
case VT_VAR_REF:
@@ -710,7 +710,7 @@
switch (alt12) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:105:4: variable_reference
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:105:4: variable_reference
{
pushFollow(FOLLOW_variable_reference_in_value_sentence274);
variable_reference();
@@ -721,21 +721,21 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:106:4: vtl= VT_LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:106:4: vtl= VT_LITERAL
{
vtl=(CommonTree)match(input,VT_LITERAL,FOLLOW_VT_LITERAL_in_value_sentence281);
-
- ((entry_scope)entry_stack.peek()).valuebuffer.append((vtl!=null?vtl.getText():null).replaceAll("\\$", "\\\\\\$"));
+
+ ((entry_scope)entry_stack.peek()).valuebuffer.append((vtl!=null?vtl.getText():null).replaceAll("\\$", "\\\\\\$"));
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:110:4: VT_SPACE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:110:4: VT_SPACE
{
match(input,VT_SPACE,FOLLOW_VT_SPACE_in_value_sentence289);
-
- ((entry_scope)entry_stack.peek()).valuebuffer.append(" ");
+
+ ((entry_scope)entry_stack.peek()).valuebuffer.append(" ");
}
@@ -755,13 +755,13 @@
// $ANTLR start "literal"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:116:1: literal : theliteral= VT_LITERAL ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:116:1: literal : theliteral= VT_LITERAL ;
public final void literal() throws RecognitionException {
CommonTree theliteral=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:117:2: (theliteral= VT_LITERAL )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:117:4: theliteral= VT_LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:117:2: (theliteral= VT_LITERAL )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:117:4: theliteral= VT_LITERAL
{
theliteral=(CommonTree)match(input,VT_LITERAL,FOLLOW_VT_LITERAL_in_literal307);
@@ -780,15 +780,15 @@
// $ANTLR start "variable_definition"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:120:1: variable_definition : ^( VT_VAR_DEF varname= LITERAL ^( VT_QUAL (q= LITERAL )? ) (pattern= VT_PATTERN )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:120:1: variable_definition : ^( VT_VAR_DEF varname= LITERAL ^( VT_QUAL (q= LITERAL )? ) (pattern= VT_PATTERN )? ) ;
public final void variable_definition() throws RecognitionException {
CommonTree varname=null;
CommonTree q=null;
CommonTree pattern=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:121:2: ( ^( VT_VAR_DEF varname= LITERAL ^( VT_QUAL (q= LITERAL )? ) (pattern= VT_PATTERN )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:121:6: ^( VT_VAR_DEF varname= LITERAL ^( VT_QUAL (q= LITERAL )? ) (pattern= VT_PATTERN )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:121:2: ( ^( VT_VAR_DEF varname= LITERAL ^( VT_QUAL (q= LITERAL )? ) (pattern= VT_PATTERN )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:121:6: ^( VT_VAR_DEF varname= LITERAL ^( VT_QUAL (q= LITERAL )? ) (pattern= VT_PATTERN )? )
{
match(input,VT_VAR_DEF,FOLLOW_VT_VAR_DEF_in_variable_definition323);
@@ -798,7 +798,7 @@
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:121:47: (q= LITERAL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:121:47: (q= LITERAL )?
int alt13=2;
int LA13_0 = input.LA(1);
@@ -807,7 +807,7 @@
}
switch (alt13) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:121:47: q= LITERAL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:121:47: q= LITERAL
{
q=(CommonTree)match(input,LITERAL,FOLLOW_LITERAL_in_variable_definition335);
@@ -819,7 +819,7 @@
match(input, Token.UP, null);
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:121:65: (pattern= VT_PATTERN )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:121:65: (pattern= VT_PATTERN )?
int alt14=2;
int LA14_0 = input.LA(1);
@@ -828,7 +828,7 @@
}
switch (alt14) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:121:65: pattern= VT_PATTERN
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:121:65: pattern= VT_PATTERN
{
pattern=(CommonTree)match(input,VT_PATTERN,FOLLOW_VT_PATTERN_in_variable_definition341);
@@ -839,24 +839,24 @@
match(input, Token.UP, null);
-
- ((entry_scope)entry_stack.peek()).counter++;
- ((entry_scope)entry_stack.peek()).variables.put((varname!=null?varname.getText():null), new Integer(((entry_scope)entry_stack.peek()).counter));
-
- if(q!=null && pattern!=null){
- ((entry_scope)entry_stack.peek()).sentencebuffer.append("{"+(varname!=null?varname.getText():null)+":"+(q!=null?q.getText():null)+":"+(pattern!=null?pattern.getText():null)+"}");
- }else if(q==null && pattern!=null){
- ((entry_scope)entry_stack.peek()).sentencebuffer.append("{"+(varname!=null?varname.getText():null)+":"+(pattern!=null?pattern.getText():null)+"}");
- }else{
- ((entry_scope)entry_stack.peek()).sentencebuffer.append("{"+(varname!=null?varname.getText():null)+"}");
- }
-
- if(q == null || (!q.getText().equals("ENUM") && !q.getText().equals("DATE") && !q.getText().equals("BOOLEAN"))){
- ((entry_scope)entry_stack.peek()).keybuffer.append(pattern != null? "(" + (pattern!=null?pattern.getText():null) + ")" : "(.*?)");
- }else{
- ((entry_scope)entry_stack.peek()).keybuffer.append("(.*?)");
-
- }
+
+ ((entry_scope)entry_stack.peek()).counter++;
+ ((entry_scope)entry_stack.peek()).variables.put((varname!=null?varname.getText():null), new Integer(((entry_scope)entry_stack.peek()).counter));
+
+ if(q!=null && pattern!=null){
+ ((entry_scope)entry_stack.peek()).sentencebuffer.append("{"+(varname!=null?varname.getText():null)+":"+(q!=null?q.getText():null)+":"+(pattern!=null?pattern.getText():null)+"}");
+ }else if(q==null && pattern!=null){
+ ((entry_scope)entry_stack.peek()).sentencebuffer.append("{"+(varname!=null?varname.getText():null)+":"+(pattern!=null?pattern.getText():null)+"}");
+ }else{
+ ((entry_scope)entry_stack.peek()).sentencebuffer.append("{"+(varname!=null?varname.getText():null)+"}");
+ }
+
+ if(q == null || (!q.getText().equals("ENUM") && !q.getText().equals("DATE") && !q.getText().equals("BOOLEAN"))){
+ ((entry_scope)entry_stack.peek()).keybuffer.append(pattern != null? "(" + (pattern!=null?pattern.getText():null) + ")" : "(.*?)");
+ }else{
+ ((entry_scope)entry_stack.peek()).keybuffer.append("(.*?)");
+
+ }
}
@@ -874,14 +874,14 @@
// $ANTLR start "variable_reference"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:144:1: variable_reference : ^(varref= VT_VAR_REF lit= LITERAL ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:144:1: variable_reference : ^(varref= VT_VAR_REF lit= LITERAL ) ;
public final void variable_reference() throws RecognitionException {
CommonTree varref=null;
CommonTree lit=null;
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:145:2: ( ^(varref= VT_VAR_REF lit= LITERAL ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:145:4: ^(varref= VT_VAR_REF lit= LITERAL )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:145:2: ( ^(varref= VT_VAR_REF lit= LITERAL ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:145:4: ^(varref= VT_VAR_REF lit= LITERAL )
{
varref=(CommonTree)match(input,VT_VAR_REF,FOLLOW_VT_VAR_REF_in_variable_reference363);
@@ -889,8 +889,8 @@
lit=(CommonTree)match(input,LITERAL,FOLLOW_LITERAL_in_variable_reference367);
match(input, Token.UP, null);
-
- ((entry_scope)entry_stack.peek()).valuebuffer.append("$" + ((entry_scope)entry_stack.peek()).variables.get((lit!=null?lit.getText():null)));
+
+ ((entry_scope)entry_stack.peek()).valuebuffer.append("$" + ((entry_scope)entry_stack.peek()).variables.get((lit!=null?lit.getText():null)));
}
@@ -908,11 +908,11 @@
// $ANTLR start "condition_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:151:1: condition_key : VT_CONDITION ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:151:1: condition_key : VT_CONDITION ;
public final void condition_key() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:152:2: ( VT_CONDITION )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:152:4: VT_CONDITION
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:152:2: ( VT_CONDITION )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:152:4: VT_CONDITION
{
match(input,VT_CONDITION,FOLLOW_VT_CONDITION_in_condition_key385);
((entry_scope)entry_stack.peek()).retval.setSection(DSLMappingEntry.CONDITION);
@@ -932,11 +932,11 @@
// $ANTLR start "consequence_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:156:1: consequence_key : VT_CONSEQUENCE ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:156:1: consequence_key : VT_CONSEQUENCE ;
public final void consequence_key() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:157:2: ( VT_CONSEQUENCE )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:157:4: VT_CONSEQUENCE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:157:2: ( VT_CONSEQUENCE )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:157:4: VT_CONSEQUENCE
{
match(input,VT_CONSEQUENCE,FOLLOW_VT_CONSEQUENCE_in_consequence_key400);
((entry_scope)entry_stack.peek()).retval.setSection(DSLMappingEntry.CONSEQUENCE);
@@ -956,11 +956,11 @@
// $ANTLR start "keyword_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:161:1: keyword_key : VT_KEYWORD ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:161:1: keyword_key : VT_KEYWORD ;
public final void keyword_key() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:162:2: ( VT_KEYWORD )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:162:4: VT_KEYWORD
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:162:2: ( VT_KEYWORD )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:162:4: VT_KEYWORD
{
match(input,VT_KEYWORD,FOLLOW_VT_KEYWORD_in_keyword_key415);
((entry_scope)entry_stack.peek()).retval.setSection(DSLMappingEntry.KEYWORD);
@@ -980,11 +980,11 @@
// $ANTLR start "any_key"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:166:1: any_key : VT_ANY ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:166:1: any_key : VT_ANY ;
public final void any_key() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:167:2: ( VT_ANY )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:167:4: VT_ANY
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:167:2: ( VT_ANY )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/dsl/DSLMapWalker.g:167:4: VT_ANY
{
match(input,VT_ANY,FOLLOW_VT_ANY_in_any_key430);
((entry_scope)entry_stack.peek()).retval.setSection(DSLMappingEntry.ANY);
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaLexer.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaLexer.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaLexer.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -1,4 +1,4 @@
-// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g 2008-11-13 00:55:22
+// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g 2008-11-21 15:41:39
package org.drools.rule.builder.dialect.java.parser;
@@ -137,15 +137,15 @@
super(input,state);
}
- public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g"; }
+ public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g"; }
// $ANTLR start "T__24"
public final void mT__24() throws RecognitionException {
try {
int _type = T__24;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:11:7: ( 'package' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:11:9: 'package'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:11:7: ( 'package' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:11:9: 'package'
{
match("package");
@@ -165,8 +165,8 @@
try {
int _type = T__25;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:12:7: ( ';' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:12:9: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:12:7: ( ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:12:9: ';'
{
match(';');
@@ -185,8 +185,8 @@
try {
int _type = T__26;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:13:7: ( 'import' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:13:9: 'import'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:13:7: ( 'import' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:13:9: 'import'
{
match("import");
@@ -206,8 +206,8 @@
try {
int _type = T__27;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:14:7: ( 'static' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:14:9: 'static'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:14:7: ( 'static' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:14:9: 'static'
{
match("static");
@@ -227,8 +227,8 @@
try {
int _type = T__28;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:15:7: ( '.' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:15:9: '.'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:15:7: ( '.' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:15:9: '.'
{
match('.');
@@ -247,8 +247,8 @@
try {
int _type = T__29;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:16:7: ( '*' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:16:9: '*'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:16:7: ( '*' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:16:9: '*'
{
match('*');
@@ -267,8 +267,8 @@
try {
int _type = T__30;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:17:7: ( 'class' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:17:9: 'class'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:17:7: ( 'class' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:17:9: 'class'
{
match("class");
@@ -288,8 +288,8 @@
try {
int _type = T__31;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:18:7: ( 'extends' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:18:9: 'extends'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:18:7: ( 'extends' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:18:9: 'extends'
{
match("extends");
@@ -309,8 +309,8 @@
try {
int _type = T__32;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:19:7: ( 'implements' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:19:9: 'implements'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:19:7: ( 'implements' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:19:9: 'implements'
{
match("implements");
@@ -330,8 +330,8 @@
try {
int _type = T__33;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:20:7: ( '<' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:20:9: '<'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:20:7: ( '<' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:20:9: '<'
{
match('<');
@@ -350,8 +350,8 @@
try {
int _type = T__34;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:21:7: ( ',' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:21:9: ','
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:21:7: ( ',' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:21:9: ','
{
match(',');
@@ -370,8 +370,8 @@
try {
int _type = T__35;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:22:7: ( '>' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:22:9: '>'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:22:7: ( '>' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:22:9: '>'
{
match('>');
@@ -390,8 +390,8 @@
try {
int _type = T__36;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:23:7: ( '&' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:23:9: '&'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:23:7: ( '&' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:23:9: '&'
{
match('&');
@@ -410,8 +410,8 @@
try {
int _type = T__37;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:24:7: ( '{' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:24:9: '{'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:24:7: ( '{' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:24:9: '{'
{
match('{');
@@ -430,8 +430,8 @@
try {
int _type = T__38;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:25:7: ( '}' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:25:9: '}'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:25:7: ( '}' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:25:9: '}'
{
match('}');
@@ -450,8 +450,8 @@
try {
int _type = T__39;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:26:7: ( 'interface' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:26:9: 'interface'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:26:7: ( 'interface' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:26:9: 'interface'
{
match("interface");
@@ -471,8 +471,8 @@
try {
int _type = T__40;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:27:7: ( 'void' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:27:9: 'void'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:27:7: ( 'void' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:27:9: 'void'
{
match("void");
@@ -492,8 +492,8 @@
try {
int _type = T__41;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:28:7: ( '[' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:28:9: '['
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:28:7: ( '[' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:28:9: '['
{
match('[');
@@ -512,8 +512,8 @@
try {
int _type = T__42;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:29:7: ( ']' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:29:9: ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:29:7: ( ']' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:29:9: ']'
{
match(']');
@@ -532,8 +532,8 @@
try {
int _type = T__43;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:30:7: ( 'throws' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:30:9: 'throws'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:30:7: ( 'throws' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:30:9: 'throws'
{
match("throws");
@@ -553,8 +553,8 @@
try {
int _type = T__44;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:31:7: ( '=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:31:9: '='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:31:7: ( '=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:31:9: '='
{
match('=');
@@ -573,8 +573,8 @@
try {
int _type = T__45;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:32:7: ( 'public' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:32:9: 'public'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:32:7: ( 'public' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:32:9: 'public'
{
match("public");
@@ -594,8 +594,8 @@
try {
int _type = T__46;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:33:7: ( 'protected' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:33:9: 'protected'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:33:7: ( 'protected' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:33:9: 'protected'
{
match("protected");
@@ -615,8 +615,8 @@
try {
int _type = T__47;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:34:7: ( 'private' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:34:9: 'private'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:34:7: ( 'private' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:34:9: 'private'
{
match("private");
@@ -636,8 +636,8 @@
try {
int _type = T__48;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:35:7: ( 'abstract' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:35:9: 'abstract'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:35:7: ( 'abstract' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:35:9: 'abstract'
{
match("abstract");
@@ -657,8 +657,8 @@
try {
int _type = T__49;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:36:7: ( 'final' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:36:9: 'final'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:36:7: ( 'final' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:36:9: 'final'
{
match("final");
@@ -678,8 +678,8 @@
try {
int _type = T__50;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:37:7: ( 'native' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:37:9: 'native'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:37:7: ( 'native' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:37:9: 'native'
{
match("native");
@@ -699,8 +699,8 @@
try {
int _type = T__51;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:38:7: ( 'synchronized' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:38:9: 'synchronized'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:38:7: ( 'synchronized' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:38:9: 'synchronized'
{
match("synchronized");
@@ -720,8 +720,8 @@
try {
int _type = T__52;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:39:7: ( 'transient' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:39:9: 'transient'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:39:7: ( 'transient' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:39:9: 'transient'
{
match("transient");
@@ -741,8 +741,8 @@
try {
int _type = T__53;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:40:7: ( 'volatile' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:40:9: 'volatile'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:40:7: ( 'volatile' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:40:9: 'volatile'
{
match("volatile");
@@ -762,8 +762,8 @@
try {
int _type = T__54;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:41:7: ( 'strictfp' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:41:9: 'strictfp'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:41:7: ( 'strictfp' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:41:9: 'strictfp'
{
match("strictfp");
@@ -783,8 +783,8 @@
try {
int _type = T__55;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:42:7: ( 'boolean' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:42:9: 'boolean'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:42:7: ( 'boolean' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:42:9: 'boolean'
{
match("boolean");
@@ -804,8 +804,8 @@
try {
int _type = T__56;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:43:7: ( 'char' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:43:9: 'char'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:43:7: ( 'char' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:43:9: 'char'
{
match("char");
@@ -825,8 +825,8 @@
try {
int _type = T__57;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:44:7: ( 'byte' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:44:9: 'byte'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:44:7: ( 'byte' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:44:9: 'byte'
{
match("byte");
@@ -846,8 +846,8 @@
try {
int _type = T__58;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:45:7: ( 'short' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:45:9: 'short'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:45:7: ( 'short' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:45:9: 'short'
{
match("short");
@@ -867,8 +867,8 @@
try {
int _type = T__59;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:46:7: ( 'int' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:46:9: 'int'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:46:7: ( 'int' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:46:9: 'int'
{
match("int");
@@ -888,8 +888,8 @@
try {
int _type = T__60;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:47:7: ( 'long' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:47:9: 'long'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:47:7: ( 'long' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:47:9: 'long'
{
match("long");
@@ -909,8 +909,8 @@
try {
int _type = T__61;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:48:7: ( 'float' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:48:9: 'float'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:48:7: ( 'float' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:48:9: 'float'
{
match("float");
@@ -930,8 +930,8 @@
try {
int _type = T__62;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:49:7: ( 'double' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:49:9: 'double'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:49:7: ( 'double' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:49:9: 'double'
{
match("double");
@@ -951,8 +951,8 @@
try {
int _type = T__63;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:50:7: ( '?' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:50:9: '?'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:50:7: ( '?' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:50:9: '?'
{
match('?');
@@ -971,8 +971,8 @@
try {
int _type = T__64;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:51:7: ( 'super' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:51:9: 'super'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:51:7: ( 'super' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:51:9: 'super'
{
match("super");
@@ -992,8 +992,8 @@
try {
int _type = T__65;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:52:7: ( '(' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:52:9: '('
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:52:7: ( '(' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:52:9: '('
{
match('(');
@@ -1012,8 +1012,8 @@
try {
int _type = T__66;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:53:7: ( ')' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:53:9: ')'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:53:7: ( ')' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:53:9: ')'
{
match(')');
@@ -1032,8 +1032,8 @@
try {
int _type = T__67;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:54:7: ( '...' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:54:9: '...'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:54:7: ( '...' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:54:9: '...'
{
match("...");
@@ -1053,8 +1053,8 @@
try {
int _type = T__68;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:55:7: ( 'null' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:55:9: 'null'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:55:7: ( 'null' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:55:9: 'null'
{
match("null");
@@ -1074,8 +1074,8 @@
try {
int _type = T__69;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:56:7: ( 'true' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:56:9: 'true'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:56:7: ( 'true' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:56:9: 'true'
{
match("true");
@@ -1095,8 +1095,8 @@
try {
int _type = T__70;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:57:7: ( 'false' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:57:9: 'false'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:57:7: ( 'false' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:57:9: 'false'
{
match("false");
@@ -1116,8 +1116,8 @@
try {
int _type = T__71;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:58:7: ( '@' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:58:9: '@'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:58:7: ( '@' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:58:9: '@'
{
match('@');
@@ -1136,8 +1136,8 @@
try {
int _type = T__72;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:59:7: ( 'default' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:59:9: 'default'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:59:7: ( 'default' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:59:9: 'default'
{
match("default");
@@ -1157,8 +1157,8 @@
try {
int _type = T__73;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:60:7: ( 'assert' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:60:9: 'assert'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:60:7: ( 'assert' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:60:9: 'assert'
{
match("assert");
@@ -1178,8 +1178,8 @@
try {
int _type = T__74;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:61:7: ( ':' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:61:9: ':'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:61:7: ( ':' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:61:9: ':'
{
match(':');
@@ -1198,8 +1198,8 @@
try {
int _type = T__75;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:62:7: ( 'if' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:62:9: 'if'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:62:7: ( 'if' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:62:9: 'if'
{
match("if");
@@ -1219,8 +1219,8 @@
try {
int _type = T__76;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:63:7: ( 'else' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:63:9: 'else'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:63:7: ( 'else' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:63:9: 'else'
{
match("else");
@@ -1240,8 +1240,8 @@
try {
int _type = T__77;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:64:7: ( 'for' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:64:9: 'for'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:64:7: ( 'for' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:64:9: 'for'
{
match("for");
@@ -1261,8 +1261,8 @@
try {
int _type = T__78;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:65:7: ( 'while' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:65:9: 'while'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:65:7: ( 'while' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:65:9: 'while'
{
match("while");
@@ -1282,8 +1282,8 @@
try {
int _type = T__79;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:66:7: ( 'do' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:66:9: 'do'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:66:7: ( 'do' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:66:9: 'do'
{
match("do");
@@ -1303,8 +1303,8 @@
try {
int _type = T__80;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:67:7: ( 'try' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:67:9: 'try'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:67:7: ( 'try' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:67:9: 'try'
{
match("try");
@@ -1324,8 +1324,8 @@
try {
int _type = T__81;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:68:7: ( 'finally' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:68:9: 'finally'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:68:7: ( 'finally' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:68:9: 'finally'
{
match("finally");
@@ -1345,8 +1345,8 @@
try {
int _type = T__82;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:69:7: ( 'switch' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:69:9: 'switch'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:69:7: ( 'switch' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:69:9: 'switch'
{
match("switch");
@@ -1366,8 +1366,8 @@
try {
int _type = T__83;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:70:7: ( 'return' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:70:9: 'return'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:70:7: ( 'return' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:70:9: 'return'
{
match("return");
@@ -1387,8 +1387,8 @@
try {
int _type = T__84;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:71:7: ( 'throw' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:71:9: 'throw'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:71:7: ( 'throw' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:71:9: 'throw'
{
match("throw");
@@ -1408,8 +1408,8 @@
try {
int _type = T__85;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:72:7: ( 'break' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:72:9: 'break'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:72:7: ( 'break' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:72:9: 'break'
{
match("break");
@@ -1429,8 +1429,8 @@
try {
int _type = T__86;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:73:7: ( 'continue' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:73:9: 'continue'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:73:7: ( 'continue' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:73:9: 'continue'
{
match("continue");
@@ -1450,8 +1450,8 @@
try {
int _type = T__87;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:74:7: ( 'modify' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:74:9: 'modify'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:74:7: ( 'modify' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:74:9: 'modify'
{
match("modify");
@@ -1471,8 +1471,8 @@
try {
int _type = T__88;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:75:7: ( 'catch' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:75:9: 'catch'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:75:7: ( 'catch' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:75:9: 'catch'
{
match("catch");
@@ -1492,8 +1492,8 @@
try {
int _type = T__89;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:76:7: ( 'case' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:76:9: 'case'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:76:7: ( 'case' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:76:9: 'case'
{
match("case");
@@ -1513,8 +1513,8 @@
try {
int _type = T__90;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:77:7: ( '+=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:77:9: '+='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:77:7: ( '+=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:77:9: '+='
{
match("+=");
@@ -1534,8 +1534,8 @@
try {
int _type = T__91;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:78:7: ( '-=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:78:9: '-='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:78:7: ( '-=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:78:9: '-='
{
match("-=");
@@ -1555,8 +1555,8 @@
try {
int _type = T__92;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:79:7: ( '*=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:79:9: '*='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:79:7: ( '*=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:79:9: '*='
{
match("*=");
@@ -1576,8 +1576,8 @@
try {
int _type = T__93;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:80:7: ( '/=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:80:9: '/='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:80:7: ( '/=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:80:9: '/='
{
match("/=");
@@ -1597,8 +1597,8 @@
try {
int _type = T__94;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:81:7: ( '&=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:81:9: '&='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:81:7: ( '&=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:81:9: '&='
{
match("&=");
@@ -1618,8 +1618,8 @@
try {
int _type = T__95;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:82:7: ( '|=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:82:9: '|='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:82:7: ( '|=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:82:9: '|='
{
match("|=");
@@ -1639,8 +1639,8 @@
try {
int _type = T__96;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:83:7: ( '^=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:83:9: '^='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:83:7: ( '^=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:83:9: '^='
{
match("^=");
@@ -1660,8 +1660,8 @@
try {
int _type = T__97;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:84:7: ( '%=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:84:9: '%='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:84:7: ( '%=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:84:9: '%='
{
match("%=");
@@ -1681,8 +1681,8 @@
try {
int _type = T__98;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:85:7: ( '||' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:85:9: '||'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:85:7: ( '||' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:85:9: '||'
{
match("||");
@@ -1702,8 +1702,8 @@
try {
int _type = T__99;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:86:7: ( '&&' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:86:9: '&&'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:86:7: ( '&&' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:86:9: '&&'
{
match("&&");
@@ -1723,8 +1723,8 @@
try {
int _type = T__100;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:87:8: ( '|' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:87:10: '|'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:87:8: ( '|' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:87:10: '|'
{
match('|');
@@ -1743,8 +1743,8 @@
try {
int _type = T__101;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:88:8: ( '^' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:88:10: '^'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:88:8: ( '^' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:88:10: '^'
{
match('^');
@@ -1763,8 +1763,8 @@
try {
int _type = T__102;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:89:8: ( '==' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:89:10: '=='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:89:8: ( '==' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:89:10: '=='
{
match("==");
@@ -1784,8 +1784,8 @@
try {
int _type = T__103;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:90:8: ( '!=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:90:10: '!='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:90:8: ( '!=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:90:10: '!='
{
match("!=");
@@ -1805,8 +1805,8 @@
try {
int _type = T__104;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:91:8: ( 'instanceof' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:91:10: 'instanceof'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:91:8: ( 'instanceof' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:91:10: 'instanceof'
{
match("instanceof");
@@ -1826,8 +1826,8 @@
try {
int _type = T__105;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:92:8: ( '+' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:92:10: '+'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:92:8: ( '+' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:92:10: '+'
{
match('+');
@@ -1846,8 +1846,8 @@
try {
int _type = T__106;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:93:8: ( '-' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:93:10: '-'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:93:8: ( '-' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:93:10: '-'
{
match('-');
@@ -1866,8 +1866,8 @@
try {
int _type = T__107;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:94:8: ( '/' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:94:10: '/'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:94:8: ( '/' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:94:10: '/'
{
match('/');
@@ -1886,8 +1886,8 @@
try {
int _type = T__108;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:95:8: ( '%' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:95:10: '%'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:95:8: ( '%' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:95:10: '%'
{
match('%');
@@ -1906,8 +1906,8 @@
try {
int _type = T__109;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:96:8: ( '++' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:96:10: '++'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:96:8: ( '++' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:96:10: '++'
{
match("++");
@@ -1927,8 +1927,8 @@
try {
int _type = T__110;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:97:8: ( '--' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:97:10: '--'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:97:8: ( '--' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:97:10: '--'
{
match("--");
@@ -1948,8 +1948,8 @@
try {
int _type = T__111;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:98:8: ( '~' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:98:10: '~'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:98:8: ( '~' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:98:10: '~'
{
match('~');
@@ -1968,8 +1968,8 @@
try {
int _type = T__112;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:99:8: ( '!' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:99:10: '!'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:99:8: ( '!' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:99:10: '!'
{
match('!');
@@ -1988,8 +1988,8 @@
try {
int _type = T__113;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:100:8: ( 'this' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:100:10: 'this'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:100:8: ( 'this' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:100:10: 'this'
{
match("this");
@@ -2009,8 +2009,8 @@
try {
int _type = T__114;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:101:8: ( 'new' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:101:10: 'new'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:101:8: ( 'new' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:101:10: 'new'
{
match("new");
@@ -2030,8 +2030,8 @@
try {
int _type = HexLiteral;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:960:12: ( '0' ( 'x' | 'X' ) ( HexDigit )+ ( IntegerTypeSuffix )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:960:14: '0' ( 'x' | 'X' ) ( HexDigit )+ ( IntegerTypeSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:960:12: ( '0' ( 'x' | 'X' ) ( HexDigit )+ ( IntegerTypeSuffix )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:960:14: '0' ( 'x' | 'X' ) ( HexDigit )+ ( IntegerTypeSuffix )?
{
match('0');
if ( input.LA(1)=='X'||input.LA(1)=='x' ) {
@@ -2043,7 +2043,7 @@
recover(mse);
throw mse;}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:960:28: ( HexDigit )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:960:28: ( HexDigit )+
int cnt1=0;
loop1:
do {
@@ -2057,7 +2057,7 @@
switch (alt1) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:960:28: HexDigit
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:960:28: HexDigit
{
mHexDigit();
@@ -2073,7 +2073,7 @@
cnt1++;
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:960:38: ( IntegerTypeSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:960:38: ( IntegerTypeSuffix )?
int alt2=2;
int LA2_0 = input.LA(1);
@@ -2082,7 +2082,7 @@
}
switch (alt2) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:960:38: IntegerTypeSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:960:38: IntegerTypeSuffix
{
mIntegerTypeSuffix();
@@ -2107,10 +2107,10 @@
try {
int _type = DecimalLiteral;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:16: ( ( '0' | '1' .. '9' ( '0' .. '9' )* ) ( IntegerTypeSuffix )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:18: ( '0' | '1' .. '9' ( '0' .. '9' )* ) ( IntegerTypeSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:16: ( ( '0' | '1' .. '9' ( '0' .. '9' )* ) ( IntegerTypeSuffix )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:18: ( '0' | '1' .. '9' ( '0' .. '9' )* ) ( IntegerTypeSuffix )?
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:18: ( '0' | '1' .. '9' ( '0' .. '9' )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:18: ( '0' | '1' .. '9' ( '0' .. '9' )* )
int alt4=2;
int LA4_0 = input.LA(1);
@@ -2128,17 +2128,17 @@
}
switch (alt4) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:19: '0'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:19: '0'
{
match('0');
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:25: '1' .. '9' ( '0' .. '9' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:25: '1' .. '9' ( '0' .. '9' )*
{
matchRange('1','9');
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:34: ( '0' .. '9' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:34: ( '0' .. '9' )*
loop3:
do {
int alt3=2;
@@ -2151,7 +2151,7 @@
switch (alt3) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:34: '0' .. '9'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:34: '0' .. '9'
{
matchRange('0','9');
@@ -2169,7 +2169,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:45: ( IntegerTypeSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:45: ( IntegerTypeSuffix )?
int alt5=2;
int LA5_0 = input.LA(1);
@@ -2178,7 +2178,7 @@
}
switch (alt5) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:45: IntegerTypeSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:962:45: IntegerTypeSuffix
{
mIntegerTypeSuffix();
@@ -2203,11 +2203,11 @@
try {
int _type = OctalLiteral;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:14: ( '0' ( '0' .. '7' )+ ( IntegerTypeSuffix )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:16: '0' ( '0' .. '7' )+ ( IntegerTypeSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:14: ( '0' ( '0' .. '7' )+ ( IntegerTypeSuffix )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:16: '0' ( '0' .. '7' )+ ( IntegerTypeSuffix )?
{
match('0');
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:20: ( '0' .. '7' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:20: ( '0' .. '7' )+
int cnt6=0;
loop6:
do {
@@ -2221,7 +2221,7 @@
switch (alt6) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:21: '0' .. '7'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:21: '0' .. '7'
{
matchRange('0','7');
@@ -2237,7 +2237,7 @@
cnt6++;
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:32: ( IntegerTypeSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:32: ( IntegerTypeSuffix )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -2246,7 +2246,7 @@
}
switch (alt7) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:32: IntegerTypeSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:964:32: IntegerTypeSuffix
{
mIntegerTypeSuffix();
@@ -2269,8 +2269,8 @@
// $ANTLR start "HexDigit"
public final void mHexDigit() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:967:10: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:967:12: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:967:10: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:967:12: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) {
input.consume();
@@ -2293,8 +2293,8 @@
// $ANTLR start "IntegerTypeSuffix"
public final void mIntegerTypeSuffix() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:970:19: ( ( 'l' | 'L' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:970:21: ( 'l' | 'L' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:970:19: ( ( 'l' | 'L' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:970:21: ( 'l' | 'L' )
{
if ( input.LA(1)=='L'||input.LA(1)=='l' ) {
input.consume();
@@ -2319,14 +2319,14 @@
try {
int _type = FloatingPointLiteral;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:5: ( ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( Exponent )? ( FloatTypeSuffix )? | '.' ( '0' .. '9' )+ ( Exponent )? ( FloatTypeSuffix )? | ( '0' .. '9' )+ Exponent ( FloatTypeSuffix )? | ( '0' .. '9' )+ ( Exponent )? FloatTypeSuffix )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:5: ( ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( Exponent )? ( FloatTypeSuffix )? | '.' ( '0' .. '9' )+ ( Exponent )? ( FloatTypeSuffix )? | ( '0' .. '9' )+ Exponent ( FloatTypeSuffix )? | ( '0' .. '9' )+ ( Exponent )? FloatTypeSuffix )
int alt19=4;
alt19 = dfa19.predict(input);
switch (alt19) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:9: ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( Exponent )? ( FloatTypeSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:9: ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( Exponent )? ( FloatTypeSuffix )?
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:9: ( '0' .. '9' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:9: ( '0' .. '9' )+
int cnt8=0;
loop8:
do {
@@ -2340,7 +2340,7 @@
switch (alt8) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:10: '0' .. '9'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:10: '0' .. '9'
{
matchRange('0','9');
@@ -2357,7 +2357,7 @@
} while (true);
match('.');
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:25: ( '0' .. '9' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:25: ( '0' .. '9' )*
loop9:
do {
int alt9=2;
@@ -2370,7 +2370,7 @@
switch (alt9) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:26: '0' .. '9'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:26: '0' .. '9'
{
matchRange('0','9');
@@ -2382,7 +2382,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:37: ( Exponent )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:37: ( Exponent )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -2391,7 +2391,7 @@
}
switch (alt10) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:37: Exponent
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:37: Exponent
{
mExponent();
@@ -2400,7 +2400,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:47: ( FloatTypeSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:47: ( FloatTypeSuffix )?
int alt11=2;
int LA11_0 = input.LA(1);
@@ -2409,7 +2409,7 @@
}
switch (alt11) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:47: FloatTypeSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:973:47: FloatTypeSuffix
{
mFloatTypeSuffix();
@@ -2422,10 +2422,10 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:9: '.' ( '0' .. '9' )+ ( Exponent )? ( FloatTypeSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:9: '.' ( '0' .. '9' )+ ( Exponent )? ( FloatTypeSuffix )?
{
match('.');
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:13: ( '0' .. '9' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:13: ( '0' .. '9' )+
int cnt12=0;
loop12:
do {
@@ -2439,7 +2439,7 @@
switch (alt12) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:14: '0' .. '9'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:14: '0' .. '9'
{
matchRange('0','9');
@@ -2455,7 +2455,7 @@
cnt12++;
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:25: ( Exponent )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:25: ( Exponent )?
int alt13=2;
int LA13_0 = input.LA(1);
@@ -2464,7 +2464,7 @@
}
switch (alt13) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:25: Exponent
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:25: Exponent
{
mExponent();
@@ -2473,7 +2473,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:35: ( FloatTypeSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:35: ( FloatTypeSuffix )?
int alt14=2;
int LA14_0 = input.LA(1);
@@ -2482,7 +2482,7 @@
}
switch (alt14) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:35: FloatTypeSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:974:35: FloatTypeSuffix
{
mFloatTypeSuffix();
@@ -2495,9 +2495,9 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:975:9: ( '0' .. '9' )+ Exponent ( FloatTypeSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:975:9: ( '0' .. '9' )+ Exponent ( FloatTypeSuffix )?
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:975:9: ( '0' .. '9' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:975:9: ( '0' .. '9' )+
int cnt15=0;
loop15:
do {
@@ -2511,7 +2511,7 @@
switch (alt15) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:975:10: '0' .. '9'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:975:10: '0' .. '9'
{
matchRange('0','9');
@@ -2528,7 +2528,7 @@
} while (true);
mExponent();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:975:30: ( FloatTypeSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:975:30: ( FloatTypeSuffix )?
int alt16=2;
int LA16_0 = input.LA(1);
@@ -2537,7 +2537,7 @@
}
switch (alt16) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:975:30: FloatTypeSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:975:30: FloatTypeSuffix
{
mFloatTypeSuffix();
@@ -2550,9 +2550,9 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:976:9: ( '0' .. '9' )+ ( Exponent )? FloatTypeSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:976:9: ( '0' .. '9' )+ ( Exponent )? FloatTypeSuffix
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:976:9: ( '0' .. '9' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:976:9: ( '0' .. '9' )+
int cnt17=0;
loop17:
do {
@@ -2566,7 +2566,7 @@
switch (alt17) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:976:10: '0' .. '9'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:976:10: '0' .. '9'
{
matchRange('0','9');
@@ -2582,7 +2582,7 @@
cnt17++;
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:976:21: ( Exponent )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:976:21: ( Exponent )?
int alt18=2;
int LA18_0 = input.LA(1);
@@ -2591,7 +2591,7 @@
}
switch (alt18) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:976:21: Exponent
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:976:21: Exponent
{
mExponent();
@@ -2617,8 +2617,8 @@
// $ANTLR start "Exponent"
public final void mExponent() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:980:10: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:980:12: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:980:10: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:980:12: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+
{
if ( input.LA(1)=='E'||input.LA(1)=='e' ) {
input.consume();
@@ -2629,7 +2629,7 @@
recover(mse);
throw mse;}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:980:22: ( '+' | '-' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:980:22: ( '+' | '-' )?
int alt20=2;
int LA20_0 = input.LA(1);
@@ -2638,7 +2638,7 @@
}
switch (alt20) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( input.LA(1)=='+'||input.LA(1)=='-' ) {
input.consume();
@@ -2655,7 +2655,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:980:33: ( '0' .. '9' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:980:33: ( '0' .. '9' )+
int cnt21=0;
loop21:
do {
@@ -2669,7 +2669,7 @@
switch (alt21) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:980:34: '0' .. '9'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:980:34: '0' .. '9'
{
matchRange('0','9');
@@ -2697,8 +2697,8 @@
// $ANTLR start "FloatTypeSuffix"
public final void mFloatTypeSuffix() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:983:17: ( ( 'f' | 'F' | 'd' | 'D' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:983:19: ( 'f' | 'F' | 'd' | 'D' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:983:17: ( ( 'f' | 'F' | 'd' | 'D' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:983:19: ( 'f' | 'F' | 'd' | 'D' )
{
if ( input.LA(1)=='D'||input.LA(1)=='F'||input.LA(1)=='d'||input.LA(1)=='f' ) {
input.consume();
@@ -2723,11 +2723,11 @@
try {
int _type = CharacterLiteral;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:986:5: ( '\\'' ( EscapeSequence | ~ ( '\\'' | '\\\\' ) ) '\\'' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:986:9: '\\'' ( EscapeSequence | ~ ( '\\'' | '\\\\' ) ) '\\''
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:986:5: ( '\\'' ( EscapeSequence | ~ ( '\\'' | '\\\\' ) ) '\\'' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:986:9: '\\'' ( EscapeSequence | ~ ( '\\'' | '\\\\' ) ) '\\''
{
match('\'');
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:986:14: ( EscapeSequence | ~ ( '\\'' | '\\\\' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:986:14: ( EscapeSequence | ~ ( '\\'' | '\\\\' ) )
int alt22=2;
int LA22_0 = input.LA(1);
@@ -2745,14 +2745,14 @@
}
switch (alt22) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:986:16: EscapeSequence
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:986:16: EscapeSequence
{
mEscapeSequence();
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:986:33: ~ ( '\\'' | '\\\\' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:986:33: ~ ( '\\'' | '\\\\' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -2786,11 +2786,11 @@
try {
int _type = StringLiteral;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:990:5: ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:990:8: '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:990:5: ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:990:8: '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"'
{
match('\"');
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:990:12: ( EscapeSequence | ~ ( '\\\\' | '\"' ) )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:990:12: ( EscapeSequence | ~ ( '\\\\' | '\"' ) )*
loop23:
do {
int alt23=3;
@@ -2806,14 +2806,14 @@
switch (alt23) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:990:14: EscapeSequence
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:990:14: EscapeSequence
{
mEscapeSequence();
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:990:31: ~ ( '\\\\' | '\"' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:990:31: ~ ( '\\\\' | '\"' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -2848,7 +2848,7 @@
// $ANTLR start "EscapeSequence"
public final void mEscapeSequence() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:995:5: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | UnicodeEscape | OctalEscape )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:995:5: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | UnicodeEscape | OctalEscape )
int alt24=3;
int LA24_0 = input.LA(1);
@@ -2899,7 +2899,7 @@
}
switch (alt24) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:995:9: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:995:9: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' )
{
match('\\');
if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||input.LA(1)=='t' ) {
@@ -2915,14 +2915,14 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:996:9: UnicodeEscape
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:996:9: UnicodeEscape
{
mUnicodeEscape();
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:997:9: OctalEscape
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:997:9: OctalEscape
{
mOctalEscape();
@@ -2939,7 +2939,7 @@
// $ANTLR start "OctalEscape"
public final void mOctalEscape() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:5: ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:5: ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) )
int alt25=3;
int LA25_0 = input.LA(1);
@@ -2985,25 +2985,25 @@
}
switch (alt25) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:9: '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:9: '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' )
{
match('\\');
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:14: ( '0' .. '3' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:15: '0' .. '3'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:14: ( '0' .. '3' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:15: '0' .. '3'
{
matchRange('0','3');
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:25: ( '0' .. '7' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:26: '0' .. '7'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:25: ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:26: '0' .. '7'
{
matchRange('0','7');
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:36: ( '0' .. '7' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:37: '0' .. '7'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:36: ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1002:37: '0' .. '7'
{
matchRange('0','7');
@@ -3013,18 +3013,18 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1003:9: '\\\\' ( '0' .. '7' ) ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1003:9: '\\\\' ( '0' .. '7' ) ( '0' .. '7' )
{
match('\\');
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1003:14: ( '0' .. '7' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1003:15: '0' .. '7'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1003:14: ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1003:15: '0' .. '7'
{
matchRange('0','7');
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1003:25: ( '0' .. '7' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1003:26: '0' .. '7'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1003:25: ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1003:26: '0' .. '7'
{
matchRange('0','7');
@@ -3034,11 +3034,11 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1004:9: '\\\\' ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1004:9: '\\\\' ( '0' .. '7' )
{
match('\\');
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1004:14: ( '0' .. '7' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1004:15: '0' .. '7'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1004:14: ( '0' .. '7' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1004:15: '0' .. '7'
{
matchRange('0','7');
@@ -3058,8 +3058,8 @@
// $ANTLR start "UnicodeEscape"
public final void mUnicodeEscape() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1009:5: ( '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1009:9: '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1009:5: ( '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1009:9: '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit
{
match('\\');
match('u');
@@ -3081,8 +3081,8 @@
try {
int _type = ENUM;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1012:5: ( 'enum' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1012:7: 'enum'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1012:5: ( 'enum' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1012:7: 'enum'
{
match("enum");
@@ -3103,11 +3103,11 @@
try {
int _type = Identifier;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1016:5: ( Letter ( Letter | JavaIDDigit )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1016:9: Letter ( Letter | JavaIDDigit )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1016:5: ( Letter ( Letter | JavaIDDigit )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1016:9: Letter ( Letter | JavaIDDigit )*
{
mLetter();
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1016:16: ( Letter | JavaIDDigit )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1016:16: ( Letter | JavaIDDigit )*
loop26:
do {
int alt26=2;
@@ -3120,7 +3120,7 @@
switch (alt26) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( input.LA(1)=='$'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\u00C0' && input.LA(1)<='\u00D6')||(input.LA(1)>='\u00D8' && input.LA(1)<='\u00F6')||(input.LA(1)>='\u00F8' && input.LA(1)<='\u1FFF')||(input.LA(1)>='\u3040' && input.LA(1)<='\u318F')||(input.LA(1)>='\u3300' && input.LA(1)<='\u337F')||(input.LA(1)>='\u3400' && input.LA(1)<='\u3D2D')||(input.LA(1)>='\u4E00' && input.LA(1)<='\u9FFF')||(input.LA(1)>='\uF900' && input.LA(1)<='\uFAFF') ) {
input.consume();
@@ -3154,8 +3154,8 @@
// $ANTLR start "Letter"
public final void mLetter() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1024:5: ( '\\u0024' | '\\u0041' .. '\\u005a' | '\\u005f' | '\\u0061' .. '\\u007a' | '\\u00c0' .. '\\u00d6' | '\\u00d8' .. '\\u00f6' | '\\u00f8' .. '\\u00ff' | '\\u0100' .. '\\u1fff' | '\\u3040' .. '\\u318f' | '\\u3300' .. '\\u337f' | '\\u3400' .. '\\u3d2d' | '\\u4e00' .. '\\u9fff' | '\\uf900' .. '\\ufaff' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1024:5: ( '\\u0024' | '\\u0041' .. '\\u005a' | '\\u005f' | '\\u0061' .. '\\u007a' | '\\u00c0' .. '\\u00d6' | '\\u00d8' .. '\\u00f6' | '\\u00f8' .. '\\u00ff' | '\\u0100' .. '\\u1fff' | '\\u3040' .. '\\u318f' | '\\u3300' .. '\\u337f' | '\\u3400' .. '\\u3d2d' | '\\u4e00' .. '\\u9fff' | '\\uf900' .. '\\ufaff' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')||(input.LA(1)>='\u00C0' && input.LA(1)<='\u00D6')||(input.LA(1)>='\u00D8' && input.LA(1)<='\u00F6')||(input.LA(1)>='\u00F8' && input.LA(1)<='\u1FFF')||(input.LA(1)>='\u3040' && input.LA(1)<='\u318F')||(input.LA(1)>='\u3300' && input.LA(1)<='\u337F')||(input.LA(1)>='\u3400' && input.LA(1)<='\u3D2D')||(input.LA(1)>='\u4E00' && input.LA(1)<='\u9FFF')||(input.LA(1)>='\uF900' && input.LA(1)<='\uFAFF') ) {
input.consume();
@@ -3178,8 +3178,8 @@
// $ANTLR start "JavaIDDigit"
public final void mJavaIDDigit() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1041:5: ( '\\u0030' .. '\\u0039' | '\\u0660' .. '\\u0669' | '\\u06f0' .. '\\u06f9' | '\\u0966' .. '\\u096f' | '\\u09e6' .. '\\u09ef' | '\\u0a66' .. '\\u0a6f' | '\\u0ae6' .. '\\u0aef' | '\\u0b66' .. '\\u0b6f' | '\\u0be7' .. '\\u0bef' | '\\u0c66' .. '\\u0c6f' | '\\u0ce6' .. '\\u0cef' | '\\u0d66' .. '\\u0d6f' | '\\u0e50' .. '\\u0e59' | '\\u0ed0' .. '\\u0ed9' | '\\u1040' .. '\\u1049' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1041:5: ( '\\u0030' .. '\\u0039' | '\\u0660' .. '\\u0669' | '\\u06f0' .. '\\u06f9' | '\\u0966' .. '\\u096f' | '\\u09e6' .. '\\u09ef' | '\\u0a66' .. '\\u0a6f' | '\\u0ae6' .. '\\u0aef' | '\\u0b66' .. '\\u0b6f' | '\\u0be7' .. '\\u0bef' | '\\u0c66' .. '\\u0c6f' | '\\u0ce6' .. '\\u0cef' | '\\u0d66' .. '\\u0d6f' | '\\u0e50' .. '\\u0e59' | '\\u0ed0' .. '\\u0ed9' | '\\u1040' .. '\\u1049' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='\u0660' && input.LA(1)<='\u0669')||(input.LA(1)>='\u06F0' && input.LA(1)<='\u06F9')||(input.LA(1)>='\u0966' && input.LA(1)<='\u096F')||(input.LA(1)>='\u09E6' && input.LA(1)<='\u09EF')||(input.LA(1)>='\u0A66' && input.LA(1)<='\u0A6F')||(input.LA(1)>='\u0AE6' && input.LA(1)<='\u0AEF')||(input.LA(1)>='\u0B66' && input.LA(1)<='\u0B6F')||(input.LA(1)>='\u0BE7' && input.LA(1)<='\u0BEF')||(input.LA(1)>='\u0C66' && input.LA(1)<='\u0C6F')||(input.LA(1)>='\u0CE6' && input.LA(1)<='\u0CEF')||(input.LA(1)>='\u0D66' && input.LA(1)<='\u0D6F')||(input.LA(1)>='\u0E50' && input.LA(1)<='\u0E59')||(input.LA(1)>='\u0ED0' && input.LA(1)<='\u0ED9')||(input.LA(1)>='\u1040' && input.LA(1)<='\u1049') ) {
input.consume();
@@ -3204,8 +3204,8 @@
try {
int _type = WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1058:5: ( ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1058:8: ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1058:5: ( ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1058:8: ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' )
{
if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||(input.LA(1)>='\f' && input.LA(1)<='\r')||input.LA(1)==' ' ) {
input.consume();
@@ -3233,12 +3233,12 @@
try {
int _type = COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1062:5: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1062:9: '/*' ( options {greedy=false; } : . )* '*/'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1062:5: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1062:9: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1062:14: ( options {greedy=false; } : . )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1062:14: ( options {greedy=false; } : . )*
loop27:
do {
int alt27=2;
@@ -3263,7 +3263,7 @@
switch (alt27) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1062:42: .
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1062:42: .
{
matchAny();
@@ -3294,12 +3294,12 @@
try {
int _type = LINE_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1066:5: ( '//' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1066:7: '//' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1066:5: ( '//' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1066:7: '//' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n'
{
match("//");
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1066:12: (~ ( '\\n' | '\\r' ) )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1066:12: (~ ( '\\n' | '\\r' ) )*
loop28:
do {
int alt28=2;
@@ -3312,7 +3312,7 @@
switch (alt28) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1066:12: ~ ( '\\n' | '\\r' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1066:12: ~ ( '\\n' | '\\r' )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -3332,7 +3332,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1066:26: ( '\\r' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1066:26: ( '\\r' )?
int alt29=2;
int LA29_0 = input.LA(1);
@@ -3341,7 +3341,7 @@
}
switch (alt29) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1066:26: '\\r'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1066:26: '\\r'
{
match('\r');
@@ -3364,719 +3364,719 @@
// $ANTLR end "LINE_COMMENT"
public void mTokens() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:8: ( T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | T__97 | T__98 | T__99 | T__100 | T__101 | T__102 | T__103 | T__104 | T__105 | T__106 | T__107 | T__108 | T__109 | T__110 | T__111 | T__112 | T__113 | T__114 | HexLiteral | DecimalLiteral | OctalLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | !
ENUM | Identifier | WS | COMMENT | LINE_COMMENT )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:8: ( T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | T__97 | T__98 | T__99 | T__100 | T__101 | T__102 | T__103 | T__104 | T__105 | T__106 | T__107 | T__108 | T__109 | T__110 | T__111 | T__112 | T__113 | T__114 | HexLiteral | DecimalLiteral | OctalLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | ENUM |!
Identifier | WS | COMMENT | LINE_COMMENT )
int alt30=102;
alt30 = dfa30.predict(input);
switch (alt30) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:10: T__24
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:10: T__24
{
mT__24();
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:16: T__25
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:16: T__25
{
mT__25();
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:22: T__26
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:22: T__26
{
mT__26();
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:28: T__27
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:28: T__27
{
mT__27();
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:34: T__28
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:34: T__28
{
mT__28();
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:40: T__29
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:40: T__29
{
mT__29();
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:46: T__30
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:46: T__30
{
mT__30();
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:52: T__31
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:52: T__31
{
mT__31();
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:58: T__32
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:58: T__32
{
mT__32();
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:64: T__33
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:64: T__33
{
mT__33();
}
break;
case 11 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:70: T__34
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:70: T__34
{
mT__34();
}
break;
case 12 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:76: T__35
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:76: T__35
{
mT__35();
}
break;
case 13 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:82: T__36
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:82: T__36
{
mT__36();
}
break;
case 14 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:88: T__37
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:88: T__37
{
mT__37();
}
break;
case 15 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:94: T__38
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:94: T__38
{
mT__38();
}
break;
case 16 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:100: T__39
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:100: T__39
{
mT__39();
}
break;
case 17 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:106: T__40
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:106: T__40
{
mT__40();
}
break;
case 18 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:112: T__41
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:112: T__41
{
mT__41();
}
break;
case 19 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:118: T__42
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:118: T__42
{
mT__42();
}
break;
case 20 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:124: T__43
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:124: T__43
{
mT__43();
}
break;
case 21 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:130: T__44
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:130: T__44
{
mT__44();
}
break;
case 22 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:136: T__45
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:136: T__45
{
mT__45();
}
break;
case 23 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:142: T__46
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:142: T__46
{
mT__46();
}
break;
case 24 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:148: T__47
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:148: T__47
{
mT__47();
}
break;
case 25 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:154: T__48
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:154: T__48
{
mT__48();
}
break;
case 26 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:160: T__49
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:160: T__49
{
mT__49();
}
break;
case 27 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:166: T__50
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:166: T__50
{
mT__50();
}
break;
case 28 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:172: T__51
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:172: T__51
{
mT__51();
}
break;
case 29 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:178: T__52
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:178: T__52
{
mT__52();
}
break;
case 30 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:184: T__53
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:184: T__53
{
mT__53();
}
break;
case 31 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:190: T__54
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:190: T__54
{
mT__54();
}
break;
case 32 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:196: T__55
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:196: T__55
{
mT__55();
}
break;
case 33 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:202: T__56
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:202: T__56
{
mT__56();
}
break;
case 34 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:208: T__57
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:208: T__57
{
mT__57();
}
break;
case 35 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:214: T__58
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:214: T__58
{
mT__58();
}
break;
case 36 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:220: T__59
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:220: T__59
{
mT__59();
}
break;
case 37 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:226: T__60
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:226: T__60
{
mT__60();
}
break;
case 38 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:232: T__61
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:232: T__61
{
mT__61();
}
break;
case 39 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:238: T__62
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:238: T__62
{
mT__62();
}
break;
case 40 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:244: T__63
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:244: T__63
{
mT__63();
}
break;
case 41 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:250: T__64
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:250: T__64
{
mT__64();
}
break;
case 42 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:256: T__65
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:256: T__65
{
mT__65();
}
break;
case 43 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:262: T__66
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:262: T__66
{
mT__66();
}
break;
case 44 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:268: T__67
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:268: T__67
{
mT__67();
}
break;
case 45 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:274: T__68
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:274: T__68
{
mT__68();
}
break;
case 46 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:280: T__69
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:280: T__69
{
mT__69();
}
break;
case 47 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:286: T__70
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:286: T__70
{
mT__70();
}
break;
case 48 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:292: T__71
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:292: T__71
{
mT__71();
}
break;
case 49 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:298: T__72
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:298: T__72
{
mT__72();
}
break;
case 50 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:304: T__73
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:304: T__73
{
mT__73();
}
break;
case 51 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:310: T__74
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:310: T__74
{
mT__74();
}
break;
case 52 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:316: T__75
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:316: T__75
{
mT__75();
}
break;
case 53 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:322: T__76
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:322: T__76
{
mT__76();
}
break;
case 54 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:328: T__77
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:328: T__77
{
mT__77();
}
break;
case 55 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:334: T__78
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:334: T__78
{
mT__78();
}
break;
case 56 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:340: T__79
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:340: T__79
{
mT__79();
}
break;
case 57 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:346: T__80
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:346: T__80
{
mT__80();
}
break;
case 58 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:352: T__81
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:352: T__81
{
mT__81();
}
break;
case 59 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:358: T__82
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:358: T__82
{
mT__82();
}
break;
case 60 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:364: T__83
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:364: T__83
{
mT__83();
}
break;
case 61 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:370: T__84
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:370: T__84
{
mT__84();
}
break;
case 62 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:376: T__85
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:376: T__85
{
mT__85();
}
break;
case 63 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:382: T__86
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:382: T__86
{
mT__86();
}
break;
case 64 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:388: T__87
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:388: T__87
{
mT__87();
}
break;
case 65 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:394: T__88
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:394: T__88
{
mT__88();
}
break;
case 66 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:400: T__89
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:400: T__89
{
mT__89();
}
break;
case 67 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:406: T__90
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:406: T__90
{
mT__90();
}
break;
case 68 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:412: T__91
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:412: T__91
{
mT__91();
}
break;
case 69 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:418: T__92
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:418: T__92
{
mT__92();
}
break;
case 70 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:424: T__93
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:424: T__93
{
mT__93();
}
break;
case 71 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:430: T__94
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:430: T__94
{
mT__94();
}
break;
case 72 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:436: T__95
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:436: T__95
{
mT__95();
}
break;
case 73 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:442: T__96
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:442: T__96
{
mT__96();
}
break;
case 74 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:448: T__97
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:448: T__97
{
mT__97();
}
break;
case 75 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:454: T__98
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:454: T__98
{
mT__98();
}
break;
case 76 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:460: T__99
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:460: T__99
{
mT__99();
}
break;
case 77 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:466: T__100
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:466: T__100
{
mT__100();
}
break;
case 78 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:473: T__101
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:473: T__101
{
mT__101();
}
break;
case 79 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:480: T__102
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:480: T__102
{
mT__102();
}
break;
case 80 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:487: T__103
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:487: T__103
{
mT__103();
}
break;
case 81 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:494: T__104
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:494: T__104
{
mT__104();
}
break;
case 82 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:501: T__105
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:501: T__105
{
mT__105();
}
break;
case 83 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:508: T__106
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:508: T__106
{
mT__106();
}
break;
case 84 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:515: T__107
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:515: T__107
{
mT__107();
}
break;
case 85 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:522: T__108
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:522: T__108
{
mT__108();
}
break;
case 86 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:529: T__109
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:529: T__109
{
mT__109();
}
break;
case 87 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:536: T__110
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:536: T__110
{
mT__110();
}
break;
case 88 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:543: T__111
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:543: T__111
{
mT__111();
}
break;
case 89 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:550: T__112
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:550: T__112
{
mT__112();
}
break;
case 90 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:557: T__113
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:557: T__113
{
mT__113();
}
break;
case 91 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:564: T__114
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:564: T__114
{
mT__114();
}
break;
case 92 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:571: HexLiteral
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:571: HexLiteral
{
mHexLiteral();
}
break;
case 93 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:582: DecimalLiteral
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:582: DecimalLiteral
{
mDecimalLiteral();
}
break;
case 94 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:597: OctalLiteral
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:597: OctalLiteral
{
mOctalLiteral();
}
break;
case 95 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:610: FloatingPointLiteral
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:610: FloatingPointLiteral
{
mFloatingPointLiteral();
}
break;
case 96 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:631: CharacterLiteral
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:631: CharacterLiteral
{
mCharacterLiteral();
}
break;
case 97 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:648: StringLiteral
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:648: StringLiteral
{
mStringLiteral();
}
break;
case 98 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:662: ENUM
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:662: ENUM
{
mENUM();
}
break;
case 99 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:667: Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:667: Identifier
{
mIdentifier();
}
break;
case 100 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:678: WS
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:678: WS
{
mWS();
}
break;
case 101 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:681: COMMENT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:681: COMMENT
{
mCOMMENT();
}
break;
case 102 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:689: LINE_COMMENT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:1:689: LINE_COMMENT
{
mLINE_COMMENT();
@@ -4311,8 +4311,8 @@
"\1\173\5\uffff\1\172",
"\1\174",
"\1\176\1\175",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u0080\20\uffff\1\u0081",
@@ -4353,9 +4353,9 @@
"\1\u009f",
"\1\u00a0",
"\1\u00a1",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\24\56"+
- "\1\u00a2\5\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56"+
- "\u1040\uffff\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\24"+
+ "\56\1\u00a2\5\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08"+
+ "\56\u1040\uffff\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e"+
"\56\u10d2\uffff\u5200\56\u5900\uffff\u0200\56",
"\1\u00a4",
"\1\u00a5",
@@ -4415,8 +4415,8 @@
"\1\u00c3",
"\1\u00c4",
"\1\u00c5",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u00c7",
@@ -4424,14 +4424,14 @@
"\1\u00c9",
"\1\u00ca",
"\1\u00cb",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u00cd",
"\1\u00ce",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u00d0",
@@ -4461,38 +4461,38 @@
"\1\u00e5",
"\1\u00e6",
"\1\u00e7",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u00e9",
"\1\u00ea",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u00ec",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u00f0",
"\1\u00f1",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u00f3",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
@@ -4503,19 +4503,19 @@
"\1\u00f9",
"",
"\1\u00fa",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
"\1\u00fc",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u00fe",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u0100",
@@ -4534,23 +4534,23 @@
"\1\u010d",
"\1\u010e",
"\1\u010f",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u0112",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
"\1\u0114",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
@@ -4559,68 +4559,68 @@
"",
"",
"\1\u0117",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\22\56"+
- "\1\u0118\7\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56"+
- "\u1040\uffff\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\22"+
+ "\56\1\u0118\7\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08"+
+ "\56\u1040\uffff\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e"+
"\56\u10d2\uffff\u5200\56\u5900\uffff\u0200\56",
"",
"\1\u011a",
"",
"\1\u011b",
"\1\u011c",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\13\56"+
- "\1\u011d\16\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56"+
- "\u1040\uffff\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\13"+
+ "\56\1\u011d\16\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08"+
+ "\56\u1040\uffff\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e"+
"\56\u10d2\uffff\u5200\56\u5900\uffff\u0200\56",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u0121",
"",
"\1\u0122",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
"\1\u0124",
"\1\u0125",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u0127",
"\1\u0128",
"\1\u0129",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u012b",
"\1\u012c",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u012e",
"\1\u012f",
"\1\u0130",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u0132",
"\1\u0133",
"",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
@@ -4628,49 +4628,49 @@
"",
"\1\u0136",
"\1\u0137",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
"\1\u0139",
"\1\u013a",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u013c",
"",
"",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u013e",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u0140",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
"\1\u0144",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
@@ -4682,8 +4682,8 @@
"\1\u014a",
"",
"\1\u014b",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u014d",
@@ -4691,18 +4691,18 @@
"\1\u014e",
"\1\u014f",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
@@ -4713,35 +4713,35 @@
"\1\u0154",
"\1\u0155",
"\1\u0156",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u0158",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u015b",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
"",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u015e",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u0160",
@@ -4749,19 +4749,19 @@
"\1\u0161",
"",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
"\1\u0165",
@@ -4769,8 +4769,8 @@
"",
"",
"\1\u0166",
- "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56"+
- "\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
+ "\1\56\13\uffff\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32"+
+ "\56\105\uffff\27\56\1\uffff\37\56\1\uffff\u1f08\56\u1040\uffff"+
"\u0150\56\u0170\uffff\u0080\56\u0080\uffff\u092e\56\u10d2\uffff"+
"\u5200\56\u5900\uffff\u0200\56",
""
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaParser.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaParser.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/main/java/org/drools/rule/builder/dialect/java/parser/JavaParser.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -1,4 +1,4 @@
-// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g 2008-11-13 00:55:21
+// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g 2008-11-21 15:41:38
package org.drools.rule.builder.dialect.java.parser;
import java.util.Iterator;
@@ -212,14 +212,14 @@
}
public JavaParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
- this.state.ruleMemo = new HashMap[1+1];
+ this.state.ruleMemo = new HashMap[407+1];
}
public String[] getTokenNames() { return JavaParser.tokenNames; }
- public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g"; }
+ public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g"; }
private List identifiers = new ArrayList();
@@ -333,20 +333,20 @@
// $ANTLR start "compilationUnit"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:206:1: compilationUnit : ( annotations )? ( packageDeclaration )? ( importDeclaration )* ( typeDeclaration )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:206:1: compilationUnit : ( annotations )? ( packageDeclaration )? ( importDeclaration )* ( typeDeclaration )* ;
public final void compilationUnit() throws RecognitionException {
int compilationUnit_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 1) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:207:2: ( ( annotations )? ( packageDeclaration )? ( importDeclaration )* ( typeDeclaration )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:207:4: ( annotations )? ( packageDeclaration )? ( importDeclaration )* ( typeDeclaration )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:207:2: ( ( annotations )? ( packageDeclaration )? ( importDeclaration )* ( typeDeclaration )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:207:4: ( annotations )? ( packageDeclaration )? ( importDeclaration )* ( typeDeclaration )*
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:207:4: ( annotations )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:207:4: ( annotations )?
int alt1=2;
alt1 = dfa1.predict(input);
switch (alt1) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: annotations
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: annotations
{
pushFollow(FOLLOW_annotations_in_compilationUnit70);
annotations();
@@ -359,12 +359,12 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:208:3: ( packageDeclaration )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:208:3: ( packageDeclaration )?
int alt2=2;
alt2 = dfa2.predict(input);
switch (alt2) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: packageDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: packageDeclaration
{
pushFollow(FOLLOW_packageDeclaration_in_compilationUnit75);
packageDeclaration();
@@ -377,14 +377,14 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:209:9: ( importDeclaration )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:209:9: ( importDeclaration )*
loop3:
do {
int alt3=2;
alt3 = dfa3.predict(input);
switch (alt3) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: importDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: importDeclaration
{
pushFollow(FOLLOW_importDeclaration_in_compilationUnit86);
importDeclaration();
@@ -400,14 +400,14 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:210:9: ( typeDeclaration )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:210:9: ( typeDeclaration )*
loop4:
do {
int alt4=2;
alt4 = dfa4.predict(input);
switch (alt4) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: typeDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: typeDeclaration
{
pushFollow(FOLLOW_typeDeclaration_in_compilationUnit97);
typeDeclaration();
@@ -440,13 +440,13 @@
// $ANTLR start "packageDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:213:1: packageDeclaration : 'package' qualifiedName ';' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:213:1: packageDeclaration : 'package' qualifiedName ';' ;
public final void packageDeclaration() throws RecognitionException {
int packageDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 2) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:214:2: ( 'package' qualifiedName ';' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:214:4: 'package' qualifiedName ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:214:2: ( 'package' qualifiedName ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:214:4: 'package' qualifiedName ';'
{
match(input,24,FOLLOW_24_in_packageDeclaration109); if (state.failed) return ;
pushFollow(FOLLOW_qualifiedName_in_packageDeclaration111);
@@ -472,16 +472,16 @@
// $ANTLR start "importDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:217:1: importDeclaration : 'import' ( 'static' )? Identifier ( '.' Identifier )* ( '.' '*' )? ';' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:217:1: importDeclaration : 'import' ( 'static' )? Identifier ( '.' Identifier )* ( '.' '*' )? ';' ;
public final void importDeclaration() throws RecognitionException {
int importDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 3) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:2: ( 'import' ( 'static' )? Identifier ( '.' Identifier )* ( '.' '*' )? ';' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:4: 'import' ( 'static' )? Identifier ( '.' Identifier )* ( '.' '*' )? ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:2: ( 'import' ( 'static' )? Identifier ( '.' Identifier )* ( '.' '*' )? ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:4: 'import' ( 'static' )? Identifier ( '.' Identifier )* ( '.' '*' )? ';'
{
match(input,26,FOLLOW_26_in_importDeclaration125); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:13: ( 'static' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:13: ( 'static' )?
int alt5=2;
int LA5_0 = input.LA(1);
@@ -490,7 +490,7 @@
}
switch (alt5) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: 'static'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: 'static'
{
match(input,27,FOLLOW_27_in_importDeclaration127); if (state.failed) return ;
@@ -500,7 +500,7 @@
}
match(input,Identifier,FOLLOW_Identifier_in_importDeclaration130); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:34: ( '.' Identifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:34: ( '.' Identifier )*
loop6:
do {
int alt6=2;
@@ -519,7 +519,7 @@
switch (alt6) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:35: '.' Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:35: '.' Identifier
{
match(input,28,FOLLOW_28_in_importDeclaration133); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_importDeclaration135); if (state.failed) return ;
@@ -532,7 +532,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:52: ( '.' '*' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:52: ( '.' '*' )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -541,7 +541,7 @@
}
switch (alt7) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:53: '.' '*'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:218:53: '.' '*'
{
match(input,28,FOLLOW_28_in_importDeclaration140); if (state.failed) return ;
match(input,29,FOLLOW_29_in_importDeclaration142); if (state.failed) return ;
@@ -569,17 +569,17 @@
// $ANTLR start "typeDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:221:1: typeDeclaration : ( classOrInterfaceDeclaration | ';' );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:221:1: typeDeclaration : ( classOrInterfaceDeclaration | ';' );
public final void typeDeclaration() throws RecognitionException {
int typeDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 4) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:222:2: ( classOrInterfaceDeclaration | ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:222:2: ( classOrInterfaceDeclaration | ';' )
int alt8=2;
alt8 = dfa8.predict(input);
switch (alt8) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:222:4: classOrInterfaceDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:222:4: classOrInterfaceDeclaration
{
pushFollow(FOLLOW_classOrInterfaceDeclaration_in_typeDeclaration158);
classOrInterfaceDeclaration();
@@ -590,7 +590,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:223:9: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:223:9: ';'
{
match(input,25,FOLLOW_25_in_typeDeclaration168); if (state.failed) return ;
@@ -612,22 +612,22 @@
// $ANTLR start "classOrInterfaceDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:226:1: classOrInterfaceDeclaration : ( modifier )* ( classDeclaration | interfaceDeclaration ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:226:1: classOrInterfaceDeclaration : ( modifier )* ( classDeclaration | interfaceDeclaration ) ;
public final void classOrInterfaceDeclaration() throws RecognitionException {
int classOrInterfaceDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 5) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:2: ( ( modifier )* ( classDeclaration | interfaceDeclaration ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:4: ( modifier )* ( classDeclaration | interfaceDeclaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:2: ( ( modifier )* ( classDeclaration | interfaceDeclaration ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:4: ( modifier )* ( classDeclaration | interfaceDeclaration )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:4: ( modifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:4: ( modifier )*
loop9:
do {
int alt9=2;
alt9 = dfa9.predict(input);
switch (alt9) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: modifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: modifier
{
pushFollow(FOLLOW_modifier_in_classOrInterfaceDeclaration180);
modifier();
@@ -643,7 +643,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:14: ( classDeclaration | interfaceDeclaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:14: ( classDeclaration | interfaceDeclaration )
int alt10=2;
int LA10_0 = input.LA(1);
@@ -662,7 +662,7 @@
}
switch (alt10) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:15: classDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:15: classDeclaration
{
pushFollow(FOLLOW_classDeclaration_in_classOrInterfaceDeclaration184);
classDeclaration();
@@ -673,7 +673,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:34: interfaceDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:227:34: interfaceDeclaration
{
pushFollow(FOLLOW_interfaceDeclaration_in_classOrInterfaceDeclaration188);
interfaceDeclaration();
@@ -703,12 +703,12 @@
// $ANTLR start "classDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:230:1: classDeclaration : ( normalClassDeclaration | enumDeclaration );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:230:1: classDeclaration : ( normalClassDeclaration | enumDeclaration );
public final void classDeclaration() throws RecognitionException {
int classDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 6) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:231:2: ( normalClassDeclaration | enumDeclaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:231:2: ( normalClassDeclaration | enumDeclaration )
int alt11=2;
int LA11_0 = input.LA(1);
@@ -727,7 +727,7 @@
}
switch (alt11) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:231:4: normalClassDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:231:4: normalClassDeclaration
{
pushFollow(FOLLOW_normalClassDeclaration_in_classDeclaration201);
normalClassDeclaration();
@@ -738,7 +738,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:232:9: enumDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:232:9: enumDeclaration
{
pushFollow(FOLLOW_enumDeclaration_in_classDeclaration211);
enumDeclaration();
@@ -764,17 +764,17 @@
// $ANTLR start "normalClassDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:235:1: normalClassDeclaration : 'class' Identifier ( typeParameters )? ( 'extends' type )? ( 'implements' typeList )? classBody ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:235:1: normalClassDeclaration : 'class' Identifier ( typeParameters )? ( 'extends' type )? ( 'implements' typeList )? classBody ;
public final void normalClassDeclaration() throws RecognitionException {
int normalClassDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 7) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:236:2: ( 'class' Identifier ( typeParameters )? ( 'extends' type )? ( 'implements' typeList )? classBody )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:236:4: 'class' Identifier ( typeParameters )? ( 'extends' type )? ( 'implements' typeList )? classBody
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:236:2: ( 'class' Identifier ( typeParameters )? ( 'extends' type )? ( 'implements' typeList )? classBody )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:236:4: 'class' Identifier ( typeParameters )? ( 'extends' type )? ( 'implements' typeList )? classBody
{
match(input,30,FOLLOW_30_in_normalClassDeclaration223); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_normalClassDeclaration225); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:236:23: ( typeParameters )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:236:23: ( typeParameters )?
int alt12=2;
int LA12_0 = input.LA(1);
@@ -783,7 +783,7 @@
}
switch (alt12) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:236:24: typeParameters
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:236:24: typeParameters
{
pushFollow(FOLLOW_typeParameters_in_normalClassDeclaration228);
typeParameters();
@@ -796,7 +796,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:237:9: ( 'extends' type )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:237:9: ( 'extends' type )?
int alt13=2;
int LA13_0 = input.LA(1);
@@ -805,7 +805,7 @@
}
switch (alt13) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:237:10: 'extends' type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:237:10: 'extends' type
{
match(input,31,FOLLOW_31_in_normalClassDeclaration241); if (state.failed) return ;
pushFollow(FOLLOW_type_in_normalClassDeclaration243);
@@ -819,7 +819,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:238:9: ( 'implements' typeList )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:238:9: ( 'implements' typeList )?
int alt14=2;
int LA14_0 = input.LA(1);
@@ -828,7 +828,7 @@
}
switch (alt14) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:238:10: 'implements' typeList
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:238:10: 'implements' typeList
{
match(input,32,FOLLOW_32_in_normalClassDeclaration256); if (state.failed) return ;
pushFollow(FOLLOW_typeList_in_normalClassDeclaration258);
@@ -864,13 +864,13 @@
// $ANTLR start "typeParameters"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:242:1: typeParameters : '<' typeParameter ( ',' typeParameter )* '>' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:242:1: typeParameters : '<' typeParameter ( ',' typeParameter )* '>' ;
public final void typeParameters() throws RecognitionException {
int typeParameters_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 8) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:243:2: ( '<' typeParameter ( ',' typeParameter )* '>' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:243:4: '<' typeParameter ( ',' typeParameter )* '>'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:243:2: ( '<' typeParameter ( ',' typeParameter )* '>' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:243:4: '<' typeParameter ( ',' typeParameter )* '>'
{
match(input,33,FOLLOW_33_in_typeParameters282); if (state.failed) return ;
pushFollow(FOLLOW_typeParameter_in_typeParameters284);
@@ -878,7 +878,7 @@
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:243:22: ( ',' typeParameter )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:243:22: ( ',' typeParameter )*
loop15:
do {
int alt15=2;
@@ -891,7 +891,7 @@
switch (alt15) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:243:23: ',' typeParameter
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:243:23: ',' typeParameter
{
match(input,34,FOLLOW_34_in_typeParameters287); if (state.failed) return ;
pushFollow(FOLLOW_typeParameter_in_typeParameters289);
@@ -926,16 +926,16 @@
// $ANTLR start "typeParameter"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:246:1: typeParameter : Identifier ( 'extends' bound )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:246:1: typeParameter : Identifier ( 'extends' bound )? ;
public final void typeParameter() throws RecognitionException {
int typeParameter_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 9) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:247:2: ( Identifier ( 'extends' bound )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:247:4: Identifier ( 'extends' bound )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:247:2: ( Identifier ( 'extends' bound )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:247:4: Identifier ( 'extends' bound )?
{
match(input,Identifier,FOLLOW_Identifier_in_typeParameter304); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:247:15: ( 'extends' bound )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:247:15: ( 'extends' bound )?
int alt16=2;
int LA16_0 = input.LA(1);
@@ -944,7 +944,7 @@
}
switch (alt16) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:247:16: 'extends' bound
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:247:16: 'extends' bound
{
match(input,31,FOLLOW_31_in_typeParameter307); if (state.failed) return ;
pushFollow(FOLLOW_bound_in_typeParameter309);
@@ -975,20 +975,20 @@
// $ANTLR start "bound"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:250:1: bound : type ( '&' type )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:250:1: bound : type ( '&' type )* ;
public final void bound() throws RecognitionException {
int bound_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 10) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:251:2: ( type ( '&' type )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:251:4: type ( '&' type )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:251:2: ( type ( '&' type )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:251:4: type ( '&' type )*
{
pushFollow(FOLLOW_type_in_bound324);
type();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:251:9: ( '&' type )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:251:9: ( '&' type )*
loop17:
do {
int alt17=2;
@@ -1001,7 +1001,7 @@
switch (alt17) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:251:10: '&' type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:251:10: '&' type
{
match(input,36,FOLLOW_36_in_bound327); if (state.failed) return ;
pushFollow(FOLLOW_type_in_bound329);
@@ -1035,17 +1035,17 @@
// $ANTLR start "enumDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:254:1: enumDeclaration : ENUM Identifier ( 'implements' typeList )? enumBody ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:254:1: enumDeclaration : ENUM Identifier ( 'implements' typeList )? enumBody ;
public final void enumDeclaration() throws RecognitionException {
int enumDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 11) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:255:2: ( ENUM Identifier ( 'implements' typeList )? enumBody )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:255:4: ENUM Identifier ( 'implements' typeList )? enumBody
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:255:2: ( ENUM Identifier ( 'implements' typeList )? enumBody )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:255:4: ENUM Identifier ( 'implements' typeList )? enumBody
{
match(input,ENUM,FOLLOW_ENUM_in_enumDeclaration342); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_enumDeclaration344); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:255:20: ( 'implements' typeList )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:255:20: ( 'implements' typeList )?
int alt18=2;
int LA18_0 = input.LA(1);
@@ -1054,7 +1054,7 @@
}
switch (alt18) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:255:21: 'implements' typeList
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:255:21: 'implements' typeList
{
match(input,32,FOLLOW_32_in_enumDeclaration347); if (state.failed) return ;
pushFollow(FOLLOW_typeList_in_enumDeclaration349);
@@ -1090,16 +1090,16 @@
// $ANTLR start "enumBody"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:258:1: enumBody : '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:258:1: enumBody : '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}' ;
public final void enumBody() throws RecognitionException {
int enumBody_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 12) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:259:2: ( '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:259:4: '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:259:2: ( '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:259:4: '{' ( enumConstants )? ( ',' )? ( enumBodyDeclarations )? '}'
{
match(input,37,FOLLOW_37_in_enumBody365); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:259:8: ( enumConstants )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:259:8: ( enumConstants )?
int alt19=2;
int LA19_0 = input.LA(1);
@@ -1108,7 +1108,7 @@
}
switch (alt19) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: enumConstants
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: enumConstants
{
pushFollow(FOLLOW_enumConstants_in_enumBody367);
enumConstants();
@@ -1121,7 +1121,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:259:23: ( ',' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:259:23: ( ',' )?
int alt20=2;
int LA20_0 = input.LA(1);
@@ -1130,7 +1130,7 @@
}
switch (alt20) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ','
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ','
{
match(input,34,FOLLOW_34_in_enumBody370); if (state.failed) return ;
@@ -1139,7 +1139,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:259:28: ( enumBodyDeclarations )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:259:28: ( enumBodyDeclarations )?
int alt21=2;
int LA21_0 = input.LA(1);
@@ -1148,7 +1148,7 @@
}
switch (alt21) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: enumBodyDeclarations
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: enumBodyDeclarations
{
pushFollow(FOLLOW_enumBodyDeclarations_in_enumBody373);
enumBodyDeclarations();
@@ -1179,20 +1179,20 @@
// $ANTLR start "enumConstants"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:262:1: enumConstants : enumConstant ( ',' enumConstant )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:262:1: enumConstants : enumConstant ( ',' enumConstant )* ;
public final void enumConstants() throws RecognitionException {
int enumConstants_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 13) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:263:2: ( enumConstant ( ',' enumConstant )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:263:4: enumConstant ( ',' enumConstant )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:263:2: ( enumConstant ( ',' enumConstant )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:263:4: enumConstant ( ',' enumConstant )*
{
pushFollow(FOLLOW_enumConstant_in_enumConstants387);
enumConstant();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:263:17: ( ',' enumConstant )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:263:17: ( ',' enumConstant )*
loop22:
do {
int alt22=2;
@@ -1211,7 +1211,7 @@
switch (alt22) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:263:18: ',' enumConstant
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:263:18: ',' enumConstant
{
match(input,34,FOLLOW_34_in_enumConstants390); if (state.failed) return ;
pushFollow(FOLLOW_enumConstant_in_enumConstants392);
@@ -1245,15 +1245,15 @@
// $ANTLR start "enumConstant"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:266:1: enumConstant : ( annotations )? Identifier ( arguments )? ( classBody )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:266:1: enumConstant : ( annotations )? Identifier ( arguments )? ( classBody )? ;
public final void enumConstant() throws RecognitionException {
int enumConstant_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 14) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:2: ( ( annotations )? Identifier ( arguments )? ( classBody )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:4: ( annotations )? Identifier ( arguments )? ( classBody )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:2: ( ( annotations )? Identifier ( arguments )? ( classBody )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:4: ( annotations )? Identifier ( arguments )? ( classBody )?
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:4: ( annotations )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:4: ( annotations )?
int alt23=2;
int LA23_0 = input.LA(1);
@@ -1262,7 +1262,7 @@
}
switch (alt23) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: annotations
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: annotations
{
pushFollow(FOLLOW_annotations_in_enumConstant406);
annotations();
@@ -1276,7 +1276,7 @@
}
match(input,Identifier,FOLLOW_Identifier_in_enumConstant409); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:28: ( arguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:28: ( arguments )?
int alt24=2;
int LA24_0 = input.LA(1);
@@ -1285,7 +1285,7 @@
}
switch (alt24) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:29: arguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:29: arguments
{
pushFollow(FOLLOW_arguments_in_enumConstant412);
arguments();
@@ -1298,7 +1298,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:41: ( classBody )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:41: ( classBody )?
int alt25=2;
int LA25_0 = input.LA(1);
@@ -1307,7 +1307,7 @@
}
switch (alt25) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:42: classBody
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:267:42: classBody
{
pushFollow(FOLLOW_classBody_in_enumConstant417);
classBody();
@@ -1337,23 +1337,23 @@
// $ANTLR start "enumBodyDeclarations"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:270:1: enumBodyDeclarations : ';' ( classBodyDeclaration )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:270:1: enumBodyDeclarations : ';' ( classBodyDeclaration )* ;
public final void enumBodyDeclarations() throws RecognitionException {
int enumBodyDeclarations_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 15) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:271:2: ( ';' ( classBodyDeclaration )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:271:4: ';' ( classBodyDeclaration )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:271:2: ( ';' ( classBodyDeclaration )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:271:4: ';' ( classBodyDeclaration )*
{
match(input,25,FOLLOW_25_in_enumBodyDeclarations431); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:271:8: ( classBodyDeclaration )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:271:8: ( classBodyDeclaration )*
loop26:
do {
int alt26=2;
alt26 = dfa26.predict(input);
switch (alt26) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:271:9: classBodyDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:271:9: classBodyDeclaration
{
pushFollow(FOLLOW_classBodyDeclaration_in_enumBodyDeclarations434);
classBodyDeclaration();
@@ -1386,12 +1386,12 @@
// $ANTLR start "interfaceDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:274:1: interfaceDeclaration : ( normalInterfaceDeclaration | annotationTypeDeclaration );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:274:1: interfaceDeclaration : ( normalInterfaceDeclaration | annotationTypeDeclaration );
public final void interfaceDeclaration() throws RecognitionException {
int interfaceDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 16) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:275:2: ( normalInterfaceDeclaration | annotationTypeDeclaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:275:2: ( normalInterfaceDeclaration | annotationTypeDeclaration )
int alt27=2;
int LA27_0 = input.LA(1);
@@ -1410,7 +1410,7 @@
}
switch (alt27) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:275:4: normalInterfaceDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:275:4: normalInterfaceDeclaration
{
pushFollow(FOLLOW_normalInterfaceDeclaration_in_interfaceDeclaration448);
normalInterfaceDeclaration();
@@ -1421,7 +1421,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:276:5: annotationTypeDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:276:5: annotationTypeDeclaration
{
pushFollow(FOLLOW_annotationTypeDeclaration_in_interfaceDeclaration454);
annotationTypeDeclaration();
@@ -1447,17 +1447,17 @@
// $ANTLR start "normalInterfaceDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:279:1: normalInterfaceDeclaration : 'interface' Identifier ( typeParameters )? ( 'extends' typeList )? interfaceBody ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:279:1: normalInterfaceDeclaration : 'interface' Identifier ( typeParameters )? ( 'extends' typeList )? interfaceBody ;
public final void normalInterfaceDeclaration() throws RecognitionException {
int normalInterfaceDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 17) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:280:2: ( 'interface' Identifier ( typeParameters )? ( 'extends' typeList )? interfaceBody )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:280:4: 'interface' Identifier ( typeParameters )? ( 'extends' typeList )? interfaceBody
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:280:2: ( 'interface' Identifier ( typeParameters )? ( 'extends' typeList )? interfaceBody )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:280:4: 'interface' Identifier ( typeParameters )? ( 'extends' typeList )? interfaceBody
{
match(input,39,FOLLOW_39_in_normalInterfaceDeclaration466); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_normalInterfaceDeclaration468); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:280:27: ( typeParameters )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:280:27: ( typeParameters )?
int alt28=2;
int LA28_0 = input.LA(1);
@@ -1466,7 +1466,7 @@
}
switch (alt28) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: typeParameters
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: typeParameters
{
pushFollow(FOLLOW_typeParameters_in_normalInterfaceDeclaration470);
typeParameters();
@@ -1479,7 +1479,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:280:43: ( 'extends' typeList )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:280:43: ( 'extends' typeList )?
int alt29=2;
int LA29_0 = input.LA(1);
@@ -1488,7 +1488,7 @@
}
switch (alt29) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:280:44: 'extends' typeList
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:280:44: 'extends' typeList
{
match(input,31,FOLLOW_31_in_normalInterfaceDeclaration474); if (state.failed) return ;
pushFollow(FOLLOW_typeList_in_normalInterfaceDeclaration476);
@@ -1524,20 +1524,20 @@
// $ANTLR start "typeList"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:283:1: typeList : type ( ',' type )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:283:1: typeList : type ( ',' type )* ;
public final void typeList() throws RecognitionException {
int typeList_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 18) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:284:2: ( type ( ',' type )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:284:4: type ( ',' type )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:284:2: ( type ( ',' type )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:284:4: type ( ',' type )*
{
pushFollow(FOLLOW_type_in_typeList492);
type();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:284:9: ( ',' type )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:284:9: ( ',' type )*
loop30:
do {
int alt30=2;
@@ -1550,7 +1550,7 @@
switch (alt30) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:284:10: ',' type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:284:10: ',' type
{
match(input,34,FOLLOW_34_in_typeList495); if (state.failed) return ;
pushFollow(FOLLOW_type_in_typeList497);
@@ -1584,23 +1584,23 @@
// $ANTLR start "classBody"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:287:1: classBody : '{' ( classBodyDeclaration )* '}' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:287:1: classBody : '{' ( classBodyDeclaration )* '}' ;
public final void classBody() throws RecognitionException {
int classBody_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 19) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:288:2: ( '{' ( classBodyDeclaration )* '}' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:288:4: '{' ( classBodyDeclaration )* '}'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:288:2: ( '{' ( classBodyDeclaration )* '}' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:288:4: '{' ( classBodyDeclaration )* '}'
{
match(input,37,FOLLOW_37_in_classBody511); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:288:8: ( classBodyDeclaration )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:288:8: ( classBodyDeclaration )*
loop31:
do {
int alt31=2;
alt31 = dfa31.predict(input);
switch (alt31) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: classBodyDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: classBodyDeclaration
{
pushFollow(FOLLOW_classBodyDeclaration_in_classBody513);
classBodyDeclaration();
@@ -1634,23 +1634,23 @@
// $ANTLR start "interfaceBody"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:291:1: interfaceBody : '{' ( interfaceBodyDeclaration )* '}' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:291:1: interfaceBody : '{' ( interfaceBodyDeclaration )* '}' ;
public final void interfaceBody() throws RecognitionException {
int interfaceBody_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 20) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:292:2: ( '{' ( interfaceBodyDeclaration )* '}' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:292:4: '{' ( interfaceBodyDeclaration )* '}'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:292:2: ( '{' ( interfaceBodyDeclaration )* '}' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:292:4: '{' ( interfaceBodyDeclaration )* '}'
{
match(input,37,FOLLOW_37_in_interfaceBody528); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:292:8: ( interfaceBodyDeclaration )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:292:8: ( interfaceBodyDeclaration )*
loop32:
do {
int alt32=2;
alt32 = dfa32.predict(input);
switch (alt32) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: interfaceBodyDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: interfaceBodyDeclaration
{
pushFollow(FOLLOW_interfaceBodyDeclaration_in_interfaceBody530);
interfaceBodyDeclaration();
@@ -1684,26 +1684,26 @@
// $ANTLR start "classBodyDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:295:1: classBodyDeclaration : ( ';' | ( 'static' )? block | ( modifier )* memberDecl );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:295:1: classBodyDeclaration : ( ';' | ( 'static' )? block | ( modifier )* memberDecl );
public final void classBodyDeclaration() throws RecognitionException {
int classBodyDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 21) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:296:2: ( ';' | ( 'static' )? block | ( modifier )* memberDecl )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:296:2: ( ';' | ( 'static' )? block | ( modifier )* memberDecl )
int alt35=3;
alt35 = dfa35.predict(input);
switch (alt35) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:296:4: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:296:4: ';'
{
match(input,25,FOLLOW_25_in_classBodyDeclaration544); if (state.failed) return ;
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:297:4: ( 'static' )? block
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:297:4: ( 'static' )? block
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:297:4: ( 'static' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:297:4: ( 'static' )?
int alt33=2;
int LA33_0 = input.LA(1);
@@ -1712,7 +1712,7 @@
}
switch (alt33) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: 'static'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: 'static'
{
match(input,27,FOLLOW_27_in_classBodyDeclaration549); if (state.failed) return ;
@@ -1730,16 +1730,16 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:298:4: ( modifier )* memberDecl
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:298:4: ( modifier )* memberDecl
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:298:4: ( modifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:298:4: ( modifier )*
loop34:
do {
int alt34=2;
alt34 = dfa34.predict(input);
switch (alt34) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: modifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: modifier
{
pushFollow(FOLLOW_modifier_in_classBodyDeclaration557);
modifier();
@@ -1779,17 +1779,17 @@
// $ANTLR start "memberDecl"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:301:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:301:1: memberDecl : ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration );
public final void memberDecl() throws RecognitionException {
int memberDecl_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 22) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:302:2: ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:302:2: ( genericMethodOrConstructorDecl | methodDeclaration | fieldDeclaration | 'void' Identifier voidMethodDeclaratorRest | Identifier constructorDeclaratorRest | interfaceDeclaration | classDeclaration )
int alt36=7;
alt36 = dfa36.predict(input);
switch (alt36) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:302:4: genericMethodOrConstructorDecl
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:302:4: genericMethodOrConstructorDecl
{
pushFollow(FOLLOW_genericMethodOrConstructorDecl_in_memberDecl572);
genericMethodOrConstructorDecl();
@@ -1800,7 +1800,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:303:4: methodDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:303:4: methodDeclaration
{
pushFollow(FOLLOW_methodDeclaration_in_memberDecl577);
methodDeclaration();
@@ -1811,7 +1811,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:304:4: fieldDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:304:4: fieldDeclaration
{
pushFollow(FOLLOW_fieldDeclaration_in_memberDecl582);
fieldDeclaration();
@@ -1822,7 +1822,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:305:4: 'void' Identifier voidMethodDeclaratorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:305:4: 'void' Identifier voidMethodDeclaratorRest
{
match(input,40,FOLLOW_40_in_memberDecl587); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_memberDecl589); if (state.failed) return ;
@@ -1835,7 +1835,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:306:4: Identifier constructorDeclaratorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:306:4: Identifier constructorDeclaratorRest
{
match(input,Identifier,FOLLOW_Identifier_in_memberDecl596); if (state.failed) return ;
pushFollow(FOLLOW_constructorDeclaratorRest_in_memberDecl598);
@@ -1847,7 +1847,7 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:307:4: interfaceDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:307:4: interfaceDeclaration
{
pushFollow(FOLLOW_interfaceDeclaration_in_memberDecl603);
interfaceDeclaration();
@@ -1858,7 +1858,7 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:308:4: classDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:308:4: classDeclaration
{
pushFollow(FOLLOW_classDeclaration_in_memberDecl608);
classDeclaration();
@@ -1884,13 +1884,13 @@
// $ANTLR start "genericMethodOrConstructorDecl"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:311:1: genericMethodOrConstructorDecl : typeParameters genericMethodOrConstructorRest ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:311:1: genericMethodOrConstructorDecl : typeParameters genericMethodOrConstructorRest ;
public final void genericMethodOrConstructorDecl() throws RecognitionException {
int genericMethodOrConstructorDecl_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 23) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:312:2: ( typeParameters genericMethodOrConstructorRest )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:312:4: typeParameters genericMethodOrConstructorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:312:2: ( typeParameters genericMethodOrConstructorRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:312:4: typeParameters genericMethodOrConstructorRest
{
pushFollow(FOLLOW_typeParameters_in_genericMethodOrConstructorDecl620);
typeParameters();
@@ -1919,12 +1919,12 @@
// $ANTLR start "genericMethodOrConstructorRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:315:1: genericMethodOrConstructorRest : ( ( type | 'void' ) Identifier methodDeclaratorRest | Identifier constructorDeclaratorRest );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:315:1: genericMethodOrConstructorRest : ( ( type | 'void' ) Identifier methodDeclaratorRest | Identifier constructorDeclaratorRest );
public final void genericMethodOrConstructorRest() throws RecognitionException {
int genericMethodOrConstructorRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 24) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:316:2: ( ( type | 'void' ) Identifier methodDeclaratorRest | Identifier constructorDeclaratorRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:316:2: ( ( type | 'void' ) Identifier methodDeclaratorRest | Identifier constructorDeclaratorRest )
int alt38=2;
int LA38_0 = input.LA(1);
@@ -1957,9 +1957,9 @@
}
switch (alt38) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:316:4: ( type | 'void' ) Identifier methodDeclaratorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:316:4: ( type | 'void' ) Identifier methodDeclaratorRest
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:316:4: ( type | 'void' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:316:4: ( type | 'void' )
int alt37=2;
int LA37_0 = input.LA(1);
@@ -1978,7 +1978,7 @@
}
switch (alt37) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:316:5: type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:316:5: type
{
pushFollow(FOLLOW_type_in_genericMethodOrConstructorRest635);
type();
@@ -1989,7 +1989,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:316:12: 'void'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:316:12: 'void'
{
match(input,40,FOLLOW_40_in_genericMethodOrConstructorRest639); if (state.failed) return ;
@@ -2008,7 +2008,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:317:4: Identifier constructorDeclaratorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:317:4: Identifier constructorDeclaratorRest
{
match(input,Identifier,FOLLOW_Identifier_in_genericMethodOrConstructorRest649); if (state.failed) return ;
pushFollow(FOLLOW_constructorDeclaratorRest_in_genericMethodOrConstructorRest651);
@@ -2035,13 +2035,13 @@
// $ANTLR start "methodDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:320:1: methodDeclaration : type Identifier methodDeclaratorRest ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:320:1: methodDeclaration : type Identifier methodDeclaratorRest ;
public final void methodDeclaration() throws RecognitionException {
int methodDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 25) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:321:2: ( type Identifier methodDeclaratorRest )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:321:4: type Identifier methodDeclaratorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:321:2: ( type Identifier methodDeclaratorRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:321:4: type Identifier methodDeclaratorRest
{
pushFollow(FOLLOW_type_in_methodDeclaration662);
type();
@@ -2071,13 +2071,13 @@
// $ANTLR start "fieldDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:324:1: fieldDeclaration : type variableDeclarators ';' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:324:1: fieldDeclaration : type variableDeclarators ';' ;
public final void fieldDeclaration() throws RecognitionException {
int fieldDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 26) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:325:2: ( type variableDeclarators ';' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:325:4: type variableDeclarators ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:325:2: ( type variableDeclarators ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:325:4: type variableDeclarators ';'
{
pushFollow(FOLLOW_type_in_fieldDeclaration677);
type();
@@ -2107,26 +2107,26 @@
// $ANTLR start "interfaceBodyDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:328:1: interfaceBodyDeclaration : ( ( modifier )* interfaceMemberDecl | ';' );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:328:1: interfaceBodyDeclaration : ( ( modifier )* interfaceMemberDecl | ';' );
public final void interfaceBodyDeclaration() throws RecognitionException {
int interfaceBodyDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 27) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:329:2: ( ( modifier )* interfaceMemberDecl | ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:329:2: ( ( modifier )* interfaceMemberDecl | ';' )
int alt40=2;
alt40 = dfa40.predict(input);
switch (alt40) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:329:4: ( modifier )* interfaceMemberDecl
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:329:4: ( modifier )* interfaceMemberDecl
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:329:4: ( modifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:329:4: ( modifier )*
loop39:
do {
int alt39=2;
alt39 = dfa39.predict(input);
switch (alt39) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: modifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: modifier
{
pushFollow(FOLLOW_modifier_in_interfaceBodyDeclaration694);
modifier();
@@ -2151,7 +2151,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:330:6: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:330:6: ';'
{
match(input,25,FOLLOW_25_in_interfaceBodyDeclaration704); if (state.failed) return ;
@@ -2173,12 +2173,12 @@
// $ANTLR start "interfaceMemberDecl"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:333:1: interfaceMemberDecl : ( interfaceMethodOrFieldDecl | interfaceGenericMethodDecl | 'void' Identifier voidInterfaceMethodDeclaratorRest | interfaceDeclaration | classDeclaration );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:333:1: interfaceMemberDecl : ( interfaceMethodOrFieldDecl | interfaceGenericMethodDecl | 'void' Identifier voidInterfaceMethodDeclaratorRest | interfaceDeclaration | classDeclaration );
public final void interfaceMemberDecl() throws RecognitionException {
int interfaceMemberDecl_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 28) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:334:2: ( interfaceMethodOrFieldDecl | interfaceGenericMethodDecl | 'void' Identifier voidInterfaceMethodDeclaratorRest | interfaceDeclaration | classDeclaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:334:2: ( interfaceMethodOrFieldDecl | interfaceGenericMethodDecl | 'void' Identifier voidInterfaceMethodDeclaratorRest | interfaceDeclaration | classDeclaration )
int alt41=5;
switch ( input.LA(1) ) {
case Identifier:
@@ -2226,7 +2226,7 @@
switch (alt41) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:334:4: interfaceMethodOrFieldDecl
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:334:4: interfaceMethodOrFieldDecl
{
pushFollow(FOLLOW_interfaceMethodOrFieldDecl_in_interfaceMemberDecl715);
interfaceMethodOrFieldDecl();
@@ -2237,7 +2237,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:335:6: interfaceGenericMethodDecl
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:335:6: interfaceGenericMethodDecl
{
pushFollow(FOLLOW_interfaceGenericMethodDecl_in_interfaceMemberDecl722);
interfaceGenericMethodDecl();
@@ -2248,7 +2248,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:336:9: 'void' Identifier voidInterfaceMethodDeclaratorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:336:9: 'void' Identifier voidInterfaceMethodDeclaratorRest
{
match(input,40,FOLLOW_40_in_interfaceMemberDecl732); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_interfaceMemberDecl734); if (state.failed) return ;
@@ -2261,7 +2261,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:337:9: interfaceDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:337:9: interfaceDeclaration
{
pushFollow(FOLLOW_interfaceDeclaration_in_interfaceMemberDecl746);
interfaceDeclaration();
@@ -2272,7 +2272,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:338:9: classDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:338:9: classDeclaration
{
pushFollow(FOLLOW_classDeclaration_in_interfaceMemberDecl756);
classDeclaration();
@@ -2298,13 +2298,13 @@
// $ANTLR start "interfaceMethodOrFieldDecl"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:341:1: interfaceMethodOrFieldDecl : type Identifier interfaceMethodOrFieldRest ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:341:1: interfaceMethodOrFieldDecl : type Identifier interfaceMethodOrFieldRest ;
public final void interfaceMethodOrFieldDecl() throws RecognitionException {
int interfaceMethodOrFieldDecl_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 29) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:342:2: ( type Identifier interfaceMethodOrFieldRest )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:342:4: type Identifier interfaceMethodOrFieldRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:342:2: ( type Identifier interfaceMethodOrFieldRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:342:4: type Identifier interfaceMethodOrFieldRest
{
pushFollow(FOLLOW_type_in_interfaceMethodOrFieldDecl768);
type();
@@ -2334,12 +2334,12 @@
// $ANTLR start "interfaceMethodOrFieldRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:345:1: interfaceMethodOrFieldRest : ( constantDeclaratorsRest ';' | interfaceMethodDeclaratorRest );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:345:1: interfaceMethodOrFieldRest : ( constantDeclaratorsRest ';' | interfaceMethodDeclaratorRest );
public final void interfaceMethodOrFieldRest() throws RecognitionException {
int interfaceMethodOrFieldRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 30) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:346:2: ( constantDeclaratorsRest ';' | interfaceMethodDeclaratorRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:346:2: ( constantDeclaratorsRest ';' | interfaceMethodDeclaratorRest )
int alt42=2;
int LA42_0 = input.LA(1);
@@ -2358,7 +2358,7 @@
}
switch (alt42) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:346:4: constantDeclaratorsRest ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:346:4: constantDeclaratorsRest ';'
{
pushFollow(FOLLOW_constantDeclaratorsRest_in_interfaceMethodOrFieldRest784);
constantDeclaratorsRest();
@@ -2370,7 +2370,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:347:4: interfaceMethodDeclaratorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:347:4: interfaceMethodDeclaratorRest
{
pushFollow(FOLLOW_interfaceMethodDeclaratorRest_in_interfaceMethodOrFieldRest791);
interfaceMethodDeclaratorRest();
@@ -2396,20 +2396,20 @@
// $ANTLR start "methodDeclaratorRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:350:1: methodDeclaratorRest : formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:350:1: methodDeclaratorRest : formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' ) ;
public final void methodDeclaratorRest() throws RecognitionException {
int methodDeclaratorRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 31) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:351:2: ( formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:351:4: formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:351:2: ( formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:351:4: formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ( methodBody | ';' )
{
pushFollow(FOLLOW_formalParameters_in_methodDeclaratorRest803);
formalParameters();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:351:21: ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:351:21: ( '[' ']' )*
loop43:
do {
int alt43=2;
@@ -2422,7 +2422,7 @@
switch (alt43) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:351:22: '[' ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:351:22: '[' ']'
{
match(input,41,FOLLOW_41_in_methodDeclaratorRest806); if (state.failed) return ;
match(input,42,FOLLOW_42_in_methodDeclaratorRest808); if (state.failed) return ;
@@ -2435,7 +2435,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:352:9: ( 'throws' qualifiedNameList )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:352:9: ( 'throws' qualifiedNameList )?
int alt44=2;
int LA44_0 = input.LA(1);
@@ -2444,7 +2444,7 @@
}
switch (alt44) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:352:10: 'throws' qualifiedNameList
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:352:10: 'throws' qualifiedNameList
{
match(input,43,FOLLOW_43_in_methodDeclaratorRest821); if (state.failed) return ;
pushFollow(FOLLOW_qualifiedNameList_in_methodDeclaratorRest823);
@@ -2458,7 +2458,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:353:9: ( methodBody | ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:353:9: ( methodBody | ';' )
int alt45=2;
int LA45_0 = input.LA(1);
@@ -2477,7 +2477,7 @@
}
switch (alt45) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:353:13: methodBody
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:353:13: methodBody
{
pushFollow(FOLLOW_methodBody_in_methodDeclaratorRest839);
methodBody();
@@ -2488,7 +2488,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:354:13: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:354:13: ';'
{
match(input,25,FOLLOW_25_in_methodDeclaratorRest853); if (state.failed) return ;
@@ -2514,20 +2514,20 @@
// $ANTLR start "voidMethodDeclaratorRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:358:1: voidMethodDeclaratorRest : formalParameters ( 'throws' qualifiedNameList )? ( methodBody | ';' ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:358:1: voidMethodDeclaratorRest : formalParameters ( 'throws' qualifiedNameList )? ( methodBody | ';' ) ;
public final void voidMethodDeclaratorRest() throws RecognitionException {
int voidMethodDeclaratorRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 32) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:359:2: ( formalParameters ( 'throws' qualifiedNameList )? ( methodBody | ';' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:359:4: formalParameters ( 'throws' qualifiedNameList )? ( methodBody | ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:359:2: ( formalParameters ( 'throws' qualifiedNameList )? ( methodBody | ';' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:359:4: formalParameters ( 'throws' qualifiedNameList )? ( methodBody | ';' )
{
pushFollow(FOLLOW_formalParameters_in_voidMethodDeclaratorRest875);
formalParameters();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:359:21: ( 'throws' qualifiedNameList )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:359:21: ( 'throws' qualifiedNameList )?
int alt46=2;
int LA46_0 = input.LA(1);
@@ -2536,7 +2536,7 @@
}
switch (alt46) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:359:22: 'throws' qualifiedNameList
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:359:22: 'throws' qualifiedNameList
{
match(input,43,FOLLOW_43_in_voidMethodDeclaratorRest878); if (state.failed) return ;
pushFollow(FOLLOW_qualifiedNameList_in_voidMethodDeclaratorRest880);
@@ -2550,7 +2550,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:360:9: ( methodBody | ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:360:9: ( methodBody | ';' )
int alt47=2;
int LA47_0 = input.LA(1);
@@ -2569,7 +2569,7 @@
}
switch (alt47) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:360:13: methodBody
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:360:13: methodBody
{
pushFollow(FOLLOW_methodBody_in_voidMethodDeclaratorRest896);
methodBody();
@@ -2580,7 +2580,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:361:13: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:361:13: ';'
{
match(input,25,FOLLOW_25_in_voidMethodDeclaratorRest910); if (state.failed) return ;
@@ -2606,20 +2606,20 @@
// $ANTLR start "interfaceMethodDeclaratorRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:365:1: interfaceMethodDeclaratorRest : formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ';' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:365:1: interfaceMethodDeclaratorRest : formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ';' ;
public final void interfaceMethodDeclaratorRest() throws RecognitionException {
int interfaceMethodDeclaratorRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 33) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:2: ( formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ';' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:4: formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:2: ( formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:4: formalParameters ( '[' ']' )* ( 'throws' qualifiedNameList )? ';'
{
pushFollow(FOLLOW_formalParameters_in_interfaceMethodDeclaratorRest932);
formalParameters();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:21: ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:21: ( '[' ']' )*
loop48:
do {
int alt48=2;
@@ -2632,7 +2632,7 @@
switch (alt48) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:22: '[' ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:22: '[' ']'
{
match(input,41,FOLLOW_41_in_interfaceMethodDeclaratorRest935); if (state.failed) return ;
match(input,42,FOLLOW_42_in_interfaceMethodDeclaratorRest937); if (state.failed) return ;
@@ -2645,7 +2645,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:32: ( 'throws' qualifiedNameList )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:32: ( 'throws' qualifiedNameList )?
int alt49=2;
int LA49_0 = input.LA(1);
@@ -2654,7 +2654,7 @@
}
switch (alt49) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:33: 'throws' qualifiedNameList
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:366:33: 'throws' qualifiedNameList
{
match(input,43,FOLLOW_43_in_interfaceMethodDeclaratorRest942); if (state.failed) return ;
pushFollow(FOLLOW_qualifiedNameList_in_interfaceMethodDeclaratorRest944);
@@ -2686,20 +2686,20 @@
// $ANTLR start "interfaceGenericMethodDecl"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:369:1: interfaceGenericMethodDecl : typeParameters ( type | 'void' ) Identifier interfaceMethodDeclaratorRest ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:369:1: interfaceGenericMethodDecl : typeParameters ( type | 'void' ) Identifier interfaceMethodDeclaratorRest ;
public final void interfaceGenericMethodDecl() throws RecognitionException {
int interfaceGenericMethodDecl_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 34) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:2: ( typeParameters ( type | 'void' ) Identifier interfaceMethodDeclaratorRest )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:4: typeParameters ( type | 'void' ) Identifier interfaceMethodDeclaratorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:2: ( typeParameters ( type | 'void' ) Identifier interfaceMethodDeclaratorRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:4: typeParameters ( type | 'void' ) Identifier interfaceMethodDeclaratorRest
{
pushFollow(FOLLOW_typeParameters_in_interfaceGenericMethodDecl960);
typeParameters();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:19: ( type | 'void' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:19: ( type | 'void' )
int alt50=2;
int LA50_0 = input.LA(1);
@@ -2718,7 +2718,7 @@
}
switch (alt50) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:20: type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:20: type
{
pushFollow(FOLLOW_type_in_interfaceGenericMethodDecl963);
type();
@@ -2729,7 +2729,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:27: 'void'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:370:27: 'void'
{
match(input,40,FOLLOW_40_in_interfaceGenericMethodDecl967); if (state.failed) return ;
@@ -2761,20 +2761,20 @@
// $ANTLR start "voidInterfaceMethodDeclaratorRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:374:1: voidInterfaceMethodDeclaratorRest : formalParameters ( 'throws' qualifiedNameList )? ';' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:374:1: voidInterfaceMethodDeclaratorRest : formalParameters ( 'throws' qualifiedNameList )? ';' ;
public final void voidInterfaceMethodDeclaratorRest() throws RecognitionException {
int voidInterfaceMethodDeclaratorRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 35) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:375:2: ( formalParameters ( 'throws' qualifiedNameList )? ';' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:375:4: formalParameters ( 'throws' qualifiedNameList )? ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:375:2: ( formalParameters ( 'throws' qualifiedNameList )? ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:375:4: formalParameters ( 'throws' qualifiedNameList )? ';'
{
pushFollow(FOLLOW_formalParameters_in_voidInterfaceMethodDeclaratorRest992);
formalParameters();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:375:21: ( 'throws' qualifiedNameList )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:375:21: ( 'throws' qualifiedNameList )?
int alt51=2;
int LA51_0 = input.LA(1);
@@ -2783,7 +2783,7 @@
}
switch (alt51) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:375:22: 'throws' qualifiedNameList
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:375:22: 'throws' qualifiedNameList
{
match(input,43,FOLLOW_43_in_voidInterfaceMethodDeclaratorRest995); if (state.failed) return ;
pushFollow(FOLLOW_qualifiedNameList_in_voidInterfaceMethodDeclaratorRest997);
@@ -2815,20 +2815,20 @@
// $ANTLR start "constructorDeclaratorRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:378:1: constructorDeclaratorRest : formalParameters ( 'throws' qualifiedNameList )? methodBody ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:378:1: constructorDeclaratorRest : formalParameters ( 'throws' qualifiedNameList )? methodBody ;
public final void constructorDeclaratorRest() throws RecognitionException {
int constructorDeclaratorRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 36) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:379:2: ( formalParameters ( 'throws' qualifiedNameList )? methodBody )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:379:4: formalParameters ( 'throws' qualifiedNameList )? methodBody
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:379:2: ( formalParameters ( 'throws' qualifiedNameList )? methodBody )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:379:4: formalParameters ( 'throws' qualifiedNameList )? methodBody
{
pushFollow(FOLLOW_formalParameters_in_constructorDeclaratorRest1013);
formalParameters();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:379:21: ( 'throws' qualifiedNameList )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:379:21: ( 'throws' qualifiedNameList )?
int alt52=2;
int LA52_0 = input.LA(1);
@@ -2837,7 +2837,7 @@
}
switch (alt52) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:379:22: 'throws' qualifiedNameList
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:379:22: 'throws' qualifiedNameList
{
match(input,43,FOLLOW_43_in_constructorDeclaratorRest1016); if (state.failed) return ;
pushFollow(FOLLOW_qualifiedNameList_in_constructorDeclaratorRest1018);
@@ -2873,13 +2873,13 @@
// $ANTLR start "constantDeclarator"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:382:1: constantDeclarator : Identifier constantDeclaratorRest ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:382:1: constantDeclarator : Identifier constantDeclaratorRest ;
public final void constantDeclarator() throws RecognitionException {
int constantDeclarator_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 37) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:383:2: ( Identifier constantDeclaratorRest )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:383:4: Identifier constantDeclaratorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:383:2: ( Identifier constantDeclaratorRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:383:4: Identifier constantDeclaratorRest
{
match(input,Identifier,FOLLOW_Identifier_in_constantDeclarator1033); if (state.failed) return ;
pushFollow(FOLLOW_constantDeclaratorRest_in_constantDeclarator1035);
@@ -2904,20 +2904,20 @@
// $ANTLR start "variableDeclarators"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:386:1: variableDeclarators : variableDeclarator ( ',' variableDeclarator )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:386:1: variableDeclarators : variableDeclarator ( ',' variableDeclarator )* ;
public final void variableDeclarators() throws RecognitionException {
int variableDeclarators_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 38) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:387:2: ( variableDeclarator ( ',' variableDeclarator )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:387:4: variableDeclarator ( ',' variableDeclarator )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:387:2: ( variableDeclarator ( ',' variableDeclarator )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:387:4: variableDeclarator ( ',' variableDeclarator )*
{
pushFollow(FOLLOW_variableDeclarator_in_variableDeclarators1047);
variableDeclarator();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:387:23: ( ',' variableDeclarator )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:387:23: ( ',' variableDeclarator )*
loop53:
do {
int alt53=2;
@@ -2930,7 +2930,7 @@
switch (alt53) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:387:24: ',' variableDeclarator
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:387:24: ',' variableDeclarator
{
match(input,34,FOLLOW_34_in_variableDeclarators1050); if (state.failed) return ;
pushFollow(FOLLOW_variableDeclarator_in_variableDeclarators1052);
@@ -2969,7 +2969,7 @@
// $ANTLR start "variableDeclarator"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:390:1: variableDeclarator : id= Identifier rest= variableDeclaratorRest ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:390:1: variableDeclarator : id= Identifier rest= variableDeclaratorRest ;
public final void variableDeclarator() throws RecognitionException {
variableDeclarator_stack.push(new variableDeclarator_scope());
int variableDeclarator_StartIndex = input.index();
@@ -2984,8 +2984,8 @@
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 39) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:404:2: (id= Identifier rest= variableDeclaratorRest )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:404:4: id= Identifier rest= variableDeclaratorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:404:2: (id= Identifier rest= variableDeclaratorRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:404:4: id= Identifier rest= variableDeclaratorRest
{
id=(Token)match(input,Identifier,FOLLOW_Identifier_in_variableDeclarator1084); if (state.failed) return ;
pushFollow(FOLLOW_variableDeclaratorRest_in_variableDeclarator1088);
@@ -3031,14 +3031,14 @@
};
// $ANTLR start "variableDeclaratorRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:416:1: variableDeclaratorRest : ( ( '[' ']' )+ ( '=' variableInitializer )? | '=' variableInitializer | );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:416:1: variableDeclaratorRest : ( ( '[' ']' )+ ( '=' variableInitializer )? | '=' variableInitializer | );
public final JavaParser.variableDeclaratorRest_return variableDeclaratorRest() throws RecognitionException {
JavaParser.variableDeclaratorRest_return retval = new JavaParser.variableDeclaratorRest_return();
retval.start = input.LT(1);
int variableDeclaratorRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 40) ) { return retval; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:2: ( ( '[' ']' )+ ( '=' variableInitializer )? | '=' variableInitializer | )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:2: ( ( '[' ']' )+ ( '=' variableInitializer )? | '=' variableInitializer | )
int alt56=3;
switch ( input.LA(1) ) {
case 41:
@@ -3068,9 +3068,9 @@
switch (alt56) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:4: ( '[' ']' )+ ( '=' variableInitializer )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:4: ( '[' ']' )+ ( '=' variableInitializer )?
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:4: ( '[' ']' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:4: ( '[' ']' )+
int cnt54=0;
loop54:
do {
@@ -3084,7 +3084,7 @@
switch (alt54) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:5: '[' ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:5: '[' ']'
{
match(input,41,FOLLOW_41_in_variableDeclaratorRest1106); if (state.failed) return retval;
match(input,42,FOLLOW_42_in_variableDeclaratorRest1108); if (state.failed) return retval;
@@ -3102,7 +3102,7 @@
cnt54++;
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:15: ( '=' variableInitializer )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:15: ( '=' variableInitializer )?
int alt55=2;
int LA55_0 = input.LA(1);
@@ -3111,7 +3111,7 @@
}
switch (alt55) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:16: '=' variableInitializer
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:417:16: '=' variableInitializer
{
match(input,44,FOLLOW_44_in_variableDeclaratorRest1113); if (state.failed) return retval;
pushFollow(FOLLOW_variableInitializer_in_variableDeclaratorRest1115);
@@ -3129,7 +3129,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:418:4: '=' variableInitializer
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:418:4: '=' variableInitializer
{
match(input,44,FOLLOW_44_in_variableDeclaratorRest1122); if (state.failed) return retval;
pushFollow(FOLLOW_variableInitializer_in_variableDeclaratorRest1124);
@@ -3141,7 +3141,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:420:2:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:420:2:
{
}
break;
@@ -3163,20 +3163,20 @@
// $ANTLR start "constantDeclaratorsRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:422:1: constantDeclaratorsRest : constantDeclaratorRest ( ',' constantDeclarator )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:422:1: constantDeclaratorsRest : constantDeclaratorRest ( ',' constantDeclarator )* ;
public final void constantDeclaratorsRest() throws RecognitionException {
int constantDeclaratorsRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 41) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:423:5: ( constantDeclaratorRest ( ',' constantDeclarator )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:423:9: constantDeclaratorRest ( ',' constantDeclarator )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:423:5: ( constantDeclaratorRest ( ',' constantDeclarator )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:423:9: constantDeclaratorRest ( ',' constantDeclarator )*
{
pushFollow(FOLLOW_constantDeclaratorRest_in_constantDeclaratorsRest1144);
constantDeclaratorRest();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:423:32: ( ',' constantDeclarator )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:423:32: ( ',' constantDeclarator )*
loop57:
do {
int alt57=2;
@@ -3189,7 +3189,7 @@
switch (alt57) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:423:33: ',' constantDeclarator
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:423:33: ',' constantDeclarator
{
match(input,34,FOLLOW_34_in_constantDeclaratorsRest1147); if (state.failed) return ;
pushFollow(FOLLOW_constantDeclarator_in_constantDeclaratorsRest1149);
@@ -3223,15 +3223,15 @@
// $ANTLR start "constantDeclaratorRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:426:1: constantDeclaratorRest : ( '[' ']' )* '=' variableInitializer ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:426:1: constantDeclaratorRest : ( '[' ']' )* '=' variableInitializer ;
public final void constantDeclaratorRest() throws RecognitionException {
int constantDeclaratorRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 42) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:427:2: ( ( '[' ']' )* '=' variableInitializer )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:427:4: ( '[' ']' )* '=' variableInitializer
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:427:2: ( ( '[' ']' )* '=' variableInitializer )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:427:4: ( '[' ']' )* '=' variableInitializer
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:427:4: ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:427:4: ( '[' ']' )*
loop58:
do {
int alt58=2;
@@ -3244,7 +3244,7 @@
switch (alt58) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:427:5: '[' ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:427:5: '[' ']'
{
match(input,41,FOLLOW_41_in_constantDeclaratorRest1166); if (state.failed) return ;
match(input,42,FOLLOW_42_in_constantDeclaratorRest1168); if (state.failed) return ;
@@ -3280,16 +3280,16 @@
// $ANTLR start "variableDeclaratorId"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:430:1: variableDeclaratorId : Identifier ( '[' ']' )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:430:1: variableDeclaratorId : Identifier ( '[' ']' )* ;
public final void variableDeclaratorId() throws RecognitionException {
int variableDeclaratorId_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 43) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:431:2: ( Identifier ( '[' ']' )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:431:4: Identifier ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:431:2: ( Identifier ( '[' ']' )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:431:4: Identifier ( '[' ']' )*
{
match(input,Identifier,FOLLOW_Identifier_in_variableDeclaratorId1186); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:431:15: ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:431:15: ( '[' ']' )*
loop59:
do {
int alt59=2;
@@ -3302,7 +3302,7 @@
switch (alt59) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:431:16: '[' ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:431:16: '[' ']'
{
match(input,41,FOLLOW_41_in_variableDeclaratorId1189); if (state.failed) return ;
match(input,42,FOLLOW_42_in_variableDeclaratorId1191); if (state.failed) return ;
@@ -3332,17 +3332,17 @@
// $ANTLR start "variableInitializer"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:434:1: variableInitializer : ( arrayInitializer | expression );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:434:1: variableInitializer : ( arrayInitializer | expression );
public final void variableInitializer() throws RecognitionException {
int variableInitializer_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 44) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:435:2: ( arrayInitializer | expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:435:2: ( arrayInitializer | expression )
int alt60=2;
alt60 = dfa60.predict(input);
switch (alt60) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:435:4: arrayInitializer
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:435:4: arrayInitializer
{
pushFollow(FOLLOW_arrayInitializer_in_variableInitializer1204);
arrayInitializer();
@@ -3353,7 +3353,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:436:9: expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:436:9: expression
{
pushFollow(FOLLOW_expression_in_variableInitializer1214);
expression();
@@ -3379,35 +3379,35 @@
// $ANTLR start "arrayInitializer"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:439:1: arrayInitializer : '{' ( variableInitializer ( ',' variableInitializer )* ( ',' )? )? '}' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:439:1: arrayInitializer : '{' ( variableInitializer ( ',' variableInitializer )* ( ',' )? )? '}' ;
public final void arrayInitializer() throws RecognitionException {
int arrayInitializer_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 45) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:2: ( '{' ( variableInitializer ( ',' variableInitializer )* ( ',' )? )? '}' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:4: '{' ( variableInitializer ( ',' variableInitializer )* ( ',' )? )? '}'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:2: ( '{' ( variableInitializer ( ',' variableInitializer )* ( ',' )? )? '}' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:4: '{' ( variableInitializer ( ',' variableInitializer )* ( ',' )? )? '}'
{
match(input,37,FOLLOW_37_in_arrayInitializer1226); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:8: ( variableInitializer ( ',' variableInitializer )* ( ',' )? )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:8: ( variableInitializer ( ',' variableInitializer )* ( ',' )? )?
int alt63=2;
alt63 = dfa63.predict(input);
switch (alt63) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:9: variableInitializer ( ',' variableInitializer )* ( ',' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:9: variableInitializer ( ',' variableInitializer )* ( ',' )?
{
pushFollow(FOLLOW_variableInitializer_in_arrayInitializer1229);
variableInitializer();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:29: ( ',' variableInitializer )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:29: ( ',' variableInitializer )*
loop61:
do {
int alt61=2;
alt61 = dfa61.predict(input);
switch (alt61) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:30: ',' variableInitializer
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:30: ',' variableInitializer
{
match(input,34,FOLLOW_34_in_arrayInitializer1232); if (state.failed) return ;
pushFollow(FOLLOW_variableInitializer_in_arrayInitializer1234);
@@ -3424,7 +3424,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:56: ( ',' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:56: ( ',' )?
int alt62=2;
int LA62_0 = input.LA(1);
@@ -3433,7 +3433,7 @@
}
switch (alt62) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:57: ','
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:440:57: ','
{
match(input,34,FOLLOW_34_in_arrayInitializer1239); if (state.failed) return ;
@@ -3466,17 +3466,17 @@
// $ANTLR start "modifier"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:443:1: modifier : ( annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:443:1: modifier : ( annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' );
public final void modifier() throws RecognitionException {
int modifier_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 46) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:444:5: ( annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:444:5: ( annotation | 'public' | 'protected' | 'private' | 'static' | 'abstract' | 'final' | 'native' | 'synchronized' | 'transient' | 'volatile' | 'strictfp' )
int alt64=12;
alt64 = dfa64.predict(input);
switch (alt64) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:444:9: annotation
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:444:9: annotation
{
pushFollow(FOLLOW_annotation_in_modifier1262);
annotation();
@@ -3487,77 +3487,77 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:445:9: 'public'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:445:9: 'public'
{
match(input,45,FOLLOW_45_in_modifier1272); if (state.failed) return ;
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:446:9: 'protected'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:446:9: 'protected'
{
match(input,46,FOLLOW_46_in_modifier1282); if (state.failed) return ;
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:447:9: 'private'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:447:9: 'private'
{
match(input,47,FOLLOW_47_in_modifier1292); if (state.failed) return ;
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:448:9: 'static'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:448:9: 'static'
{
match(input,27,FOLLOW_27_in_modifier1302); if (state.failed) return ;
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:449:9: 'abstract'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:449:9: 'abstract'
{
match(input,48,FOLLOW_48_in_modifier1312); if (state.failed) return ;
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:450:9: 'final'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:450:9: 'final'
{
match(input,49,FOLLOW_49_in_modifier1322); if (state.failed) return ;
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:451:9: 'native'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:451:9: 'native'
{
match(input,50,FOLLOW_50_in_modifier1332); if (state.failed) return ;
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:452:9: 'synchronized'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:452:9: 'synchronized'
{
match(input,51,FOLLOW_51_in_modifier1342); if (state.failed) return ;
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:453:9: 'transient'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:453:9: 'transient'
{
match(input,52,FOLLOW_52_in_modifier1352); if (state.failed) return ;
}
break;
case 11 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:454:9: 'volatile'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:454:9: 'volatile'
{
match(input,53,FOLLOW_53_in_modifier1362); if (state.failed) return ;
}
break;
case 12 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:455:9: 'strictfp'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:455:9: 'strictfp'
{
match(input,54,FOLLOW_54_in_modifier1372); if (state.failed) return ;
@@ -3579,16 +3579,16 @@
// $ANTLR start "packageOrTypeName"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:458:1: packageOrTypeName : Identifier ( '.' Identifier )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:458:1: packageOrTypeName : Identifier ( '.' Identifier )* ;
public final void packageOrTypeName() throws RecognitionException {
int packageOrTypeName_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 47) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:459:2: ( Identifier ( '.' Identifier )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:459:4: Identifier ( '.' Identifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:459:2: ( Identifier ( '.' Identifier )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:459:4: Identifier ( '.' Identifier )*
{
match(input,Identifier,FOLLOW_Identifier_in_packageOrTypeName1386); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:459:15: ( '.' Identifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:459:15: ( '.' Identifier )*
loop65:
do {
int alt65=2;
@@ -3613,7 +3613,7 @@
switch (alt65) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:459:16: '.' Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:459:16: '.' Identifier
{
match(input,28,FOLLOW_28_in_packageOrTypeName1389); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_packageOrTypeName1391); if (state.failed) return ;
@@ -3643,13 +3643,13 @@
// $ANTLR start "enumConstantName"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:462:1: enumConstantName : Identifier ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:462:1: enumConstantName : Identifier ;
public final void enumConstantName() throws RecognitionException {
int enumConstantName_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 48) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:463:5: ( Identifier )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:463:9: Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:463:5: ( Identifier )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:463:9: Identifier
{
match(input,Identifier,FOLLOW_Identifier_in_enumConstantName1409); if (state.failed) return ;
@@ -3669,12 +3669,12 @@
// $ANTLR start "typeName"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:466:1: typeName : ( Identifier | packageOrTypeName '.' Identifier );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:466:1: typeName : ( Identifier | packageOrTypeName '.' Identifier );
public final void typeName() throws RecognitionException {
int typeName_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 49) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:467:2: ( Identifier | packageOrTypeName '.' Identifier )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:467:2: ( Identifier | packageOrTypeName '.' Identifier )
int alt66=2;
int LA66_0 = input.LA(1);
@@ -3704,14 +3704,14 @@
}
switch (alt66) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:467:6: Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:467:6: Identifier
{
match(input,Identifier,FOLLOW_Identifier_in_typeName1425); if (state.failed) return ;
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:468:9: packageOrTypeName '.' Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:468:9: packageOrTypeName '.' Identifier
{
pushFollow(FOLLOW_packageOrTypeName_in_typeName1435);
packageOrTypeName();
@@ -3741,14 +3741,14 @@
};
// $ANTLR start "type"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:471:1: type : ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )* | primitiveType ( '[' ']' )* );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:471:1: type : ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )* | primitiveType ( '[' ']' )* );
public final JavaParser.type_return type() throws RecognitionException {
JavaParser.type_return retval = new JavaParser.type_return();
retval.start = input.LT(1);
int type_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 50) ) { return retval; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:2: ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )* | primitiveType ( '[' ']' )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:2: ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )* | primitiveType ( '[' ']' )* )
int alt72=2;
int LA72_0 = input.LA(1);
@@ -3767,15 +3767,15 @@
}
switch (alt72) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:4: Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:4: Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* ( '[' ']' )*
{
match(input,Identifier,FOLLOW_Identifier_in_type1450); if (state.failed) return retval;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:15: ( typeArguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:15: ( typeArguments )?
int alt67=2;
alt67 = dfa67.predict(input);
switch (alt67) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:16: typeArguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:16: typeArguments
{
pushFollow(FOLLOW_typeArguments_in_type1453);
typeArguments();
@@ -3788,23 +3788,23 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:32: ( '.' Identifier ( typeArguments )? )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:32: ( '.' Identifier ( typeArguments )? )*
loop69:
do {
int alt69=2;
alt69 = dfa69.predict(input);
switch (alt69) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:33: '.' Identifier ( typeArguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:33: '.' Identifier ( typeArguments )?
{
match(input,28,FOLLOW_28_in_type1458); if (state.failed) return retval;
match(input,Identifier,FOLLOW_Identifier_in_type1460); if (state.failed) return retval;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:48: ( typeArguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:48: ( typeArguments )?
int alt68=2;
alt68 = dfa68.predict(input);
switch (alt68) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:49: typeArguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:49: typeArguments
{
pushFollow(FOLLOW_typeArguments_in_type1463);
typeArguments();
@@ -3826,14 +3826,14 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:68: ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:68: ( '[' ']' )*
loop70:
do {
int alt70=2;
alt70 = dfa70.predict(input);
switch (alt70) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:69: '[' ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:472:69: '[' ']'
{
match(input,41,FOLLOW_41_in_type1471); if (state.failed) return retval;
match(input,42,FOLLOW_42_in_type1473); if (state.failed) return retval;
@@ -3850,21 +3850,21 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:473:4: primitiveType ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:473:4: primitiveType ( '[' ']' )*
{
pushFollow(FOLLOW_primitiveType_in_type1480);
primitiveType();
state._fsp--;
if (state.failed) return retval;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:473:18: ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:473:18: ( '[' ']' )*
loop71:
do {
int alt71=2;
alt71 = dfa71.predict(input);
switch (alt71) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:473:19: '[' ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:473:19: '[' ']'
{
match(input,41,FOLLOW_41_in_type1483); if (state.failed) return retval;
match(input,42,FOLLOW_42_in_type1485); if (state.failed) return retval;
@@ -3898,13 +3898,13 @@
// $ANTLR start "primitiveType"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:476:1: primitiveType : ( 'boolean' | 'char' | 'byte' | 'short' | 'int' | 'long' | 'float' | 'double' );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:476:1: primitiveType : ( 'boolean' | 'char' | 'byte' | 'short' | 'int' | 'long' | 'float' | 'double' );
public final void primitiveType() throws RecognitionException {
int primitiveType_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 51) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:477:5: ( 'boolean' | 'char' | 'byte' | 'short' | 'int' | 'long' | 'float' | 'double' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:477:5: ( 'boolean' | 'char' | 'byte' | 'short' | 'int' | 'long' | 'float' | 'double' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( (input.LA(1)>=55 && input.LA(1)<=62) ) {
input.consume();
@@ -3935,14 +3935,14 @@
};
// $ANTLR start "variableModifier"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:487:1: variableModifier : ( 'final' | annotation );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:487:1: variableModifier : ( 'final' | annotation );
public final JavaParser.variableModifier_return variableModifier() throws RecognitionException {
JavaParser.variableModifier_return retval = new JavaParser.variableModifier_return();
retval.start = input.LT(1);
int variableModifier_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 52) ) { return retval; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:488:2: ( 'final' | annotation )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:488:2: ( 'final' | annotation )
int alt73=2;
int LA73_0 = input.LA(1);
@@ -3961,14 +3961,14 @@
}
switch (alt73) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:488:4: 'final'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:488:4: 'final'
{
match(input,49,FOLLOW_49_in_variableModifier1573); if (state.failed) return retval;
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:489:9: annotation
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:489:9: annotation
{
pushFollow(FOLLOW_annotation_in_variableModifier1583);
annotation();
@@ -3996,13 +3996,13 @@
// $ANTLR start "typeArguments"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:492:1: typeArguments : '<' typeArgument ( ',' typeArgument )* '>' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:492:1: typeArguments : '<' typeArgument ( ',' typeArgument )* '>' ;
public final void typeArguments() throws RecognitionException {
int typeArguments_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 53) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:493:2: ( '<' typeArgument ( ',' typeArgument )* '>' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:493:4: '<' typeArgument ( ',' typeArgument )* '>'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:493:2: ( '<' typeArgument ( ',' typeArgument )* '>' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:493:4: '<' typeArgument ( ',' typeArgument )* '>'
{
match(input,33,FOLLOW_33_in_typeArguments1594); if (state.failed) return ;
pushFollow(FOLLOW_typeArgument_in_typeArguments1596);
@@ -4010,7 +4010,7 @@
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:493:21: ( ',' typeArgument )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:493:21: ( ',' typeArgument )*
loop74:
do {
int alt74=2;
@@ -4023,7 +4023,7 @@
switch (alt74) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:493:22: ',' typeArgument
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:493:22: ',' typeArgument
{
match(input,34,FOLLOW_34_in_typeArguments1599); if (state.failed) return ;
pushFollow(FOLLOW_typeArgument_in_typeArguments1601);
@@ -4058,12 +4058,12 @@
// $ANTLR start "typeArgument"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:496:1: typeArgument : ( type | '?' ( ( 'extends' | 'super' ) type )? );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:496:1: typeArgument : ( type | '?' ( ( 'extends' | 'super' ) type )? );
public final void typeArgument() throws RecognitionException {
int typeArgument_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 54) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:497:2: ( type | '?' ( ( 'extends' | 'super' ) type )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:497:2: ( type | '?' ( ( 'extends' | 'super' ) type )? )
int alt76=2;
int LA76_0 = input.LA(1);
@@ -4082,7 +4082,7 @@
}
switch (alt76) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:497:4: type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:497:4: type
{
pushFollow(FOLLOW_type_in_typeArgument1617);
type();
@@ -4093,10 +4093,10 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:498:4: '?' ( ( 'extends' | 'super' ) type )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:498:4: '?' ( ( 'extends' | 'super' ) type )?
{
match(input,63,FOLLOW_63_in_typeArgument1622); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:498:8: ( ( 'extends' | 'super' ) type )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:498:8: ( ( 'extends' | 'super' ) type )?
int alt75=2;
int LA75_0 = input.LA(1);
@@ -4105,7 +4105,7 @@
}
switch (alt75) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:498:9: ( 'extends' | 'super' ) type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:498:9: ( 'extends' | 'super' ) type
{
if ( input.LA(1)==31||input.LA(1)==64 ) {
input.consume();
@@ -4147,20 +4147,20 @@
// $ANTLR start "qualifiedNameList"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:501:1: qualifiedNameList : qualifiedName ( ',' qualifiedName )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:501:1: qualifiedNameList : qualifiedName ( ',' qualifiedName )* ;
public final void qualifiedNameList() throws RecognitionException {
int qualifiedNameList_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 55) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:502:2: ( qualifiedName ( ',' qualifiedName )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:502:4: qualifiedName ( ',' qualifiedName )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:502:2: ( qualifiedName ( ',' qualifiedName )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:502:4: qualifiedName ( ',' qualifiedName )*
{
pushFollow(FOLLOW_qualifiedName_in_qualifiedNameList1647);
qualifiedName();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:502:18: ( ',' qualifiedName )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:502:18: ( ',' qualifiedName )*
loop77:
do {
int alt77=2;
@@ -4173,7 +4173,7 @@
switch (alt77) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:502:19: ',' qualifiedName
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:502:19: ',' qualifiedName
{
match(input,34,FOLLOW_34_in_qualifiedNameList1650); if (state.failed) return ;
pushFollow(FOLLOW_qualifiedName_in_qualifiedNameList1652);
@@ -4207,16 +4207,16 @@
// $ANTLR start "formalParameters"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:505:1: formalParameters : '(' ( formalParameterDecls )? ')' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:505:1: formalParameters : '(' ( formalParameterDecls )? ')' ;
public final void formalParameters() throws RecognitionException {
int formalParameters_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 56) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:506:2: ( '(' ( formalParameterDecls )? ')' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:506:4: '(' ( formalParameterDecls )? ')'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:506:2: ( '(' ( formalParameterDecls )? ')' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:506:4: '(' ( formalParameterDecls )? ')'
{
match(input,65,FOLLOW_65_in_formalParameters1666); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:506:8: ( formalParameterDecls )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:506:8: ( formalParameterDecls )?
int alt78=2;
int LA78_0 = input.LA(1);
@@ -4225,7 +4225,7 @@
}
switch (alt78) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: formalParameterDecls
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: formalParameterDecls
{
pushFollow(FOLLOW_formalParameterDecls_in_formalParameters1668);
formalParameterDecls();
@@ -4256,15 +4256,15 @@
// $ANTLR start "formalParameterDecls"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:509:1: formalParameterDecls : ( variableModifier )* type ( formalParameterDeclsRest )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:509:1: formalParameterDecls : ( variableModifier )* type ( formalParameterDeclsRest )? ;
public final void formalParameterDecls() throws RecognitionException {
int formalParameterDecls_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 57) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:510:2: ( ( variableModifier )* type ( formalParameterDeclsRest )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:510:4: ( variableModifier )* type ( formalParameterDeclsRest )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:510:2: ( ( variableModifier )* type ( formalParameterDeclsRest )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:510:4: ( variableModifier )* type ( formalParameterDeclsRest )?
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:510:4: ( variableModifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:510:4: ( variableModifier )*
loop79:
do {
int alt79=2;
@@ -4277,7 +4277,7 @@
switch (alt79) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
{
pushFollow(FOLLOW_variableModifier_in_formalParameterDecls1683);
variableModifier();
@@ -4298,7 +4298,7 @@
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:510:27: ( formalParameterDeclsRest )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:510:27: ( formalParameterDeclsRest )?
int alt80=2;
int LA80_0 = input.LA(1);
@@ -4307,7 +4307,7 @@
}
switch (alt80) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: formalParameterDeclsRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: formalParameterDeclsRest
{
pushFollow(FOLLOW_formalParameterDeclsRest_in_formalParameterDecls1688);
formalParameterDeclsRest();
@@ -4337,12 +4337,12 @@
// $ANTLR start "formalParameterDeclsRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:513:1: formalParameterDeclsRest : ( variableDeclaratorId ( ',' formalParameterDecls )? | '...' variableDeclaratorId );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:513:1: formalParameterDeclsRest : ( variableDeclaratorId ( ',' formalParameterDecls )? | '...' variableDeclaratorId );
public final void formalParameterDeclsRest() throws RecognitionException {
int formalParameterDeclsRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 58) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:514:2: ( variableDeclaratorId ( ',' formalParameterDecls )? | '...' variableDeclaratorId )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:514:2: ( variableDeclaratorId ( ',' formalParameterDecls )? | '...' variableDeclaratorId )
int alt82=2;
int LA82_0 = input.LA(1);
@@ -4361,14 +4361,14 @@
}
switch (alt82) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:514:4: variableDeclaratorId ( ',' formalParameterDecls )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:514:4: variableDeclaratorId ( ',' formalParameterDecls )?
{
pushFollow(FOLLOW_variableDeclaratorId_in_formalParameterDeclsRest1701);
variableDeclaratorId();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:514:25: ( ',' formalParameterDecls )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:514:25: ( ',' formalParameterDecls )?
int alt81=2;
int LA81_0 = input.LA(1);
@@ -4377,7 +4377,7 @@
}
switch (alt81) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:514:26: ',' formalParameterDecls
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:514:26: ',' formalParameterDecls
{
match(input,34,FOLLOW_34_in_formalParameterDeclsRest1704); if (state.failed) return ;
pushFollow(FOLLOW_formalParameterDecls_in_formalParameterDeclsRest1706);
@@ -4395,7 +4395,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:515:6: '...' variableDeclaratorId
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:515:6: '...' variableDeclaratorId
{
match(input,67,FOLLOW_67_in_formalParameterDeclsRest1715); if (state.failed) return ;
pushFollow(FOLLOW_variableDeclaratorId_in_formalParameterDeclsRest1717);
@@ -4422,13 +4422,13 @@
// $ANTLR start "methodBody"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:518:1: methodBody : block ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:518:1: methodBody : block ;
public final void methodBody() throws RecognitionException {
int methodBody_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 59) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:519:2: ( block )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:519:4: block
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:519:2: ( block )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:519:4: block
{
pushFollow(FOLLOW_block_in_methodBody1729);
block();
@@ -4452,16 +4452,16 @@
// $ANTLR start "qualifiedName"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:522:1: qualifiedName : Identifier ( '.' Identifier )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:522:1: qualifiedName : Identifier ( '.' Identifier )* ;
public final void qualifiedName() throws RecognitionException {
int qualifiedName_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 60) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:523:2: ( Identifier ( '.' Identifier )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:523:4: Identifier ( '.' Identifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:523:2: ( Identifier ( '.' Identifier )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:523:4: Identifier ( '.' Identifier )*
{
match(input,Identifier,FOLLOW_Identifier_in_qualifiedName1740); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:523:15: ( '.' Identifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:523:15: ( '.' Identifier )*
loop83:
do {
int alt83=2;
@@ -4474,7 +4474,7 @@
switch (alt83) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:523:16: '.' Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:523:16: '.' Identifier
{
match(input,28,FOLLOW_28_in_qualifiedName1743); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_qualifiedName1745); if (state.failed) return ;
@@ -4504,12 +4504,12 @@
// $ANTLR start "literal"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:526:1: literal : ( integerLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | booleanLiteral | 'null' );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:526:1: literal : ( integerLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | booleanLiteral | 'null' );
public final void literal() throws RecognitionException {
int literal_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 61) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:527:2: ( integerLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | booleanLiteral | 'null' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:527:2: ( integerLiteral | FloatingPointLiteral | CharacterLiteral | StringLiteral | booleanLiteral | 'null' )
int alt84=6;
switch ( input.LA(1) ) {
case HexLiteral:
@@ -4555,7 +4555,7 @@
switch (alt84) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:527:6: integerLiteral
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:527:6: integerLiteral
{
pushFollow(FOLLOW_integerLiteral_in_literal1762);
integerLiteral();
@@ -4566,28 +4566,28 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:528:9: FloatingPointLiteral
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:528:9: FloatingPointLiteral
{
match(input,FloatingPointLiteral,FOLLOW_FloatingPointLiteral_in_literal1772); if (state.failed) return ;
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:529:9: CharacterLiteral
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:529:9: CharacterLiteral
{
match(input,CharacterLiteral,FOLLOW_CharacterLiteral_in_literal1782); if (state.failed) return ;
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:530:9: StringLiteral
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:530:9: StringLiteral
{
match(input,StringLiteral,FOLLOW_StringLiteral_in_literal1792); if (state.failed) return ;
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:531:9: booleanLiteral
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:531:9: booleanLiteral
{
pushFollow(FOLLOW_booleanLiteral_in_literal1802);
booleanLiteral();
@@ -4598,7 +4598,7 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:532:9: 'null'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:532:9: 'null'
{
match(input,68,FOLLOW_68_in_literal1812); if (state.failed) return ;
@@ -4620,13 +4620,13 @@
// $ANTLR start "integerLiteral"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:535:1: integerLiteral : ( HexLiteral | OctalLiteral | DecimalLiteral );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:535:1: integerLiteral : ( HexLiteral | OctalLiteral | DecimalLiteral );
public final void integerLiteral() throws RecognitionException {
int integerLiteral_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 62) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:536:5: ( HexLiteral | OctalLiteral | DecimalLiteral )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:536:5: ( HexLiteral | OctalLiteral | DecimalLiteral )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( (input.LA(1)>=HexLiteral && input.LA(1)<=DecimalLiteral) ) {
input.consume();
@@ -4655,13 +4655,13 @@
// $ANTLR start "booleanLiteral"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:541:1: booleanLiteral : ( 'true' | 'false' );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:541:1: booleanLiteral : ( 'true' | 'false' );
public final void booleanLiteral() throws RecognitionException {
int booleanLiteral_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 63) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:542:5: ( 'true' | 'false' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:542:5: ( 'true' | 'false' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( (input.LA(1)>=69 && input.LA(1)<=70) ) {
input.consume();
@@ -4690,15 +4690,15 @@
// $ANTLR start "annotations"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:548:1: annotations : ( annotation )+ ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:548:1: annotations : ( annotation )+ ;
public final void annotations() throws RecognitionException {
int annotations_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 64) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:549:2: ( ( annotation )+ )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:549:4: ( annotation )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:549:2: ( ( annotation )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:549:4: ( annotation )+
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:549:4: ( annotation )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:549:4: ( annotation )+
int cnt85=0;
loop85:
do {
@@ -4706,7 +4706,7 @@
alt85 = dfa85.predict(input);
switch (alt85) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: annotation
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: annotation
{
pushFollow(FOLLOW_annotation_in_annotations1893);
annotation();
@@ -4744,13 +4744,13 @@
// $ANTLR start "annotation"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:552:1: annotation : '@' annotationName ( '(' ( elementValuePairs )? ')' )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:552:1: annotation : '@' annotationName ( '(' ( elementValuePairs )? ')' )? ;
public final void annotation() throws RecognitionException {
int annotation_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 65) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:553:2: ( '@' annotationName ( '(' ( elementValuePairs )? ')' )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:553:4: '@' annotationName ( '(' ( elementValuePairs )? ')' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:553:2: ( '@' annotationName ( '(' ( elementValuePairs )? ')' )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:553:4: '@' annotationName ( '(' ( elementValuePairs )? ')' )?
{
match(input,71,FOLLOW_71_in_annotation1905); if (state.failed) return ;
pushFollow(FOLLOW_annotationName_in_annotation1907);
@@ -4758,20 +4758,20 @@
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:553:23: ( '(' ( elementValuePairs )? ')' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:553:23: ( '(' ( elementValuePairs )? ')' )?
int alt87=2;
alt87 = dfa87.predict(input);
switch (alt87) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:553:24: '(' ( elementValuePairs )? ')'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:553:24: '(' ( elementValuePairs )? ')'
{
match(input,65,FOLLOW_65_in_annotation1910); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:553:28: ( elementValuePairs )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:553:28: ( elementValuePairs )?
int alt86=2;
alt86 = dfa86.predict(input);
switch (alt86) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: elementValuePairs
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: elementValuePairs
{
pushFollow(FOLLOW_elementValuePairs_in_annotation1912);
elementValuePairs();
@@ -4808,23 +4808,23 @@
// $ANTLR start "annotationName"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:556:1: annotationName : Identifier ( '.' Identifier )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:556:1: annotationName : Identifier ( '.' Identifier )* ;
public final void annotationName() throws RecognitionException {
int annotationName_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 66) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:557:2: ( Identifier ( '.' Identifier )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:557:4: Identifier ( '.' Identifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:557:2: ( Identifier ( '.' Identifier )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:557:4: Identifier ( '.' Identifier )*
{
match(input,Identifier,FOLLOW_Identifier_in_annotationName1929); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:557:15: ( '.' Identifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:557:15: ( '.' Identifier )*
loop88:
do {
int alt88=2;
alt88 = dfa88.predict(input);
switch (alt88) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:557:16: '.' Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:557:16: '.' Identifier
{
match(input,28,FOLLOW_28_in_annotationName1932); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_annotationName1934); if (state.failed) return ;
@@ -4854,20 +4854,20 @@
// $ANTLR start "elementValuePairs"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:560:1: elementValuePairs : elementValuePair ( ',' elementValuePair )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:560:1: elementValuePairs : elementValuePair ( ',' elementValuePair )* ;
public final void elementValuePairs() throws RecognitionException {
int elementValuePairs_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 67) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:561:2: ( elementValuePair ( ',' elementValuePair )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:561:4: elementValuePair ( ',' elementValuePair )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:561:2: ( elementValuePair ( ',' elementValuePair )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:561:4: elementValuePair ( ',' elementValuePair )*
{
pushFollow(FOLLOW_elementValuePair_in_elementValuePairs1948);
elementValuePair();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:561:21: ( ',' elementValuePair )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:561:21: ( ',' elementValuePair )*
loop89:
do {
int alt89=2;
@@ -4880,7 +4880,7 @@
switch (alt89) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:561:22: ',' elementValuePair
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:561:22: ',' elementValuePair
{
match(input,34,FOLLOW_34_in_elementValuePairs1951); if (state.failed) return ;
pushFollow(FOLLOW_elementValuePair_in_elementValuePairs1953);
@@ -4914,20 +4914,20 @@
// $ANTLR start "elementValuePair"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:564:1: elementValuePair : ( Identifier '=' )? elementValue ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:564:1: elementValuePair : ( Identifier '=' )? elementValue ;
public final void elementValuePair() throws RecognitionException {
int elementValuePair_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 68) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:565:2: ( ( Identifier '=' )? elementValue )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:565:4: ( Identifier '=' )? elementValue
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:565:2: ( ( Identifier '=' )? elementValue )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:565:4: ( Identifier '=' )? elementValue
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:565:4: ( Identifier '=' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:565:4: ( Identifier '=' )?
int alt90=2;
alt90 = dfa90.predict(input);
switch (alt90) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:565:5: Identifier '='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:565:5: Identifier '='
{
match(input,Identifier,FOLLOW_Identifier_in_elementValuePair1968); if (state.failed) return ;
match(input,44,FOLLOW_44_in_elementValuePair1970); if (state.failed) return ;
@@ -4959,17 +4959,17 @@
// $ANTLR start "elementValue"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:568:1: elementValue : ( conditionalExpression | annotation | elementValueArrayInitializer );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:568:1: elementValue : ( conditionalExpression | annotation | elementValueArrayInitializer );
public final void elementValue() throws RecognitionException {
int elementValue_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 69) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:569:2: ( conditionalExpression | annotation | elementValueArrayInitializer )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:569:2: ( conditionalExpression | annotation | elementValueArrayInitializer )
int alt91=3;
alt91 = dfa91.predict(input);
switch (alt91) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:569:4: conditionalExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:569:4: conditionalExpression
{
pushFollow(FOLLOW_conditionalExpression_in_elementValue1986);
conditionalExpression();
@@ -4980,7 +4980,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:570:6: annotation
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:570:6: annotation
{
pushFollow(FOLLOW_annotation_in_elementValue1993);
annotation();
@@ -4991,7 +4991,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:571:6: elementValueArrayInitializer
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:571:6: elementValueArrayInitializer
{
pushFollow(FOLLOW_elementValueArrayInitializer_in_elementValue2000);
elementValueArrayInitializer();
@@ -5017,28 +5017,28 @@
// $ANTLR start "elementValueArrayInitializer"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:574:1: elementValueArrayInitializer : '{' ( elementValue ( ',' elementValue )* )? '}' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:574:1: elementValueArrayInitializer : '{' ( elementValue ( ',' elementValue )* )? '}' ;
public final void elementValueArrayInitializer() throws RecognitionException {
int elementValueArrayInitializer_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 70) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:2: ( '{' ( elementValue ( ',' elementValue )* )? '}' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:4: '{' ( elementValue ( ',' elementValue )* )? '}'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:2: ( '{' ( elementValue ( ',' elementValue )* )? '}' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:4: '{' ( elementValue ( ',' elementValue )* )? '}'
{
match(input,37,FOLLOW_37_in_elementValueArrayInitializer2012); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:8: ( elementValue ( ',' elementValue )* )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:8: ( elementValue ( ',' elementValue )* )?
int alt93=2;
alt93 = dfa93.predict(input);
switch (alt93) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:9: elementValue ( ',' elementValue )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:9: elementValue ( ',' elementValue )*
{
pushFollow(FOLLOW_elementValue_in_elementValueArrayInitializer2015);
elementValue();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:22: ( ',' elementValue )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:22: ( ',' elementValue )*
loop92:
do {
int alt92=2;
@@ -5051,7 +5051,7 @@
switch (alt92) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:23: ',' elementValue
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:575:23: ',' elementValue
{
match(input,34,FOLLOW_34_in_elementValueArrayInitializer2018); if (state.failed) return ;
pushFollow(FOLLOW_elementValue_in_elementValueArrayInitializer2020);
@@ -5092,13 +5092,13 @@
// $ANTLR start "annotationTypeDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:578:1: annotationTypeDeclaration : '@' 'interface' Identifier annotationTypeBody ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:578:1: annotationTypeDeclaration : '@' 'interface' Identifier annotationTypeBody ;
public final void annotationTypeDeclaration() throws RecognitionException {
int annotationTypeDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 71) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:579:2: ( '@' 'interface' Identifier annotationTypeBody )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:579:4: '@' 'interface' Identifier annotationTypeBody
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:579:2: ( '@' 'interface' Identifier annotationTypeBody )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:579:4: '@' 'interface' Identifier annotationTypeBody
{
match(input,71,FOLLOW_71_in_annotationTypeDeclaration2039); if (state.failed) return ;
match(input,39,FOLLOW_39_in_annotationTypeDeclaration2041); if (state.failed) return ;
@@ -5125,21 +5125,21 @@
// $ANTLR start "annotationTypeBody"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:582:1: annotationTypeBody : '{' ( annotationTypeElementDeclarations )? '}' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:582:1: annotationTypeBody : '{' ( annotationTypeElementDeclarations )? '}' ;
public final void annotationTypeBody() throws RecognitionException {
int annotationTypeBody_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 72) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:583:2: ( '{' ( annotationTypeElementDeclarations )? '}' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:583:4: '{' ( annotationTypeElementDeclarations )? '}'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:583:2: ( '{' ( annotationTypeElementDeclarations )? '}' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:583:4: '{' ( annotationTypeElementDeclarations )? '}'
{
match(input,37,FOLLOW_37_in_annotationTypeBody2057); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:583:8: ( annotationTypeElementDeclarations )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:583:8: ( annotationTypeElementDeclarations )?
int alt94=2;
alt94 = dfa94.predict(input);
switch (alt94) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:583:9: annotationTypeElementDeclarations
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:583:9: annotationTypeElementDeclarations
{
pushFollow(FOLLOW_annotationTypeElementDeclarations_in_annotationTypeBody2060);
annotationTypeElementDeclarations();
@@ -5170,16 +5170,16 @@
// $ANTLR start "annotationTypeElementDeclarations"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:586:1: annotationTypeElementDeclarations : ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:586:1: annotationTypeElementDeclarations : ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration )* ;
public final void annotationTypeElementDeclarations() throws RecognitionException {
int annotationTypeElementDeclarations_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 73) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:2: ( ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:4: ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:2: ( ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:4: ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration )*
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:4: ( annotationTypeElementDeclaration )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:5: annotationTypeElementDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:4: ( annotationTypeElementDeclaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:5: annotationTypeElementDeclaration
{
pushFollow(FOLLOW_annotationTypeElementDeclaration_in_annotationTypeElementDeclarations2077);
annotationTypeElementDeclaration();
@@ -5189,14 +5189,14 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:39: ( annotationTypeElementDeclaration )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:39: ( annotationTypeElementDeclaration )*
loop95:
do {
int alt95=2;
alt95 = dfa95.predict(input);
switch (alt95) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:40: annotationTypeElementDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:587:40: annotationTypeElementDeclaration
{
pushFollow(FOLLOW_annotationTypeElementDeclaration_in_annotationTypeElementDeclarations2081);
annotationTypeElementDeclaration();
@@ -5229,22 +5229,22 @@
// $ANTLR start "annotationTypeElementDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:590:1: annotationTypeElementDeclaration : ( modifier )* annotationTypeElementRest ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:590:1: annotationTypeElementDeclaration : ( modifier )* annotationTypeElementRest ;
public final void annotationTypeElementDeclaration() throws RecognitionException {
int annotationTypeElementDeclaration_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 74) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:591:2: ( ( modifier )* annotationTypeElementRest )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:591:4: ( modifier )* annotationTypeElementRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:591:2: ( ( modifier )* annotationTypeElementRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:591:4: ( modifier )* annotationTypeElementRest
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:591:4: ( modifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:591:4: ( modifier )*
loop96:
do {
int alt96=2;
alt96 = dfa96.predict(input);
switch (alt96) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:591:5: modifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:591:5: modifier
{
pushFollow(FOLLOW_modifier_in_annotationTypeElementDeclaration2096);
modifier();
@@ -5282,17 +5282,17 @@
// $ANTLR start "annotationTypeElementRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:594:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:594:1: annotationTypeElementRest : ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? );
public final void annotationTypeElementRest() throws RecognitionException {
int annotationTypeElementRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 75) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:595:2: ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:595:2: ( type annotationMethodOrConstantRest ';' | classDeclaration ( ';' )? | interfaceDeclaration ( ';' )? | enumDeclaration ( ';' )? | annotationTypeDeclaration ( ';' )? )
int alt101=5;
alt101 = dfa101.predict(input);
switch (alt101) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:595:4: type annotationMethodOrConstantRest ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:595:4: type annotationMethodOrConstantRest ';'
{
pushFollow(FOLLOW_type_in_annotationTypeElementRest2112);
type();
@@ -5309,19 +5309,19 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:596:6: classDeclaration ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:596:6: classDeclaration ( ';' )?
{
pushFollow(FOLLOW_classDeclaration_in_annotationTypeElementRest2123);
classDeclaration();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:596:23: ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:596:23: ( ';' )?
int alt97=2;
alt97 = dfa97.predict(input);
switch (alt97) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
match(input,25,FOLLOW_25_in_annotationTypeElementRest2125); if (state.failed) return ;
@@ -5334,19 +5334,19 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:6: interfaceDeclaration ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:6: interfaceDeclaration ( ';' )?
{
pushFollow(FOLLOW_interfaceDeclaration_in_annotationTypeElementRest2133);
interfaceDeclaration();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:27: ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:27: ( ';' )?
int alt98=2;
alt98 = dfa98.predict(input);
switch (alt98) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
match(input,25,FOLLOW_25_in_annotationTypeElementRest2135); if (state.failed) return ;
@@ -5359,19 +5359,19 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:598:6: enumDeclaration ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:598:6: enumDeclaration ( ';' )?
{
pushFollow(FOLLOW_enumDeclaration_in_annotationTypeElementRest2143);
enumDeclaration();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:598:22: ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:598:22: ( ';' )?
int alt99=2;
alt99 = dfa99.predict(input);
switch (alt99) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
match(input,25,FOLLOW_25_in_annotationTypeElementRest2145); if (state.failed) return ;
@@ -5384,19 +5384,19 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:599:6: annotationTypeDeclaration ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:599:6: annotationTypeDeclaration ( ';' )?
{
pushFollow(FOLLOW_annotationTypeDeclaration_in_annotationTypeElementRest2153);
annotationTypeDeclaration();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:599:32: ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:599:32: ( ';' )?
int alt100=2;
alt100 = dfa100.predict(input);
switch (alt100) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
match(input,25,FOLLOW_25_in_annotationTypeElementRest2155); if (state.failed) return ;
@@ -5424,12 +5424,12 @@
// $ANTLR start "annotationMethodOrConstantRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:602:1: annotationMethodOrConstantRest : ( annotationMethodRest | annotationConstantRest );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:602:1: annotationMethodOrConstantRest : ( annotationMethodRest | annotationConstantRest );
public final void annotationMethodOrConstantRest() throws RecognitionException {
int annotationMethodOrConstantRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 76) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:603:2: ( annotationMethodRest | annotationConstantRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:603:2: ( annotationMethodRest | annotationConstantRest )
int alt102=2;
int LA102_0 = input.LA(1);
@@ -5459,7 +5459,7 @@
}
switch (alt102) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:603:4: annotationMethodRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:603:4: annotationMethodRest
{
pushFollow(FOLLOW_annotationMethodRest_in_annotationMethodOrConstantRest2168);
annotationMethodRest();
@@ -5470,7 +5470,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:604:6: annotationConstantRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:604:6: annotationConstantRest
{
pushFollow(FOLLOW_annotationConstantRest_in_annotationMethodOrConstantRest2175);
annotationConstantRest();
@@ -5496,18 +5496,18 @@
// $ANTLR start "annotationMethodRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:607:1: annotationMethodRest : Identifier '(' ')' ( defaultValue )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:607:1: annotationMethodRest : Identifier '(' ')' ( defaultValue )? ;
public final void annotationMethodRest() throws RecognitionException {
int annotationMethodRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 77) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:608:3: ( Identifier '(' ')' ( defaultValue )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:608:5: Identifier '(' ')' ( defaultValue )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:608:3: ( Identifier '(' ')' ( defaultValue )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:608:5: Identifier '(' ')' ( defaultValue )?
{
match(input,Identifier,FOLLOW_Identifier_in_annotationMethodRest2188); if (state.failed) return ;
match(input,65,FOLLOW_65_in_annotationMethodRest2190); if (state.failed) return ;
match(input,66,FOLLOW_66_in_annotationMethodRest2192); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:608:24: ( defaultValue )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:608:24: ( defaultValue )?
int alt103=2;
int LA103_0 = input.LA(1);
@@ -5516,7 +5516,7 @@
}
switch (alt103) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:608:25: defaultValue
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:608:25: defaultValue
{
pushFollow(FOLLOW_defaultValue_in_annotationMethodRest2195);
defaultValue();
@@ -5546,13 +5546,13 @@
// $ANTLR start "annotationConstantRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:611:1: annotationConstantRest : variableDeclarators ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:611:1: annotationConstantRest : variableDeclarators ;
public final void annotationConstantRest() throws RecognitionException {
int annotationConstantRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 78) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:612:3: ( variableDeclarators )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:612:5: variableDeclarators
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:612:3: ( variableDeclarators )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:612:5: variableDeclarators
{
pushFollow(FOLLOW_variableDeclarators_in_annotationConstantRest2212);
variableDeclarators();
@@ -5576,13 +5576,13 @@
// $ANTLR start "defaultValue"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:615:1: defaultValue : 'default' elementValue ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:615:1: defaultValue : 'default' elementValue ;
public final void defaultValue() throws RecognitionException {
int defaultValue_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 79) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:616:3: ( 'default' elementValue )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:616:5: 'default' elementValue
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:616:3: ( 'default' elementValue )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:616:5: 'default' elementValue
{
match(input,72,FOLLOW_72_in_defaultValue2227); if (state.failed) return ;
pushFollow(FOLLOW_elementValue_in_defaultValue2229);
@@ -5607,7 +5607,7 @@
// $ANTLR start "block"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:621:1: block : '{' ( blockStatement )* '}' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:621:1: block : '{' ( blockStatement )* '}' ;
public final void block() throws RecognitionException {
int block_StartIndex = input.index();
@@ -5615,18 +5615,18 @@
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 80) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:628:2: ( '{' ( blockStatement )* '}' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:628:4: '{' ( blockStatement )* '}'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:628:2: ( '{' ( blockStatement )* '}' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:628:4: '{' ( blockStatement )* '}'
{
match(input,37,FOLLOW_37_in_block2269); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:628:8: ( blockStatement )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:628:8: ( blockStatement )*
loop104:
do {
int alt104=2;
alt104 = dfa104.predict(input);
switch (alt104) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: blockStatement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: blockStatement
{
pushFollow(FOLLOW_blockStatement_in_block2271);
blockStatement();
@@ -5665,17 +5665,17 @@
// $ANTLR start "blockStatement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:631:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:631:1: blockStatement : ( localVariableDeclaration | classOrInterfaceDeclaration | statement );
public final void blockStatement() throws RecognitionException {
int blockStatement_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 81) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:632:2: ( localVariableDeclaration | classOrInterfaceDeclaration | statement )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:632:2: ( localVariableDeclaration | classOrInterfaceDeclaration | statement )
int alt105=3;
alt105 = dfa105.predict(input);
switch (alt105) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:632:4: localVariableDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:632:4: localVariableDeclaration
{
pushFollow(FOLLOW_localVariableDeclaration_in_blockStatement2286);
localVariableDeclaration();
@@ -5686,7 +5686,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:633:4: classOrInterfaceDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:633:4: classOrInterfaceDeclaration
{
pushFollow(FOLLOW_classOrInterfaceDeclaration_in_blockStatement2291);
classOrInterfaceDeclaration();
@@ -5697,7 +5697,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:634:8: statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:634:8: statement
{
pushFollow(FOLLOW_statement_in_blockStatement2300);
statement();
@@ -5728,7 +5728,7 @@
// $ANTLR start "localVariableDeclaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:637:1: localVariableDeclaration : ( variableModifier )* type variableDeclarators ';' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:637:1: localVariableDeclaration : ( variableModifier )* type variableDeclarators ';' ;
public final void localVariableDeclaration() throws RecognitionException {
localVariableDeclaration_stack.push(new localVariableDeclaration_scope());
int localVariableDeclaration_StartIndex = input.index();
@@ -5742,10 +5742,10 @@
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 82) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:647:2: ( ( variableModifier )* type variableDeclarators ';' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:648:2: ( variableModifier )* type variableDeclarators ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:647:2: ( ( variableModifier )* type variableDeclarators ';' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:648:2: ( variableModifier )* type variableDeclarators ';'
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:648:2: ( variableModifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:648:2: ( variableModifier )*
loop106:
do {
int alt106=2;
@@ -5758,7 +5758,7 @@
switch (alt106) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:648:4: variableModifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:648:4: variableModifier
{
pushFollow(FOLLOW_variableModifier_in_localVariableDeclaration2348);
variableModifier1=variableModifier();
@@ -5821,17 +5821,17 @@
// $ANTLR start "statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:663:1: statement : ( block | 'assert' expression ( ':' expression )? ';' | 'if' parExpression statement ( options {k=1; } : 'else' statement )? | 'for' '(' forControl ')' statement | 'while' parExpression statement | 'do' statement 'while' parExpression ';' | 'try' block ( catches 'finally' block | catches | 'finally' block ) | 'switch' parExpression '{' switchBlockStatementGroups '}' | 'synchronized' parExpression block | 'return' ( expression )? ';' | 'throw' expression ';' | 'break' ( Identifier )? ';' | 'continue' ( Identifier )? ';' | modifyStatement | ';' | statementExpression ';' | Identifier ':' statement );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:663:1: statement : ( block | 'assert' expression ( ':' expression )? ';' | 'if' parExpression statement ( options {k=1; } : 'else' statement )? | 'for' '(' forControl ')' statement | 'while' parExpression statement | 'do' statement 'while' parExpression ';' | 'try' block ( catches 'finally' block | catches | 'finally' block ) | 'switch' parExpression '{' switchBlockStatementGroups '}' | 'synchronized' parExpression block | 'return' ( expression )? ';' | 'throw' expression ';' | 'break' ( Identifier )? ';' | 'continue' ( Identifier )? ';' | modifyStatement | ';' | statementExpression ';' | Identifier ':' statement );
public final void statement() throws RecognitionException {
int statement_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 83) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:664:2: ( block | 'assert' expression ( ':' expression )? ';' | 'if' parExpression statement ( options {k=1; } : 'else' statement )? | 'for' '(' forControl ')' statement | 'while' parExpression statement | 'do' statement 'while' parExpression ';' | 'try' block ( catches 'finally' block | catches | 'finally' block ) | 'switch' parExpression '{' switchBlockStatementGroups '}' | 'synchronized' parExpression block | 'return' ( expression )? ';' | 'throw' expression ';' | 'break' ( Identifier )? ';' | 'continue' ( Identifier )? ';' | modifyStatement | ';' | statementExpression ';' | Identifier ':' statement )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:664:2: ( block | 'assert' expression ( ':' expression )? ';' | 'if' parExpression statement ( options {k=1; } : 'else' statement )? | 'for' '(' forControl ')' statement | 'while' parExpression statement | 'do' statement 'while' parExpression ';' | 'try' block ( catches 'finally' block | catches | 'finally' block ) | 'switch' parExpression '{' switchBlockStatementGroups '}' | 'synchronized' parExpression block | 'return' ( expression )? ';' | 'throw' expression ';' | 'break' ( Identifier )? ';' | 'continue' ( Identifier )? ';' | modifyStatement | ';' | statementExpression ';' | Identifier ':' statement )
int alt113=17;
alt113 = dfa113.predict(input);
switch (alt113) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:664:4: block
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:664:4: block
{
pushFollow(FOLLOW_block_in_statement2390);
block();
@@ -5842,7 +5842,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:665:7: 'assert' expression ( ':' expression )? ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:665:7: 'assert' expression ( ':' expression )? ';'
{
match(input,73,FOLLOW_73_in_statement2398); if (state.failed) return ;
pushFollow(FOLLOW_expression_in_statement2400);
@@ -5850,7 +5850,7 @@
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:665:27: ( ':' expression )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:665:27: ( ':' expression )?
int alt107=2;
int LA107_0 = input.LA(1);
@@ -5859,7 +5859,7 @@
}
switch (alt107) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:665:28: ':' expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:665:28: ':' expression
{
match(input,74,FOLLOW_74_in_statement2403); if (state.failed) return ;
pushFollow(FOLLOW_expression_in_statement2405);
@@ -5878,7 +5878,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:666:7: 'if' parExpression statement ( options {k=1; } : 'else' statement )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:666:7: 'if' parExpression statement ( options {k=1; } : 'else' statement )?
{
match(input,75,FOLLOW_75_in_statement2417); if (state.failed) return ;
pushFollow(FOLLOW_parExpression_in_statement2419);
@@ -5891,7 +5891,7 @@
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:666:36: ( options {k=1; } : 'else' statement )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:666:36: ( options {k=1; } : 'else' statement )?
int alt108=2;
int LA108_0 = input.LA(1);
@@ -5904,7 +5904,7 @@
}
switch (alt108) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:666:52: 'else' statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:666:52: 'else' statement
{
match(input,76,FOLLOW_76_in_statement2431); if (state.failed) return ;
pushFollow(FOLLOW_statement_in_statement2433);
@@ -5922,7 +5922,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:667:7: 'for' '(' forControl ')' statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:667:7: 'for' '(' forControl ')' statement
{
match(input,77,FOLLOW_77_in_statement2443); if (state.failed) return ;
match(input,65,FOLLOW_65_in_statement2445); if (state.failed) return ;
@@ -5941,7 +5941,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:668:7: 'while' parExpression statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:668:7: 'while' parExpression statement
{
match(input,78,FOLLOW_78_in_statement2459); if (state.failed) return ;
pushFollow(FOLLOW_parExpression_in_statement2461);
@@ -5958,7 +5958,7 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:669:7: 'do' statement 'while' parExpression ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:669:7: 'do' statement 'while' parExpression ';'
{
match(input,79,FOLLOW_79_in_statement2471); if (state.failed) return ;
pushFollow(FOLLOW_statement_in_statement2473);
@@ -5977,7 +5977,7 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:670:7: 'try' block ( catches 'finally' block | catches | 'finally' block )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:670:7: 'try' block ( catches 'finally' block | catches | 'finally' block )
{
match(input,80,FOLLOW_80_in_statement2487); if (state.failed) return ;
pushFollow(FOLLOW_block_in_statement2489);
@@ -5985,7 +5985,7 @@
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:671:7: ( catches 'finally' block | catches | 'finally' block )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:671:7: ( catches 'finally' block | catches | 'finally' block )
int alt109=3;
int LA109_0 = input.LA(1);
@@ -6029,7 +6029,7 @@
}
switch (alt109) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:671:9: catches 'finally' block
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:671:9: catches 'finally' block
{
pushFollow(FOLLOW_catches_in_statement2499);
catches();
@@ -6046,7 +6046,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:672:9: catches
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:672:9: catches
{
pushFollow(FOLLOW_catches_in_statement2513);
catches();
@@ -6057,7 +6057,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:673:9: 'finally' block
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:673:9: 'finally' block
{
match(input,81,FOLLOW_81_in_statement2523); if (state.failed) return ;
pushFollow(FOLLOW_block_in_statement2525);
@@ -6075,7 +6075,7 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:675:7: 'switch' parExpression '{' switchBlockStatementGroups '}'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:675:7: 'switch' parExpression '{' switchBlockStatementGroups '}'
{
match(input,82,FOLLOW_82_in_statement2541); if (state.failed) return ;
pushFollow(FOLLOW_parExpression_in_statement2543);
@@ -6094,7 +6094,7 @@
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:676:7: 'synchronized' parExpression block
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:676:7: 'synchronized' parExpression block
{
match(input,51,FOLLOW_51_in_statement2557); if (state.failed) return ;
pushFollow(FOLLOW_parExpression_in_statement2559);
@@ -6111,15 +6111,15 @@
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:677:7: 'return' ( expression )? ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:677:7: 'return' ( expression )? ';'
{
match(input,83,FOLLOW_83_in_statement2569); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:677:16: ( expression )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:677:16: ( expression )?
int alt110=2;
alt110 = dfa110.predict(input);
switch (alt110) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: expression
{
pushFollow(FOLLOW_expression_in_statement2571);
expression();
@@ -6137,7 +6137,7 @@
}
break;
case 11 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:678:7: 'throw' expression ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:678:7: 'throw' expression ';'
{
match(input,84,FOLLOW_84_in_statement2582); if (state.failed) return ;
pushFollow(FOLLOW_expression_in_statement2584);
@@ -6150,10 +6150,10 @@
}
break;
case 12 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:679:7: 'break' ( Identifier )? ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:679:7: 'break' ( Identifier )? ';'
{
match(input,85,FOLLOW_85_in_statement2594); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:679:15: ( Identifier )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:679:15: ( Identifier )?
int alt111=2;
int LA111_0 = input.LA(1);
@@ -6162,7 +6162,7 @@
}
switch (alt111) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: Identifier
{
match(input,Identifier,FOLLOW_Identifier_in_statement2596); if (state.failed) return ;
@@ -6176,10 +6176,10 @@
}
break;
case 13 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:680:7: 'continue' ( Identifier )? ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:680:7: 'continue' ( Identifier )? ';'
{
match(input,86,FOLLOW_86_in_statement2607); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:680:18: ( Identifier )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:680:18: ( Identifier )?
int alt112=2;
int LA112_0 = input.LA(1);
@@ -6188,7 +6188,7 @@
}
switch (alt112) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: Identifier
{
match(input,Identifier,FOLLOW_Identifier_in_statement2609); if (state.failed) return ;
@@ -6202,7 +6202,7 @@
}
break;
case 14 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:682:7: modifyStatement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:682:7: modifyStatement
{
pushFollow(FOLLOW_modifyStatement_in_statement2625);
modifyStatement();
@@ -6213,14 +6213,14 @@
}
break;
case 15 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:683:7: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:683:7: ';'
{
match(input,25,FOLLOW_25_in_statement2633); if (state.failed) return ;
}
break;
case 16 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:684:7: statementExpression ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:684:7: statementExpression ';'
{
pushFollow(FOLLOW_statementExpression_in_statement2641);
statementExpression();
@@ -6232,7 +6232,7 @@
}
break;
case 17 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:685:7: Identifier ':' statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:685:7: Identifier ':' statement
{
match(input,Identifier,FOLLOW_Identifier_in_statement2651); if (state.failed) return ;
match(input,74,FOLLOW_74_in_statement2653); if (state.failed) return ;
@@ -6260,7 +6260,7 @@
// $ANTLR start "modifyStatement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:688:1: modifyStatement : s= 'modify' parExpression '{' (e= expression ( ',' e= expression )* )? c= '}' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:688:1: modifyStatement : s= 'modify' parExpression '{' (e= expression ( ',' e= expression )* )? c= '}' ;
public final void modifyStatement() throws RecognitionException {
int modifyStatement_StartIndex = input.index();
Token s=null;
@@ -6275,8 +6275,8 @@
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 84) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:692:2: (s= 'modify' parExpression '{' (e= expression ( ',' e= expression )* )? c= '}' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:692:4: s= 'modify' parExpression '{' (e= expression ( ',' e= expression )* )? c= '}'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:692:2: (s= 'modify' parExpression '{' (e= expression ( ',' e= expression )* )? c= '}' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:692:4: s= 'modify' parExpression '{' (e= expression ( ',' e= expression )* )? c= '}'
{
s=(Token)match(input,87,FOLLOW_87_in_modifyStatement2675); if (state.failed) return ;
pushFollow(FOLLOW_parExpression_in_modifyStatement2677);
@@ -6293,12 +6293,12 @@
}
match(input,37,FOLLOW_37_in_modifyStatement2684); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:699:6: (e= expression ( ',' e= expression )* )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:699:6: (e= expression ( ',' e= expression )* )?
int alt115=2;
alt115 = dfa115.predict(input);
switch (alt115) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:699:8: e= expression ( ',' e= expression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:699:8: e= expression ( ',' e= expression )*
{
pushFollow(FOLLOW_expression_in_modifyStatement2692);
e=expression();
@@ -6308,7 +6308,7 @@
if ( state.backtracking==0 ) {
d.getExpressions().add( (e!=null?input.toString(e.start,e.stop):null) );
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:700:9: ( ',' e= expression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:700:9: ( ',' e= expression )*
loop114:
do {
int alt114=2;
@@ -6321,7 +6321,7 @@
switch (alt114) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:700:10: ',' e= expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:700:10: ',' e= expression
{
match(input,34,FOLLOW_34_in_modifyStatement2705); if (state.failed) return ;
pushFollow(FOLLOW_expression_in_modifyStatement2709);
@@ -6370,27 +6370,27 @@
// $ANTLR start "catches"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:708:1: catches : catchClause ( catchClause )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:708:1: catches : catchClause ( catchClause )* ;
public final void catches() throws RecognitionException {
int catches_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 85) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:709:2: ( catchClause ( catchClause )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:709:4: catchClause ( catchClause )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:709:2: ( catchClause ( catchClause )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:709:4: catchClause ( catchClause )*
{
pushFollow(FOLLOW_catchClause_in_catches2752);
catchClause();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:709:16: ( catchClause )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:709:16: ( catchClause )*
loop116:
do {
int alt116=2;
alt116 = dfa116.predict(input);
switch (alt116) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:709:17: catchClause
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:709:17: catchClause
{
pushFollow(FOLLOW_catchClause_in_catches2755);
catchClause();
@@ -6423,13 +6423,13 @@
// $ANTLR start "catchClause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:712:1: catchClause : 'catch' '(' formalParameter ')' block ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:712:1: catchClause : 'catch' '(' formalParameter ')' block ;
public final void catchClause() throws RecognitionException {
int catchClause_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 86) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:713:2: ( 'catch' '(' formalParameter ')' block )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:713:4: 'catch' '(' formalParameter ')' block
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:713:2: ( 'catch' '(' formalParameter ')' block )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:713:4: 'catch' '(' formalParameter ')' block
{
match(input,88,FOLLOW_88_in_catchClause2769); if (state.failed) return ;
match(input,65,FOLLOW_65_in_catchClause2771); if (state.failed) return ;
@@ -6461,15 +6461,15 @@
// $ANTLR start "formalParameter"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:716:1: formalParameter : ( variableModifier )* type variableDeclaratorId ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:716:1: formalParameter : ( variableModifier )* type variableDeclaratorId ;
public final void formalParameter() throws RecognitionException {
int formalParameter_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 87) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:717:2: ( ( variableModifier )* type variableDeclaratorId )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:717:4: ( variableModifier )* type variableDeclaratorId
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:717:2: ( ( variableModifier )* type variableDeclaratorId )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:717:4: ( variableModifier )* type variableDeclaratorId
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:717:4: ( variableModifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:717:4: ( variableModifier )*
loop117:
do {
int alt117=2;
@@ -6482,7 +6482,7 @@
switch (alt117) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
{
pushFollow(FOLLOW_variableModifier_in_formalParameter2788);
variableModifier();
@@ -6525,15 +6525,15 @@
// $ANTLR start "switchBlockStatementGroups"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:720:1: switchBlockStatementGroups : ( switchBlockStatementGroup )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:720:1: switchBlockStatementGroups : ( switchBlockStatementGroup )* ;
public final void switchBlockStatementGroups() throws RecognitionException {
int switchBlockStatementGroups_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 88) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:721:2: ( ( switchBlockStatementGroup )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:721:4: ( switchBlockStatementGroup )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:721:2: ( ( switchBlockStatementGroup )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:721:4: ( switchBlockStatementGroup )*
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:721:4: ( switchBlockStatementGroup )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:721:4: ( switchBlockStatementGroup )*
loop118:
do {
int alt118=2;
@@ -6546,7 +6546,7 @@
switch (alt118) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:721:5: switchBlockStatementGroup
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:721:5: switchBlockStatementGroup
{
pushFollow(FOLLOW_switchBlockStatementGroup_in_switchBlockStatementGroups2807);
switchBlockStatementGroup();
@@ -6579,27 +6579,27 @@
// $ANTLR start "switchBlockStatementGroup"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:724:1: switchBlockStatementGroup : switchLabel ( blockStatement )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:724:1: switchBlockStatementGroup : switchLabel ( blockStatement )* ;
public final void switchBlockStatementGroup() throws RecognitionException {
int switchBlockStatementGroup_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 89) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:725:2: ( switchLabel ( blockStatement )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:725:4: switchLabel ( blockStatement )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:725:2: ( switchLabel ( blockStatement )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:725:4: switchLabel ( blockStatement )*
{
pushFollow(FOLLOW_switchLabel_in_switchBlockStatementGroup2821);
switchLabel();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:725:16: ( blockStatement )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:725:16: ( blockStatement )*
loop119:
do {
int alt119=2;
alt119 = dfa119.predict(input);
switch (alt119) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: blockStatement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: blockStatement
{
pushFollow(FOLLOW_blockStatement_in_switchBlockStatementGroup2823);
blockStatement();
@@ -6632,17 +6632,17 @@
// $ANTLR start "switchLabel"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:728:1: switchLabel : ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:728:1: switchLabel : ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' );
public final void switchLabel() throws RecognitionException {
int switchLabel_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 90) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:729:2: ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:729:2: ( 'case' constantExpression ':' | 'case' enumConstantName ':' | 'default' ':' )
int alt120=3;
alt120 = dfa120.predict(input);
switch (alt120) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:729:4: 'case' constantExpression ':'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:729:4: 'case' constantExpression ':'
{
match(input,89,FOLLOW_89_in_switchLabel2836); if (state.failed) return ;
pushFollow(FOLLOW_constantExpression_in_switchLabel2838);
@@ -6655,7 +6655,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:730:6: 'case' enumConstantName ':'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:730:6: 'case' enumConstantName ':'
{
match(input,89,FOLLOW_89_in_switchLabel2847); if (state.failed) return ;
pushFollow(FOLLOW_enumConstantName_in_switchLabel2849);
@@ -6668,7 +6668,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:731:6: 'default' ':'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:731:6: 'default' ':'
{
match(input,72,FOLLOW_72_in_switchLabel2858); if (state.failed) return ;
match(input,74,FOLLOW_74_in_switchLabel2860); if (state.failed) return ;
@@ -6691,15 +6691,15 @@
// $ANTLR start "moreStatementExpressions"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:734:1: moreStatementExpressions : ( ',' statementExpression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:734:1: moreStatementExpressions : ( ',' statementExpression )* ;
public final void moreStatementExpressions() throws RecognitionException {
int moreStatementExpressions_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 91) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:735:2: ( ( ',' statementExpression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:735:4: ( ',' statementExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:735:2: ( ( ',' statementExpression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:735:4: ( ',' statementExpression )*
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:735:4: ( ',' statementExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:735:4: ( ',' statementExpression )*
loop121:
do {
int alt121=2;
@@ -6712,7 +6712,7 @@
switch (alt121) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:735:5: ',' statementExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:735:5: ',' statementExpression
{
match(input,34,FOLLOW_34_in_moreStatementExpressions2873); if (state.failed) return ;
pushFollow(FOLLOW_statementExpression_in_moreStatementExpressions2875);
@@ -6746,17 +6746,17 @@
// $ANTLR start "forControl"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:738:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:738:1: forControl options {k=3; } : ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? );
public final void forControl() throws RecognitionException {
int forControl_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 92) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:740:2: ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:740:2: ( forVarControl | ( forInit )? ';' ( expression )? ';' ( forUpdate )? )
int alt125=2;
alt125 = dfa125.predict(input);
switch (alt125) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:740:4: forVarControl
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:740:4: forVarControl
{
pushFollow(FOLLOW_forVarControl_in_forControl2896);
forVarControl();
@@ -6767,14 +6767,14 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:741:4: ( forInit )? ';' ( expression )? ';' ( forUpdate )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:741:4: ( forInit )? ';' ( expression )? ';' ( forUpdate )?
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:741:4: ( forInit )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:741:4: ( forInit )?
int alt122=2;
alt122 = dfa122.predict(input);
switch (alt122) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: forInit
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: forInit
{
pushFollow(FOLLOW_forInit_in_forControl2901);
forInit();
@@ -6788,12 +6788,12 @@
}
match(input,25,FOLLOW_25_in_forControl2904); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:741:17: ( expression )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:741:17: ( expression )?
int alt123=2;
alt123 = dfa123.predict(input);
switch (alt123) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: expression
{
pushFollow(FOLLOW_expression_in_forControl2906);
expression();
@@ -6807,12 +6807,12 @@
}
match(input,25,FOLLOW_25_in_forControl2909); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:741:33: ( forUpdate )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:741:33: ( forUpdate )?
int alt124=2;
alt124 = dfa124.predict(input);
switch (alt124) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: forUpdate
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: forUpdate
{
pushFollow(FOLLOW_forUpdate_in_forControl2911);
forUpdate();
@@ -6844,7 +6844,7 @@
// $ANTLR start "forInit"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:744:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:744:1: forInit : ( ( variableModifier )* type variableDeclarators | expressionList );
public final void forInit() throws RecognitionException {
int forInit_StartIndex = input.index();
@@ -6852,14 +6852,14 @@
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 93) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:2: ( ( variableModifier )* type variableDeclarators | expressionList )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:2: ( ( variableModifier )* type variableDeclarators | expressionList )
int alt127=2;
alt127 = dfa127.predict(input);
switch (alt127) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:4: ( variableModifier )* type variableDeclarators
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:4: ( variableModifier )* type variableDeclarators
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:4: ( variableModifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:4: ( variableModifier )*
loop126:
do {
int alt126=2;
@@ -6872,7 +6872,7 @@
switch (alt126) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
{
pushFollow(FOLLOW_variableModifier_in_forInit2949);
variableModifier();
@@ -6902,7 +6902,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:752:4: expressionList
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:752:4: expressionList
{
pushFollow(FOLLOW_expressionList_in_forInit2959);
expressionList();
@@ -6933,15 +6933,15 @@
// $ANTLR start "forVarControl"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:755:1: forVarControl : ( variableModifier )* type Identifier ':' expression ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:755:1: forVarControl : ( variableModifier )* type Identifier ':' expression ;
public final void forVarControl() throws RecognitionException {
int forVarControl_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 94) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:756:2: ( ( variableModifier )* type Identifier ':' expression )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:756:4: ( variableModifier )* type Identifier ':' expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:756:2: ( ( variableModifier )* type Identifier ':' expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:756:4: ( variableModifier )* type Identifier ':' expression
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:756:4: ( variableModifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:756:4: ( variableModifier )*
loop128:
do {
int alt128=2;
@@ -6954,7 +6954,7 @@
switch (alt128) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
{
pushFollow(FOLLOW_variableModifier_in_forVarControl2971);
variableModifier();
@@ -6999,13 +6999,13 @@
// $ANTLR start "forUpdate"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:759:1: forUpdate : expressionList ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:759:1: forUpdate : expressionList ;
public final void forUpdate() throws RecognitionException {
int forUpdate_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 95) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:760:2: ( expressionList )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:760:4: expressionList
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:760:2: ( expressionList )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:760:4: expressionList
{
pushFollow(FOLLOW_expressionList_in_forUpdate2991);
expressionList();
@@ -7031,15 +7031,15 @@
};
// $ANTLR start "parExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:765:1: parExpression : '(' expression ')' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:765:1: parExpression : '(' expression ')' ;
public final JavaParser.parExpression_return parExpression() throws RecognitionException {
JavaParser.parExpression_return retval = new JavaParser.parExpression_return();
retval.start = input.LT(1);
int parExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 96) ) { return retval; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:766:2: ( '(' expression ')' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:766:4: '(' expression ')'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:766:2: ( '(' expression ')' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:766:4: '(' expression ')'
{
match(input,65,FOLLOW_65_in_parExpression3004); if (state.failed) return retval;
pushFollow(FOLLOW_expression_in_parExpression3006);
@@ -7067,20 +7067,20 @@
// $ANTLR start "expressionList"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:769:1: expressionList : expression ( ',' expression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:769:1: expressionList : expression ( ',' expression )* ;
public final void expressionList() throws RecognitionException {
int expressionList_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 97) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:770:5: ( expression ( ',' expression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:770:9: expression ( ',' expression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:770:5: ( expression ( ',' expression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:770:9: expression ( ',' expression )*
{
pushFollow(FOLLOW_expression_in_expressionList3025);
expression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:770:20: ( ',' expression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:770:20: ( ',' expression )*
loop129:
do {
int alt129=2;
@@ -7093,7 +7093,7 @@
switch (alt129) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:770:21: ',' expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:770:21: ',' expression
{
match(input,34,FOLLOW_34_in_expressionList3028); if (state.failed) return ;
pushFollow(FOLLOW_expression_in_expressionList3030);
@@ -7127,13 +7127,13 @@
// $ANTLR start "statementExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:773:1: statementExpression : expression ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:773:1: statementExpression : expression ;
public final void statementExpression() throws RecognitionException {
int statementExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 98) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:774:2: ( expression )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:774:4: expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:774:2: ( expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:774:4: expression
{
pushFollow(FOLLOW_expression_in_statementExpression3046);
expression();
@@ -7157,13 +7157,13 @@
// $ANTLR start "constantExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:777:1: constantExpression : expression ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:777:1: constantExpression : expression ;
public final void constantExpression() throws RecognitionException {
int constantExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 99) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:778:2: ( expression )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:778:4: expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:778:2: ( expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:778:4: expression
{
pushFollow(FOLLOW_expression_in_constantExpression3058);
expression();
@@ -7189,27 +7189,27 @@
};
// $ANTLR start "expression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:781:1: expression : conditionalExpression ( assignmentOperator expression )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:781:1: expression : conditionalExpression ( assignmentOperator expression )? ;
public final JavaParser.expression_return expression() throws RecognitionException {
JavaParser.expression_return retval = new JavaParser.expression_return();
retval.start = input.LT(1);
int expression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 100) ) { return retval; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:782:2: ( conditionalExpression ( assignmentOperator expression )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:782:4: conditionalExpression ( assignmentOperator expression )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:782:2: ( conditionalExpression ( assignmentOperator expression )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:782:4: conditionalExpression ( assignmentOperator expression )?
{
pushFollow(FOLLOW_conditionalExpression_in_expression3070);
conditionalExpression();
state._fsp--;
if (state.failed) return retval;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:782:26: ( assignmentOperator expression )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:782:26: ( assignmentOperator expression )?
int alt130=2;
alt130 = dfa130.predict(input);
switch (alt130) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:782:27: assignmentOperator expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:782:27: assignmentOperator expression
{
pushFollow(FOLLOW_assignmentOperator_in_expression3073);
assignmentOperator();
@@ -7246,80 +7246,80 @@
// $ANTLR start "assignmentOperator"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:785:1: assignmentOperator : ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:785:1: assignmentOperator : ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' );
public final void assignmentOperator() throws RecognitionException {
int assignmentOperator_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 101) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:786:2: ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:786:2: ( '=' | '+=' | '-=' | '*=' | '/=' | '&=' | '|=' | '^=' | '%=' | '<' '<' '=' | '>' '>' '=' | '>' '>' '>' '=' )
int alt131=12;
alt131 = dfa131.predict(input);
switch (alt131) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:786:4: '='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:786:4: '='
{
match(input,44,FOLLOW_44_in_assignmentOperator3089); if (state.failed) return ;
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:787:9: '+='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:787:9: '+='
{
match(input,90,FOLLOW_90_in_assignmentOperator3099); if (state.failed) return ;
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:788:9: '-='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:788:9: '-='
{
match(input,91,FOLLOW_91_in_assignmentOperator3109); if (state.failed) return ;
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:789:9: '*='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:789:9: '*='
{
match(input,92,FOLLOW_92_in_assignmentOperator3119); if (state.failed) return ;
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:790:9: '/='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:790:9: '/='
{
match(input,93,FOLLOW_93_in_assignmentOperator3129); if (state.failed) return ;
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:791:9: '&='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:791:9: '&='
{
match(input,94,FOLLOW_94_in_assignmentOperator3139); if (state.failed) return ;
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:9: '|='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:792:9: '|='
{
match(input,95,FOLLOW_95_in_assignmentOperator3149); if (state.failed) return ;
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:793:9: '^='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:793:9: '^='
{
match(input,96,FOLLOW_96_in_assignmentOperator3159); if (state.failed) return ;
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:794:9: '%='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:794:9: '%='
{
match(input,97,FOLLOW_97_in_assignmentOperator3169); if (state.failed) return ;
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:795:9: '<' '<' '='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:795:9: '<' '<' '='
{
match(input,33,FOLLOW_33_in_assignmentOperator3179); if (state.failed) return ;
match(input,33,FOLLOW_33_in_assignmentOperator3181); if (state.failed) return ;
@@ -7328,7 +7328,7 @@
}
break;
case 11 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:9: '>' '>' '='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:9: '>' '>' '='
{
match(input,35,FOLLOW_35_in_assignmentOperator3193); if (state.failed) return ;
match(input,35,FOLLOW_35_in_assignmentOperator3195); if (state.failed) return ;
@@ -7337,7 +7337,7 @@
}
break;
case 12 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:797:9: '>' '>' '>' '='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:797:9: '>' '>' '>' '='
{
match(input,35,FOLLOW_35_in_assignmentOperator3207); if (state.failed) return ;
match(input,35,FOLLOW_35_in_assignmentOperator3209); if (state.failed) return ;
@@ -7362,25 +7362,25 @@
// $ANTLR start "conditionalExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:800:1: conditionalExpression : conditionalOrExpression ( '?' expression ':' expression )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:800:1: conditionalExpression : conditionalOrExpression ( '?' expression ':' expression )? ;
public final void conditionalExpression() throws RecognitionException {
int conditionalExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 102) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:5: ( conditionalOrExpression ( '?' expression ':' expression )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:9: conditionalOrExpression ( '?' expression ':' expression )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:5: ( conditionalOrExpression ( '?' expression ':' expression )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:9: conditionalOrExpression ( '?' expression ':' expression )?
{
pushFollow(FOLLOW_conditionalOrExpression_in_conditionalExpression3229);
conditionalOrExpression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:33: ( '?' expression ':' expression )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:33: ( '?' expression ':' expression )?
int alt132=2;
alt132 = dfa132.predict(input);
switch (alt132) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:35: '?' expression ':' expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:801:35: '?' expression ':' expression
{
match(input,63,FOLLOW_63_in_conditionalExpression3233); if (state.failed) return ;
pushFollow(FOLLOW_expression_in_conditionalExpression3235);
@@ -7417,27 +7417,27 @@
// $ANTLR start "conditionalOrExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:804:1: conditionalOrExpression : conditionalAndExpression ( '||' conditionalAndExpression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:804:1: conditionalOrExpression : conditionalAndExpression ( '||' conditionalAndExpression )* ;
public final void conditionalOrExpression() throws RecognitionException {
int conditionalOrExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 103) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:805:5: ( conditionalAndExpression ( '||' conditionalAndExpression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:805:9: conditionalAndExpression ( '||' conditionalAndExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:805:5: ( conditionalAndExpression ( '||' conditionalAndExpression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:805:9: conditionalAndExpression ( '||' conditionalAndExpression )*
{
pushFollow(FOLLOW_conditionalAndExpression_in_conditionalOrExpression3258);
conditionalAndExpression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:805:34: ( '||' conditionalAndExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:805:34: ( '||' conditionalAndExpression )*
loop133:
do {
int alt133=2;
alt133 = dfa133.predict(input);
switch (alt133) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:805:36: '||' conditionalAndExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:805:36: '||' conditionalAndExpression
{
match(input,98,FOLLOW_98_in_conditionalOrExpression3262); if (state.failed) return ;
pushFollow(FOLLOW_conditionalAndExpression_in_conditionalOrExpression3264);
@@ -7471,27 +7471,27 @@
// $ANTLR start "conditionalAndExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:808:1: conditionalAndExpression : inclusiveOrExpression ( '&&' inclusiveOrExpression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:808:1: conditionalAndExpression : inclusiveOrExpression ( '&&' inclusiveOrExpression )* ;
public final void conditionalAndExpression() throws RecognitionException {
int conditionalAndExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 104) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:5: ( inclusiveOrExpression ( '&&' inclusiveOrExpression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:9: inclusiveOrExpression ( '&&' inclusiveOrExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:5: ( inclusiveOrExpression ( '&&' inclusiveOrExpression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:9: inclusiveOrExpression ( '&&' inclusiveOrExpression )*
{
pushFollow(FOLLOW_inclusiveOrExpression_in_conditionalAndExpression3283);
inclusiveOrExpression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:31: ( '&&' inclusiveOrExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:31: ( '&&' inclusiveOrExpression )*
loop134:
do {
int alt134=2;
alt134 = dfa134.predict(input);
switch (alt134) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:33: '&&' inclusiveOrExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:809:33: '&&' inclusiveOrExpression
{
match(input,99,FOLLOW_99_in_conditionalAndExpression3287); if (state.failed) return ;
pushFollow(FOLLOW_inclusiveOrExpression_in_conditionalAndExpression3289);
@@ -7525,27 +7525,27 @@
// $ANTLR start "inclusiveOrExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:812:1: inclusiveOrExpression : exclusiveOrExpression ( '|' exclusiveOrExpression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:812:1: inclusiveOrExpression : exclusiveOrExpression ( '|' exclusiveOrExpression )* ;
public final void inclusiveOrExpression() throws RecognitionException {
int inclusiveOrExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 105) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:813:5: ( exclusiveOrExpression ( '|' exclusiveOrExpression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:813:9: exclusiveOrExpression ( '|' exclusiveOrExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:813:5: ( exclusiveOrExpression ( '|' exclusiveOrExpression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:813:9: exclusiveOrExpression ( '|' exclusiveOrExpression )*
{
pushFollow(FOLLOW_exclusiveOrExpression_in_inclusiveOrExpression3308);
exclusiveOrExpression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:813:31: ( '|' exclusiveOrExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:813:31: ( '|' exclusiveOrExpression )*
loop135:
do {
int alt135=2;
alt135 = dfa135.predict(input);
switch (alt135) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:813:33: '|' exclusiveOrExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:813:33: '|' exclusiveOrExpression
{
match(input,100,FOLLOW_100_in_inclusiveOrExpression3312); if (state.failed) return ;
pushFollow(FOLLOW_exclusiveOrExpression_in_inclusiveOrExpression3314);
@@ -7579,27 +7579,27 @@
// $ANTLR start "exclusiveOrExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:816:1: exclusiveOrExpression : andExpression ( '^' andExpression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:816:1: exclusiveOrExpression : andExpression ( '^' andExpression )* ;
public final void exclusiveOrExpression() throws RecognitionException {
int exclusiveOrExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 106) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:817:5: ( andExpression ( '^' andExpression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:817:9: andExpression ( '^' andExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:817:5: ( andExpression ( '^' andExpression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:817:9: andExpression ( '^' andExpression )*
{
pushFollow(FOLLOW_andExpression_in_exclusiveOrExpression3333);
andExpression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:817:23: ( '^' andExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:817:23: ( '^' andExpression )*
loop136:
do {
int alt136=2;
alt136 = dfa136.predict(input);
switch (alt136) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:817:25: '^' andExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:817:25: '^' andExpression
{
match(input,101,FOLLOW_101_in_exclusiveOrExpression3337); if (state.failed) return ;
pushFollow(FOLLOW_andExpression_in_exclusiveOrExpression3339);
@@ -7633,27 +7633,27 @@
// $ANTLR start "andExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:820:1: andExpression : equalityExpression ( '&' equalityExpression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:820:1: andExpression : equalityExpression ( '&' equalityExpression )* ;
public final void andExpression() throws RecognitionException {
int andExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 107) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:821:5: ( equalityExpression ( '&' equalityExpression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:821:9: equalityExpression ( '&' equalityExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:821:5: ( equalityExpression ( '&' equalityExpression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:821:9: equalityExpression ( '&' equalityExpression )*
{
pushFollow(FOLLOW_equalityExpression_in_andExpression3358);
equalityExpression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:821:28: ( '&' equalityExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:821:28: ( '&' equalityExpression )*
loop137:
do {
int alt137=2;
alt137 = dfa137.predict(input);
switch (alt137) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:821:30: '&' equalityExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:821:30: '&' equalityExpression
{
match(input,36,FOLLOW_36_in_andExpression3362); if (state.failed) return ;
pushFollow(FOLLOW_equalityExpression_in_andExpression3364);
@@ -7687,27 +7687,27 @@
// $ANTLR start "equalityExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:824:1: equalityExpression : instanceOfExpression ( ( '==' | '!=' ) instanceOfExpression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:824:1: equalityExpression : instanceOfExpression ( ( '==' | '!=' ) instanceOfExpression )* ;
public final void equalityExpression() throws RecognitionException {
int equalityExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 108) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:5: ( instanceOfExpression ( ( '==' | '!=' ) instanceOfExpression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:9: instanceOfExpression ( ( '==' | '!=' ) instanceOfExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:5: ( instanceOfExpression ( ( '==' | '!=' ) instanceOfExpression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:9: instanceOfExpression ( ( '==' | '!=' ) instanceOfExpression )*
{
pushFollow(FOLLOW_instanceOfExpression_in_equalityExpression3383);
instanceOfExpression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:30: ( ( '==' | '!=' ) instanceOfExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:30: ( ( '==' | '!=' ) instanceOfExpression )*
loop138:
do {
int alt138=2;
alt138 = dfa138.predict(input);
switch (alt138) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:32: ( '==' | '!=' ) instanceOfExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:825:32: ( '==' | '!=' ) instanceOfExpression
{
if ( (input.LA(1)>=102 && input.LA(1)<=103) ) {
input.consume();
@@ -7750,25 +7750,25 @@
// $ANTLR start "instanceOfExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:828:1: instanceOfExpression : relationalExpression ( 'instanceof' type )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:828:1: instanceOfExpression : relationalExpression ( 'instanceof' type )? ;
public final void instanceOfExpression() throws RecognitionException {
int instanceOfExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 109) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:829:5: ( relationalExpression ( 'instanceof' type )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:829:9: relationalExpression ( 'instanceof' type )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:829:5: ( relationalExpression ( 'instanceof' type )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:829:9: relationalExpression ( 'instanceof' type )?
{
pushFollow(FOLLOW_relationalExpression_in_instanceOfExpression3414);
relationalExpression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:829:30: ( 'instanceof' type )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:829:30: ( 'instanceof' type )?
int alt139=2;
alt139 = dfa139.predict(input);
switch (alt139) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:829:31: 'instanceof' type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:829:31: 'instanceof' type
{
match(input,104,FOLLOW_104_in_instanceOfExpression3417); if (state.failed) return ;
pushFollow(FOLLOW_type_in_instanceOfExpression3419);
@@ -7799,27 +7799,27 @@
// $ANTLR start "relationalExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:832:1: relationalExpression : shiftExpression ( relationalOp shiftExpression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:832:1: relationalExpression : shiftExpression ( relationalOp shiftExpression )* ;
public final void relationalExpression() throws RecognitionException {
int relationalExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 110) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:5: ( shiftExpression ( relationalOp shiftExpression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:9: shiftExpression ( relationalOp shiftExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:5: ( shiftExpression ( relationalOp shiftExpression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:9: shiftExpression ( relationalOp shiftExpression )*
{
pushFollow(FOLLOW_shiftExpression_in_relationalExpression3437);
shiftExpression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:25: ( relationalOp shiftExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:25: ( relationalOp shiftExpression )*
loop140:
do {
int alt140=2;
alt140 = dfa140.predict(input);
switch (alt140) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:27: relationalOp shiftExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:27: relationalOp shiftExpression
{
pushFollow(FOLLOW_relationalOp_in_relationalExpression3441);
relationalOp();
@@ -7857,20 +7857,20 @@
// $ANTLR start "relationalOp"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:836:1: relationalOp : ( '<' '=' | '>' '=' | '<' | '>' ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:836:1: relationalOp : ( '<' '=' | '>' '=' | '<' | '>' ) ;
public final void relationalOp() throws RecognitionException {
int relationalOp_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 111) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:2: ( ( '<' '=' | '>' '=' | '<' | '>' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:4: ( '<' '=' | '>' '=' | '<' | '>' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:2: ( ( '<' '=' | '>' '=' | '<' | '>' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:4: ( '<' '=' | '>' '=' | '<' | '>' )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:4: ( '<' '=' | '>' '=' | '<' | '>' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:4: ( '<' '=' | '>' '=' | '<' | '>' )
int alt141=4;
alt141 = dfa141.predict(input);
switch (alt141) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:5: '<' '='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:5: '<' '='
{
match(input,33,FOLLOW_33_in_relationalOp3459); if (state.failed) return ;
match(input,44,FOLLOW_44_in_relationalOp3461); if (state.failed) return ;
@@ -7878,7 +7878,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:15: '>' '='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:15: '>' '='
{
match(input,35,FOLLOW_35_in_relationalOp3465); if (state.failed) return ;
match(input,44,FOLLOW_44_in_relationalOp3467); if (state.failed) return ;
@@ -7886,14 +7886,14 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:25: '<'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:25: '<'
{
match(input,33,FOLLOW_33_in_relationalOp3471); if (state.failed) return ;
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:31: '>'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:837:31: '>'
{
match(input,35,FOLLOW_35_in_relationalOp3475); if (state.failed) return ;
@@ -7919,27 +7919,27 @@
// $ANTLR start "shiftExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:840:1: shiftExpression : additiveExpression ( shiftOp additiveExpression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:840:1: shiftExpression : additiveExpression ( shiftOp additiveExpression )* ;
public final void shiftExpression() throws RecognitionException {
int shiftExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 112) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:5: ( additiveExpression ( shiftOp additiveExpression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:9: additiveExpression ( shiftOp additiveExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:5: ( additiveExpression ( shiftOp additiveExpression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:9: additiveExpression ( shiftOp additiveExpression )*
{
pushFollow(FOLLOW_additiveExpression_in_shiftExpression3492);
additiveExpression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:28: ( shiftOp additiveExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:28: ( shiftOp additiveExpression )*
loop142:
do {
int alt142=2;
alt142 = dfa142.predict(input);
switch (alt142) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:30: shiftOp additiveExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:30: shiftOp additiveExpression
{
pushFollow(FOLLOW_shiftOp_in_shiftExpression3496);
shiftOp();
@@ -7977,15 +7977,15 @@
// $ANTLR start "shiftOp"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:845:1: shiftOp : ( '<' '<' | '>' '>' '>' | '>' '>' ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:845:1: shiftOp : ( '<' '<' | '>' '>' '>' | '>' '>' ) ;
public final void shiftOp() throws RecognitionException {
int shiftOp_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 113) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:2: ( ( '<' '<' | '>' '>' '>' | '>' '>' ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:4: ( '<' '<' | '>' '>' '>' | '>' '>' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:2: ( ( '<' '<' | '>' '>' '>' | '>' '>' ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:4: ( '<' '<' | '>' '>' '>' | '>' '>' )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:4: ( '<' '<' | '>' '>' '>' | '>' '>' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:4: ( '<' '<' | '>' '>' '>' | '>' '>' )
int alt143=3;
int LA143_0 = input.LA(1);
@@ -8029,7 +8029,7 @@
}
switch (alt143) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:5: '<' '<'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:5: '<' '<'
{
match(input,33,FOLLOW_33_in_shiftOp3522); if (state.failed) return ;
match(input,33,FOLLOW_33_in_shiftOp3524); if (state.failed) return ;
@@ -8037,7 +8037,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:15: '>' '>' '>'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:15: '>' '>' '>'
{
match(input,35,FOLLOW_35_in_shiftOp3528); if (state.failed) return ;
match(input,35,FOLLOW_35_in_shiftOp3530); if (state.failed) return ;
@@ -8046,7 +8046,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:29: '>' '>'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:29: '>' '>'
{
match(input,35,FOLLOW_35_in_shiftOp3536); if (state.failed) return ;
match(input,35,FOLLOW_35_in_shiftOp3538); if (state.failed) return ;
@@ -8073,27 +8073,27 @@
// $ANTLR start "additiveExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:850:1: additiveExpression : multiplicativeExpression ( ( '+' | '-' ) multiplicativeExpression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:850:1: additiveExpression : multiplicativeExpression ( ( '+' | '-' ) multiplicativeExpression )* ;
public final void additiveExpression() throws RecognitionException {
int additiveExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 114) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:851:5: ( multiplicativeExpression ( ( '+' | '-' ) multiplicativeExpression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:851:9: multiplicativeExpression ( ( '+' | '-' ) multiplicativeExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:851:5: ( multiplicativeExpression ( ( '+' | '-' ) multiplicativeExpression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:851:9: multiplicativeExpression ( ( '+' | '-' ) multiplicativeExpression )*
{
pushFollow(FOLLOW_multiplicativeExpression_in_additiveExpression3556);
multiplicativeExpression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:851:34: ( ( '+' | '-' ) multiplicativeExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:851:34: ( ( '+' | '-' ) multiplicativeExpression )*
loop144:
do {
int alt144=2;
alt144 = dfa144.predict(input);
switch (alt144) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:851:36: ( '+' | '-' ) multiplicativeExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:851:36: ( '+' | '-' ) multiplicativeExpression
{
if ( (input.LA(1)>=105 && input.LA(1)<=106) ) {
input.consume();
@@ -8136,27 +8136,27 @@
// $ANTLR start "multiplicativeExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:854:1: multiplicativeExpression : unaryExpression ( ( '*' | '/' | '%' ) unaryExpression )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:854:1: multiplicativeExpression : unaryExpression ( ( '*' | '/' | '%' ) unaryExpression )* ;
public final void multiplicativeExpression() throws RecognitionException {
int multiplicativeExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 115) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:855:5: ( unaryExpression ( ( '*' | '/' | '%' ) unaryExpression )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:855:9: unaryExpression ( ( '*' | '/' | '%' ) unaryExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:855:5: ( unaryExpression ( ( '*' | '/' | '%' ) unaryExpression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:855:9: unaryExpression ( ( '*' | '/' | '%' ) unaryExpression )*
{
pushFollow(FOLLOW_unaryExpression_in_multiplicativeExpression3587);
unaryExpression();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:855:25: ( ( '*' | '/' | '%' ) unaryExpression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:855:25: ( ( '*' | '/' | '%' ) unaryExpression )*
loop145:
do {
int alt145=2;
alt145 = dfa145.predict(input);
switch (alt145) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:855:27: ( '*' | '/' | '%' ) unaryExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:855:27: ( '*' | '/' | '%' ) unaryExpression
{
if ( input.LA(1)==29||(input.LA(1)>=107 && input.LA(1)<=108) ) {
input.consume();
@@ -8199,17 +8199,17 @@
// $ANTLR start "unaryExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:858:1: unaryExpression : ( '+' unaryExpression | '-' unaryExpression | '++' primary | '--' primary | unaryExpressionNotPlusMinus );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:858:1: unaryExpression : ( '+' unaryExpression | '-' unaryExpression | '++' primary | '--' primary | unaryExpressionNotPlusMinus );
public final void unaryExpression() throws RecognitionException {
int unaryExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 116) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:859:5: ( '+' unaryExpression | '-' unaryExpression | '++' primary | '--' primary | unaryExpressionNotPlusMinus )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:859:5: ( '+' unaryExpression | '-' unaryExpression | '++' primary | '--' primary | unaryExpressionNotPlusMinus )
int alt146=5;
alt146 = dfa146.predict(input);
switch (alt146) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:859:9: '+' unaryExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:859:9: '+' unaryExpression
{
match(input,105,FOLLOW_105_in_unaryExpression3625); if (state.failed) return ;
pushFollow(FOLLOW_unaryExpression_in_unaryExpression3627);
@@ -8221,7 +8221,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:860:7: '-' unaryExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:860:7: '-' unaryExpression
{
match(input,106,FOLLOW_106_in_unaryExpression3635); if (state.failed) return ;
pushFollow(FOLLOW_unaryExpression_in_unaryExpression3637);
@@ -8233,7 +8233,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:861:9: '++' primary
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:861:9: '++' primary
{
match(input,109,FOLLOW_109_in_unaryExpression3647); if (state.failed) return ;
pushFollow(FOLLOW_primary_in_unaryExpression3649);
@@ -8245,7 +8245,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:862:9: '--' primary
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:862:9: '--' primary
{
match(input,110,FOLLOW_110_in_unaryExpression3659); if (state.failed) return ;
pushFollow(FOLLOW_primary_in_unaryExpression3661);
@@ -8257,7 +8257,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:863:9: unaryExpressionNotPlusMinus
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:863:9: unaryExpressionNotPlusMinus
{
pushFollow(FOLLOW_unaryExpressionNotPlusMinus_in_unaryExpression3671);
unaryExpressionNotPlusMinus();
@@ -8283,17 +8283,17 @@
// $ANTLR start "unaryExpressionNotPlusMinus"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:866:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:866:1: unaryExpressionNotPlusMinus : ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? );
public final void unaryExpressionNotPlusMinus() throws RecognitionException {
int unaryExpressionNotPlusMinus_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 117) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:867:5: ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:867:5: ( '~' unaryExpression | '!' unaryExpression | castExpression | primary ( selector )* ( '++' | '--' )? )
int alt149=4;
alt149 = dfa149.predict(input);
switch (alt149) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:867:9: '~' unaryExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:867:9: '~' unaryExpression
{
match(input,111,FOLLOW_111_in_unaryExpressionNotPlusMinus3690); if (state.failed) return ;
pushFollow(FOLLOW_unaryExpression_in_unaryExpressionNotPlusMinus3692);
@@ -8305,7 +8305,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:868:8: '!' unaryExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:868:8: '!' unaryExpression
{
match(input,112,FOLLOW_112_in_unaryExpressionNotPlusMinus3701); if (state.failed) return ;
pushFollow(FOLLOW_unaryExpression_in_unaryExpressionNotPlusMinus3703);
@@ -8317,7 +8317,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:869:9: castExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:869:9: castExpression
{
pushFollow(FOLLOW_castExpression_in_unaryExpressionNotPlusMinus3713);
castExpression();
@@ -8328,21 +8328,21 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:870:9: primary ( selector )* ( '++' | '--' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:870:9: primary ( selector )* ( '++' | '--' )?
{
pushFollow(FOLLOW_primary_in_unaryExpressionNotPlusMinus3723);
primary();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:870:17: ( selector )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:870:17: ( selector )*
loop147:
do {
int alt147=2;
alt147 = dfa147.predict(input);
switch (alt147) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: selector
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: selector
{
pushFollow(FOLLOW_selector_in_unaryExpressionNotPlusMinus3725);
selector();
@@ -8358,12 +8358,12 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:870:27: ( '++' | '--' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:870:27: ( '++' | '--' )?
int alt148=2;
alt148 = dfa148.predict(input);
switch (alt148) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:
{
if ( (input.LA(1)>=109 && input.LA(1)<=110) ) {
input.consume();
@@ -8400,17 +8400,17 @@
// $ANTLR start "castExpression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:873:1: castExpression : ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:873:1: castExpression : ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus );
public final void castExpression() throws RecognitionException {
int castExpression_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 118) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:874:5: ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:874:5: ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus )
int alt151=2;
alt151 = dfa151.predict(input);
switch (alt151) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:874:8: '(' primitiveType ')' unaryExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:874:8: '(' primitiveType ')' unaryExpression
{
match(input,65,FOLLOW_65_in_castExpression3751); if (state.failed) return ;
pushFollow(FOLLOW_primitiveType_in_castExpression3753);
@@ -8428,15 +8428,15 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:8: '(' ( type | expression ) ')' unaryExpressionNotPlusMinus
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:8: '(' ( type | expression ) ')' unaryExpressionNotPlusMinus
{
match(input,65,FOLLOW_65_in_castExpression3766); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:12: ( type | expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:12: ( type | expression )
int alt150=2;
alt150 = dfa150.predict(input);
switch (alt150) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:13: type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:13: type
{
pushFollow(FOLLOW_type_in_castExpression3769);
type();
@@ -8447,7 +8447,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:20: expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:20: expression
{
pushFollow(FOLLOW_expression_in_castExpression3773);
expression();
@@ -8485,19 +8485,19 @@
// $ANTLR start "primary"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:878:1: primary : ( parExpression | nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments ) | 'this' ( '.' Identifier )* ( identifierSuffix )? | 'super' superSuffix | literal | 'new' creator | i= Identifier ( '.' Identifier )* ( identifierSuffix )? | primitiveType ( '[' ']' )* '.' 'class' | 'void' '.' 'class' );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:878:1: primary : ( parExpression | nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments ) | 'this' ( '.' Identifier )* ( identifierSuffix )? | 'super' superSuffix | literal | 'new' creator | i= Identifier ( '.' Identifier )* ( identifierSuffix )? | primitiveType ( '[' ']' )* '.' 'class' | 'void' '.' 'class' );
public final void primary() throws RecognitionException {
int primary_StartIndex = input.index();
Token i=null;
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 119) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:5: ( parExpression | nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments ) | 'this' ( '.' Identifier )* ( identifierSuffix )? | 'super' superSuffix | literal | 'new' creator | i= Identifier ( '.' Identifier )* ( identifierSuffix )? | primitiveType ( '[' ']' )* '.' 'class' | 'void' '.' 'class' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:5: ( parExpression | nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments ) | 'this' ( '.' Identifier )* ( identifierSuffix )? | 'super' superSuffix | literal | 'new' creator | i= Identifier ( '.' Identifier )* ( identifierSuffix )? | primitiveType ( '[' ']' )* '.' 'class' | 'void' '.' 'class' )
int alt158=9;
alt158 = dfa158.predict(input);
switch (alt158) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:7: parExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:879:7: parExpression
{
pushFollow(FOLLOW_parExpression_in_primary3795);
parExpression();
@@ -8508,14 +8508,14 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:880:9: nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:880:9: nonWildcardTypeArguments ( explicitGenericInvocationSuffix | 'this' arguments )
{
pushFollow(FOLLOW_nonWildcardTypeArguments_in_primary3805);
nonWildcardTypeArguments();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:881:9: ( explicitGenericInvocationSuffix | 'this' arguments )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:881:9: ( explicitGenericInvocationSuffix | 'this' arguments )
int alt152=2;
int LA152_0 = input.LA(1);
@@ -8534,7 +8534,7 @@
}
switch (alt152) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:881:10: explicitGenericInvocationSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:881:10: explicitGenericInvocationSuffix
{
pushFollow(FOLLOW_explicitGenericInvocationSuffix_in_primary3816);
explicitGenericInvocationSuffix();
@@ -8545,7 +8545,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:881:44: 'this' arguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:881:44: 'this' arguments
{
match(input,113,FOLLOW_113_in_primary3820); if (state.failed) return ;
pushFollow(FOLLOW_arguments_in_primary3822);
@@ -8563,17 +8563,17 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:9: 'this' ( '.' Identifier )* ( identifierSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:9: 'this' ( '.' Identifier )* ( identifierSuffix )?
{
match(input,113,FOLLOW_113_in_primary3833); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:16: ( '.' Identifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:16: ( '.' Identifier )*
loop153:
do {
int alt153=2;
alt153 = dfa153.predict(input);
switch (alt153) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:17: '.' Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:17: '.' Identifier
{
match(input,28,FOLLOW_28_in_primary3836); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_primary3838); if (state.failed) return ;
@@ -8586,12 +8586,12 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:34: ( identifierSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:34: ( identifierSuffix )?
int alt154=2;
alt154 = dfa154.predict(input);
switch (alt154) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:35: identifierSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:35: identifierSuffix
{
pushFollow(FOLLOW_identifierSuffix_in_primary3843);
identifierSuffix();
@@ -8608,7 +8608,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:883:9: 'super' superSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:883:9: 'super' superSuffix
{
match(input,64,FOLLOW_64_in_primary3855); if (state.failed) return ;
pushFollow(FOLLOW_superSuffix_in_primary3857);
@@ -8620,7 +8620,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:884:9: literal
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:884:9: literal
{
pushFollow(FOLLOW_literal_in_primary3867);
literal();
@@ -8631,7 +8631,7 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:885:9: 'new' creator
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:885:9: 'new' creator
{
match(input,114,FOLLOW_114_in_primary3877); if (state.failed) return ;
pushFollow(FOLLOW_creator_in_primary3879);
@@ -8643,20 +8643,20 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:9: i= Identifier ( '.' Identifier )* ( identifierSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:9: i= Identifier ( '.' Identifier )* ( identifierSuffix )?
{
i=(Token)match(input,Identifier,FOLLOW_Identifier_in_primary3891); if (state.failed) return ;
if ( state.backtracking==0 ) {
if( ! "(".equals( input.LT(1) == null ? "" : input.LT(1).getText() ) ) identifiers.add( (i!=null?i.getText():null) );
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:126: ( '.' Identifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:126: ( '.' Identifier )*
loop155:
do {
int alt155=2;
alt155 = dfa155.predict(input);
switch (alt155) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:127: '.' Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:127: '.' Identifier
{
match(input,28,FOLLOW_28_in_primary3896); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_primary3898); if (state.failed) return ;
@@ -8669,12 +8669,12 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:144: ( identifierSuffix )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:144: ( identifierSuffix )?
int alt156=2;
alt156 = dfa156.predict(input);
switch (alt156) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:145: identifierSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:145: identifierSuffix
{
pushFollow(FOLLOW_identifierSuffix_in_primary3903);
identifierSuffix();
@@ -8691,14 +8691,14 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:887:9: primitiveType ( '[' ']' )* '.' 'class'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:887:9: primitiveType ( '[' ']' )* '.' 'class'
{
pushFollow(FOLLOW_primitiveType_in_primary3915);
primitiveType();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:887:23: ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:887:23: ( '[' ']' )*
loop157:
do {
int alt157=2;
@@ -8711,7 +8711,7 @@
switch (alt157) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:887:24: '[' ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:887:24: '[' ']'
{
match(input,41,FOLLOW_41_in_primary3918); if (state.failed) return ;
match(input,42,FOLLOW_42_in_primary3920); if (state.failed) return ;
@@ -8730,7 +8730,7 @@
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:888:9: 'void' '.' 'class'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:888:9: 'void' '.' 'class'
{
match(input,40,FOLLOW_40_in_primary3936); if (state.failed) return ;
match(input,28,FOLLOW_28_in_primary3938); if (state.failed) return ;
@@ -8754,19 +8754,19 @@
// $ANTLR start "identifierSuffix"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:891:1: identifierSuffix : ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:891:1: identifierSuffix : ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator );
public final void identifierSuffix() throws RecognitionException {
int identifierSuffix_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 120) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:2: ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:2: ( ( '[' ']' )+ '.' 'class' | ( '[' expression ']' )+ | arguments | '.' 'class' | '.' explicitGenericInvocation | '.' 'this' | '.' 'super' arguments | '.' 'new' ( nonWildcardTypeArguments )? innerCreator )
int alt162=8;
alt162 = dfa162.predict(input);
switch (alt162) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:4: ( '[' ']' )+ '.' 'class'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:4: ( '[' ']' )+ '.' 'class'
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:4: ( '[' ']' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:4: ( '[' ']' )+
int cnt159=0;
loop159:
do {
@@ -8780,7 +8780,7 @@
switch (alt159) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:5: '[' ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:892:5: '[' ']'
{
match(input,41,FOLLOW_41_in_identifierSuffix3952); if (state.failed) return ;
match(input,42,FOLLOW_42_in_identifierSuffix3954); if (state.failed) return ;
@@ -8804,9 +8804,9 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:4: ( '[' expression ']' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:4: ( '[' expression ']' )+
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:4: ( '[' expression ']' )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:4: ( '[' expression ']' )+
int cnt160=0;
loop160:
do {
@@ -8814,7 +8814,7 @@
alt160 = dfa160.predict(input);
switch (alt160) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:5: '[' expression ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:5: '[' expression ']'
{
match(input,41,FOLLOW_41_in_identifierSuffix3966); if (state.failed) return ;
pushFollow(FOLLOW_expression_in_identifierSuffix3968);
@@ -8841,7 +8841,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:894:9: arguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:894:9: arguments
{
pushFollow(FOLLOW_arguments_in_identifierSuffix3983);
arguments();
@@ -8852,7 +8852,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:895:9: '.' 'class'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:895:9: '.' 'class'
{
match(input,28,FOLLOW_28_in_identifierSuffix3993); if (state.failed) return ;
match(input,30,FOLLOW_30_in_identifierSuffix3995); if (state.failed) return ;
@@ -8860,7 +8860,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:896:9: '.' explicitGenericInvocation
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:896:9: '.' explicitGenericInvocation
{
match(input,28,FOLLOW_28_in_identifierSuffix4005); if (state.failed) return ;
pushFollow(FOLLOW_explicitGenericInvocation_in_identifierSuffix4007);
@@ -8872,7 +8872,7 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:897:9: '.' 'this'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:897:9: '.' 'this'
{
match(input,28,FOLLOW_28_in_identifierSuffix4017); if (state.failed) return ;
match(input,113,FOLLOW_113_in_identifierSuffix4019); if (state.failed) return ;
@@ -8880,7 +8880,7 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:898:9: '.' 'super' arguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:898:9: '.' 'super' arguments
{
match(input,28,FOLLOW_28_in_identifierSuffix4029); if (state.failed) return ;
match(input,64,FOLLOW_64_in_identifierSuffix4031); if (state.failed) return ;
@@ -8893,11 +8893,11 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:899:9: '.' 'new' ( nonWildcardTypeArguments )? innerCreator
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:899:9: '.' 'new' ( nonWildcardTypeArguments )? innerCreator
{
match(input,28,FOLLOW_28_in_identifierSuffix4043); if (state.failed) return ;
match(input,114,FOLLOW_114_in_identifierSuffix4045); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:899:19: ( nonWildcardTypeArguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:899:19: ( nonWildcardTypeArguments )?
int alt161=2;
int LA161_0 = input.LA(1);
@@ -8906,7 +8906,7 @@
}
switch (alt161) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:899:20: nonWildcardTypeArguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:899:20: nonWildcardTypeArguments
{
pushFollow(FOLLOW_nonWildcardTypeArguments_in_identifierSuffix4048);
nonWildcardTypeArguments();
@@ -8943,15 +8943,15 @@
// $ANTLR start "creator"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:902:1: creator : ( nonWildcardTypeArguments )? createdName ( arrayCreatorRest | classCreatorRest ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:902:1: creator : ( nonWildcardTypeArguments )? createdName ( arrayCreatorRest | classCreatorRest ) ;
public final void creator() throws RecognitionException {
int creator_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 121) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:903:2: ( ( nonWildcardTypeArguments )? createdName ( arrayCreatorRest | classCreatorRest ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:903:4: ( nonWildcardTypeArguments )? createdName ( arrayCreatorRest | classCreatorRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:903:2: ( ( nonWildcardTypeArguments )? createdName ( arrayCreatorRest | classCreatorRest ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:903:4: ( nonWildcardTypeArguments )? createdName ( arrayCreatorRest | classCreatorRest )
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:903:4: ( nonWildcardTypeArguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:903:4: ( nonWildcardTypeArguments )?
int alt163=2;
int LA163_0 = input.LA(1);
@@ -8960,7 +8960,7 @@
}
switch (alt163) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: nonWildcardTypeArguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: nonWildcardTypeArguments
{
pushFollow(FOLLOW_nonWildcardTypeArguments_in_creator4064);
nonWildcardTypeArguments();
@@ -8978,7 +8978,7 @@
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:904:9: ( arrayCreatorRest | classCreatorRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:904:9: ( arrayCreatorRest | classCreatorRest )
int alt164=2;
int LA164_0 = input.LA(1);
@@ -8997,7 +8997,7 @@
}
switch (alt164) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:904:10: arrayCreatorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:904:10: arrayCreatorRest
{
pushFollow(FOLLOW_arrayCreatorRest_in_creator4078);
arrayCreatorRest();
@@ -9008,7 +9008,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:904:29: classCreatorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:904:29: classCreatorRest
{
pushFollow(FOLLOW_classCreatorRest_in_creator4082);
classCreatorRest();
@@ -9038,12 +9038,12 @@
// $ANTLR start "createdName"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:907:1: createdName : ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* | primitiveType );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:907:1: createdName : ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* | primitiveType );
public final void createdName() throws RecognitionException {
int createdName_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 122) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:908:2: ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* | primitiveType )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:908:2: ( Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )* | primitiveType )
int alt168=2;
int LA168_0 = input.LA(1);
@@ -9062,10 +9062,10 @@
}
switch (alt168) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:908:4: Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:908:4: Identifier ( typeArguments )? ( '.' Identifier ( typeArguments )? )*
{
match(input,Identifier,FOLLOW_Identifier_in_createdName4094); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:908:15: ( typeArguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:908:15: ( typeArguments )?
int alt165=2;
int LA165_0 = input.LA(1);
@@ -9074,7 +9074,7 @@
}
switch (alt165) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: typeArguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: typeArguments
{
pushFollow(FOLLOW_typeArguments_in_createdName4096);
typeArguments();
@@ -9087,7 +9087,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:909:9: ( '.' Identifier ( typeArguments )? )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:909:9: ( '.' Identifier ( typeArguments )? )*
loop167:
do {
int alt167=2;
@@ -9100,11 +9100,11 @@
switch (alt167) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:909:10: '.' Identifier ( typeArguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:909:10: '.' Identifier ( typeArguments )?
{
match(input,28,FOLLOW_28_in_createdName4108); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_createdName4110); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:909:25: ( typeArguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:909:25: ( typeArguments )?
int alt166=2;
int LA166_0 = input.LA(1);
@@ -9113,7 +9113,7 @@
}
switch (alt166) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: typeArguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: typeArguments
{
pushFollow(FOLLOW_typeArguments_in_createdName4112);
typeArguments();
@@ -9139,7 +9139,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:910:7: primitiveType
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:910:7: primitiveType
{
pushFollow(FOLLOW_primitiveType_in_createdName4123);
primitiveType();
@@ -9165,13 +9165,13 @@
// $ANTLR start "innerCreator"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:913:1: innerCreator : Identifier classCreatorRest ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:913:1: innerCreator : Identifier classCreatorRest ;
public final void innerCreator() throws RecognitionException {
int innerCreator_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 123) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:914:2: ( Identifier classCreatorRest )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:914:4: Identifier classCreatorRest
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:914:2: ( Identifier classCreatorRest )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:914:4: Identifier classCreatorRest
{
match(input,Identifier,FOLLOW_Identifier_in_innerCreator4135); if (state.failed) return ;
pushFollow(FOLLOW_classCreatorRest_in_innerCreator4137);
@@ -9196,24 +9196,24 @@
// $ANTLR start "arrayCreatorRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:917:1: arrayCreatorRest : '[' ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:917:1: arrayCreatorRest : '[' ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* ) ;
public final void arrayCreatorRest() throws RecognitionException {
int arrayCreatorRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 124) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:918:2: ( '[' ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:918:4: '[' ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:918:2: ( '[' ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:918:4: '[' ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* )
{
match(input,41,FOLLOW_41_in_arrayCreatorRest4148); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:9: ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:9: ( ']' ( '[' ']' )* arrayInitializer | expression ']' ( '[' expression ']' )* ( '[' ']' )* )
int alt172=2;
alt172 = dfa172.predict(input);
switch (alt172) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:13: ']' ( '[' ']' )* arrayInitializer
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:13: ']' ( '[' ']' )* arrayInitializer
{
match(input,42,FOLLOW_42_in_arrayCreatorRest4162); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:17: ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:17: ( '[' ']' )*
loop169:
do {
int alt169=2;
@@ -9226,7 +9226,7 @@
switch (alt169) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:18: '[' ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:919:18: '[' ']'
{
match(input,41,FOLLOW_41_in_arrayCreatorRest4165); if (state.failed) return ;
match(input,42,FOLLOW_42_in_arrayCreatorRest4167); if (state.failed) return ;
@@ -9248,7 +9248,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:13: expression ']' ( '[' expression ']' )* ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:13: expression ']' ( '[' expression ']' )* ( '[' ']' )*
{
pushFollow(FOLLOW_expression_in_arrayCreatorRest4185);
expression();
@@ -9256,14 +9256,14 @@
state._fsp--;
if (state.failed) return ;
match(input,42,FOLLOW_42_in_arrayCreatorRest4187); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:28: ( '[' expression ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:28: ( '[' expression ']' )*
loop170:
do {
int alt170=2;
alt170 = dfa170.predict(input);
switch (alt170) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:29: '[' expression ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:29: '[' expression ']'
{
match(input,41,FOLLOW_41_in_arrayCreatorRest4190); if (state.failed) return ;
pushFollow(FOLLOW_expression_in_arrayCreatorRest4192);
@@ -9281,14 +9281,14 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:50: ( '[' ']' )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:50: ( '[' ']' )*
loop171:
do {
int alt171=2;
alt171 = dfa171.predict(input);
switch (alt171) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:51: '[' ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:51: '[' ']'
{
match(input,41,FOLLOW_41_in_arrayCreatorRest4199); if (state.failed) return ;
match(input,42,FOLLOW_42_in_arrayCreatorRest4201); if (state.failed) return ;
@@ -9324,25 +9324,25 @@
// $ANTLR start "classCreatorRest"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:924:1: classCreatorRest : arguments ( classBody )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:924:1: classCreatorRest : arguments ( classBody )? ;
public final void classCreatorRest() throws RecognitionException {
int classCreatorRest_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 125) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:925:2: ( arguments ( classBody )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:925:4: arguments ( classBody )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:925:2: ( arguments ( classBody )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:925:4: arguments ( classBody )?
{
pushFollow(FOLLOW_arguments_in_classCreatorRest4224);
arguments();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:925:14: ( classBody )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:925:14: ( classBody )?
int alt173=2;
alt173 = dfa173.predict(input);
switch (alt173) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: classBody
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: classBody
{
pushFollow(FOLLOW_classBody_in_classCreatorRest4226);
classBody();
@@ -9372,13 +9372,13 @@
// $ANTLR start "explicitGenericInvocation"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:928:1: explicitGenericInvocation : nonWildcardTypeArguments explicitGenericInvocationSuffix ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:928:1: explicitGenericInvocation : nonWildcardTypeArguments explicitGenericInvocationSuffix ;
public final void explicitGenericInvocation() throws RecognitionException {
int explicitGenericInvocation_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 126) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:2: ( nonWildcardTypeArguments explicitGenericInvocationSuffix )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:4: nonWildcardTypeArguments explicitGenericInvocationSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:2: ( nonWildcardTypeArguments explicitGenericInvocationSuffix )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:929:4: nonWildcardTypeArguments explicitGenericInvocationSuffix
{
pushFollow(FOLLOW_nonWildcardTypeArguments_in_explicitGenericInvocation4239);
nonWildcardTypeArguments();
@@ -9407,13 +9407,13 @@
// $ANTLR start "nonWildcardTypeArguments"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:932:1: nonWildcardTypeArguments : '<' typeList '>' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:932:1: nonWildcardTypeArguments : '<' typeList '>' ;
public final void nonWildcardTypeArguments() throws RecognitionException {
int nonWildcardTypeArguments_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 127) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:933:2: ( '<' typeList '>' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:933:4: '<' typeList '>'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:933:2: ( '<' typeList '>' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:933:4: '<' typeList '>'
{
match(input,33,FOLLOW_33_in_nonWildcardTypeArguments4253); if (state.failed) return ;
pushFollow(FOLLOW_typeList_in_nonWildcardTypeArguments4255);
@@ -9439,12 +9439,12 @@
// $ANTLR start "explicitGenericInvocationSuffix"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:936:1: explicitGenericInvocationSuffix : ( 'super' superSuffix | Identifier arguments );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:936:1: explicitGenericInvocationSuffix : ( 'super' superSuffix | Identifier arguments );
public final void explicitGenericInvocationSuffix() throws RecognitionException {
int explicitGenericInvocationSuffix_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 128) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:937:2: ( 'super' superSuffix | Identifier arguments )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:937:2: ( 'super' superSuffix | Identifier arguments )
int alt174=2;
int LA174_0 = input.LA(1);
@@ -9463,7 +9463,7 @@
}
switch (alt174) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:937:4: 'super' superSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:937:4: 'super' superSuffix
{
match(input,64,FOLLOW_64_in_explicitGenericInvocationSuffix4269); if (state.failed) return ;
pushFollow(FOLLOW_superSuffix_in_explicitGenericInvocationSuffix4271);
@@ -9475,7 +9475,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:938:6: Identifier arguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:938:6: Identifier arguments
{
match(input,Identifier,FOLLOW_Identifier_in_explicitGenericInvocationSuffix4278); if (state.failed) return ;
pushFollow(FOLLOW_arguments_in_explicitGenericInvocationSuffix4280);
@@ -9502,12 +9502,12 @@
// $ANTLR start "selector"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:941:1: selector : ( '.' Identifier ( arguments )? | '.' 'this' | '.' 'super' superSuffix | '.' 'new' ( nonWildcardTypeArguments )? innerCreator | '[' expression ']' );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:941:1: selector : ( '.' Identifier ( arguments )? | '.' 'this' | '.' 'super' superSuffix | '.' 'new' ( nonWildcardTypeArguments )? innerCreator | '[' expression ']' );
public final void selector() throws RecognitionException {
int selector_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 129) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:942:2: ( '.' Identifier ( arguments )? | '.' 'this' | '.' 'super' superSuffix | '.' 'new' ( nonWildcardTypeArguments )? innerCreator | '[' expression ']' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:942:2: ( '.' Identifier ( arguments )? | '.' 'this' | '.' 'super' superSuffix | '.' 'new' ( nonWildcardTypeArguments )? innerCreator | '[' expression ']' )
int alt177=5;
int LA177_0 = input.LA(1);
@@ -9554,16 +9554,16 @@
}
switch (alt177) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:942:4: '.' Identifier ( arguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:942:4: '.' Identifier ( arguments )?
{
match(input,28,FOLLOW_28_in_selector4292); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_selector4294); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:942:19: ( arguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:942:19: ( arguments )?
int alt175=2;
alt175 = dfa175.predict(input);
switch (alt175) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:942:20: arguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:942:20: arguments
{
pushFollow(FOLLOW_arguments_in_selector4297);
arguments();
@@ -9580,7 +9580,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:943:6: '.' 'this'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:943:6: '.' 'this'
{
match(input,28,FOLLOW_28_in_selector4306); if (state.failed) return ;
match(input,113,FOLLOW_113_in_selector4308); if (state.failed) return ;
@@ -9588,7 +9588,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:944:6: '.' 'super' superSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:944:6: '.' 'super' superSuffix
{
match(input,28,FOLLOW_28_in_selector4315); if (state.failed) return ;
match(input,64,FOLLOW_64_in_selector4317); if (state.failed) return ;
@@ -9601,11 +9601,11 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:945:6: '.' 'new' ( nonWildcardTypeArguments )? innerCreator
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:945:6: '.' 'new' ( nonWildcardTypeArguments )? innerCreator
{
match(input,28,FOLLOW_28_in_selector4326); if (state.failed) return ;
match(input,114,FOLLOW_114_in_selector4328); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:945:16: ( nonWildcardTypeArguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:945:16: ( nonWildcardTypeArguments )?
int alt176=2;
int LA176_0 = input.LA(1);
@@ -9614,7 +9614,7 @@
}
switch (alt176) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:945:17: nonWildcardTypeArguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:945:17: nonWildcardTypeArguments
{
pushFollow(FOLLOW_nonWildcardTypeArguments_in_selector4331);
nonWildcardTypeArguments();
@@ -9636,7 +9636,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:946:6: '[' expression ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:946:6: '[' expression ']'
{
match(input,41,FOLLOW_41_in_selector4342); if (state.failed) return ;
pushFollow(FOLLOW_expression_in_selector4344);
@@ -9664,12 +9664,12 @@
// $ANTLR start "superSuffix"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:949:1: superSuffix : ( arguments | '.' Identifier ( arguments )? );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:949:1: superSuffix : ( arguments | '.' Identifier ( arguments )? );
public final void superSuffix() throws RecognitionException {
int superSuffix_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 130) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:950:2: ( arguments | '.' Identifier ( arguments )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:950:2: ( arguments | '.' Identifier ( arguments )? )
int alt179=2;
int LA179_0 = input.LA(1);
@@ -9688,7 +9688,7 @@
}
switch (alt179) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:950:4: arguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:950:4: arguments
{
pushFollow(FOLLOW_arguments_in_superSuffix4358);
arguments();
@@ -9699,16 +9699,16 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:951:6: '.' Identifier ( arguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:951:6: '.' Identifier ( arguments )?
{
match(input,28,FOLLOW_28_in_superSuffix4365); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_superSuffix4367); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:951:21: ( arguments )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:951:21: ( arguments )?
int alt178=2;
alt178 = dfa178.predict(input);
switch (alt178) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:951:22: arguments
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:951:22: arguments
{
pushFollow(FOLLOW_arguments_in_superSuffix4370);
arguments();
@@ -9740,21 +9740,21 @@
// $ANTLR start "arguments"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:954:1: arguments : '(' ( expressionList )? ')' ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:954:1: arguments : '(' ( expressionList )? ')' ;
public final void arguments() throws RecognitionException {
int arguments_StartIndex = input.index();
try {
if ( state.backtracking>0 && alreadyParsedRule(input, 131) ) { return ; }
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:955:2: ( '(' ( expressionList )? ')' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:955:4: '(' ( expressionList )? ')'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:955:2: ( '(' ( expressionList )? ')' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:955:4: '(' ( expressionList )? ')'
{
match(input,65,FOLLOW_65_in_arguments4386); if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:955:8: ( expressionList )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:955:8: ( expressionList )?
int alt180=2;
alt180 = dfa180.predict(input);
switch (alt180) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: expressionList
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: expressionList
{
pushFollow(FOLLOW_expressionList_in_arguments4388);
expressionList();
@@ -9785,8 +9785,8 @@
// $ANTLR start synpred1_Java
public final void synpred1_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:207:4: ( annotations )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:207:4: annotations
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:207:4: ( annotations )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:207:4: annotations
{
pushFollow(FOLLOW_annotations_in_synpred1_Java70);
annotations();
@@ -9800,8 +9800,8 @@
// $ANTLR start synpred38_Java
public final void synpred38_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:303:4: ( methodDeclaration )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:303:4: methodDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:303:4: ( methodDeclaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:303:4: methodDeclaration
{
pushFollow(FOLLOW_methodDeclaration_in_synpred38_Java577);
methodDeclaration();
@@ -9815,8 +9815,8 @@
// $ANTLR start synpred39_Java
public final void synpred39_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:304:4: ( fieldDeclaration )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:304:4: fieldDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:304:4: ( fieldDeclaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:304:4: fieldDeclaration
{
pushFollow(FOLLOW_fieldDeclaration_in_synpred39_Java582);
fieldDeclaration();
@@ -9830,8 +9830,8 @@
// $ANTLR start synpred85_Java
public final void synpred85_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:459:16: ( '.' Identifier )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:459:16: '.' Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:459:16: ( '.' Identifier )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:459:16: '.' Identifier
{
match(input,28,FOLLOW_28_in_synpred85_Java1389); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_synpred85_Java1391); if (state.failed) return ;
@@ -9842,8 +9842,8 @@
// $ANTLR start synpred120_Java
public final void synpred120_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:549:4: ( annotation )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:549:4: annotation
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:549:4: ( annotation )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:549:4: annotation
{
pushFollow(FOLLOW_annotation_in_synpred120_Java1893);
annotation();
@@ -9857,15 +9857,15 @@
// $ANTLR start synpred135_Java
public final void synpred135_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:596:6: ( classDeclaration ( ';' )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:596:6: classDeclaration ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:596:6: ( classDeclaration ( ';' )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:596:6: classDeclaration ( ';' )?
{
pushFollow(FOLLOW_classDeclaration_in_synpred135_Java2123);
classDeclaration();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:596:23: ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:596:23: ( ';' )?
int alt196=2;
int LA196_0 = input.LA(1);
@@ -9874,7 +9874,7 @@
}
switch (alt196) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
match(input,25,FOLLOW_25_in_synpred135_Java2125); if (state.failed) return ;
@@ -9890,15 +9890,15 @@
// $ANTLR start synpred137_Java
public final void synpred137_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:6: ( interfaceDeclaration ( ';' )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:6: interfaceDeclaration ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:6: ( interfaceDeclaration ( ';' )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:6: interfaceDeclaration ( ';' )?
{
pushFollow(FOLLOW_interfaceDeclaration_in_synpred137_Java2133);
interfaceDeclaration();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:27: ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:597:27: ( ';' )?
int alt197=2;
int LA197_0 = input.LA(1);
@@ -9907,7 +9907,7 @@
}
switch (alt197) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
match(input,25,FOLLOW_25_in_synpred137_Java2135); if (state.failed) return ;
@@ -9923,15 +9923,15 @@
// $ANTLR start synpred139_Java
public final void synpred139_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:598:6: ( enumDeclaration ( ';' )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:598:6: enumDeclaration ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:598:6: ( enumDeclaration ( ';' )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:598:6: enumDeclaration ( ';' )?
{
pushFollow(FOLLOW_enumDeclaration_in_synpred139_Java2143);
enumDeclaration();
state._fsp--;
if (state.failed) return ;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:598:22: ( ';' )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:598:22: ( ';' )?
int alt198=2;
int LA198_0 = input.LA(1);
@@ -9940,7 +9940,7 @@
}
switch (alt198) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: ';'
{
match(input,25,FOLLOW_25_in_synpred139_Java2145); if (state.failed) return ;
@@ -9956,8 +9956,8 @@
// $ANTLR start synpred144_Java
public final void synpred144_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:632:4: ( localVariableDeclaration )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:632:4: localVariableDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:632:4: ( localVariableDeclaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:632:4: localVariableDeclaration
{
pushFollow(FOLLOW_localVariableDeclaration_in_synpred144_Java2286);
localVariableDeclaration();
@@ -9971,8 +9971,8 @@
// $ANTLR start synpred145_Java
public final void synpred145_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:633:4: ( classOrInterfaceDeclaration )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:633:4: classOrInterfaceDeclaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:633:4: ( classOrInterfaceDeclaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:633:4: classOrInterfaceDeclaration
{
pushFollow(FOLLOW_classOrInterfaceDeclaration_in_synpred145_Java2291);
classOrInterfaceDeclaration();
@@ -9986,8 +9986,8 @@
// $ANTLR start synpred150_Java
public final void synpred150_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:666:52: ( 'else' statement )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:666:52: 'else' statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:666:52: ( 'else' statement )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:666:52: 'else' statement
{
match(input,76,FOLLOW_76_in_synpred150_Java2431); if (state.failed) return ;
pushFollow(FOLLOW_statement_in_synpred150_Java2433);
@@ -10002,8 +10002,8 @@
// $ANTLR start synpred155_Java
public final void synpred155_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:671:9: ( catches 'finally' block )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:671:9: catches 'finally' block
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:671:9: ( catches 'finally' block )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:671:9: catches 'finally' block
{
pushFollow(FOLLOW_catches_in_synpred155_Java2499);
catches();
@@ -10023,8 +10023,8 @@
// $ANTLR start synpred156_Java
public final void synpred156_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:672:9: ( catches )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:672:9: catches
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:672:9: ( catches )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:672:9: catches
{
pushFollow(FOLLOW_catches_in_synpred156_Java2513);
catches();
@@ -10038,8 +10038,8 @@
// $ANTLR start synpred176_Java
public final void synpred176_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:729:4: ( 'case' constantExpression ':' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:729:4: 'case' constantExpression ':'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:729:4: ( 'case' constantExpression ':' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:729:4: 'case' constantExpression ':'
{
match(input,89,FOLLOW_89_in_synpred176_Java2836); if (state.failed) return ;
pushFollow(FOLLOW_constantExpression_in_synpred176_Java2838);
@@ -10055,8 +10055,8 @@
// $ANTLR start synpred177_Java
public final void synpred177_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:730:6: ( 'case' enumConstantName ':' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:730:6: 'case' enumConstantName ':'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:730:6: ( 'case' enumConstantName ':' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:730:6: 'case' enumConstantName ':'
{
match(input,89,FOLLOW_89_in_synpred177_Java2847); if (state.failed) return ;
pushFollow(FOLLOW_enumConstantName_in_synpred177_Java2849);
@@ -10072,8 +10072,8 @@
// $ANTLR start synpred179_Java
public final void synpred179_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:740:4: ( forVarControl )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:740:4: forVarControl
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:740:4: ( forVarControl )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:740:4: forVarControl
{
pushFollow(FOLLOW_forVarControl_in_synpred179_Java2896);
forVarControl();
@@ -10087,10 +10087,10 @@
// $ANTLR start synpred184_Java
public final void synpred184_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:4: ( ( variableModifier )* type variableDeclarators )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:4: ( variableModifier )* type variableDeclarators
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:4: ( ( variableModifier )* type variableDeclarators )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:4: ( variableModifier )* type variableDeclarators
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:4: ( variableModifier )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:751:4: ( variableModifier )*
loop206:
do {
int alt206=2;
@@ -10103,7 +10103,7 @@
switch (alt206) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:0:0: variableModifier
{
pushFollow(FOLLOW_variableModifier_in_synpred184_Java2949);
variableModifier();
@@ -10136,8 +10136,8 @@
// $ANTLR start synpred187_Java
public final void synpred187_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:782:27: ( assignmentOperator expression )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:782:27: assignmentOperator expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:782:27: ( assignmentOperator expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:782:27: assignmentOperator expression
{
pushFollow(FOLLOW_assignmentOperator_in_synpred187_Java3073);
assignmentOperator();
@@ -10156,8 +10156,8 @@
// $ANTLR start synpred198_Java
public final void synpred198_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:9: ( '>' '>' '=' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:9: '>' '>' '='
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:9: ( '>' '>' '=' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:796:9: '>' '>' '='
{
match(input,35,FOLLOW_35_in_synpred198_Java3193); if (state.failed) return ;
match(input,35,FOLLOW_35_in_synpred198_Java3195); if (state.failed) return ;
@@ -10169,8 +10169,8 @@
// $ANTLR start synpred208_Java
public final void synpred208_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:27: ( relationalOp shiftExpression )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:27: relationalOp shiftExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:27: ( relationalOp shiftExpression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:833:27: relationalOp shiftExpression
{
pushFollow(FOLLOW_relationalOp_in_synpred208_Java3441);
relationalOp();
@@ -10189,8 +10189,8 @@
// $ANTLR start synpred212_Java
public final void synpred212_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:30: ( shiftOp additiveExpression )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:30: shiftOp additiveExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:30: ( shiftOp additiveExpression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:841:30: shiftOp additiveExpression
{
pushFollow(FOLLOW_shiftOp_in_synpred212_Java3496);
shiftOp();
@@ -10209,8 +10209,8 @@
// $ANTLR start synpred214_Java
public final void synpred214_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:15: ( '>' '>' '>' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:15: '>' '>' '>'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:15: ( '>' '>' '>' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:846:15: '>' '>' '>'
{
match(input,35,FOLLOW_35_in_synpred214_Java3528); if (state.failed) return ;
match(input,35,FOLLOW_35_in_synpred214_Java3530); if (state.failed) return ;
@@ -10222,8 +10222,8 @@
// $ANTLR start synpred226_Java
public final void synpred226_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:869:9: ( castExpression )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:869:9: castExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:869:9: ( castExpression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:869:9: castExpression
{
pushFollow(FOLLOW_castExpression_in_synpred226_Java3713);
castExpression();
@@ -10237,8 +10237,8 @@
// $ANTLR start synpred230_Java
public final void synpred230_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:874:8: ( '(' primitiveType ')' unaryExpression )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:874:8: '(' primitiveType ')' unaryExpression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:874:8: ( '(' primitiveType ')' unaryExpression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:874:8: '(' primitiveType ')' unaryExpression
{
match(input,65,FOLLOW_65_in_synpred230_Java3751); if (state.failed) return ;
pushFollow(FOLLOW_primitiveType_in_synpred230_Java3753);
@@ -10259,8 +10259,8 @@
// $ANTLR start synpred231_Java
public final void synpred231_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:13: ( type )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:13: type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:13: ( type )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:875:13: type
{
pushFollow(FOLLOW_type_in_synpred231_Java3769);
type();
@@ -10274,8 +10274,8 @@
// $ANTLR start synpred235_Java
public final void synpred235_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:17: ( '.' Identifier )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:17: '.' Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:17: ( '.' Identifier )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:17: '.' Identifier
{
match(input,28,FOLLOW_28_in_synpred235_Java3836); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_synpred235_Java3838); if (state.failed) return ;
@@ -10286,8 +10286,8 @@
// $ANTLR start synpred236_Java
public final void synpred236_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:35: ( identifierSuffix )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:35: identifierSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:35: ( identifierSuffix )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:882:35: identifierSuffix
{
pushFollow(FOLLOW_identifierSuffix_in_synpred236_Java3843);
identifierSuffix();
@@ -10301,8 +10301,8 @@
// $ANTLR start synpred241_Java
public final void synpred241_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:127: ( '.' Identifier )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:127: '.' Identifier
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:127: ( '.' Identifier )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:127: '.' Identifier
{
match(input,28,FOLLOW_28_in_synpred241_Java3896); if (state.failed) return ;
match(input,Identifier,FOLLOW_Identifier_in_synpred241_Java3898); if (state.failed) return ;
@@ -10313,8 +10313,8 @@
// $ANTLR start synpred242_Java
public final void synpred242_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:145: ( identifierSuffix )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:145: identifierSuffix
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:145: ( identifierSuffix )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:886:145: identifierSuffix
{
pushFollow(FOLLOW_identifierSuffix_in_synpred242_Java3903);
identifierSuffix();
@@ -10328,8 +10328,8 @@
// $ANTLR start synpred248_Java
public final void synpred248_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:5: ( '[' expression ']' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:5: '[' expression ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:5: ( '[' expression ']' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:893:5: '[' expression ']'
{
match(input,41,FOLLOW_41_in_synpred248_Java3966); if (state.failed) return ;
pushFollow(FOLLOW_expression_in_synpred248_Java3968);
@@ -10345,8 +10345,8 @@
// $ANTLR start synpred264_Java
public final void synpred264_Java_fragment() throws RecognitionException {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:29: ( '[' expression ']' )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:29: '[' expression ']'
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:29: ( '[' expression ']' )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/semantics/java/parser/Java.g:920:29: '[' expression ']'
{
match(input,41,FOLLOW_41_in_synpred264_Java4190); if (state.failed) return ;
pushFollow(FOLLOW_expression_in_synpred264_Java4192);
@@ -13987,8 +13987,8 @@
"",
"",
"",
- "\1\5\25\uffff\1\5\2\uffff\1\5\10\uffff\1\5\5\uffff\12\5\12\uffff"+
- "\1\22\5\uffff\1\5",
+ "\1\5\25\uffff\1\5\2\uffff\1\5\10\uffff\1\5\5\uffff\12\5\12"+
+ "\uffff\1\22\5\uffff\1\5",
"",
"",
"",
@@ -14729,8 +14729,8 @@
"\24\uffff\1\0\3\uffff}>";
static final String[] DFA120_transitionS = {
"\1\2\20\uffff\1\1",
- "\1\24\1\uffff\6\3\25\uffff\1\3\6\uffff\1\3\16\uffff\10\3\1\uffff"+
- "\2\3\2\uffff\3\3\42\uffff\2\3\2\uffff\6\3",
+ "\1\24\1\uffff\6\3\25\uffff\1\3\6\uffff\1\3\16\uffff\10\3\1"+
+ "\uffff\2\3\2\uffff\3\3\42\uffff\2\3\2\uffff\6\3",
"",
"",
"",
@@ -14866,14 +14866,14 @@
"\1\111\27\uffff\1\107\24\uffff\1\113\5\uffff\10\112\2\uffff"+
"\1\110\5\uffff\1\114",
"\1\115\31\uffff\1\5\2\uffff\1\5\36\uffff\1\5\60\uffff\2\5",
- "\1\5\1\uffff\6\5\25\uffff\1\5\6\uffff\1\5\1\uffff\1\123\14\uffff"+
- "\10\5\1\uffff\2\5\2\uffff\3\5\42\uffff\2\5\2\uffff\6\5",
+ "\1\5\1\uffff\6\5\25\uffff\1\5\6\uffff\1\5\1\uffff\1\123\14"+
+ "\uffff\10\5\1\uffff\2\5\2\uffff\3\5\42\uffff\2\5\2\uffff\6\5",
"",
"",
"",
"",
- "\1\172\1\uffff\6\5\25\uffff\1\5\6\uffff\1\5\3\uffff\1\5\12\uffff"+
- "\10\173\1\175\2\5\2\uffff\3\5\42\uffff\2\5\2\uffff\6\5",
+ "\1\172\1\uffff\6\5\25\uffff\1\5\6\uffff\1\5\3\uffff\1\5\12"+
+ "\uffff\10\173\1\175\2\5\2\uffff\3\5\42\uffff\2\5\2\uffff\6\5",
"",
"",
"",
@@ -16895,8 +16895,8 @@
"",
"",
"",
- "\1\34\1\uffff\6\34\25\uffff\1\33\6\uffff\1\34\3\uffff\1\34\12"+
- "\uffff\10\34\1\uffff\2\34\2\uffff\3\34\42\uffff\2\34\2\uffff"+
+ "\1\34\1\uffff\6\34\25\uffff\1\33\6\uffff\1\34\3\uffff\1\34"+
+ "\12\uffff\10\34\1\uffff\2\34\2\uffff\3\34\42\uffff\2\34\2\uffff"+
"\6\34",
"\1\34\1\uffff\6\34\25\uffff\1\34\1\uffff\1\1\4\uffff\1\34\3"+
"\uffff\1\34\12\uffff\10\34\1\uffff\2\34\2\uffff\3\34\42\uffff"+
@@ -17023,8 +17023,8 @@
"\1\1\1\uffff\1\2",
"\1\4\1\uffff\6\4\25\uffff\1\4\6\uffff\1\4\3\uffff\1\3\12\uffff"+
"\10\4\1\uffff\2\4\2\uffff\3\4\42\uffff\2\4\2\uffff\6\4",
- "\1\31\1\uffff\6\31\25\uffff\1\31\6\uffff\1\31\3\uffff\1\30\12"+
- "\uffff\10\31\1\uffff\2\31\2\uffff\3\31\42\uffff\2\31\2\uffff"+
+ "\1\31\1\uffff\6\31\25\uffff\1\31\6\uffff\1\31\3\uffff\1\30"+
+ "\12\uffff\10\31\1\uffff\2\31\2\uffff\3\31\42\uffff\2\31\2\uffff"+
"\6\31",
"",
"",
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/main/resources/org/drools/lang/DRL.g 2008-11-24 15:31:25 UTC (rev 24065)
@@ -107,10 +107,15 @@
@lexer::header {
package org.drools.lang;
+
+ import org.drools.compiler.DroolsParserException;
}
@lexer::members {
+ private List<DroolsParserException> errors = new ArrayList<DroolsParserException>();
+ private DroolsParserExceptionFactory errorMessageFactory = new DroolsParserExceptionFactory(null, null);
+
/** The standard method called to automatically emit a token at the
* outermost lexical rule. The token object should point into the
* char buffer start..stop. If there is a text override in 'text',
@@ -126,6 +131,15 @@
return t;
}
+ public void reportError(RecognitionException ex) {
+ errors.add(errorMessageFactory.createDroolsException(ex));
+ }
+
+ /** return the raw DroolsParserException errors */
+ public List<DroolsParserException> getErrors() {
+ return errors;
+ }
+
/** Overrided this method to not output mesages */
public void emitErrorMessage(String msg) {
}
@@ -213,7 +227,7 @@
}
return lastIntergerValue;
}
-
+
private String retrieveLT(int LTNumber) {
if (null == input)
return null;
@@ -304,13 +318,11 @@
public void reportError(RecognitionException ex) {
// if we've already reported an error and have not matched a token
// yet successfully, don't report any errors.
- if ( state.errorRecovery ) {
- //System.err.print("[SPURIOUS] ");
+ if (state.errorRecovery) {
return;
}
- state.syntaxErrors++; // don't count spurious
state.errorRecovery = true;
-
+
errors.add(errorMessageFactory.createDroolsException(ex));
}
@@ -378,28 +390,6 @@
return sb.toString();
}
- /**
- * This methos is a copy from ANTLR base class (BaseRecognizer).
- * We had to copy it just to remove a System.err.println()
- * TODO : Check here later!
- public void recoverFromMismatchedToken(IntStream input,
- RecognitionException e, int ttype, BitSet follow)
- throws RecognitionException {
- // if next token is what we are looking for then "delete" this token
- if (input.LA(2) == ttype) {
- reportError(e);
- beginResync();
- input.consume(); // simply delete extra token
- endResync();
- input.consume(); // move past ttype token as if all were ok
- return;
- }
- if (!recoverFromMismatchedElement(input, e, follow)) {
- throw e;
- }
- }
- */
-
/** Overrided this method to not output mesages */
public void emitErrorMessage(String msg) {
}
@@ -407,7 +397,7 @@
compilation_unit
: package_statement?
- statement*
+ statement*
EOF
-> ^(VT_COMPILATION_UNIT package_statement? statement*)
;
@@ -436,13 +426,15 @@
retval.stop);
}
if (isEditorInterfaceEnabled && hasErrors()) {
- DroolsTree rootNode = (DroolsTree) retval.tree;
- for (int i = 0; i < rootNode.getChildCount(); i++) {
- DroolsTree childNode = (DroolsTree) rootNode.getChild(i);
- if (childNode.getStartCharOffset() >= errors.get(0).getOffset()) {
- rootNode.deleteChild(i);
+ Tree rootNode = (Tree) adaptor.becomeRoot(adaptor.create(
+ VT_COMPILATION_UNIT, "VT_COMPILATION_UNIT"), adaptor.nil());
+ for (int i = 0; i < ((Tree)retval.tree).getChildCount(); i++) {
+ Tree childNode = (Tree) ((Tree)retval.tree).getChild(i);
+ if (!(childNode instanceof CommonErrorNode)) {
+ rootNode.addChild(childNode);
}
}
+ retval.tree = rootNode;
}
}
@@ -465,9 +457,7 @@
statement
options{
k = 2;
-}
- at init {if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.RULE_ATTRIBUTE); }
- : rule_attribute
+} : rule_attribute
|{(validateLT(1, "import") && validateLT(2, "function") )}?=> function_import_statement
| import_statement
| global
@@ -479,7 +469,7 @@
;
import_statement
- at init { pushParaphrases(DroolsParaphraseTypes.IMPORT); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.IMPORT_STATEMENT); }
+ at init { pushParaphrases(DroolsParaphraseTypes.IMPORT); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.IMPORT_STATEMENT); }
@after { paraphrases.pop(); }
: import_key import_name[DroolsParaphraseTypes.IMPORT] SEMICOLON?
{ emit($SEMICOLON, DroolsEditorType.SYMBOL); }
@@ -502,7 +492,7 @@
;
global
- at init { pushParaphrases(DroolsParaphraseTypes.GLOBAL); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.GLOBAL); }
+ at init { pushParaphrases(DroolsParaphraseTypes.GLOBAL); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.GLOBAL); }
@after { paraphrases.pop(); }
: global_key data_type global_id SEMICOLON?
{ emit($SEMICOLON, DroolsEditorType.SYMBOL); }
@@ -517,7 +507,7 @@
;
function
- at init { pushParaphrases(DroolsParaphraseTypes.FUNCTION); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.FUNCTION); }
+ at init { pushParaphrases(DroolsParaphraseTypes.FUNCTION); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.FUNCTION); }
@after { paraphrases.pop(); }
: function_key data_type? function_id parameters curly_chunk
-> ^(function_key data_type? function_id parameters curly_chunk)
@@ -531,7 +521,7 @@
;
query
- at init { pushParaphrases(DroolsParaphraseTypes.QUERY); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.QUERY); }
+ at init { pushParaphrases(DroolsParaphraseTypes.QUERY); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.QUERY); }
@after { paraphrases.pop(); }
: query_key query_id
{ emit(Location.LOCATION_RULE_HEADER); }
@@ -611,9 +601,11 @@
;
template
- at init { pushParaphrases(DroolsParaphraseTypes.TEMPLATE); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.TEMPLATE); }
+ at init { pushParaphrases(DroolsParaphraseTypes.TEMPLATE); }
@after { paraphrases.pop(); }
- : template_key template_id
+ :
+ { beginSentence(DroolsSentenceType.TEMPLATE); }
+ template_key template_id
semi1=SEMICOLON?
{ emit($semi1, DroolsEditorType.SYMBOL); }
template_slot+
@@ -645,53 +637,15 @@
;
rule
- at init { pushParaphrases(DroolsParaphraseTypes.RULE); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.RULE); }
- at after { paraphrases.pop(); }
- : rule_key rule_id
+ at init { boolean isFailed = true; pushParaphrases(DroolsParaphraseTypes.RULE); }
+ at after { paraphrases.pop(); isFailed = false; }
+ :
+ { beginSentence(DroolsSentenceType.RULE); }
+ rule_key rule_id
{ emit(Location.LOCATION_RULE_HEADER); }
(extend_key rule_id)? decl_metadata* rule_attributes? when_part? rhs_chunk
-> ^(rule_key rule_id ^(extend_key rule_id)? decl_metadata* rule_attributes? when_part? rhs_chunk)
;
-
-when_part
- : WHEN { emit($WHEN, DroolsEditorType.KEYWORD); }
- COLON? { emit($COLON, DroolsEditorType.SYMBOL); }
- { emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION); }
- normal_lhs_block
- -> WHEN normal_lhs_block
- ;
-
-rule_id
- : id=ID
- { emit($id, DroolsEditorType.IDENTIFIER);
- setParaphrasesValue(DroolsParaphraseTypes.RULE, $id.text); } -> VT_RULE_ID[$id]
- | id=STRING
- { emit($id, DroolsEditorType.IDENTIFIER);
- setParaphrasesValue(DroolsParaphraseTypes.RULE, $id.text); } -> VT_RULE_ID[$id]
- ;
-
-rule_attributes
- : ( attributes_key COLON { emit($COLON, DroolsEditorType.SYMBOL); } )?
- rule_attribute ( COMMA? { emit($COMMA, DroolsEditorType.SYMBOL); } attr=rule_attribute )*
- -> ^(VT_RULE_ATTRIBUTES attributes_key? rule_attribute+)
- ;
-
-rule_attribute
- at init { boolean isFailed = true; pushParaphrases(DroolsParaphraseTypes.RULE_ATTRIBUTE); }
- at after { paraphrases.pop(); isFailed = false; emit(Location.LOCATION_RULE_HEADER); }
- : salience
- | no_loop
- | agenda_group
- | duration
- | activation_group
- | auto_focus
- | date_effective
- | date_expires
- | enabled
- | ruleflow_group
- | lock_on_active
- | dialect
- ;
finally {
if (isEditorInterfaceEnabled && isFailed) {
if (input.LA(6) == EOF && input.LA(1) == ID && input.LA(2) == MISC && input.LA(3) == ID &&
@@ -735,6 +689,46 @@
}
}
+when_part
+ : WHEN { emit($WHEN, DroolsEditorType.KEYWORD); }
+ COLON? { emit($COLON, DroolsEditorType.SYMBOL); }
+ { emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION); }
+ normal_lhs_block
+ -> WHEN normal_lhs_block
+ ;
+
+rule_id
+ : id=ID
+ { emit($id, DroolsEditorType.IDENTIFIER);
+ setParaphrasesValue(DroolsParaphraseTypes.RULE, $id.text); } -> VT_RULE_ID[$id]
+ | id=STRING
+ { emit($id, DroolsEditorType.IDENTIFIER);
+ setParaphrasesValue(DroolsParaphraseTypes.RULE, $id.text); } -> VT_RULE_ID[$id]
+ ;
+
+rule_attributes
+ : ( attributes_key COLON { emit($COLON, DroolsEditorType.SYMBOL); } )?
+ rule_attribute ( COMMA? { emit($COMMA, DroolsEditorType.SYMBOL); } attr=rule_attribute )*
+ -> ^(VT_RULE_ATTRIBUTES attributes_key? rule_attribute+)
+ ;
+
+rule_attribute
+ at init { pushParaphrases(DroolsParaphraseTypes.RULE_ATTRIBUTE); if ( state.backtracking==0 ) beginSentence(DroolsSentenceType.RULE_ATTRIBUTE); }
+ at after { paraphrases.pop(); if (!(retval.tree instanceof CommonErrorNode)) emit(Location.LOCATION_RULE_HEADER); }
+ : salience
+ | no_loop
+ | agenda_group
+ | duration
+ | activation_group
+ | auto_focus
+ | date_effective
+ | date_expires
+ | enabled
+ | ruleflow_group
+ | lock_on_active
+ | dialect
+ ;
+
date_effective
: date_effective_key^ { emit(Location.LOCATION_RULE_HEADER_KEYWORD); } STRING
{ emit($STRING, DroolsEditorType.STRING_CONST ); }
@@ -886,7 +880,10 @@
: ev=eval_key
{ emit(Location.LOCATION_LHS_INSIDE_EVAL); }
pc=paren_chunk
- { emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION); }
+ { if (((DroolsTree) $pc.tree).getText() != null){
+ emit(Location.LOCATION_LHS_BEGIN_OF_CONDITION);
+ }
+ }
{ String body = safeSubstring( $pc.text, 1, $pc.text.length()-1 );
checkTrailingSemicolon( body, $ev.start ); }
-> ^(eval_key paren_chunk)
@@ -964,12 +961,17 @@
: INIT { emit($INIT, DroolsEditorType.KEYWORD); }
{ emit(Location.LOCATION_LHS_FROM_ACCUMULATE_INIT); }
pc1=accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_INIT_INSIDE] cm1=COMMA? { emit($cm1, DroolsEditorType.SYMBOL); }
- { emit(Location.LOCATION_LHS_FROM_ACCUMULATE_ACTION); }
+ { if (pc2 != null && ((DroolsTree) $pc2.tree).getText() != null) emit(Location.LOCATION_LHS_FROM_ACCUMULATE_ACTION); }
action_key pc2=accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_ACTION_INSIDE] cm2=COMMA? { emit($cm2, DroolsEditorType.SYMBOL); }
- { emit(Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE); }
+ { if (pc1 != null && ((DroolsTree) $pc1.tree).getText() != null && pc2 != null && ((DroolsTree) $pc2.tree).getText() != null ) emit(Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE); }
+ ( reverse_key pc3=accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE] cm3=COMMA? { emit($cm3, DroolsEditorType.SYMBOL); } )?
- ( reverse_key pc3=accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_REVERSE_INSIDE] cm3=COMMA? { emit($cm3, DroolsEditorType.SYMBOL); } )?
- { emit(Location.LOCATION_LHS_FROM_ACCUMULATE_RESULT); }
+ { if ((pc1 != null && ((DroolsTree) pc1.tree).getText() != null) &&
+ (pc2 != null && ((DroolsTree) pc2.tree).getText() != null) &&
+ (pc3 != null && ((DroolsTree) pc3.tree).getText() != null)) {
+ emit(Location.LOCATION_LHS_FROM_ACCUMULATE_RESULT);
+ }
+ }
res1=result_key { emit($res1.start, DroolsEditorType.KEYWORD); } pc4=accumulate_paren_chunk[Location.LOCATION_LHS_FROM_ACCUMULATE_RESULT_INSIDE]
-> ^(VT_ACCUMULATE_INIT_CLAUSE ^(INIT $pc1) ^(action_key $pc2) ^(reverse_key $pc3)? ^(result_key $pc4))
;
@@ -1150,7 +1152,6 @@
}
field_constraint
-options { backtrack=true; }
@init{
boolean isArrow = false;
} : label accessor_path
@@ -1171,17 +1172,34 @@
: and_restr_connective ({(validateRestr())}?=> DOUBLE_PIPE^
{ emit($DOUBLE_PIPE, DroolsEditorType.SYMBOL); } and_restr_connective )*
;
+catch [ RecognitionException re ] {
+ if (!lookaheadTest){
+ reportError(re);
+ recover(input,re);
+ retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);
+ } else {
+ throw re;
+ }
+}
and_restr_connective
: constraint_expression ({(validateRestr())}?=> DOUBLE_AMPER^
{ emit($DOUBLE_AMPER, DroolsEditorType.SYMBOL); } constraint_expression )*
;
+catch [ RecognitionException re ] {
+ if (!lookaheadTest){
+ reportError(re);
+ recover(input,re);
+ retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);
+ } else {
+ throw re;
+ }
+}
constraint_expression
options{
k=3;
-}
- : compound_operator
+} : compound_operator
| simple_operator
| LEFT_PAREN! { emit($LEFT_PAREN, DroolsEditorType.SYMBOL); }
or_restr_connective
@@ -1189,8 +1207,9 @@
;
catch [ RecognitionException re ] {
if (!lookaheadTest){
- reportError(re);
- recover(input, re);
+ reportError(re);
+ recover(input,re);
+ retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re);
} else {
throw re;
}
@@ -1230,30 +1249,25 @@
simple_operator
@init {if ( state.backtracking==0 ) emit(Location.LOCATION_LHS_INSIDE_CONDITION_OPERATOR);}
- : (EQUAL^ { emit($EQUAL, DroolsEditorType.SYMBOL); }
+ :
+ (
+ EQUAL^ { emit($EQUAL, DroolsEditorType.SYMBOL); }
| GREATER^ { emit($GREATER, DroolsEditorType.SYMBOL); }
| GREATER_EQUAL^ { emit($GREATER_EQUAL, DroolsEditorType.SYMBOL); }
| LESS^ { emit($LESS, DroolsEditorType.SYMBOL); }
| LESS_EQUAL^ { emit($LESS_EQUAL, DroolsEditorType.SYMBOL); }
| NOT_EQUAL^ { emit($NOT_EQUAL, DroolsEditorType.SYMBOL); }
| not_key?
- ( contains_key^
- | soundslike_key^
- | matches_key^
- | memberof_key^
- | operator_key^ square_chunk?
-// | neg_operator_key^
-// | ga1=TILDE! { emit($ga1, DroolsEditorType.SYMBOL); } neg_operator_key^ square_chunk
- )
- )
+ ( operator_key^ square_chunk? )
+ )
{ emit(Location.LOCATION_LHS_INSIDE_CONDITION_ARGUMENT); }
expression_value
;
//Simple Syntax Sugar
-compound_operator
- at init {if ( state.backtracking==0 ) emit(Location.LOCATION_LHS_INSIDE_CONDITION_OPERATOR); }
- :
+compound_operator
+ at init { if ( state.backtracking==0 ) emit(Location.LOCATION_LHS_INSIDE_CONDITION_OPERATOR); }
+ :
( in_key^ | not_key in_key^ )
{ emit(Location.LOCATION_LHS_INSIDE_CONDITION_ARGUMENT); }
LEFT_PAREN! { emit($LEFT_PAREN, DroolsEditorType.SYMBOL); }
@@ -1279,13 +1293,7 @@
{ emit($id, DroolsEditorType.IDENTIFIER); }
-> VK_OPERATOR[$id]
;
-
-/*param_operator
- : ( id=AFTER -> VK_OPERATOR[$id.text]
- | id2=BEFORE -> VK_OPERATOR[$id2.text]
- )
- ;
-*/
+
expression_value
: (accessor_path
| literal_constraint
@@ -1533,7 +1541,7 @@
;
package_key
- : {(validateIdentifierKey(DroolsSoftKeywords.PACKAGE))}?=> id=ID
+ : {(validateIdentifierKey(DroolsSoftKeywords.PACKAGE))}?=> id=ID
{ emit($id, DroolsEditorType.KEYWORD); }
-> VK_PACKAGE[$id]
;
@@ -1793,20 +1801,10 @@
WHEN
: 'when'
;
-
-/*AFTER
- : 'after'
- ;
-
-BEFORE
- : 'before'
- ;
-*/
+
GRAVE_ACCENT
: '`'
;
-
-TILDE : '~';
AT : '@'
;
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/DRLContextTest.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/DRLContextTest.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/DRLContextTest.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -2815,12 +2815,12 @@
}
DroolsToken token = getLastTokenOnList(parser.getEditorInterface().get(
- 0).getContent());
+ 2).getContent());
assertEquals("group", token.getText().toLowerCase());
assertEquals(DroolsEditorType.KEYWORD, token.getEditorType());
assertEquals(Location.LOCATION_RULE_HEADER_KEYWORD,
- getLastIntegerValue(parser.getEditorInterface().get(0)
+ getLastIntegerValue(parser.getEditorInterface().get(2)
.getContent()));
}
@@ -2894,6 +2894,7 @@
try {
parser.compilation_unit();
} catch (Exception ex) {
+ ex.printStackTrace();
}
DroolsToken token = getLastTokenOnList(parser.getEditorInterface().get(
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/DRLIncompleteCodeTest.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/DRLIncompleteCodeTest.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/DRLIncompleteCodeTest.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -35,7 +35,7 @@
DrlParser parser = new DrlParser();
PackageDescr descr = parser.parse(true, input);
- assertNull(descr);
+ assertNotNull(descr);
assertEquals(Location.LOCATION_LHS_INSIDE_CONDITION_END,
getLastIntegerValue(parser.getEditorSentences().get(0)
.getContent()));
@@ -84,7 +84,7 @@
DrlParser parser = new DrlParser();
PackageDescr descr = parser.parse(true, input);
- assertNull(descr);
+ assertNotNull(descr);
}
public void testIncompleteCode6() throws DroolsParserException,
@@ -95,6 +95,8 @@
DrlParser parser = new DrlParser();
PackageDescr descr = parser.parse(true, input);
+ // here is null, 'cos parser emits an error on predict dfa on "packe
+ // 1111.111" and stops the parsing
assertNull(descr);
}
@@ -106,7 +108,7 @@
DrlParser parser = new DrlParser();
PackageDescr descr = parser.parse(true, input);
- assertNull(descr);
+ assertNotNull(descr);
}
public void testIncompleteCode8() throws DroolsParserException,
@@ -118,7 +120,8 @@
PackageDescr descr = parser.parse(true, input);
assertEquals("a.b.c", descr.getNamespace());
- assertEquals(0, descr.getRules().size());
+ assertEquals(2, descr.getRules().size());
+ assertEquals(true, parser.hasErrors());
}
public void testIncompleteCode9() throws DroolsParserException,
@@ -168,16 +171,11 @@
assertEquals("MyRule", ((RuleDescr) descr.getRules().get(0)).getName());
}
- public void testIncompleteCode12() throws DroolsParserException, RecognitionException {
- String input =
- "package a.b.c " +
- "import a.b.c.* " +
- "rule MyRule" +
- " when " +
- " m: Message( ) " +
- " " +
- " then" +
- "end ";
+ public void testIncompleteCode12() throws DroolsParserException,
+ RecognitionException {
+ String input = "package a.b.c " + "import a.b.c.* " + "rule MyRule"
+ + " when " + " m: Message( ) " + " " + " then"
+ + "end ";
DrlParser parser = new DrlParser();
PackageDescr descr = parser.parse(true, input);
assertNotNull(descr);
@@ -186,26 +184,21 @@
assertEquals("a.b.c.*", ((ImportDescr) descr.getImports().get(0))
.getTarget());
}
-
- public void testIncompleteCode13() throws DroolsParserException, RecognitionException {
- String input =
- "package com.sample " +
- "import com.sample.DroolsTest.Message; " +
- "rule \"Hello World\"" +
- " when " +
- " then" +
- " \\\" " +
- "end ";
+ public void testIncompleteCode13() throws DroolsParserException,
+ RecognitionException {
+ String input = "package com.sample "
+ + "import com.sample.DroolsTest.Message; "
+ + "rule \"Hello World\"" + " when " + " then" + " \\\" "
+ + "end ";
DrlParser parser = new DrlParser();
PackageDescr descr = parser.parse(true, input);
- assertNull(descr);
+ assertNotNull(descr);
}
-
-
+
@SuppressWarnings("unchecked")
private int getLastIntegerValue(LinkedList list) {
-// System.out.println(list.toString());
+ // System.out.println(list.toString());
int lastIntergerValue = -1;
for (Object object : list) {
if (object instanceof Integer) {
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/RuleParserTest.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/RuleParserTest.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/RuleParserTest.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -2485,6 +2485,16 @@
.get(0)).getText());
}
+ public void testSimpleRestrictionConnective() throws Exception {
+
+ final String text = "Person( age == 12 || ( test == 222 ))";
+
+ PatternDescr pattern = (PatternDescr) parse("lhs_pattern",
+ "lhs_pattern", text);
+
+ assertEquals(1, pattern.getDescrs().size());
+ }
+
public void testRestrictionConnectives() throws Exception {
// the expression bellow must generate the following tree:
@@ -2908,6 +2918,7 @@
}
public void testPluggableOperators() throws Exception {
+
parseResource("compilation_unit", "compilation_unit",
"pluggable_operators.drl");
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/TestDRL.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/TestDRL.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/TestDRL.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -1,20 +1,11 @@
package org.drools.lang;
-import java.io.IOException;
-import java.io.PipedInputStream;
-import java.io.PipedOutputStream;
-import java.io.PrintStream;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-
import junit.framework.TestCase;
+import java.io.*;
+import java.lang.reflect.*;
+import org.antlr.runtime.*;
+import org.antlr.runtime.tree.*;
-import org.antlr.runtime.ANTLRFileStream;
-import org.antlr.runtime.ANTLRStringStream;
-import org.antlr.runtime.CharStream;
-import org.antlr.runtime.CommonTokenStream;
-import org.antlr.runtime.tree.CommonTree;
-
public class TestDRL extends TestCase {
String stdout;
String stderr;
@@ -37,7 +28,7 @@
assertEquals("testing rule "+"package_statement", expecting, actual);
}
- public void testCompilation_unit3() throws Exception {
+ public void testCompilation_unit1() throws Exception {
// test input: ""
Object retval = execParser("compilation_unit", "", false);
Object actual = examineParserExecResult(8, retval);
@@ -46,7 +37,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit4() throws Exception {
+ public void testCompilation_unit2() throws Exception {
// test input: "package foo; import com.foo.Bar; import com.foo.Baz;"
Object retval = execParser("compilation_unit", "package foo; import com.foo.Bar; import com.foo.Baz;", false);
Object actual = examineParserExecResult(10, retval);
@@ -55,7 +46,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit5() throws Exception {
+ public void testCompilation_unit3() throws Exception {
// test input: "rule empty \n\nthen\n \nend"
Object retval = execParser("compilation_unit", "rule empty \n\nthen\n \nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -64,16 +55,16 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit6() throws Exception {
- // test input: "#the purpose of this is to see what happens when we have some partially damaged syntax\n#as the IDE uses the parsers AST to work out completion suggestions.\npackage test\n\n\nrule simple_rule \n when\n foo3 : Bar(\n\n"
- Object retval = execParser("compilation_unit", "#the purpose of this is to see what happens when we have some partially damaged syntax\n#as the IDE uses the parsers AST to work out completion suggestions.\npackage test\n\n\nrule simple_rule \n when\n foo3 : Bar(\n\n", false);
+ public void testCompilation_unit4() throws Exception {
+ // test input: "#the purpose of this is to see what happens when we have some partially damaged syntax\n#as the IDE uses the parsers AST to work out completion suggestions.\npackage test\n\n\nrule simple_rule \n when\n foo3 : Bar(\n"
+ Object retval = execParser("compilation_unit", "#the purpose of this is to see what happens when we have some partially damaged syntax\n#as the IDE uses the parsers AST to work out completion suggestions.\npackage test\n\n\nrule simple_rule \n when\n foo3 : Bar(\n", false);
Object actual = examineParserExecResult(28, retval);
Object expecting = "FAIL";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit7() throws Exception {
+ public void testCompilation_unit5() throws Exception {
// test input: "package test.templates\n\ntemplate Cheese\n\tString \tname\n\tInteger age\nend\n\ntemplate \"Wine\"\n\tString \t\tname\n\tString \t\tyear\n\tString[] \taccolades\nend\n\n\nrule \"a rule\"\n when\n\tCheese(name == \"Stilton\", age==2001)\n\tWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")\n then\n \tbaz();\nend"
Object retval = execParser("compilation_unit", "package test.templates\n\ntemplate Cheese\n\tString \tname\n\tInteger age\nend\n\ntemplate \"Wine\"\n\tString \t\tname\n\tString \t\tyear\n\tString[] \taccolades\nend\n\n\nrule \"a rule\"\n when\n\tCheese(name == \"Stilton\", age==2001)\n\tWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")\n then\n \tbaz();\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -82,7 +73,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit8() throws Exception {
+ public void testCompilation_unit6() throws Exception {
// test input: "package foo\n\nrule rule_one \n when\n \tFoo()\n then\n \t if (speed > speedLimit ? true : false;)\n pullEmOver();\nend"
Object retval = execParser("compilation_unit", "package foo\n\nrule rule_one \n when\n \tFoo()\n then\n \t if (speed > speedLimit ? true : false;)\n pullEmOver();\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -91,7 +82,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit9() throws Exception {
+ public void testCompilation_unit7() throws Exception {
// test input: "package foo\n\nfunction String[] yourFunction(String args[]) {\n baz();\n}\n\nrule \"new rule\"\n\n\twhen\n\t\tSomething()\n\tthen\n\t\tyourFunction(new String[3] {\"a\",\"b\",\"c\"});\n\t\t\nend"
Object retval = execParser("compilation_unit", "package foo\n\nfunction String[] yourFunction(String args[]) {\n baz();\n}\n\nrule \"new rule\"\n\n\twhen\n\t\tSomething()\n\tthen\n\t\tyourFunction(new String[3] {\"a\",\"b\",\"c\"});\n\t\t\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -100,16 +91,16 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit10() throws Exception {
- // test input: "\nrule almost_empty \n when\n then\nend"
- Object retval = execParser("compilation_unit", "\nrule almost_empty \n when\n then\nend", false);
+ public void testCompilation_unit8() throws Exception {
+ // test input: "rule almost_empty \n when\n then\nend"
+ Object retval = execParser("compilation_unit", "rule almost_empty \n when\n then\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule almost_empty when VT_AND_IMPLICIT then\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit11() throws Exception {
+ public void testCompilation_unit9() throws Exception {
// test input: "rule \"quoted string name\"\n when\n then\nend"
Object retval = execParser("compilation_unit", "rule \"quoted string name\"\n when\n then\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -118,43 +109,43 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit12() throws Exception {
- // test input: "\nrule rule1 \n no-loop false\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
- Object retval = execParser("compilation_unit", "\nrule rule1 \n no-loop false\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
+ public void testCompilation_unit10() throws Exception {
+ // test input: "rule rule1 \n no-loop false\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
+ Object retval = execParser("compilation_unit", "rule rule1 \n no-loop false\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule rule1 (VT_RULE_ATTRIBUTES (no-loop false)) when (VT_AND_IMPLICIT (not (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"stilton\")))))) then\n\tfunky();\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit13() throws Exception {
- // test input: "\nrule rule1 \n auto-focus true\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
- Object retval = execParser("compilation_unit", "\nrule rule1 \n auto-focus true\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
+ public void testCompilation_unit11() throws Exception {
+ // test input: "rule rule1 \n auto-focus true\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
+ Object retval = execParser("compilation_unit", "rule rule1 \n auto-focus true\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule rule1 (VT_RULE_ATTRIBUTES (auto-focus true)) when (VT_AND_IMPLICIT (not (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"stilton\")))))) then\n\tfunky();\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit14() throws Exception {
- // test input: "\nrule rule1 \n ruleflow-group \"a group\"\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
- Object retval = execParser("compilation_unit", "\nrule rule1 \n ruleflow-group \"a group\"\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
+ public void testCompilation_unit12() throws Exception {
+ // test input: "rule rule1 \n ruleflow-group \"a group\"\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
+ Object retval = execParser("compilation_unit", "rule rule1 \n ruleflow-group \"a group\"\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule rule1 (VT_RULE_ATTRIBUTES (ruleflow-group \"a group\")) when (VT_AND_IMPLICIT (not (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"stilton\")))))) then\n\tfunky();\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit15() throws Exception {
- // test input: "\n\nrule myrule \n when\n then\n \tint i = 0;\n\ti = 1;\n\ti / 1;\n\ti == 1;\n\ti(i);\n\ti = 'i';\n\ti.i.i;\n\ti\\i;\n\ti<i;\n\ti>i;\n\ti=\"i\";\t\n\t++i;\n\ti++;\n\t--i;\n\ti--;\n\ti += i;\n\ti -= i;\n\ti *= i;\n\ti /= i;\n\tint i = 5;\n\tfor(int j; j<i; ++j) {\n\t System.out.println(j);\n\t}\t\n\tObject o = new String(\"Hello\");\n\tString s = (String) o;\t\n\t\nend"
- Object retval = execParser("compilation_unit", "\n\nrule myrule \n when\n then\n \tint i = 0;\n\ti = 1;\n\ti / 1;\n\ti == 1;\n\ti(i);\n\ti = 'i';\n\ti.i.i;\n\ti\\i;\n\ti<i;\n\ti>i;\n\ti=\"i\";\t\n\t++i;\n\ti++;\n\t--i;\n\ti--;\n\ti += i;\n\ti -= i;\n\ti *= i;\n\ti /= i;\n\tint i = 5;\n\tfor(int j; j<i; ++j) {\n\t System.out.println(j);\n\t}\t\n\tObject o = new String(\"Hello\");\n\tString s = (String) o;\t\n\t\nend", false);
+ public void testCompilation_unit13() throws Exception {
+ // test input: "\nrule myrule \n when\n then\n \tint i = 0;\n\ti = 1;\n\ti / 1;\n\ti == 1;\n\ti(i);\n\ti = 'i';\n\ti.i.i;\n\ti\\i;\n\ti<i;\n\ti>i;\n\ti=\"i\";\t\n\t++i;\n\ti++;\n\t--i;\n\ti--;\n\ti += i;\n\ti -= i;\n\ti *= i;\n\ti /= i;\n\tint i = 5;\n\tfor(int j; j<i; ++j) {\n\t System.out.println(j);\n\t}\t\n\tObject o = new String(\"Hello\");\n\tString s = (String) o;\t\n\t\nend"
+ Object retval = execParser("compilation_unit", "\nrule myrule \n when\n then\n \tint i = 0;\n\ti = 1;\n\ti / 1;\n\ti == 1;\n\ti(i);\n\ti = 'i';\n\ti.i.i;\n\ti\\i;\n\ti<i;\n\ti>i;\n\ti=\"i\";\t\n\t++i;\n\ti++;\n\t--i;\n\ti--;\n\ti += i;\n\ti -= i;\n\ti *= i;\n\ti /= i;\n\tint i = 5;\n\tfor(int j; j<i; ++j) {\n\t System.out.println(j);\n\t}\t\n\tObject o = new String(\"Hello\");\n\tString s = (String) o;\t\n\t\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule myrule when VT_AND_IMPLICIT then\n \tint i = 0;\n\ti = 1;\n\ti / 1;\n\ti == 1;\n\ti(i);\n\ti = 'i';\n\ti.i.i;\n\ti\\i;\n\ti<i;\n\ti>i;\n\ti=\"i\";\t\n\t++i;\n\ti++;\n\t--i;\n\ti--;\n\ti += i;\n\ti -= i;\n\ti *= i;\n\ti /= i;\n\tint i = 5;\n\tfor(int j; j<i; ++j) {\n\t System.out.println(j);\n\t}\t\n\tObject o = new String(\"Hello\");\n\tString s = (String) o;\t\n\t\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit16() throws Exception {
+ public void testCompilation_unit14() throws Exception {
// test input: "#check that it can handle true/false literals, and \n#negative numbers\nrule simple_rule \n when\n\tFoo(bar == false)\n\tFoo(boo > -42)\n\tFoo(boo > -42.42)\n then\n\tcons();\nend"
Object retval = execParser("compilation_unit", "#check that it can handle true/false literals, and \n#negative numbers\nrule simple_rule \n when\n\tFoo(bar == false)\n\tFoo(boo > -42)\n\tFoo(boo > -42.42)\n then\n\tcons();\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -163,7 +154,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit17() throws Exception {
+ public void testCompilation_unit15() throws Exception {
// test input: "package org.drools.test;\n \nimport org.drools.Cheese;\n \nrule \"simple rule\"\n when\n Cheese( )\n then\nend "
Object retval = execParser("compilation_unit", "package org.drools.test;\n \nimport org.drools.Cheese;\n \nrule \"simple rule\"\n when\n Cheese( )\n then\nend ", false);
Object actual = examineParserExecResult(10, retval);
@@ -172,43 +163,43 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit18() throws Exception {
- // test input: "\nrule blah\n\n when \n\n\tCol1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t"
- Object retval = execParser("compilation_unit", "\nrule blah\n\n when \n\n\tCol1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t", false);
+ public void testCompilation_unit16() throws Exception {
+ // test input: "rule blah\n\n when \n\n\tCol1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t"
+ Object retval = execParser("compilation_unit", "rule blah\n\n when \n\n\tCol1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule blah when (VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col1))) (VT_FROM_SOURCE something (. doIt ( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col2)))) then\n\tpartay();\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit19() throws Exception {
- // test input: "\nrule blah\n\n when \n\n\tCol1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t"
- Object retval = execParser("compilation_unit", "\nrule blah\n\n when \n\n\tCol1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t", false);
+ public void testCompilation_unit17() throws Exception {
+ // test input: "rule blah\n\n when \n\n\tCol1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t"
+ Object retval = execParser("compilation_unit", "rule blah\n\n when \n\n\tCol1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule blah when (VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col1))) (VT_FROM_SOURCE doIt ( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] ))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col2)))) then\n\tpartay();\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit20() throws Exception {
- // test input: "\nrule blah\n\n when \n\n\tCol1() from something.doIt\n\tCol2()\n then\n\tpartay();\nend\t"
- Object retval = execParser("compilation_unit", "\nrule blah\n\n when \n\n\tCol1() from something.doIt\n\tCol2()\n then\n\tpartay();\nend\t", false);
+ public void testCompilation_unit18() throws Exception {
+ // test input: "rule blah\n\n when \n\n\tCol1() from something.doIt\n\tCol2()\n then\n\tpartay();\nend\t"
+ Object retval = execParser("compilation_unit", "rule blah\n\n when \n\n\tCol1() from something.doIt\n\tCol2()\n then\n\tpartay();\nend\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule blah when (VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col1))) (VT_FROM_SOURCE something (. doIt))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col2)))) then\n\tpartay();\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit21() throws Exception {
- // test input: "\nrule blah\n\n when \n\n\tCol1() from something.doIt[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t"
- Object retval = execParser("compilation_unit", "\nrule blah\n\n when \n\n\tCol1() from something.doIt[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t", false);
+ public void testCompilation_unit19() throws Exception {
+ // test input: "rule blah\n\n when \n\n\tCol1() from something.doIt[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t"
+ Object retval = execParser("compilation_unit", "rule blah\n\n when \n\n\tCol1() from something.doIt[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule blah when (VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col1))) (VT_FROM_SOURCE something (. doIt [\"key\"]))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col2)))) then\n\tpartay();\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit22() throws Exception {
+ public void testCompilation_unit20() throws Exception {
// test input: "rule blah\n when \n\tCol1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n\t .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t"
Object retval = execParser("compilation_unit", "rule blah\n when \n\tCol1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n\t .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t", false);
Object actual = examineParserExecResult(10, retval);
@@ -217,16 +208,16 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit23() throws Exception {
- // test input: "\nrule simple_rule \n when\n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend"
- Object retval = execParser("compilation_unit", "\nrule simple_rule \n when\n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend", false);
+ public void testCompilation_unit21() throws Exception {
+ // test input: "rule simple_rule \n when\n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend"
+ Object retval = execParser("compilation_unit", "rule simple_rule \n when\n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING foo3 (VT_FACT (VT_PATTERN_TYPE Bar) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT a)) (== 3))))) (VT_PATTERN (VT_FACT_BINDING foo4 (VT_FACT (VT_PATTERN_TYPE Bar) (VT_BIND_FIELD a4 (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT a)) (== 4)))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Baz)))) then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit24() throws Exception {
+ public void testCompilation_unit22() throws Exception {
// test input: "#this is for showing off all the new multi restriction stuff\n\n\n\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type == \"sedan\" || == \"wagon\", age < 3)\n then\n\tconsequence();\nend"
Object retval = execParser("compilation_unit", "#this is for showing off all the new multi restriction stuff\n\n\n\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type == \"sedan\" || == \"wagon\", age < 3)\n then\n\tconsequence();\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -235,7 +226,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit25() throws Exception {
+ public void testCompilation_unit23() throws Exception {
// test input: "package la\n\n\nrule simple_rule \n when\n \tBaz()\n then\n \t//woot\n \tfirst\n \t\n \t#\n \t\n \t/* lala\n \t\n \t*/\n \tsecond \nend"
Object retval = execParser("compilation_unit", "package la\n\n\nrule simple_rule \n when\n \tBaz()\n then\n \t//woot\n \tfirst\n \t\n \t#\n \t\n \t/* lala\n \t\n \t*/\n \tsecond \nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -244,25 +235,25 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit26() throws Exception {
- // test input: "\nrule simple_rule \n when\n foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend"
- Object retval = execParser("compilation_unit", "\nrule simple_rule \n when\n foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend", false);
+ public void testCompilation_unit24() throws Exception {
+ // test input: "rule simple_rule \n when\n foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend"
+ Object retval = execParser("compilation_unit", "rule simple_rule \n when\n foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING foo3 (VT_FACT (VT_PATTERN_TYPE Bar) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT a)) (== 3))))) (VT_PATTERN (VT_FACT_BINDING foo4 (VT_FACT (VT_PATTERN_TYPE Bar) (VT_BIND_FIELD a4 (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT a)) (== 4)))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Baz)))) then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit27() throws Exception {
- // test input: "\nrule simple_rule \n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
- Object retval = execParser("compilation_unit", "\nrule simple_rule \n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
+ public void testCompilation_unit25() throws Exception {
+ // test input: "rule simple_rule \n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
+ Object retval = execParser("compilation_unit", "rule simple_rule \n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule when (VT_AND_IMPLICIT (not (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"stilton\")))))) then\n\tfunky();\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit28() throws Exception {
+ public void testCompilation_unit26() throws Exception {
// test input: "package HR1\n\nimport function abd.def.x\nimport function qed.wah.*\n\nrule simple_rule \n when \t\t \t\n \tnot ( Cheese(type == \"stilton\") )\n \texists ( Foo() )\n then\n\tfunky();\nend"
Object retval = execParser("compilation_unit", "package HR1\n\nimport function abd.def.x\nimport function qed.wah.*\n\nrule simple_rule \n when \t\t \t\n \tnot ( Cheese(type == \"stilton\") )\n \texists ( Foo() )\n then\n\tfunky();\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -271,7 +262,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit29() throws Exception {
+ public void testCompilation_unit27() throws Exception {
// test input: "package HR1\n\nrule simple_rule \n when \t\t \t\n \tnot ( Cheese(type == \"stilton\") )\n \texists ( Foo() )\n then\n\tfunky();\nend"
Object retval = execParser("compilation_unit", "package HR1\n\nrule simple_rule \n when \t\t \t\n \tnot ( Cheese(type == \"stilton\") )\n \texists ( Foo() )\n then\n\tfunky();\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -280,7 +271,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit30() throws Exception {
+ public void testCompilation_unit28() throws Exception {
// test input: "package HR2\n\nrule simple_rule \n when \t\t \t\n \ta : (not ( Cheese(type == \"stilton\") ))\n \texists ( Foo() )\n then\n\tfunky();\nend"
Object retval = execParser("compilation_unit", "package HR2\n\nrule simple_rule \n when \t\t \t\n \ta : (not ( Cheese(type == \"stilton\") ))\n \texists ( Foo() )\n then\n\tfunky();\nend", false);
Object actual = examineParserExecResult(28, retval);
@@ -289,25 +280,25 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit31() throws Exception {
- // test input: "\n\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend"
- Object retval = execParser("compilation_unit", "\n\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend", false);
+ public void testCompilation_unit29() throws Exception {
+ // test input: "\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend"
+ Object retval = execParser("compilation_unit", "\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (query \"simple_query\" (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING foo3 (VT_FACT (VT_PATTERN_TYPE Bar) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT a)) (== 3))))) (VT_PATTERN (VT_FACT_BINDING foo4 (VT_FACT (VT_PATTERN_TYPE Bar) (VT_BIND_FIELD a4 (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT a)) (== 4)))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Baz)))) end))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit32() throws Exception {
- // test input: "\npackage foo\n\nrule bar\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\nrule bar2\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query2\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\t"
- Object retval = execParser("compilation_unit", "\npackage foo\n\nrule bar\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\nrule bar2\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query2\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\t", false);
+ public void testCompilation_unit30() throws Exception {
+ // test input: "package foo\n\nrule bar\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\nrule bar2\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query2\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\t"
+ Object retval = execParser("compilation_unit", "package foo\n\nrule bar\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\nrule bar2\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query2\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (package (VT_PACKAGE_ID foo)) (rule bar when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Baz)))) then\n\t\tBoo()\nend) (query \"simple_query\" (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING foo3 (VT_FACT (VT_PATTERN_TYPE Bar) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT a)) (== 3))))) (VT_PATTERN (VT_FACT_BINDING foo4 (VT_FACT (VT_PATTERN_TYPE Bar) (VT_BIND_FIELD a4 (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT a)) (== 4)))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Baz)))) end) (rule bar2 when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Baz)))) then\n\t\tBoo()\nend) (query \"simple_query2\" (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING foo3 (VT_FACT (VT_PATTERN_TYPE Bar) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT a)) (== 3))))) (VT_PATTERN (VT_FACT_BINDING foo4 (VT_FACT (VT_PATTERN_TYPE Bar) (VT_BIND_FIELD a4 (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT a)) (== 4)))))) (VT_PATTERN (VT_FACT (VT_P!
ATTERN_TYPE Baz)))) end))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit33() throws Exception {
+ public void testCompilation_unit31() throws Exception {
// test input: "package org.drools.test;\n\nimport org.drools.integrationtests.Cheese;\n\nrule \"Like Stilton\"\n when\n Cheese( t:type == \"stilton\" )\n then\n System.out.println(\"I like \" + t);\nend \n\nrule \"Like Cheddar\"\n when\n Cheese( t:type == \"cheddar\" )\n then\n System.out.println(\"I like \" + t );\nend "
Object retval = execParser("compilation_unit", "package org.drools.test;\n\nimport org.drools.integrationtests.Cheese;\n\nrule \"Like Stilton\"\n when\n Cheese( t:type == \"stilton\" )\n then\n System.out.println(\"I like \" + t);\nend \n\nrule \"Like Cheddar\"\n when\n Cheese( t:type == \"cheddar\" )\n then\n System.out.println(\"I like \" + t );\nend ", false);
Object actual = examineParserExecResult(10, retval);
@@ -316,7 +307,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit34() throws Exception {
+ public void testCompilation_unit32() throws Exception {
// test input: "package org.drools.test;\n\nimport org.drools.Cheese;\n\nrule \"like cheddar\"\n when\n Cheese( $type:type )\n then\n System.out.println(\"I like \" + $type);\nend "
Object retval = execParser("compilation_unit", "package org.drools.test;\n\nimport org.drools.Cheese;\n\nrule \"like cheddar\"\n when\n Cheese( $type:type )\n then\n System.out.println(\"I like \" + $type);\nend ", false);
Object actual = examineParserExecResult(10, retval);
@@ -325,7 +316,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit35() throws Exception {
+ public void testCompilation_unit33() throws Exception {
// test input: "package org.drools.test;\n\nimport org.drools.Cheese;\nimport org.drools.Person;\n\nrule \"Who likes Stilton\"\n when\n Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) \n then\n System.out.println( $name + \" likes \" + $type);\nend "
Object retval = execParser("compilation_unit", "package org.drools.test;\n\nimport org.drools.Cheese;\nimport org.drools.Person;\n\nrule \"Who likes Stilton\"\n when\n Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) \n then\n System.out.println( $name + \" likes \" + $type);\nend ", false);
Object actual = examineParserExecResult(10, retval);
@@ -334,43 +325,43 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit36() throws Exception {
- // test input: "\nimport org.drools.Person\n\nrule simple_rule \n when\n\tPerson(name == \"mark\") or \n\t( Person(type == \"fan\") and Cheese(type == \"green\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
- Object retval = execParser("compilation_unit", "\nimport org.drools.Person\n\nrule simple_rule \n when\n\tPerson(name == \"mark\") or \n\t( Person(type == \"fan\") and Cheese(type == \"green\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
+ public void testCompilation_unit34() throws Exception {
+ // test input: "import org.drools.Person\n\nrule simple_rule \n when\n\tPerson(name == \"mark\") or \n\t( Person(type == \"fan\") and Cheese(type == \"green\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
+ Object retval = execParser("compilation_unit", "import org.drools.Person\n\nrule simple_rule \n when\n\tPerson(name == \"mark\") or \n\t( Person(type == \"fan\") and Cheese(type == \"green\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (import (VT_IMPORT_ID org drools Person)) (rule simple_rule when (VT_AND_IMPLICIT (or (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"mark\")))) (and (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"fan\")))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"green\"))))))) then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit37() throws Exception {
- // test input: "\nimport org.drools.Person\n\nrule simple_rule \n when\n Person(name == \"mark\") && Cheese(type == \"stilton\")\n Person(name == \"mark\") || Cheese(type == \"stilton\")\n then\n\tSystem.out.println( \"Mark and Michael\" );\nend"
- Object retval = execParser("compilation_unit", "\nimport org.drools.Person\n\nrule simple_rule \n when\n Person(name == \"mark\") && Cheese(type == \"stilton\")\n Person(name == \"mark\") || Cheese(type == \"stilton\")\n then\n\tSystem.out.println( \"Mark and Michael\" );\nend", false);
+ public void testCompilation_unit35() throws Exception {
+ // test input: "import org.drools.Person\n\nrule simple_rule \n when\n Person(name == \"mark\") && Cheese(type == \"stilton\")\n Person(name == \"mark\") || Cheese(type == \"stilton\")\n then\n\tSystem.out.println( \"Mark and Michael\" );\nend"
+ Object retval = execParser("compilation_unit", "import org.drools.Person\n\nrule simple_rule \n when\n Person(name == \"mark\") && Cheese(type == \"stilton\")\n Person(name == \"mark\") || Cheese(type == \"stilton\")\n then\n\tSystem.out.println( \"Mark and Michael\" );\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (import (VT_IMPORT_ID org drools Person)) (rule simple_rule when (VT_AND_IMPLICIT (&& (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"mark\")))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"stilton\"))))) (|| (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"mark\")))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"stilton\")))))) then\n\tSystem.out.println( \"Mark and Michael\" );\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit38() throws Exception {
- // test input: "\nimport org.drools.Person\n\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \n\tCheese(type == \"green\")\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
- Object retval = execParser("compilation_unit", "\nimport org.drools.Person\n\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \n\tCheese(type == \"green\")\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
+ public void testCompilation_unit36() throws Exception {
+ // test input: "import org.drools.Person\n\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \n\tCheese(type == \"green\")\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
+ Object retval = execParser("compilation_unit", "import org.drools.Person\n\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \n\tCheese(type == \"green\")\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (import (VT_IMPORT_ID org drools Person)) (rule simple_rule when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING foo (or (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"mark\"))) (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"fan\")))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"green\"))))) then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit39() throws Exception {
- // test input: "\n\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") \n\t\tor \n\t\tPerson(type == \"fan\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
- Object retval = execParser("compilation_unit", "\n\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") \n\t\tor \n\t\tPerson(type == \"fan\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
+ public void testCompilation_unit37() throws Exception {
+ // test input: "\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") \n\t\tor \n\t\tPerson(type == \"fan\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
+ Object retval = execParser("compilation_unit", "\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") \n\t\tor \n\t\tPerson(type == \"fan\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING foo (or (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"mark\"))) (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"fan\"))))))) then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit40() throws Exception {
+ public void testCompilation_unit38() throws Exception {
// test input: "rule simple_rule \n when\n\tfoo : ( \n\t\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t\t)\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
Object retval = execParser("compilation_unit", "rule simple_rule \n when\n\tfoo : ( \n\t\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t\t)\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -379,52 +370,52 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit41() throws Exception {
- // test input: "\nrule simple_rule \n when\n\t ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )\n then\n\tgo wild\nend"
- Object retval = execParser("compilation_unit", "\nrule simple_rule \n when\n\t ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )\n then\n\tgo wild\nend", false);
+ public void testCompilation_unit39() throws Exception {
+ // test input: "rule simple_rule \n when\n\t ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )\n then\n\tgo wild\nend"
+ Object retval = execParser("compilation_unit", "rule simple_rule \n when\n\t ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )\n then\n\tgo wild\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule when (VT_AND_IMPLICIT (and (or (not (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT x)) (== \"a\"))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT x)) (== \"y\"))))) (or (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Shoes))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Butt)))))) then\n\tgo wild\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit42() throws Exception {
- // test input: "\nrule simple_rule \n when\n\teval(abc(\"foo\") + 5)\n\tFoo()\n\teval(qed())\n\tBar()\n then\n\tKapow\n\tPoof\n\t\nend"
- Object retval = execParser("compilation_unit", "\nrule simple_rule \n when\n\teval(abc(\"foo\") + 5)\n\tFoo()\n\teval(qed())\n\tBar()\n then\n\tKapow\n\tPoof\n\t\nend", false);
+ public void testCompilation_unit40() throws Exception {
+ // test input: "rule simple_rule \n when\n\teval(abc(\"foo\") + 5)\n\tFoo()\n\teval(qed())\n\tBar()\n then\n\tKapow\n\tPoof\n\t\nend"
+ Object retval = execParser("compilation_unit", "rule simple_rule \n when\n\teval(abc(\"foo\") + 5)\n\tFoo()\n\teval(qed())\n\tBar()\n then\n\tKapow\n\tPoof\n\t\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule when (VT_AND_IMPLICIT (eval (abc(\"foo\") + 5)) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo))) (eval (qed())) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Bar)))) then\n\tKapow\n\tPoof\n\t\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit43() throws Exception {
- // test input: "\nrule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(abc(\"foo\"))\n then\n\tKapow\n\t\nend"
- Object retval = execParser("compilation_unit", "\nrule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(abc(\"foo\"))\n then\n\tKapow\n\t\nend", false);
+ public void testCompilation_unit41() throws Exception {
+ // test input: "rule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(abc(\"foo\"))\n then\n\tKapow\n\t\nend"
+ Object retval = execParser("compilation_unit", "rule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(abc(\"foo\"))\n then\n\tKapow\n\t\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Bar))) (eval (abc(\"foo\")))) then\n\tKapow\n\t\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit44() throws Exception {
- // test input: "\nrule simple_rule \n when\n\tFoo(name== (a + b))\n then\n\tKapow\n\t\nend"
- Object retval = execParser("compilation_unit", "\nrule simple_rule \n when\n\tFoo(name== (a + b))\n then\n\tKapow\n\t\nend", false);
+ public void testCompilation_unit42() throws Exception {
+ // test input: "rule simple_rule \n when\n\tFoo(name== (a + b))\n then\n\tKapow\n\t\nend"
+ Object retval = execParser("compilation_unit", "rule simple_rule \n when\n\tFoo(name== (a + b))\n then\n\tKapow\n\t\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== (a + b)))))) then\n\tKapow\n\t\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit45() throws Exception {
- // test input: "\nrule simple_rule \n when\n \tPerson( $age2:age -> ($age2 == $age1+2 ) ) \n then\n\tfoo bar\nend"
- Object retval = execParser("compilation_unit", "\nrule simple_rule \n when\n \tPerson( $age2:age -> ($age2 == $age1+2 ) ) \n then\n\tfoo bar\nend", false);
+ public void testCompilation_unit43() throws Exception {
+ // test input: "rule simple_rule \n when\n \tPerson( $age2:age -> ($age2 == $age1+2 ) ) \n then\n\tfoo bar\nend"
+ Object retval = execParser("compilation_unit", "rule simple_rule \n when\n \tPerson( $age2:age -> ($age2 == $age1+2 ) ) \n then\n\tfoo bar\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_BIND_FIELD $age2 (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)))) (-> ($age2 == $age1+2 ))))) then\n\tfoo bar\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit46() throws Exception {
+ public void testCompilation_unit44() throws Exception {
// test input: "package org.drools.test;\n\nimport org.drools.Cheese;\n\nglobal java.util.List list;\nglobal java.lang.Integer five;\n\nrule \"not rule test\"\n when\n $person : Person( $likes:like )\n not Cheese( type == $likes )\n then\n\t\tlist.add( $person );\nend "
Object retval = execParser("compilation_unit", "package org.drools.test;\n\nimport org.drools.Cheese;\n\nglobal java.util.List list;\nglobal java.lang.Integer five;\n\nrule \"not rule test\"\n when\n $person : Person( $likes:like )\n not Cheese( type == $likes )\n then\n\t\tlist.add( $person );\nend ", false);
Object actual = examineParserExecResult(10, retval);
@@ -433,7 +424,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit47() throws Exception {
+ public void testCompilation_unit45() throws Exception {
// test input: "package org.drools.test;\n\nimport org.drools.Cheese;\n\nglobal java.lang.String foo\nglobal java.lang.Integer bar;\n\nrule baz\n when\n Cheese( )\n then\n\nend "
Object retval = execParser("compilation_unit", "package org.drools.test;\n\nimport org.drools.Cheese;\n\nglobal java.lang.String foo\nglobal java.lang.Integer bar;\n\nrule baz\n when\n Cheese( )\n then\n\nend ", false);
Object actual = examineParserExecResult(10, retval);
@@ -442,16 +433,16 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit48() throws Exception {
- // test input: "\nimport java.lang.String\n\nfunction String functionA(String s, Integer i) {\n\t\n\tfoo();\n\n}\n\nfunction void functionB() {\n\tbar();\t\n}\n\n\nrule something \n\twhen\n\tthen\nend\n\nrule \"one more thing\"\n\twhen\n\tthen\nend\n\n\n\n\t"
- Object retval = execParser("compilation_unit", "\nimport java.lang.String\n\nfunction String functionA(String s, Integer i) {\n\t\n\tfoo();\n\n}\n\nfunction void functionB() {\n\tbar();\t\n}\n\n\nrule something \n\twhen\n\tthen\nend\n\nrule \"one more thing\"\n\twhen\n\tthen\nend\n\n\n\n\t", false);
+ public void testCompilation_unit46() throws Exception {
+ // test input: "import java.lang.String\n\nfunction String functionA(String s, Integer i) {\n\t\n\tfoo();\n\n}\n\nfunction void functionB() {\n\tbar();\t\n}\n\n\nrule something \n\twhen\n\tthen\nend\n\nrule \"one more thing\"\n\twhen\n\tthen\nend\n\n\n\n\t"
+ Object retval = execParser("compilation_unit", "import java.lang.String\n\nfunction String functionA(String s, Integer i) {\n\t\n\tfoo();\n\n}\n\nfunction void functionB() {\n\tbar();\t\n}\n\n\nrule something \n\twhen\n\tthen\nend\n\nrule \"one more thing\"\n\twhen\n\tthen\nend\n\n\n\n\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (import (VT_IMPORT_ID java lang String)) (function (VT_DATA_TYPE String) functionA (VT_PARAM_LIST (VT_DATA_TYPE String) s (VT_DATA_TYPE Integer) i) {\n\t\n\tfoo();\n\n}) (function (VT_DATA_TYPE void) functionB VT_PARAM_LIST {\n\tbar();\t\n}) (rule something when VT_AND_IMPLICIT then\nend) (rule \"one more thing\" when VT_AND_IMPLICIT then\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit49() throws Exception {
+ public void testCompilation_unit47() throws Exception {
// test input: "#this starts with a comment\npackage foo.bar\n\n//and another comment\n\n/*\nyet\n\t another\n \t\t\t\tstyle\n*/\n\nrule \"test\"\n when\n then\nend"
Object retval = execParser("compilation_unit", "#this starts with a comment\npackage foo.bar\n\n//and another comment\n\n/*\nyet\n\t another\n \t\t\t\tstyle\n*/\n\nrule \"test\"\n when\n then\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -460,34 +451,34 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit50() throws Exception {
- // test input: "\n\n\nrule simple_rule \n\t\t#attributes keywork (and colon) is totally optional\n\t\tsalience 42\n\t\tagenda-group \"my_group\"\n\t\tno-loop \n\t\tduration 42\n\t\tactivation-group \"my_activation_group\"\n\t\tlock-on-active true\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend"
- Object retval = execParser("compilation_unit", "\n\n\nrule simple_rule \n\t\t#attributes keywork (and colon) is totally optional\n\t\tsalience 42\n\t\tagenda-group \"my_group\"\n\t\tno-loop \n\t\tduration 42\n\t\tactivation-group \"my_activation_group\"\n\t\tlock-on-active true\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend", false);
+ public void testCompilation_unit48() throws Exception {
+ // test input: "\n\nrule simple_rule \n\t\t#attributes keywork (and colon) is totally optional\n\t\tsalience 42\n\t\tagenda-group \"my_group\"\n\t\tno-loop \n\t\tduration 42\n\t\tactivation-group \"my_activation_group\"\n\t\tlock-on-active true\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend"
+ Object retval = execParser("compilation_unit", "\n\nrule simple_rule \n\t\t#attributes keywork (and colon) is totally optional\n\t\tsalience 42\n\t\tagenda-group \"my_group\"\n\t\tno-loop \n\t\tduration 42\n\t\tactivation-group \"my_activation_group\"\n\t\tlock-on-active true\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule (VT_RULE_ATTRIBUTES (salience 42) (agenda-group \"my_group\") no-loop (duration 42) (activation-group \"my_activation_group\") (lock-on-active true)) when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo)))) then\n\t\tbar();\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit51() throws Exception {
- // test input: "\n\n\nrule simple_rule \n\tattributes: \n\t\tsalience 42, agenda-group \"my_group\", no-loop, lock-on-active, duration 42, activation-group \"my_activation_group\"\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend"
- Object retval = execParser("compilation_unit", "\n\n\nrule simple_rule \n\tattributes: \n\t\tsalience 42, agenda-group \"my_group\", no-loop, lock-on-active, duration 42, activation-group \"my_activation_group\"\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend", false);
+ public void testCompilation_unit49() throws Exception {
+ // test input: "\n\nrule simple_rule \n\tattributes: \n\t\tsalience 42, agenda-group \"my_group\", no-loop, lock-on-active, duration 42, activation-group \"my_activation_group\"\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend"
+ Object retval = execParser("compilation_unit", "\n\nrule simple_rule \n\tattributes: \n\t\tsalience 42, agenda-group \"my_group\", no-loop, lock-on-active, duration 42, activation-group \"my_activation_group\"\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule (VT_RULE_ATTRIBUTES attributes (salience 42) (agenda-group \"my_group\") no-loop lock-on-active (duration 42) (activation-group \"my_activation_group\")) when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo)))) then\n\t\tbar();\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit52() throws Exception {
- // test input: "\nrule simple_rule \n when\n \tFoo(bar == Foo.BAR)\n then\nend"
- Object retval = execParser("compilation_unit", "\nrule simple_rule \n when\n \tFoo(bar == Foo.BAR)\n then\nend", false);
+ public void testCompilation_unit50() throws Exception {
+ // test input: "rule simple_rule \n when\n \tFoo(bar == Foo.BAR)\n then\nend"
+ Object retval = execParser("compilation_unit", "rule simple_rule \n when\n \tFoo(bar == Foo.BAR)\n then\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT bar)) (== (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT Foo) (VT_ACCESSOR_ELEMENT BAR))))))) then\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit53() throws Exception {
+ public void testCompilation_unit51() throws Exception {
// test input: "rule one\n when\n exists Foo()\n exits Bar()\n then\nend\n\nrule two \n when\n ford = ford = ford\n then\nend"
Object retval = execParser("compilation_unit", "rule one\n when\n exists Foo()\n exits Bar()\n then\nend\n\nrule two \n when\n ford = ford = ford\n then\nend", false);
Object actual = examineParserExecResult(28, retval);
@@ -496,16 +487,16 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit54() throws Exception {
- // test input: "\nrule \"another test\"\n when\n s : String()\n eval(s.equals(\"foo\") && s.startsWith(\"f\"))\n \n \n then\n list.add( s );\nend "
- Object retval = execParser("compilation_unit", "\nrule \"another test\"\n when\n s : String()\n eval(s.equals(\"foo\") && s.startsWith(\"f\"))\n \n \n then\n list.add( s );\nend ", false);
+ public void testCompilation_unit52() throws Exception {
+ // test input: "rule \"another test\"\n when\n s : String()\n eval(s.equals(\"foo\") && s.startsWith(\"f\"))\n \n \n then\n list.add( s );\nend "
+ Object retval = execParser("compilation_unit", "rule \"another test\"\n when\n s : String()\n eval(s.equals(\"foo\") && s.startsWith(\"f\"))\n \n \n then\n list.add( s );\nend ", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule \"another test\" when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING s (VT_FACT (VT_PATTERN_TYPE String)))) (eval (s.equals(\"foo\") && s.startsWith(\"f\")))) then\n list.add( s );\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit55() throws Exception {
+ public void testCompilation_unit53() throws Exception {
// test input: "package nesting;\n\n\n\n\nrule \"test something\"\n\n\twhen\n\t\tp: Person( name soundslike \"Michael\" )\n\tthen\n\t\tp.name = \"goober\"\n\t\tSystem.out.println(p.name)\nend"
Object retval = execParser("compilation_unit", "package nesting;\n\n\n\n\nrule \"test something\"\n\n\twhen\n\t\tp: Person( name soundslike \"Michael\" )\n\tthen\n\t\tp.name = \"goober\"\n\t\tSystem.out.println(p.name)\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -514,7 +505,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit56() throws Exception {
+ public void testCompilation_unit54() throws Exception {
// test input: "package com.foo;\n\nagenda-group \"x\"\n\nimport goo.ber\nimport wee.waa\n\n\ndialect \"java\"\n\n\n\n\nrule bar\n when\n then\nend\n\nrule baz\n dialect \"mvel\"\n when\n then\nend"
Object retval = execParser("compilation_unit", "package com.foo;\n\nagenda-group \"x\"\n\nimport goo.ber\nimport wee.waa\n\n\ndialect \"java\"\n\n\n\n\nrule bar\n when\n then\nend\n\nrule baz\n dialect \"mvel\"\n when\n then\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -523,52 +514,52 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit57() throws Exception {
- // test input: "\npackage com.foo;\n\nimport im.one\n\nimport im.two\n\nrule foo\n when\n then\nend\n\nfunction cheeseIt() {\n\n}\n\nimport im.three;\n\nrule bar\n when\n then\nend\n\nfunction uncheeseIt() {\n\n}\n\nimport im.four;"
- Object retval = execParser("compilation_unit", "\npackage com.foo;\n\nimport im.one\n\nimport im.two\n\nrule foo\n when\n then\nend\n\nfunction cheeseIt() {\n\n}\n\nimport im.three;\n\nrule bar\n when\n then\nend\n\nfunction uncheeseIt() {\n\n}\n\nimport im.four;", false);
+ public void testCompilation_unit55() throws Exception {
+ // test input: "package com.foo;\n\nimport im.one\n\nimport im.two\n\nrule foo\n when\n then\nend\n\nfunction cheeseIt() {\n\n}\n\nimport im.three;\n\nrule bar\n when\n then\nend\n\nfunction uncheeseIt() {\n\n}\n\nimport im.four;"
+ Object retval = execParser("compilation_unit", "package com.foo;\n\nimport im.one\n\nimport im.two\n\nrule foo\n when\n then\nend\n\nfunction cheeseIt() {\n\n}\n\nimport im.three;\n\nrule bar\n when\n then\nend\n\nfunction uncheeseIt() {\n\n}\n\nimport im.four;", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (package (VT_PACKAGE_ID com foo)) (import (VT_IMPORT_ID im one)) (import (VT_IMPORT_ID im two)) (rule foo when VT_AND_IMPLICIT then\nend) (function cheeseIt VT_PARAM_LIST {\n\n}) (import (VT_IMPORT_ID im three)) (rule bar when VT_AND_IMPLICIT then\nend) (function uncheeseIt VT_PARAM_LIST {\n\n}) (import (VT_IMPORT_ID im four)))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit58() throws Exception {
- // test input: "\nrule \"1. Do Stuff!\"\n when\n then\nend\n\nrule \"2. Do More Stuff!\"\n when\n then\nend"
- Object retval = execParser("compilation_unit", "\nrule \"1. Do Stuff!\"\n when\n then\nend\n\nrule \"2. Do More Stuff!\"\n when\n then\nend", false);
+ public void testCompilation_unit56() throws Exception {
+ // test input: "rule \"1. Do Stuff!\"\n when\n then\nend\n\nrule \"2. Do More Stuff!\"\n when\n then\nend"
+ Object retval = execParser("compilation_unit", "rule \"1. Do Stuff!\"\n when\n then\nend\n\nrule \"2. Do More Stuff!\"\n when\n then\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule \"1. Do Stuff!\" when VT_AND_IMPLICIT then\nend) (rule \"2. Do More Stuff!\" when VT_AND_IMPLICIT then\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit59() throws Exception {
- // test input: "\nrule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(\n\t\n\t\n\t\n\t abc(\n\t \n\t \"foo\") + \n\t 5\n\t \n\t \n\t \n\t \n\t )\n then\n\tKapow\n\tPoof\n\t\nend"
- Object retval = execParser("compilation_unit", "\nrule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(\n\t\n\t\n\t\n\t abc(\n\t \n\t \"foo\") + \n\t 5\n\t \n\t \n\t \n\t \n\t )\n then\n\tKapow\n\tPoof\n\t\nend", false);
+ public void testCompilation_unit57() throws Exception {
+ // test input: "rule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(\n\t\n\t\n\t\n\t abc(\n\t \n\t \"foo\") + \n\t 5\n\t \n\t \n\t \n\t \n\t )\n then\n\tKapow\n\tPoof\n\t\nend"
+ Object retval = execParser("compilation_unit", "rule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(\n\t\n\t\n\t\n\t abc(\n\t \n\t \"foo\") + \n\t 5\n\t \n\t \n\t \n\t \n\t )\n then\n\tKapow\n\tPoof\n\t\nend", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Bar))) (eval (\n\t\n\t\n\t\n\t abc(\n\t \n\t \"foo\") + \n\t 5\n\t \n\t \n\t \n\t \n\t ))) then\n\tKapow\n\tPoof\n\t\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit60() throws Exception {
- // test input: "\nrule simple_rule \n when\n\teval(abc();)\n then\n\tKapow\n\tPoof\nend"
- Object retval = execParser("compilation_unit", "\nrule simple_rule \n when\n\teval(abc();)\n then\n\tKapow\n\tPoof\nend", false);
+ public void testCompilation_unit58() throws Exception {
+ // test input: "rule simple_rule \n when\n\teval(abc();)\n then\n\tKapow\n\tPoof\nend"
+ Object retval = execParser("compilation_unit", "rule simple_rule \n when\n\teval(abc();)\n then\n\tKapow\n\tPoof\nend", false);
Object actual = examineParserExecResult(28, retval);
Object expecting = "FAIL";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit61() throws Exception {
- // test input: "\n\n\nrule simple_rule \n when\n\tFoo(\n\t bar == baz, la==laz\n\t )\n then\n\tKapow\n\tPoof\nend\n\t"
- Object retval = execParser("compilation_unit", "\n\n\nrule simple_rule \n when\n\tFoo(\n\t bar == baz, la==laz\n\t )\n then\n\tKapow\n\tPoof\nend\n\t", false);
+ public void testCompilation_unit59() throws Exception {
+ // test input: "\n\nrule simple_rule \n when\n\tFoo(\n\t bar == baz, la==laz\n\t )\n then\n\tKapow\n\tPoof\nend\n\t"
+ Object retval = execParser("compilation_unit", "\n\nrule simple_rule \n when\n\tFoo(\n\t bar == baz, la==laz\n\t )\n then\n\tKapow\n\tPoof\nend\n\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_COMPILATION_UNIT (rule simple_rule when (VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT bar)) (== (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT baz)))) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT la)) (== (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT laz))))))) then\n\tKapow\n\tPoof\nend))";
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit62() throws Exception {
+ public void testCompilation_unit60() throws Exception {
// test input: "package org.drools.test;\n\nrule \"Who likes Stilton\"\n when\n com.cheeseco.Cheese($type : type == \"stilton\")\n then\n System.out.println( $name + \" likes \" + $type);\nend "
Object retval = execParser("compilation_unit", "package org.drools.test;\n\nrule \"Who likes Stilton\"\n when\n com.cheeseco.Cheese($type : type == \"stilton\")\n then\n System.out.println( $name + \" likes \" + $type);\nend ", false);
Object actual = examineParserExecResult(10, retval);
@@ -577,7 +568,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit63() throws Exception {
+ public void testCompilation_unit61() throws Exception {
// test input: "rule \"AccumulateParserTest\"\nwhen\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend"
Object retval = execParser("compilation_unit", "rule \"AccumulateParserTest\"\nwhen\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -586,7 +577,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit64() throws Exception {
+ public void testCompilation_unit62() throws Exception {
// test input: "rule \"AccumulateParserTest\"\nwhen\n $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend"
Object retval = execParser("compilation_unit", "rule \"AccumulateParserTest\"\nwhen\n $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -595,7 +586,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit65() throws Exception {
+ public void testCompilation_unit63() throws Exception {
// test input: "rule \"CollectParserTest\"\nwhen\n $personList : ArrayList() from collect( Person( age > 21 ) );\nthen\nend"
Object retval = execParser("compilation_unit", "rule \"CollectParserTest\"\nwhen\n $personList : ArrayList() from collect( Person( age > 21 ) );\nthen\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -604,7 +595,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit66() throws Exception {
+ public void testCompilation_unit64() throws Exception {
// test input: "rule \"test_Quotes\"\n when\n InitialFact()\n then\n String s = \"\\\"\\n\\t\\\\\";\nend "
Object retval = execParser("compilation_unit", "rule \"test_Quotes\"\n when\n InitialFact()\n then\n String s = \"\\\"\\n\\t\\\\\";\nend ", false);
Object actual = examineParserExecResult(10, retval);
@@ -613,7 +604,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit67() throws Exception {
+ public void testCompilation_unit65() throws Exception {
// test input: "rule \"test nested CEs\"\t\n\twhen\n\t not ( State( $state : state ) and\n\t not( Person( status == $state, $likes : likes ) and\n\t Cheese( type == $likes ) ) )\n\t Person( name == \"Bob\" )\n\t ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )\n\tthen \n\t\tresults.add(\"OK\");\t\t\nend"
Object retval = execParser("compilation_unit", "rule \"test nested CEs\"\t\n\twhen\n\t not ( State( $state : state ) and\n\t not( Person( status == $state, $likes : likes ) and\n\t Cheese( type == $likes ) ) )\n\t Person( name == \"Bob\" )\n\t ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )\n\tthen \n\t\tresults.add(\"OK\");\t\t\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -622,7 +613,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit68() throws Exception {
+ public void testCompilation_unit66() throws Exception {
// test input: "rule \"ForallParserTest\"\nwhen\n forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );\nthen\nend"
Object retval = execParser("compilation_unit", "rule \"ForallParserTest\"\nwhen\n forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );\nthen\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -631,7 +622,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit69() throws Exception {
+ public void testCompilation_unit67() throws Exception {
// test input: "#testing 'in' operator\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n then\n\tconsequence();\nend"
Object retval = execParser("compilation_unit", "#testing 'in' operator\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n then\n\tconsequence();\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -640,7 +631,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit70() throws Exception {
+ public void testCompilation_unit68() throws Exception {
// test input: "#testing not 'in' operator\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n then\n\tconsequence();\nend"
Object retval = execParser("compilation_unit", "#testing not 'in' operator\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n then\n\tconsequence();\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -649,7 +640,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit71() throws Exception {
+ public void testCompilation_unit69() throws Exception {
// test input: "package org.drools;\n\nglobal java.util.List list;\n\nrule \"rule1\"\nwhen\n Pattern1();\n Pattern2() from x.y.z;\nthen\n System.out.println(\"Test\");\nend;\n\nquery \"query1\"\n\tPattern5();\n\tPattern6();\n\tPattern7();\nend;\n\nrule \"rule2\"\nwhen\n Pattern3();\n Pattern4() from collect( Pattern5() );\nthen\n System.out.println(\"Test\");\nend;\n\n\t"
Object retval = execParser("compilation_unit", "package org.drools;\n\nglobal java.util.List list;\n\nrule \"rule1\"\nwhen\n Pattern1();\n Pattern2() from x.y.z;\nthen\n System.out.println(\"Test\");\nend;\n\nquery \"query1\"\n\tPattern5();\n\tPattern6();\n\tPattern7();\nend;\n\nrule \"rule2\"\nwhen\n Pattern3();\n Pattern4() from collect( Pattern5() );\nthen\n System.out.println(\"Test\");\nend;\n\n\t", false);
Object actual = examineParserExecResult(10, retval);
@@ -658,7 +649,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit72() throws Exception {
+ public void testCompilation_unit70() throws Exception {
// test input: "package org.drools\n\nrule \"Test Parse\"\n\nwhen\n eval( 3==3 )\nthen\n System.out.println(\"OK\");\nend "
Object retval = execParser("compilation_unit", "package org.drools\n\nrule \"Test Parse\"\n\nwhen\n eval( 3==3 )\nthen\n System.out.println(\"OK\");\nend ", false);
Object actual = examineParserExecResult(10, retval);
@@ -667,7 +658,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit73() throws Exception {
+ public void testCompilation_unit71() throws Exception {
// test input: "rule \"AccumulateReverseParserTest\"\nwhen\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n reverse( x--; ),\n result( new Integer(x) ) );\nthen\nend"
Object retval = execParser("compilation_unit", "rule \"AccumulateReverseParserTest\"\nwhen\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n reverse( x--; ),\n result( new Integer(x) ) );\nthen\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -676,7 +667,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit74() throws Exception {
+ public void testCompilation_unit72() throws Exception {
// test input: "rule \"AccumulateReverseParserTest\"\nwhen\n Number() from accumulate( Person( $age : age > 21 ),\n average( $age ) );\nthen\nend"
Object retval = execParser("compilation_unit", "rule \"AccumulateReverseParserTest\"\nwhen\n Number() from accumulate( Person( $age : age > 21 ),\n average( $age ) );\nthen\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -685,7 +676,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit75() throws Exception {
+ public void testCompilation_unit73() throws Exception {
// test input: "rule \"CollectParserTest\"\nwhen\n #bellow statement makes no sense, but is useful to test parsing recursiveness\n $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\nthen\nend\n\n\t"
Object retval = execParser("compilation_unit", "rule \"CollectParserTest\"\nwhen\n #bellow statement makes no sense, but is useful to test parsing recursiveness\n $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\nthen\nend\n\n\t", false);
Object actual = examineParserExecResult(10, retval);
@@ -694,7 +685,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit76() throws Exception {
+ public void testCompilation_unit74() throws Exception {
// test input: "rule \"AccumulateParserTest\"\nwhen\n #bellow statement makes no sense, but is useful to test parsing recursiveness\n $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n max( $age ) );\nthen\nend\n\n\t"
Object retval = execParser("compilation_unit", "rule \"AccumulateParserTest\"\nwhen\n #bellow statement makes no sense, but is useful to test parsing recursiveness\n $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n max( $age ) );\nthen\nend\n\n\t", false);
Object actual = examineParserExecResult(10, retval);
@@ -703,7 +694,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit77() throws Exception {
+ public void testCompilation_unit75() throws Exception {
// test input: "package org.drools;\n\nrule \"testing OR CE\"\nwhen\n $p : Person( name == \"bob\" )\n $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\nthen\n // do something\nend "
Object retval = execParser("compilation_unit", "package org.drools;\n\nrule \"testing OR CE\"\nwhen\n $p : Person( name == \"bob\" )\n $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\nthen\n // do something\nend ", false);
Object actual = examineParserExecResult(10, retval);
@@ -712,7 +703,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit78() throws Exception {
+ public void testCompilation_unit76() throws Exception {
// test input: "rule \"another test\" salience 10 when eval( true ) then System.out.println(1); end"
Object retval = execParser("compilation_unit", "rule \"another test\" salience 10 when eval( true ) then System.out.println(1); end", false);
Object actual = examineParserExecResult(10, retval);
@@ -721,7 +712,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit79() throws Exception {
+ public void testCompilation_unit77() throws Exception {
// test input: "rule \"another test\" salience 10 when eval( true ) then System.out.println(1);\nend"
Object retval = execParser("compilation_unit", "rule \"another test\" salience 10 when eval( true ) then System.out.println(1);\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -730,7 +721,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit80() throws Exception {
+ public void testCompilation_unit78() throws Exception {
// test input: "rule \"AccumulateMultiPatternParserTest\"\nwhen\n $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend"
Object retval = execParser("compilation_unit", "rule \"AccumulateMultiPatternParserTest\"\nwhen\n $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -739,7 +730,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit81() throws Exception {
+ public void testCompilation_unit79() throws Exception {
// test input: "package org.drools;\n\nrule \"test rule\"\n\tsalience 10\n\twhen\n\t\t$c: WorkerPerformanceContext(eval)$c.getBalanceMonth() != null))\n\tthen\n\t\tretract($p);\nend\n\t"
Object retval = execParser("compilation_unit", "package org.drools;\n\nrule \"test rule\"\n\tsalience 10\n\twhen\n\t\t$c: WorkerPerformanceContext(eval)$c.getBalanceMonth() != null))\n\tthen\n\t\tretract($p);\nend\n\t", false);
Object actual = examineParserExecResult(28, retval);
@@ -748,7 +739,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit82() throws Exception {
+ public void testCompilation_unit80() throws Exception {
// test input: "package org.drools;\n\nrule \"Avoid NPE on wrong syntax\"\nwhen\n not( Cheese( ( type == \"stilton\", price == 10 ) || ( type == \"brie\", price == 15 ) ) from $cheeseList )\nthen\n System.out.println(\"OK\");\nend"
Object retval = execParser("compilation_unit", "package org.drools;\n\nrule \"Avoid NPE on wrong syntax\"\nwhen\n not( Cheese( ( type == \"stilton\", price == 10 ) || ( type == \"brie\", price == 15 ) ) from $cheeseList )\nthen\n System.out.println(\"OK\");\nend", false);
Object actual = examineParserExecResult(28, retval);
@@ -757,7 +748,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit83() throws Exception {
+ public void testCompilation_unit81() throws Exception {
// test input: "package org.drools;\n\nrule \"test pluggable operators\"\nwhen\n $a : EventA()\n $b : EventB( this `after[1,10] $a )\n $c : EventC( this finishes $b )\n $d : EventD( this not starts $a )\n $e : EventE( this not `before [1, 10] $b )\nthen\nend"
Object retval = execParser("compilation_unit", "package org.drools;\n\nrule \"test pluggable operators\"\nwhen\n $a : EventA()\n $b : EventB( this `after[1,10] $a )\n $c : EventC( this finishes $b )\n $d : EventD( this not starts $a )\n $e : EventE( this not `before [1, 10] $b )\nthen\nend", false);
Object actual = examineParserExecResult(10, retval);
@@ -766,7 +757,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit84() throws Exception {
+ public void testCompilation_unit82() throws Exception {
// test input: "rule \"Test\"\nwhen\n( $r :LiteralRestriction( operator == Operator.EQUAL ) )\n then\n end"
Object retval = execParser("compilation_unit", "rule \"Test\"\nwhen\n( $r :LiteralRestriction( operator == Operator.EQUAL ) )\n then\n end", false);
Object actual = examineParserExecResult(10, retval);
@@ -775,7 +766,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testCompilation_unit85() throws Exception {
+ public void testCompilation_unit83() throws Exception {
// test input: "rule \"Test2\"\nwhen\n( not $r :LiteralRestriction( operator == Operator.EQUAL ) )\n then\n end "
Object retval = execParser("compilation_unit", "rule \"Test2\"\nwhen\n( not $r :LiteralRestriction( operator == Operator.EQUAL ) )\n then\n end ", false);
Object actual = examineParserExecResult(10, retval);
@@ -784,7 +775,7 @@
assertEquals("testing rule "+"compilation_unit", expecting, actual);
}
- public void testPattern_source86() throws Exception {
+ public void testPattern_source1() throws Exception {
// test input: "StockTick( symbol==\"ACME\") from entry-point StreamA"
Object retval = execParser("pattern_source", "StockTick( symbol==\"ACME\") from entry-point StreamA", false);
Object actual = examineParserExecResult(10, retval);
@@ -793,7 +784,7 @@
assertEquals("testing rule "+"pattern_source", expecting, actual);
}
- public void testParen_chunk87() throws Exception {
+ public void testParen_chunk1() throws Exception {
// test input: "( foo )"
Object retval = execParser("paren_chunk", "( foo )", false);
Object actual = examineParserExecResult(10, retval);
@@ -802,7 +793,7 @@
assertEquals("testing rule "+"paren_chunk", expecting, actual);
}
- public void testParen_chunk88() throws Exception {
+ public void testParen_chunk2() throws Exception {
// test input: "(fnord())"
Object retval = execParser("paren_chunk", "(fnord())", false);
Object actual = examineParserExecResult(10, retval);
@@ -811,7 +802,7 @@
assertEquals("testing rule "+"paren_chunk", expecting, actual);
}
- public void testParen_chunk89() throws Exception {
+ public void testParen_chunk3() throws Exception {
// test input: "( fnord( \"cheese\" ) )"
Object retval = execParser("paren_chunk", "( fnord( \"cheese\" ) )", false);
Object actual = examineParserExecResult(10, retval);
@@ -820,7 +811,7 @@
assertEquals("testing rule "+"paren_chunk", expecting, actual);
}
- public void testParen_chunk90() throws Exception {
+ public void testParen_chunk4() throws Exception {
// test input: "( %*9dkj)"
Object retval = execParser("paren_chunk", "( %*9dkj)", false);
Object actual = examineParserExecResult(10, retval);
@@ -829,7 +820,7 @@
assertEquals("testing rule "+"paren_chunk", expecting, actual);
}
- public void testNormal_lhs_block91() throws Exception {
+ public void testNormal_lhs_block1() throws Exception {
// test input: ""
Object retval = execParser("normal_lhs_block", "", false);
Object actual = examineParserExecResult(8, retval);
@@ -838,25 +829,25 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block92() throws Exception {
- // test input: "\n Country( $cities : city )\n Person( city memberOf $cities )\n "
- Object retval = execParser("normal_lhs_block", "\n Country( $cities : city )\n Person( city memberOf $cities )\n ", false);
+ public void testNormal_lhs_block2() throws Exception {
+ // test input: " Country( $cities : city )\n Person( city memberOf $cities )\n "
+ Object retval = execParser("normal_lhs_block", " Country( $cities : city )\n Person( city memberOf $cities )\n ", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Country) (VT_BIND_FIELD $cities (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT city)))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT city)) (memberOf (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $cities)))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block93() throws Exception {
- // test input: "\n Country( $cities : city )\n Person( city not memberOf $cities )\n "
- Object retval = execParser("normal_lhs_block", "\n Country( $cities : city )\n Person( city not memberOf $cities )\n ", false);
+ public void testNormal_lhs_block3() throws Exception {
+ // test input: " Country( $cities : city )\n Person( city not memberOf $cities )\n "
+ Object retval = execParser("normal_lhs_block", " Country( $cities : city )\n Person( city not memberOf $cities )\n ", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Country) (VT_BIND_FIELD $cities (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT city)))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT city)) (memberOf not (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $cities)))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block94() throws Exception {
+ public void testNormal_lhs_block4() throws Exception {
// test input: " Person( age < 42 && location==\"atlanta\") "
Object retval = execParser("normal_lhs_block", " Person( age < 42 && location==\"atlanta\") ", false);
Object actual = examineParserExecResult(10, retval);
@@ -865,7 +856,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block95() throws Exception {
+ public void testNormal_lhs_block5() throws Exception {
// test input: " Person( age < 42 || location==\"atlanta\") "
Object retval = execParser("normal_lhs_block", " Person( age < 42 || location==\"atlanta\") ", false);
Object actual = examineParserExecResult(10, retval);
@@ -874,7 +865,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block96() throws Exception {
+ public void testNormal_lhs_block6() throws Exception {
// test input: "Person( age < 42 && location==\"atlanta\" || age > 20 && location==\"Seatle\" || location == \"Chicago\")"
Object retval = execParser("normal_lhs_block", "Person( age < 42 && location==\"atlanta\" || age > 20 && location==\"Seatle\" || location == \"Chicago\")", false);
Object actual = examineParserExecResult(10, retval);
@@ -883,7 +874,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block97() throws Exception {
+ public void testNormal_lhs_block7() throws Exception {
// test input: "Person( age < 42 && ( location==\"atlanta\" || age > 20 && location==\"Seatle\") || location == \"Chicago\")"
Object retval = execParser("normal_lhs_block", "Person( age < 42 && ( location==\"atlanta\" || age > 20 && location==\"Seatle\") || location == \"Chicago\")", false);
Object actual = examineParserExecResult(10, retval);
@@ -892,7 +883,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block98() throws Exception {
+ public void testNormal_lhs_block8() throws Exception {
// test input: " Person( ( age == 70 && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ) ) "
Object retval = execParser("normal_lhs_block", " Person( ( age == 70 && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ) ) ", false);
Object actual = examineParserExecResult(10, retval);
@@ -901,7 +892,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block99() throws Exception {
+ public void testNormal_lhs_block9() throws Exception {
// test input: " Person( name matches \"mark\" || matches \"bob\" ) "
Object retval = execParser("normal_lhs_block", " Person( name matches \"mark\" || matches \"bob\" ) ", false);
Object actual = examineParserExecResult(10, retval);
@@ -910,16 +901,16 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block100() throws Exception {
- // test input: "\n\tCity( $city : city )\n\tCountry( cities not contains $city )\n\t"
- Object retval = execParser("normal_lhs_block", "\n\tCity( $city : city )\n\tCountry( cities not contains $city )\n\t", false);
+ public void testNormal_lhs_block10() throws Exception {
+ // test input: "\tCity( $city : city )\n\tCountry( cities not contains $city )\n\t"
+ Object retval = execParser("normal_lhs_block", "\tCity( $city : city )\n\tCountry( cities not contains $city )\n\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE City) (VT_BIND_FIELD $city (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT city)))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Country) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT cities)) (contains not (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $city)))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block101() throws Exception {
+ public void testNormal_lhs_block11() throws Exception {
// test input: " Message( text not matches '[abc]*' ) "
Object retval = execParser("normal_lhs_block", " Message( text not matches '[abc]*' ) ", false);
Object actual = examineParserExecResult(10, retval);
@@ -928,7 +919,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block102() throws Exception {
+ public void testNormal_lhs_block12() throws Exception {
// test input: "Foo( bar > 1 || == 1 )"
Object retval = execParser("normal_lhs_block", "Foo( bar > 1 || == 1 )", false);
Object actual = examineParserExecResult(10, retval);
@@ -937,16 +928,16 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block103() throws Exception {
- // test input: "\n\t(or\n\tnot Person()\n\t\t(and Cheese()\n\t\t\tMeat()\n\t\t\tWine()))\n\t"
- Object retval = execParser("normal_lhs_block", "\n\t(or\n\tnot Person()\n\t\t(and Cheese()\n\t\t\tMeat()\n\t\t\tWine()))\n\t", false);
+ public void testNormal_lhs_block13() throws Exception {
+ // test input: "\t(or\n\tnot Person()\n\t\t(and Cheese()\n\t\t\tMeat()\n\t\t\tWine()))\n\t"
+ Object retval = execParser("normal_lhs_block", "\t(or\n\tnot Person()\n\t\t(and Cheese()\n\t\t\tMeat()\n\t\t\tWine()))\n\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (or (not (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person)))) (and (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Meat))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Wine))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block104() throws Exception {
+ public void testNormal_lhs_block14() throws Exception {
// test input: "Person( ( age ( > 60 && < 70 ) || ( > 50 && < 55 ) && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ))"
Object retval = execParser("normal_lhs_block", "Person( ( age ( > 60 && < 70 ) || ( > 50 && < 55 ) && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ))", false);
Object actual = examineParserExecResult(10, retval);
@@ -955,16 +946,16 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block105() throws Exception {
- // test input: "org . drools/*comment*/\t .Message( text not matches $c#comment\n. property )\n"
- Object retval = execParser("normal_lhs_block", "org . drools/*comment*/\t .Message( text not matches $c#comment\n. property )\n", false);
+ public void testNormal_lhs_block15() throws Exception {
+ // test input: "org . drools/*comment*/\t .Message( text not matches $c#comment\n. property )"
+ Object retval = execParser("normal_lhs_block", "org . drools/*comment*/\t .Message( text not matches $c#comment\n. property )", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE org drools Message) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT text)) (matches not (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $c) (VT_ACCESSOR_ELEMENT property)))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block106() throws Exception {
+ public void testNormal_lhs_block16() throws Exception {
// test input: " Test( ( text == null || text matches \"\" ) ) "
Object retval = execParser("normal_lhs_block", " Test( ( text == null || text matches \"\" ) ) ", false);
Object actual = examineParserExecResult(10, retval);
@@ -973,7 +964,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block107() throws Exception {
+ public void testNormal_lhs_block17() throws Exception {
// test input: " $id : Something( duration == \"foo\") "
Object retval = execParser("normal_lhs_block", " $id : Something( duration == \"foo\") ", false);
Object actual = examineParserExecResult(10, retval);
@@ -982,7 +973,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block108() throws Exception {
+ public void testNormal_lhs_block18() throws Exception {
// test input: "foo3 : Bar("
Object retval = execParser("normal_lhs_block", "foo3 : Bar(", false);
Object actual = examineParserExecResult(28, retval);
@@ -991,16 +982,16 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block109() throws Exception {
- // test input: "\nCheese(name == \"Stilton\", age==2001)\nWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")\n"
- Object retval = execParser("normal_lhs_block", "\nCheese(name == \"Stilton\", age==2001)\nWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")\n", false);
+ public void testNormal_lhs_block19() throws Exception {
+ // test input: "Cheese(name == \"Stilton\", age==2001)\nWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")"
+ Object retval = execParser("normal_lhs_block", "Cheese(name == \"Stilton\", age==2001)\nWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"Stilton\")) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (== 2001)))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Wine) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"Grange\")) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (== \"1978\")) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT accolades)) (contains \"world champion\")))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block110() throws Exception {
+ public void testNormal_lhs_block20() throws Exception {
// test input: "Foo()"
Object retval = execParser("normal_lhs_block", "Foo()", false);
Object actual = examineParserExecResult(10, retval);
@@ -1009,7 +1000,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block111() throws Exception {
+ public void testNormal_lhs_block21() throws Exception {
// test input: "not Cheese(type == \"stilton\")"
Object retval = execParser("normal_lhs_block", "not Cheese(type == \"stilton\")", false);
Object actual = examineParserExecResult(10, retval);
@@ -1018,25 +1009,25 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block112() throws Exception {
- // test input: "\nPerson(age < 42, location==\"atlanta\") \nor\nPerson(name==\"bob\")\n"
- Object retval = execParser("normal_lhs_block", "\nPerson(age < 42, location==\"atlanta\") \nor\nPerson(name==\"bob\")\n", false);
+ public void testNormal_lhs_block22() throws Exception {
+ // test input: "Person(age < 42, location==\"atlanta\") \nor\nPerson(name==\"bob\")"
+ Object retval = execParser("normal_lhs_block", "Person(age < 42, location==\"atlanta\") \nor\nPerson(name==\"bob\")", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (or (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (< 42)) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT location)) (== \"atlanta\")))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"bob\"))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block113() throws Exception {
- // test input: "\nFoo(bar == false)\nFoo(boo > -42)\nFoo(boo > -42.42)\n"
- Object retval = execParser("normal_lhs_block", "\nFoo(bar == false)\nFoo(boo > -42)\nFoo(boo > -42.42)\n", false);
+ public void testNormal_lhs_block23() throws Exception {
+ // test input: "Foo(bar == false)\nFoo(boo > -42)\nFoo(boo > -42.42)"
+ Object retval = execParser("normal_lhs_block", "Foo(bar == false)\nFoo(boo > -42)\nFoo(boo > -42.42)", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT bar)) (== false)))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT boo)) (> -42)))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT boo)) (> -42.42)))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block114() throws Exception {
+ public void testNormal_lhs_block24() throws Exception {
// test input: "Cheese( )"
Object retval = execParser("normal_lhs_block", "Cheese( )", false);
Object actual = examineParserExecResult(10, retval);
@@ -1045,70 +1036,70 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block115() throws Exception {
- // test input: "\nCol1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()\n"
- Object retval = execParser("normal_lhs_block", "\nCol1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()\n", false);
+ public void testNormal_lhs_block25() throws Exception {
+ // test input: "Col1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()"
+ Object retval = execParser("normal_lhs_block", "Col1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col1))) (VT_FROM_SOURCE something (. doIt ( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col2))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block116() throws Exception {
- // test input: "\nCol1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()\n"
- Object retval = execParser("normal_lhs_block", "\nCol1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()\n", false);
+ public void testNormal_lhs_block26() throws Exception {
+ // test input: "Col1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()"
+ Object retval = execParser("normal_lhs_block", "Col1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col1))) (VT_FROM_SOURCE doIt ( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] ))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col2))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block117() throws Exception {
- // test input: "\nCol1() from something.doIt\nCol2()\n"
- Object retval = execParser("normal_lhs_block", "\nCol1() from something.doIt\nCol2()\n", false);
+ public void testNormal_lhs_block27() throws Exception {
+ // test input: "Col1() from something.doIt\nCol2()"
+ Object retval = execParser("normal_lhs_block", "Col1() from something.doIt\nCol2()", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col1))) (VT_FROM_SOURCE something (. doIt))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col2))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block118() throws Exception {
- // test input: "\nCol1() from something.doIt[\"key\"]\nCol2()\n"
- Object retval = execParser("normal_lhs_block", "\nCol1() from something.doIt[\"key\"]\nCol2()\n", false);
+ public void testNormal_lhs_block28() throws Exception {
+ // test input: "Col1() from something.doIt[\"key\"]\nCol2()"
+ Object retval = execParser("normal_lhs_block", "Col1() from something.doIt[\"key\"]\nCol2()", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col1))) (VT_FROM_SOURCE something (. doIt [\"key\"]))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col2))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block119() throws Exception {
- // test input: "\nCol1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\nCol2()\n"
- Object retval = execParser("normal_lhs_block", "\nCol1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\nCol2()\n", false);
+ public void testNormal_lhs_block29() throws Exception {
+ // test input: "Col1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\nCol2()"
+ Object retval = execParser("normal_lhs_block", "Col1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\nCol2()", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col1))) (VT_FROM_SOURCE doIt1 ( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] ) (. doIt2 (bar, [a, \"b\", 42]) (. field [\"key\"])))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Col2))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block120() throws Exception {
- // test input: "\nfoo3 : Bar(a==3)\nfoo4 : Bar(a4:a==4)\nBaz()\n"
- Object retval = execParser("normal_lhs_block", "\nfoo3 : Bar(a==3)\nfoo4 : Bar(a4:a==4)\nBaz()\n", false);
+ public void testNormal_lhs_block30() throws Exception {
+ // test input: "foo3 : Bar(a==3)\nfoo4 : Bar(a4:a==4)\nBaz()"
+ Object retval = execParser("normal_lhs_block", "foo3 : Bar(a==3)\nfoo4 : Bar(a4:a==4)\nBaz()", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING foo3 (VT_FACT (VT_PATTERN_TYPE Bar) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT a)) (== 3))))) (VT_PATTERN (VT_FACT_BINDING foo4 (VT_FACT (VT_PATTERN_TYPE Bar) (VT_BIND_FIELD a4 (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT a)) (== 4)))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Baz))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block121() throws Exception {
- // test input: "\nPerson(age > 30 && < 40)\nVehicle(type == \"sedan\" || == \"wagon\", age < 3)\n"
- Object retval = execParser("normal_lhs_block", "\nPerson(age > 30 && < 40)\nVehicle(type == \"sedan\" || == \"wagon\", age < 3)\n", false);
+ public void testNormal_lhs_block31() throws Exception {
+ // test input: "Person(age > 30 && < 40)\nVehicle(type == \"sedan\" || == \"wagon\", age < 3)"
+ Object retval = execParser("normal_lhs_block", "Person(age > 30 && < 40)\nVehicle(type == \"sedan\" || == \"wagon\", age < 3)", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (&& (> 30) (< 40))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Vehicle) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (|| (== \"sedan\") (== \"wagon\"))) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (< 3)))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block122() throws Exception {
+ public void testNormal_lhs_block32() throws Exception {
// test input: " foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()"
Object retval = execParser("normal_lhs_block", " foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()", false);
Object actual = examineParserExecResult(10, retval);
@@ -1117,34 +1108,34 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block123() throws Exception {
- // test input: "\nnot ( Cheese(type == \"stilton\") )\nexists ( Foo() )\n"
- Object retval = execParser("normal_lhs_block", "\nnot ( Cheese(type == \"stilton\") )\nexists ( Foo() )\n", false);
+ public void testNormal_lhs_block33() throws Exception {
+ // test input: "not ( Cheese(type == \"stilton\") )\nexists ( Foo() )"
+ Object retval = execParser("normal_lhs_block", "not ( Cheese(type == \"stilton\") )\nexists ( Foo() )", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (not (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"stilton\"))))) (exists (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo)))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block124() throws Exception {
- // test input: "\nnot ( Cheese(type == \"stilton\") )\nexists ( Foo() )\n"
- Object retval = execParser("normal_lhs_block", "\nnot ( Cheese(type == \"stilton\") )\nexists ( Foo() )\n", false);
+ public void testNormal_lhs_block34() throws Exception {
+ // test input: "not ( Cheese(type == \"stilton\") )\nexists ( Foo() )"
+ Object retval = execParser("normal_lhs_block", "not ( Cheese(type == \"stilton\") )\nexists ( Foo() )", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (not (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"stilton\"))))) (exists (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo)))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block125() throws Exception {
- // test input: "\na : (not ( Cheese(type == \"stilton\") ))\nexists ( Foo() )\n"
- Object retval = execParser("normal_lhs_block", "\na : (not ( Cheese(type == \"stilton\") ))\nexists ( Foo() )\n", false);
+ public void testNormal_lhs_block35() throws Exception {
+ // test input: "a : (not ( Cheese(type == \"stilton\") ))\nexists ( Foo() )"
+ Object retval = execParser("normal_lhs_block", "a : (not ( Cheese(type == \"stilton\") ))\nexists ( Foo() )", false);
Object actual = examineParserExecResult(28, retval);
Object expecting = "FAIL";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block126() throws Exception {
+ public void testNormal_lhs_block36() throws Exception {
// test input: " Cheese( t:type == \"cheddar\" ) "
Object retval = execParser("normal_lhs_block", " Cheese( t:type == \"cheddar\" ) ", false);
Object actual = examineParserExecResult(10, retval);
@@ -1153,7 +1144,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block127() throws Exception {
+ public void testNormal_lhs_block37() throws Exception {
// test input: "Cheese( $type:type )"
Object retval = execParser("normal_lhs_block", "Cheese( $type:type )", false);
Object actual = examineParserExecResult(10, retval);
@@ -1162,88 +1153,88 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block128() throws Exception {
- // test input: "\n Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) \n"
- Object retval = execParser("normal_lhs_block", "\n Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) \n", false);
+ public void testNormal_lhs_block38() throws Exception {
+ // test input: " Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) "
+ Object retval = execParser("normal_lhs_block", " Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) ", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_BIND_FIELD $type (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"stilton\"))))) (VT_PATTERN (VT_FACT_BINDING $person (VT_FACT (VT_PATTERN_TYPE Person) (VT_BIND_FIELD $name (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"bob\"))) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT likes)) (== (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $type))))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block129() throws Exception {
- // test input: "\nPerson(name == \"mark\") or \n( Person(type == \"fan\") and Cheese(type == \"green\") )\n"
- Object retval = execParser("normal_lhs_block", "\nPerson(name == \"mark\") or \n( Person(type == \"fan\") and Cheese(type == \"green\") )\n", false);
+ public void testNormal_lhs_block39() throws Exception {
+ // test input: "Person(name == \"mark\") or \n( Person(type == \"fan\") and Cheese(type == \"green\") )"
+ Object retval = execParser("normal_lhs_block", "Person(name == \"mark\") or \n( Person(type == \"fan\") and Cheese(type == \"green\") )", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (or (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"mark\")))) (and (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"fan\")))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"green\")))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block130() throws Exception {
- // test input: "\nPerson(name == \"mark\") && Cheese(type == \"stilton\")\nPerson(name == \"mark\") || Cheese(type == \"stilton\")\n"
- Object retval = execParser("normal_lhs_block", "\nPerson(name == \"mark\") && Cheese(type == \"stilton\")\nPerson(name == \"mark\") || Cheese(type == \"stilton\")\n", false);
+ public void testNormal_lhs_block40() throws Exception {
+ // test input: "Person(name == \"mark\") && Cheese(type == \"stilton\")\nPerson(name == \"mark\") || Cheese(type == \"stilton\")"
+ Object retval = execParser("normal_lhs_block", "Person(name == \"mark\") && Cheese(type == \"stilton\")\nPerson(name == \"mark\") || Cheese(type == \"stilton\")", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (&& (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"mark\")))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"stilton\"))))) (|| (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"mark\")))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"stilton\"))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block131() throws Exception {
- // test input: "\nfoo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \nCheese(type == \"green\")\n"
- Object retval = execParser("normal_lhs_block", "\nfoo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \nCheese(type == \"green\")\n", false);
+ public void testNormal_lhs_block41() throws Exception {
+ // test input: "foo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \nCheese(type == \"green\")"
+ Object retval = execParser("normal_lhs_block", "foo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \nCheese(type == \"green\")", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING foo (or (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"mark\"))) (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"fan\")))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"green\")))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block132() throws Exception {
- // test input: "\nfoo : ( Person(name == \"mark\") \n\tor \n\tPerson(type == \"fan\") )\n"
- Object retval = execParser("normal_lhs_block", "\nfoo : ( Person(name == \"mark\") \n\tor \n\tPerson(type == \"fan\") )\n", false);
+ public void testNormal_lhs_block42() throws Exception {
+ // test input: "foo : ( Person(name == \"mark\") \n\tor \n\tPerson(type == \"fan\") )"
+ Object retval = execParser("normal_lhs_block", "foo : ( Person(name == \"mark\") \n\tor \n\tPerson(type == \"fan\") )", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING foo (or (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"mark\"))) (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"fan\")))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block133() throws Exception {
- // test input: "\nfoo : ( \n\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t)\n"
- Object retval = execParser("normal_lhs_block", "\nfoo : ( \n\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t)\n", false);
+ public void testNormal_lhs_block43() throws Exception {
+ // test input: "foo : ( \n\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t)"
+ Object retval = execParser("normal_lhs_block", "foo : ( \n\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t)", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING foo (or (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"mark\"))) (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"fan\")))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block134() throws Exception {
- // test input: "\n ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )\n"
- Object retval = execParser("normal_lhs_block", "\n ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )\n", false);
+ public void testNormal_lhs_block44() throws Exception {
+ // test input: " ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )"
+ Object retval = execParser("normal_lhs_block", " ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (and (or (not (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT x)) (== \"a\"))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT x)) (== \"y\"))))) (or (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Shoes))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Butt))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block135() throws Exception {
- // test input: "\neval(abc(\"foo\") + 5)\nFoo()\neval(qed())\nBar()\n"
- Object retval = execParser("normal_lhs_block", "\neval(abc(\"foo\") + 5)\nFoo()\neval(qed())\nBar()\n", false);
+ public void testNormal_lhs_block45() throws Exception {
+ // test input: "eval(abc(\"foo\") + 5)\nFoo()\neval(qed())\nBar()"
+ Object retval = execParser("normal_lhs_block", "eval(abc(\"foo\") + 5)\nFoo()\neval(qed())\nBar()", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (eval (abc(\"foo\") + 5)) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo))) (eval (qed())) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Bar))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block136() throws Exception {
- // test input: "\nFoo()\nBar()\neval(abc(\"foo\"))\n"
- Object retval = execParser("normal_lhs_block", "\nFoo()\nBar()\neval(abc(\"foo\"))\n", false);
+ public void testNormal_lhs_block46() throws Exception {
+ // test input: "Foo()\nBar()\neval(abc(\"foo\"))"
+ Object retval = execParser("normal_lhs_block", "Foo()\nBar()\neval(abc(\"foo\"))", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Bar))) (eval (abc(\"foo\"))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block137() throws Exception {
+ public void testNormal_lhs_block47() throws Exception {
// test input: "Foo(name== (a + b))"
Object retval = execParser("normal_lhs_block", "Foo(name== (a + b))", false);
Object actual = examineParserExecResult(10, retval);
@@ -1252,7 +1243,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block138() throws Exception {
+ public void testNormal_lhs_block48() throws Exception {
// test input: "Person( $age2:age -> ($age2 == $age1+2 ) )"
Object retval = execParser("normal_lhs_block", "Person( $age2:age -> ($age2 == $age1+2 ) )", false);
Object actual = examineParserExecResult(10, retval);
@@ -1261,7 +1252,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block139() throws Exception {
+ public void testNormal_lhs_block49() throws Exception {
// test input: "Foo(bar == Foo.BAR)"
Object retval = execParser("normal_lhs_block", "Foo(bar == Foo.BAR)", false);
Object actual = examineParserExecResult(10, retval);
@@ -1270,25 +1261,25 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block140() throws Exception {
- // test input: "\np: Person( name soundslike \"Michael\" )\n"
- Object retval = execParser("normal_lhs_block", "\np: Person( name soundslike \"Michael\" )\n", false);
+ public void testNormal_lhs_block50() throws Exception {
+ // test input: "p: Person( name soundslike \"Michael\" )"
+ Object retval = execParser("normal_lhs_block", "p: Person( name soundslike \"Michael\" )", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING p (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (soundslike \"Michael\"))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block141() throws Exception {
- // test input: "\nFoo()\nBar()\neval(\n\n\n\n abc(\n \n \"foo\") + \n 5\n \n \n \n \n )\n"
- Object retval = execParser("normal_lhs_block", "\nFoo()\nBar()\neval(\n\n\n\n abc(\n \n \"foo\") + \n 5\n \n \n \n \n )\n", false);
+ public void testNormal_lhs_block51() throws Exception {
+ // test input: "Foo()\nBar()\neval(\n\n\n\n abc(\n \n \"foo\") + \n 5\n \n \n \n \n )"
+ Object retval = execParser("normal_lhs_block", "Foo()\nBar()\neval(\n\n\n\n abc(\n \n \"foo\") + \n 5\n \n \n \n \n )", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Bar))) (eval (\n\n\n\n abc(\n \n \"foo\") + \n 5\n \n \n \n \n )))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block142() throws Exception {
+ public void testNormal_lhs_block52() throws Exception {
// test input: "eval(abc();)"
Object retval = execParser("normal_lhs_block", "eval(abc();)", false);
Object actual = examineParserExecResult(28, retval);
@@ -1297,16 +1288,16 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block143() throws Exception {
- // test input: "\nFoo(\n bar == baz, la==laz\n )\n "
- Object retval = execParser("normal_lhs_block", "\nFoo(\n bar == baz, la==laz\n )\n ", false);
+ public void testNormal_lhs_block53() throws Exception {
+ // test input: "Foo(\n bar == baz, la==laz\n )\n "
+ Object retval = execParser("normal_lhs_block", "Foo(\n bar == baz, la==laz\n )\n ", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Foo) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT bar)) (== (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT baz)))) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT la)) (== (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT laz)))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block144() throws Exception {
+ public void testNormal_lhs_block54() throws Exception {
// test input: "com.cheeseco.Cheese($type : type == \"stilton\")"
Object retval = execParser("normal_lhs_block", "com.cheeseco.Cheese($type : type == \"stilton\")", false);
Object actual = examineParserExecResult(10, retval);
@@ -1315,25 +1306,25 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block145() throws Exception {
- // test input: "\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\n"
- Object retval = execParser("normal_lhs_block", "\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\n", false);
+ public void testNormal_lhs_block55() throws Exception {
+ // test input: " Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );"
+ Object retval = execParser("normal_lhs_block", " Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Integer))) (accumulate (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (> 21)))) (VT_ACCUMULATE_INIT_CLAUSE (init ( int x = 0; )) (action ( x++; )) (result ( new Integer(x) ))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block146() throws Exception {
- // test input: "\n $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\n"
- Object retval = execParser("normal_lhs_block", "\n $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\n", false);
+ public void testNormal_lhs_block56() throws Exception {
+ // test input: " $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );"
+ Object retval = execParser("normal_lhs_block", " $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT_BINDING $counter (VT_FACT (VT_PATTERN_TYPE Integer)))) (accumulate (VT_PATTERN (VT_FACT_BINDING $person (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (> 21))))) (VT_ACCUMULATE_INIT_CLAUSE (init ( int x = 0; )) (action ( x++; )) (result ( new Integer(x) ))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block147() throws Exception {
+ public void testNormal_lhs_block57() throws Exception {
// test input: "$personList : ArrayList() from collect( Person( age > 21 ) );"
Object retval = execParser("normal_lhs_block", "$personList : ArrayList() from collect( Person( age > 21 ) );", false);
Object actual = examineParserExecResult(10, retval);
@@ -1342,52 +1333,52 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block148() throws Exception {
- // test input: "\n\tnot ( State( $state : state ) and\n not( Person( status == $state, $likes : likes ) and\n Cheese( type == $likes ) ) )\n Person( name == \"Bob\" )\n ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )\n"
- Object retval = execParser("normal_lhs_block", "\n\tnot ( State( $state : state ) and\n not( Person( status == $state, $likes : likes ) and\n Cheese( type == $likes ) ) )\n Person( name == \"Bob\" )\n ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )\n", false);
+ public void testNormal_lhs_block58() throws Exception {
+ // test input: "\tnot ( State( $state : state ) and\n not( Person( status == $state, $likes : likes ) and\n Cheese( type == $likes ) ) )\n Person( name == \"Bob\" )\n ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )"
+ Object retval = execParser("normal_lhs_block", "\tnot ( State( $state : state ) and\n not( Person( status == $state, $likes : likes ) and\n Cheese( type == $likes ) ) )\n Person( name == \"Bob\" )\n ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (not (and (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE State) (VT_BIND_FIELD $state (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT state)))))) (not (and (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT status)) (== (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $state)))) (VT_BIND_FIELD $likes (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT likes)))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $likes)))))))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"Bob\")))) (or (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT price)) (== 10)))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== \"brie\"))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block149() throws Exception {
- // test input: "\n forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );\n"
- Object retval = execParser("normal_lhs_block", "\n forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );\n", false);
+ public void testNormal_lhs_block59() throws Exception {
+ // test input: " forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );"
+ Object retval = execParser("normal_lhs_block", " forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (forall (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (> 21)) (VT_BIND_FIELD $likes (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT likes)))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $likes))))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block150() throws Exception {
- // test input: "\n \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n\t"
- Object retval = execParser("normal_lhs_block", "\n \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n\t", false);
+ public void testNormal_lhs_block60() throws Exception {
+ // test input: " \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n\t"
+ Object retval = execParser("normal_lhs_block", " \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (&& (> 30) (< 40))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Vehicle) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (in \"sedan\" \"wagon\")) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (< 3)))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block151() throws Exception {
- // test input: "\n \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n\t"
- Object retval = execParser("normal_lhs_block", "\n \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n\t", false);
+ public void testNormal_lhs_block61() throws Exception {
+ // test input: " \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n\t"
+ Object retval = execParser("normal_lhs_block", " \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (&& (> 30) (< 40))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Vehicle) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (in not \"sedan\" \"wagon\")) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (< 3)))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block152() throws Exception {
- // test input: "\n\t\tPattern1();\n\t\tPattern2() from x.y.z;\n\t\tPattern5();\n\t\tPattern6();\n\t\tPattern7();\n\t\tPattern3();\n\t\tPattern4() from collect( Pattern5() );\n\t\t"
- Object retval = execParser("normal_lhs_block", "\n\t\tPattern1();\n\t\tPattern2() from x.y.z;\n\t\tPattern5();\n\t\tPattern6();\n\t\tPattern7();\n\t\tPattern3();\n\t\tPattern4() from collect( Pattern5() );\n\t\t", false);
+ public void testNormal_lhs_block62() throws Exception {
+ // test input: "\t\tPattern1();\n\t\tPattern2() from x.y.z;\n\t\tPattern5();\n\t\tPattern6();\n\t\tPattern7();\n\t\tPattern3();\n\t\tPattern4() from collect( Pattern5() );\n\t\t"
+ Object retval = execParser("normal_lhs_block", "\t\tPattern1();\n\t\tPattern2() from x.y.z;\n\t\tPattern5();\n\t\tPattern6();\n\t\tPattern7();\n\t\tPattern3();\n\t\tPattern4() from collect( Pattern5() );\n\t\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Pattern1))) (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Pattern2))) (VT_FROM_SOURCE x (. y (. z)))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Pattern5))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Pattern6))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Pattern7))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Pattern3))) (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Pattern4))) (collect (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Pattern5))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block153() throws Exception {
+ public void testNormal_lhs_block63() throws Exception {
// test input: " eval( 3==3 ) "
Object retval = execParser("normal_lhs_block", " eval( 3==3 ) ", false);
Object actual = examineParserExecResult(10, retval);
@@ -1396,70 +1387,70 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block154() throws Exception {
- // test input: "\n\t\tInteger() from accumulate( Person( age > 21 ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t reverse( x--; ),\n\t\t result( new Integer(x) ) );\n\t\t"
- Object retval = execParser("normal_lhs_block", "\n\t\tInteger() from accumulate( Person( age > 21 ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t reverse( x--; ),\n\t\t result( new Integer(x) ) );\n\t\t", false);
+ public void testNormal_lhs_block64() throws Exception {
+ // test input: "\t\tInteger() from accumulate( Person( age > 21 ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t reverse( x--; ),\n\t\t result( new Integer(x) ) );\n\t\t"
+ Object retval = execParser("normal_lhs_block", "\t\tInteger() from accumulate( Person( age > 21 ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t reverse( x--; ),\n\t\t result( new Integer(x) ) );\n\t\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Integer))) (accumulate (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (> 21)))) (VT_ACCUMULATE_INIT_CLAUSE (init ( int x = 0; )) (action ( x++; )) (reverse ( x--; )) (result ( new Integer(x) ))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block155() throws Exception {
- // test input: "\n\t Number() from accumulate( Person( $age : age > 21 ),\n\t average( $age ) );\n\t\t"
- Object retval = execParser("normal_lhs_block", "\n\t Number() from accumulate( Person( $age : age > 21 ),\n\t average( $age ) );\n\t\t", false);
+ public void testNormal_lhs_block65() throws Exception {
+ // test input: "\t Number() from accumulate( Person( $age : age > 21 ),\n\t average( $age ) );\n\t\t"
+ Object retval = execParser("normal_lhs_block", "\t Number() from accumulate( Person( $age : age > 21 ),\n\t average( $age ) );\n\t\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Number))) (accumulate (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_BIND_FIELD $age (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (> 21))))) (VT_ACCUMULATE_ID_CLAUSE average ( $age )))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block156() throws Exception {
- // test input: "\n\t #bellow statement makes no sense, but is useful to test parsing recursiveness\n\t $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\n\t\t"
- Object retval = execParser("normal_lhs_block", "\n\t #bellow statement makes no sense, but is useful to test parsing recursiveness\n\t $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\n\t\t", false);
+ public void testNormal_lhs_block66() throws Exception {
+ // test input: "\t #bellow statement makes no sense, but is useful to test parsing recursiveness\n\t $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\n\t\t"
+ Object retval = execParser("normal_lhs_block", "\t #bellow statement makes no sense, but is useful to test parsing recursiveness\n\t $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\n\t\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT_BINDING $personList (VT_FACT (VT_PATTERN_TYPE ArrayList)))) (collect (from (VT_PATTERN (VT_FACT_BINDING $p (VT_FACT (VT_PATTERN_TYPE Person) (|| (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (> 21)) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (< 10)))))) (collect (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE People))) (VT_FROM_SOURCE $town (. getPeople ()))))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block157() throws Exception {
- // test input: "\n\t $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n\t max( $age ) );\n\t\t"
- Object retval = execParser("normal_lhs_block", "\n\t $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n\t max( $age ) );\n\t\t", false);
+ public void testNormal_lhs_block67() throws Exception {
+ // test input: "\t $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n\t max( $age ) );\n\t\t"
+ Object retval = execParser("normal_lhs_block", "\t $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n\t max( $age ) );\n\t\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT_BINDING $personList (VT_FACT (VT_PATTERN_TYPE ArrayList)))) (accumulate (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Person) (VT_BIND_FIELD $age (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (|| (> 21) (< 10)))))) (collect (from (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE People))) (VT_FROM_SOURCE $town (. getPeople ()))))) (VT_ACCUMULATE_ID_CLAUSE max ( $age )))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block158() throws Exception {
- // test input: "\n\t $p : Person( name == \"bob\" )\n\t $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\n\t "
- Object retval = execParser("normal_lhs_block", "\n\t $p : Person( name == \"bob\" )\n\t $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\n\t ", false);
+ public void testNormal_lhs_block68() throws Exception {
+ // test input: "\t $p : Person( name == \"bob\" )\n\t $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\n\t "
+ Object retval = execParser("normal_lhs_block", "\t $p : Person( name == \"bob\" )\n\t $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\n\t ", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING $p (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT name)) (== \"bob\"))))) (|| (VT_PATTERN (VT_FACT_BINDING $c (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $p) (VT_ACCESSOR_ELEMENT likes))))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT price)) (== 10))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block159() throws Exception {
- // test input: "\n\t\t $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t result( new Integer(x) ) );\n\t\t\t"
- Object retval = execParser("normal_lhs_block", "\n\t\t $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t result( new Integer(x) ) );\n\t\t\t", false);
+ public void testNormal_lhs_block69() throws Exception {
+ // test input: "\t\t $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t result( new Integer(x) ) );\n\t\t\t"
+ Object retval = execParser("normal_lhs_block", "\t\t $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t result( new Integer(x) ) );\n\t\t\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (from (VT_PATTERN (VT_FACT_BINDING $counter (VT_FACT (VT_PATTERN_TYPE Integer)))) (accumulate (and (VT_PATTERN (VT_FACT_BINDING $person (VT_FACT (VT_PATTERN_TYPE Person) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT age)) (> 21))))) (VT_PATTERN (VT_FACT (VT_PATTERN_TYPE Cheese) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT type)) (== (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $person) (VT_ACCESSOR_ELEMENT likes))))))) (VT_ACCUMULATE_INIT_CLAUSE (init ( int x = 0; )) (action ( x++; )) (result ( new Integer(x) ))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block160() throws Exception {
- // test input: "\n\t\t $a : EventA()\n\t\t $b : EventB( this `after[1,10] $a )\n\t\t $c : EventC( this finishes $b )\n\t\t $d : EventD( this not starts $a )\n\t\t $e : EventE( this not `before [1, 10] $b )\n\t\t\t"
- Object retval = execParser("normal_lhs_block", "\n\t\t $a : EventA()\n\t\t $b : EventB( this `after[1,10] $a )\n\t\t $c : EventC( this finishes $b )\n\t\t $d : EventD( this not starts $a )\n\t\t $e : EventE( this not `before [1, 10] $b )\n\t\t\t", false);
+ public void testNormal_lhs_block70() throws Exception {
+ // test input: "\t\t $a : EventA()\n\t\t $b : EventB( this `after[1,10] $a )\n\t\t $c : EventC( this finishes $b )\n\t\t $d : EventD( this not starts $a )\n\t\t $e : EventE( this not `before [1, 10] $b )\n\t\t\t"
+ Object retval = execParser("normal_lhs_block", "\t\t $a : EventA()\n\t\t $b : EventB( this `after[1,10] $a )\n\t\t $c : EventC( this finishes $b )\n\t\t $d : EventD( this not starts $a )\n\t\t $e : EventE( this not `before [1, 10] $b )\n\t\t\t", false);
Object actual = examineParserExecResult(10, retval);
Object expecting = "(VT_AND_IMPLICIT (VT_PATTERN (VT_FACT_BINDING $a (VT_FACT (VT_PATTERN_TYPE EventA)))) (VT_PATTERN (VT_FACT_BINDING $b (VT_FACT (VT_PATTERN_TYPE EventB) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT this)) (after [1,10] (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $a))))))) (VT_PATTERN (VT_FACT_BINDING $c (VT_FACT (VT_PATTERN_TYPE EventC) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT this)) (finishes (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $b))))))) (VT_PATTERN (VT_FACT_BINDING $d (VT_FACT (VT_PATTERN_TYPE EventD) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT this)) (starts not (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $a))))))) (VT_PATTERN (VT_FACT_BINDING $e (VT_FACT (VT_PATTERN_TYPE EventE) (VT_FIELD (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT this)) (before not [1, 10] (VT_ACCESSOR_PATH (VT_ACCESSOR_ELEMENT $b))))))))";
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testNormal_lhs_block161() throws Exception {
+ public void testNormal_lhs_block71() throws Exception {
// test input: "StockTick( symbol==\"ACME\") from entry-point StreamA"
Object retval = execParser("normal_lhs_block", "StockTick( symbol==\"ACME\") from entry-point StreamA", false);
Object actual = examineParserExecResult(10, retval);
@@ -1468,7 +1459,7 @@
assertEquals("testing rule "+"normal_lhs_block", expecting, actual);
}
- public void testConstraints162() throws Exception {
+ public void testConstraints1() throws Exception {
// test input: "eval( $var.equals(\"xyz\") )"
Object retval = execParser("constraints", "eval( $var.equals(\"xyz\") )", false);
Object actual = examineParserExecResult(10, retval);
@@ -1557,10 +1548,10 @@
this.stderr = stderrVacuum.toString();
return this.stderr;
}
- if ( parser.hasErrors() ) {
- this.stderr = parser.getErrors().toString();
- return this.stderr;
- }
+ if ( parser.hasErrors() ) {
+ this.stderr = parser.getErrors().toString();
+ return this.stderr;
+ }
if ( stdoutVacuum.toString().length()>0 ) {
this.stdout = stdoutVacuum.toString();
}
@@ -1582,7 +1573,8 @@
} catch (IllegalAccessException e) {
e.printStackTrace(); System.exit(1);
} catch (InvocationTargetException e) {
- e.printStackTrace(); System.exit(1);
+ this.stderr = "error";
+ return e.getCause().toString();
} catch (InterruptedException e) {
e.printStackTrace(); System.exit(1);
} catch (Exception e) {
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/TestTree2TestDRL.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/TestTree2TestDRL.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/TestTree2TestDRL.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -1,1587 +1,1587 @@
package org.drools.lang;
import junit.framework.TestCase;
+import java.io.*;
+import java.lang.reflect.*;
+import org.antlr.runtime.*;
+import org.antlr.runtime.tree.*;
public class TestTree2TestDRL extends TestCase {
String stdout;
String stderr;
-
- // @FIXME commented out all tests, leaving a dummy one, we need to re-generate th test results
- public void test() {
+
+ public void testPackage_statement_walks_Package_statement1() throws Exception {
+ // test input: "package foo"
+ Object retval = execTreeParser("package_statement", "package_statement", "package foo", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+ assertEquals("testing rule "+"package_statement", expecting, actual);
}
-// public void testPackage_statement_walks_Package_statement1() throws Exception {
-// // test input: "package foo"
-// Object retval = execTreeParser("package_statement", "package_statement", "package foo", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"package_statement", expecting, actual);
-// }
-//
-// public void testPackage_statement_walks_Package_statement2() throws Exception {
-// // test input: "package foo.bar.baz;"
-// Object retval = execTreeParser("package_statement", "package_statement", "package foo.bar.baz;", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"package_statement", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit3() throws Exception {
-// // test input: ""
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit4() throws Exception {
-// // test input: "package foo; import com.foo.Bar; import com.foo.Baz;"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package foo; import com.foo.Bar; import com.foo.Baz;", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit5() throws Exception {
-// // test input: "rule empty \n\nthen\n \nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule empty \n\nthen\n \nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit6() throws Exception {
-// // test input: "#the purpose of this is to see what happens when we have some partially damaged syntax\n#as the IDE uses the parsers AST to work out completion suggestions.\npackage test\n\n\nrule simple_rule \n when\n foo3 : Bar(\n\n"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "#the purpose of this is to see what happens when we have some partially damaged syntax\n#as the IDE uses the parsers AST to work out completion suggestions.\npackage test\n\n\nrule simple_rule \n when\n foo3 : Bar(\n\n", false);
-// Object actual = examineParserExecResult(28, retval);
-// Object expecting = "FAIL";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit7() throws Exception {
-// // test input: "package test.templates\n\ntemplate Cheese\n\tString \tname\n\tInteger age\nend\n\ntemplate \"Wine\"\n\tString \t\tname\n\tString \t\tyear\n\tString[] \taccolades\nend\n\n\nrule \"a rule\"\n when\n\tCheese(name == \"Stilton\", age==2001)\n\tWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")\n then\n \tbaz();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package test.templates\n\ntemplate Cheese\n\tString \tname\n\tInteger age\nend\n\ntemplate \"Wine\"\n\tString \t\tname\n\tString \t\tyear\n\tString[] \taccolades\nend\n\n\nrule \"a rule\"\n when\n\tCheese(name == \"Stilton\", age==2001)\n\tWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")\n then\n \tbaz();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit8() throws Exception {
-// // test input: "package foo\n\nrule rule_one \n when\n \tFoo()\n then\n \t if (speed > speedLimit ? true : false;)\n pullEmOver();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package foo\n\nrule rule_one \n when\n \tFoo()\n then\n \t if (speed > speedLimit ? true : false;)\n pullEmOver();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit9() throws Exception {
-// // test input: "package foo\n\nfunction String[] yourFunction(String args[]) {\n baz();\n}\n\nrule \"new rule\"\n\n\twhen\n\t\tSomething()\n\tthen\n\t\tyourFunction(new String[3] {\"a\",\"b\",\"c\"});\n\t\t\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package foo\n\nfunction String[] yourFunction(String args[]) {\n baz();\n}\n\nrule \"new rule\"\n\n\twhen\n\t\tSomething()\n\tthen\n\t\tyourFunction(new String[3] {\"a\",\"b\",\"c\"});\n\t\t\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit10() throws Exception {
-// // test input: "\nrule almost_empty \n when\n then\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule almost_empty \n when\n then\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit11() throws Exception {
-// // test input: "rule \"quoted string name\"\n when\n then\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"quoted string name\"\n when\n then\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit12() throws Exception {
-// // test input: "\nrule rule1 \n no-loop false\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule rule1 \n no-loop false\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit13() throws Exception {
-// // test input: "\nrule rule1 \n auto-focus true\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule rule1 \n auto-focus true\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit14() throws Exception {
-// // test input: "\nrule rule1 \n ruleflow-group \"a group\"\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule rule1 \n ruleflow-group \"a group\"\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit15() throws Exception {
-// // test input: "\n\nrule myrule \n when\n then\n \tint i = 0;\n\ti = 1;\n\ti / 1;\n\ti == 1;\n\ti(i);\n\ti = 'i';\n\ti.i.i;\n\ti\\i;\n\ti<i;\n\ti>i;\n\ti=\"i\";\t\n\t++i;\n\ti++;\n\t--i;\n\ti--;\n\ti += i;\n\ti -= i;\n\ti *= i;\n\ti /= i;\n\tint i = 5;\n\tfor(int j; j<i; ++j) {\n\t System.out.println(j);\n\t}\t\n\tObject o = new String(\"Hello\");\n\tString s = (String) o;\t\n\t\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\n\nrule myrule \n when\n then\n \tint i = 0;\n\ti = 1;\n\ti / 1;\n\ti == 1;\n\ti(i);\n\ti = 'i';\n\ti.i.i;\n\ti\\i;\n\ti<i;\n\ti>i;\n\ti=\"i\";\t\n\t++i;\n\ti++;\n\t--i;\n\ti--;\n\ti += i;\n\ti -= i;\n\ti *= i;\n\ti /= i;\n\tint i = 5;\n\tfor(int j; j<i; ++j) {\n\t System.out.println(j);\n\t}\t\n\tObject o = new String(\"Hello\");\n\tString s = (String) o;\t\n\t\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit16() throws Exception {
-// // test input: "#check that it can handle true/false literals, and \n#negative numbers\nrule simple_rule \n when\n\tFoo(bar == false)\n\tFoo(boo > -42)\n\tFoo(boo > -42.42)\n then\n\tcons();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "#check that it can handle true/false literals, and \n#negative numbers\nrule simple_rule \n when\n\tFoo(bar == false)\n\tFoo(boo > -42)\n\tFoo(boo > -42.42)\n then\n\tcons();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit17() throws Exception {
-// // test input: "package org.drools.test;\n \nimport org.drools.Cheese;\n \nrule \"simple rule\"\n when\n Cheese( )\n then\nend "
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n \nimport org.drools.Cheese;\n \nrule \"simple rule\"\n when\n Cheese( )\n then\nend ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit18() throws Exception {
-// // test input: "\nrule blah\n\n when \n\n\tCol1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule blah\n\n when \n\n\tCol1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit19() throws Exception {
-// // test input: "\nrule blah\n\n when \n\n\tCol1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule blah\n\n when \n\n\tCol1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit20() throws Exception {
-// // test input: "\nrule blah\n\n when \n\n\tCol1() from something.doIt\n\tCol2()\n then\n\tpartay();\nend\t"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule blah\n\n when \n\n\tCol1() from something.doIt\n\tCol2()\n then\n\tpartay();\nend\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit21() throws Exception {
-// // test input: "\nrule blah\n\n when \n\n\tCol1() from something.doIt[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule blah\n\n when \n\n\tCol1() from something.doIt[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit22() throws Exception {
-// // test input: "rule blah\n when \n\tCol1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n\t .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule blah\n when \n\tCol1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n\t .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit23() throws Exception {
-// // test input: "\nrule simple_rule \n when\n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule simple_rule \n when\n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit24() throws Exception {
-// // test input: "#this is for showing off all the new multi restriction stuff\n\n\n\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type == \"sedan\" || == \"wagon\", age < 3)\n then\n\tconsequence();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "#this is for showing off all the new multi restriction stuff\n\n\n\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type == \"sedan\" || == \"wagon\", age < 3)\n then\n\tconsequence();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit25() throws Exception {
-// // test input: "package la\n\n\nrule simple_rule \n when\n \tBaz()\n then\n \t//woot\n \tfirst\n \t\n \t#\n \t\n \t/* lala\n \t\n \t*/\n \tsecond \nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package la\n\n\nrule simple_rule \n when\n \tBaz()\n then\n \t//woot\n \tfirst\n \t\n \t#\n \t\n \t/* lala\n \t\n \t*/\n \tsecond \nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit26() throws Exception {
-// // test input: "\nrule simple_rule \n when\n foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule simple_rule \n when\n foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit27() throws Exception {
-// // test input: "\nrule simple_rule \n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule simple_rule \n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit28() throws Exception {
-// // test input: "package HR1\n\nimport function abd.def.x\nimport function qed.wah.*\n\nrule simple_rule \n when \t\t \t\n \tnot ( Cheese(type == \"stilton\") )\n \texists ( Foo() )\n then\n\tfunky();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package HR1\n\nimport function abd.def.x\nimport function qed.wah.*\n\nrule simple_rule \n when \t\t \t\n \tnot ( Cheese(type == \"stilton\") )\n \texists ( Foo() )\n then\n\tfunky();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit29() throws Exception {
-// // test input: "package HR1\n\nrule simple_rule \n when \t\t \t\n \tnot ( Cheese(type == \"stilton\") )\n \texists ( Foo() )\n then\n\tfunky();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package HR1\n\nrule simple_rule \n when \t\t \t\n \tnot ( Cheese(type == \"stilton\") )\n \texists ( Foo() )\n then\n\tfunky();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit30() throws Exception {
-// // test input: "package HR2\n\nrule simple_rule \n when \t\t \t\n \ta : (not ( Cheese(type == \"stilton\") ))\n \texists ( Foo() )\n then\n\tfunky();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package HR2\n\nrule simple_rule \n when \t\t \t\n \ta : (not ( Cheese(type == \"stilton\") ))\n \texists ( Foo() )\n then\n\tfunky();\nend", false);
-// Object actual = examineParserExecResult(28, retval);
-// Object expecting = "FAIL";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit31() throws Exception {
-// // test input: "\n\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\n\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit32() throws Exception {
-// // test input: "\npackage foo\n\nrule bar\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\nrule bar2\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query2\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\t"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\npackage foo\n\nrule bar\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\nrule bar2\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query2\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit33() throws Exception {
-// // test input: "package org.drools.test;\n\nimport org.drools.integrationtests.Cheese;\n\nrule \"Like Stilton\"\n when\n Cheese( t:type == \"stilton\" )\n then\n System.out.println(\"I like \" + t);\nend \n\nrule \"Like Cheddar\"\n when\n Cheese( t:type == \"cheddar\" )\n then\n System.out.println(\"I like \" + t );\nend "
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n\nimport org.drools.integrationtests.Cheese;\n\nrule \"Like Stilton\"\n when\n Cheese( t:type == \"stilton\" )\n then\n System.out.println(\"I like \" + t);\nend \n\nrule \"Like Cheddar\"\n when\n Cheese( t:type == \"cheddar\" )\n then\n System.out.println(\"I like \" + t );\nend ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit34() throws Exception {
-// // test input: "package org.drools.test;\n\nimport org.drools.Cheese;\n\nrule \"like cheddar\"\n when\n Cheese( $type:type )\n then\n System.out.println(\"I like \" + $type);\nend "
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n\nimport org.drools.Cheese;\n\nrule \"like cheddar\"\n when\n Cheese( $type:type )\n then\n System.out.println(\"I like \" + $type);\nend ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit35() throws Exception {
-// // test input: "package org.drools.test;\n\nimport org.drools.Cheese;\nimport org.drools.Person;\n\nrule \"Who likes Stilton\"\n when\n Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) \n then\n System.out.println( $name + \" likes \" + $type);\nend "
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n\nimport org.drools.Cheese;\nimport org.drools.Person;\n\nrule \"Who likes Stilton\"\n when\n Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) \n then\n System.out.println( $name + \" likes \" + $type);\nend ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit36() throws Exception {
-// // test input: "\nimport org.drools.Person\n\nrule simple_rule \n when\n\tPerson(name == \"mark\") or \n\t( Person(type == \"fan\") and Cheese(type == \"green\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nimport org.drools.Person\n\nrule simple_rule \n when\n\tPerson(name == \"mark\") or \n\t( Person(type == \"fan\") and Cheese(type == \"green\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit37() throws Exception {
-// // test input: "\nimport org.drools.Person\n\nrule simple_rule \n when\n Person(name == \"mark\") && Cheese(type == \"stilton\")\n Person(name == \"mark\") || Cheese(type == \"stilton\")\n then\n\tSystem.out.println( \"Mark and Michael\" );\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nimport org.drools.Person\n\nrule simple_rule \n when\n Person(name == \"mark\") && Cheese(type == \"stilton\")\n Person(name == \"mark\") || Cheese(type == \"stilton\")\n then\n\tSystem.out.println( \"Mark and Michael\" );\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit38() throws Exception {
-// // test input: "\nimport org.drools.Person\n\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \n\tCheese(type == \"green\")\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nimport org.drools.Person\n\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \n\tCheese(type == \"green\")\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit39() throws Exception {
-// // test input: "\n\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") \n\t\tor \n\t\tPerson(type == \"fan\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\n\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") \n\t\tor \n\t\tPerson(type == \"fan\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit40() throws Exception {
-// // test input: "rule simple_rule \n when\n\tfoo : ( \n\t\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t\t)\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n\tfoo : ( \n\t\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t\t)\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit41() throws Exception {
-// // test input: "\nrule simple_rule \n when\n\t ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )\n then\n\tgo wild\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule simple_rule \n when\n\t ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )\n then\n\tgo wild\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit42() throws Exception {
-// // test input: "\nrule simple_rule \n when\n\teval(abc(\"foo\") + 5)\n\tFoo()\n\teval(qed())\n\tBar()\n then\n\tKapow\n\tPoof\n\t\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule simple_rule \n when\n\teval(abc(\"foo\") + 5)\n\tFoo()\n\teval(qed())\n\tBar()\n then\n\tKapow\n\tPoof\n\t\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit43() throws Exception {
-// // test input: "\nrule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(abc(\"foo\"))\n then\n\tKapow\n\t\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(abc(\"foo\"))\n then\n\tKapow\n\t\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit44() throws Exception {
-// // test input: "\nrule simple_rule \n when\n\tFoo(name== (a + b))\n then\n\tKapow\n\t\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule simple_rule \n when\n\tFoo(name== (a + b))\n then\n\tKapow\n\t\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit45() throws Exception {
-// // test input: "\nrule simple_rule \n when\n \tPerson( $age2:age -> ($age2 == $age1+2 ) ) \n then\n\tfoo bar\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule simple_rule \n when\n \tPerson( $age2:age -> ($age2 == $age1+2 ) ) \n then\n\tfoo bar\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit46() throws Exception {
-// // test input: "package org.drools.test;\n\nimport org.drools.Cheese;\n\nglobal java.util.List list;\nglobal java.lang.Integer five;\n\nrule \"not rule test\"\n when\n $person : Person( $likes:like )\n not Cheese( type == $likes )\n then\n\t\tlist.add( $person );\nend "
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n\nimport org.drools.Cheese;\n\nglobal java.util.List list;\nglobal java.lang.Integer five;\n\nrule \"not rule test\"\n when\n $person : Person( $likes:like )\n not Cheese( type == $likes )\n then\n\t\tlist.add( $person );\nend ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit47() throws Exception {
-// // test input: "package org.drools.test;\n\nimport org.drools.Cheese;\n\nglobal java.lang.String foo\nglobal java.lang.Integer bar;\n\nrule baz\n when\n Cheese( )\n then\n\nend "
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n\nimport org.drools.Cheese;\n\nglobal java.lang.String foo\nglobal java.lang.Integer bar;\n\nrule baz\n when\n Cheese( )\n then\n\nend ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit48() throws Exception {
-// // test input: "\nimport java.lang.String\n\nfunction String functionA(String s, Integer i) {\n\t\n\tfoo();\n\n}\n\nfunction void functionB() {\n\tbar();\t\n}\n\n\nrule something \n\twhen\n\tthen\nend\n\nrule \"one more thing\"\n\twhen\n\tthen\nend\n\n\n\n\t"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nimport java.lang.String\n\nfunction String functionA(String s, Integer i) {\n\t\n\tfoo();\n\n}\n\nfunction void functionB() {\n\tbar();\t\n}\n\n\nrule something \n\twhen\n\tthen\nend\n\nrule \"one more thing\"\n\twhen\n\tthen\nend\n\n\n\n\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit49() throws Exception {
-// // test input: "#this starts with a comment\npackage foo.bar\n\n//and another comment\n\n/*\nyet\n\t another\n \t\t\t\tstyle\n*/\n\nrule \"test\"\n when\n then\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "#this starts with a comment\npackage foo.bar\n\n//and another comment\n\n/*\nyet\n\t another\n \t\t\t\tstyle\n*/\n\nrule \"test\"\n when\n then\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit50() throws Exception {
-// // test input: "\n\n\nrule simple_rule \n\t\t#attributes keywork (and colon) is totally optional\n\t\tsalience 42\n\t\tagenda-group \"my_group\"\n\t\tno-loop \n\t\tduration 42\n\t\tactivation-group \"my_activation_group\"\n\t\tlock-on-active true\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\n\n\nrule simple_rule \n\t\t#attributes keywork (and colon) is totally optional\n\t\tsalience 42\n\t\tagenda-group \"my_group\"\n\t\tno-loop \n\t\tduration 42\n\t\tactivation-group \"my_activation_group\"\n\t\tlock-on-active true\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit51() throws Exception {
-// // test input: "\n\n\nrule simple_rule \n\tattributes: \n\t\tsalience 42, agenda-group \"my_group\", no-loop, lock-on-active, duration 42, activation-group \"my_activation_group\"\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\n\n\nrule simple_rule \n\tattributes: \n\t\tsalience 42, agenda-group \"my_group\", no-loop, lock-on-active, duration 42, activation-group \"my_activation_group\"\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit52() throws Exception {
-// // test input: "\nrule simple_rule \n when\n \tFoo(bar == Foo.BAR)\n then\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule simple_rule \n when\n \tFoo(bar == Foo.BAR)\n then\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit53() throws Exception {
-// // test input: "rule one\n when\n exists Foo()\n exits Bar()\n then\nend\n\nrule two \n when\n ford = ford = ford\n then\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule one\n when\n exists Foo()\n exits Bar()\n then\nend\n\nrule two \n when\n ford = ford = ford\n then\nend", false);
-// Object actual = examineParserExecResult(28, retval);
-// Object expecting = "FAIL";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit54() throws Exception {
-// // test input: "\nrule \"another test\"\n when\n s : String()\n eval(s.equals(\"foo\") && s.startsWith(\"f\"))\n \n \n then\n list.add( s );\nend "
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule \"another test\"\n when\n s : String()\n eval(s.equals(\"foo\") && s.startsWith(\"f\"))\n \n \n then\n list.add( s );\nend ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit55() throws Exception {
-// // test input: "package nesting;\n\n\n\n\nrule \"test something\"\n\n\twhen\n\t\tp: Person( name soundslike \"Michael\" )\n\tthen\n\t\tp.name = \"goober\"\n\t\tSystem.out.println(p.name)\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package nesting;\n\n\n\n\nrule \"test something\"\n\n\twhen\n\t\tp: Person( name soundslike \"Michael\" )\n\tthen\n\t\tp.name = \"goober\"\n\t\tSystem.out.println(p.name)\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit56() throws Exception {
-// // test input: "package com.foo;\n\nagenda-group \"x\"\n\nimport goo.ber\nimport wee.waa\n\n\ndialect \"java\"\n\n\n\n\nrule bar\n when\n then\nend\n\nrule baz\n dialect \"mvel\"\n when\n then\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package com.foo;\n\nagenda-group \"x\"\n\nimport goo.ber\nimport wee.waa\n\n\ndialect \"java\"\n\n\n\n\nrule bar\n when\n then\nend\n\nrule baz\n dialect \"mvel\"\n when\n then\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit57() throws Exception {
-// // test input: "\npackage com.foo;\n\nimport im.one\n\nimport im.two\n\nrule foo\n when\n then\nend\n\nfunction cheeseIt() {\n\n}\n\nimport im.three;\n\nrule bar\n when\n then\nend\n\nfunction uncheeseIt() {\n\n}\n\nimport im.four;"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\npackage com.foo;\n\nimport im.one\n\nimport im.two\n\nrule foo\n when\n then\nend\n\nfunction cheeseIt() {\n\n}\n\nimport im.three;\n\nrule bar\n when\n then\nend\n\nfunction uncheeseIt() {\n\n}\n\nimport im.four;", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit58() throws Exception {
-// // test input: "\nrule \"1. Do Stuff!\"\n when\n then\nend\n\nrule \"2. Do More Stuff!\"\n when\n then\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule \"1. Do Stuff!\"\n when\n then\nend\n\nrule \"2. Do More Stuff!\"\n when\n then\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit59() throws Exception {
-// // test input: "\nrule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(\n\t\n\t\n\t\n\t abc(\n\t \n\t \"foo\") + \n\t 5\n\t \n\t \n\t \n\t \n\t )\n then\n\tKapow\n\tPoof\n\t\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(\n\t\n\t\n\t\n\t abc(\n\t \n\t \"foo\") + \n\t 5\n\t \n\t \n\t \n\t \n\t )\n then\n\tKapow\n\tPoof\n\t\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit60() throws Exception {
-// // test input: "\nrule simple_rule \n when\n\teval(abc();)\n then\n\tKapow\n\tPoof\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule simple_rule \n when\n\teval(abc();)\n then\n\tKapow\n\tPoof\nend", false);
-// Object actual = examineParserExecResult(28, retval);
-// Object expecting = "FAIL";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit61() throws Exception {
-// // test input: "\n\n\nrule simple_rule \n when\n\tFoo(\n\t bar == baz, la==laz\n\t )\n then\n\tKapow\n\tPoof\nend\n\t"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "\n\n\nrule simple_rule \n when\n\tFoo(\n\t bar == baz, la==laz\n\t )\n then\n\tKapow\n\tPoof\nend\n\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit62() throws Exception {
-// // test input: "package org.drools.test;\n\nrule \"Who likes Stilton\"\n when\n com.cheeseco.Cheese($type : type == \"stilton\")\n then\n System.out.println( $name + \" likes \" + $type);\nend "
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n\nrule \"Who likes Stilton\"\n when\n com.cheeseco.Cheese($type : type == \"stilton\")\n then\n System.out.println( $name + \" likes \" + $type);\nend ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit63() throws Exception {
-// // test input: "rule \"AccumulateParserTest\"\nwhen\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"AccumulateParserTest\"\nwhen\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit64() throws Exception {
-// // test input: "rule \"AccumulateParserTest\"\nwhen\n $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"AccumulateParserTest\"\nwhen\n $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit65() throws Exception {
-// // test input: "rule \"CollectParserTest\"\nwhen\n $personList : ArrayList() from collect( Person( age > 21 ) );\nthen\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"CollectParserTest\"\nwhen\n $personList : ArrayList() from collect( Person( age > 21 ) );\nthen\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit66() throws Exception {
-// // test input: "rule \"test_Quotes\"\n when\n InitialFact()\n then\n String s = \"\\\"\\n\\t\\\\\";\nend "
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"test_Quotes\"\n when\n InitialFact()\n then\n String s = \"\\\"\\n\\t\\\\\";\nend ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit67() throws Exception {
-// // test input: "rule \"test nested CEs\"\t\n\twhen\n\t not ( State( $state : state ) and\n\t not( Person( status == $state, $likes : likes ) and\n\t Cheese( type == $likes ) ) )\n\t Person( name == \"Bob\" )\n\t ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )\n\tthen \n\t\tresults.add(\"OK\");\t\t\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"test nested CEs\"\t\n\twhen\n\t not ( State( $state : state ) and\n\t not( Person( status == $state, $likes : likes ) and\n\t Cheese( type == $likes ) ) )\n\t Person( name == \"Bob\" )\n\t ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )\n\tthen \n\t\tresults.add(\"OK\");\t\t\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit68() throws Exception {
-// // test input: "rule \"ForallParserTest\"\nwhen\n forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );\nthen\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"ForallParserTest\"\nwhen\n forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );\nthen\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit69() throws Exception {
-// // test input: "#testing 'in' operator\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n then\n\tconsequence();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "#testing 'in' operator\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n then\n\tconsequence();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit70() throws Exception {
-// // test input: "#testing not 'in' operator\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n then\n\tconsequence();\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "#testing not 'in' operator\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n then\n\tconsequence();\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit71() throws Exception {
-// // test input: "package org.drools;\n\nglobal java.util.List list;\n\nrule \"rule1\"\nwhen\n Pattern1();\n Pattern2() from x.y.z;\nthen\n System.out.println(\"Test\");\nend;\n\nquery \"query1\"\n\tPattern5();\n\tPattern6();\n\tPattern7();\nend;\n\nrule \"rule2\"\nwhen\n Pattern3();\n Pattern4() from collect( Pattern5() );\nthen\n System.out.println(\"Test\");\nend;\n\n\t"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools;\n\nglobal java.util.List list;\n\nrule \"rule1\"\nwhen\n Pattern1();\n Pattern2() from x.y.z;\nthen\n System.out.println(\"Test\");\nend;\n\nquery \"query1\"\n\tPattern5();\n\tPattern6();\n\tPattern7();\nend;\n\nrule \"rule2\"\nwhen\n Pattern3();\n Pattern4() from collect( Pattern5() );\nthen\n System.out.println(\"Test\");\nend;\n\n\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit72() throws Exception {
-// // test input: "package org.drools\n\nrule \"Test Parse\"\n\nwhen\n eval( 3==3 )\nthen\n System.out.println(\"OK\");\nend "
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools\n\nrule \"Test Parse\"\n\nwhen\n eval( 3==3 )\nthen\n System.out.println(\"OK\");\nend ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit73() throws Exception {
-// // test input: "rule \"AccumulateReverseParserTest\"\nwhen\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n reverse( x--; ),\n result( new Integer(x) ) );\nthen\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"AccumulateReverseParserTest\"\nwhen\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n reverse( x--; ),\n result( new Integer(x) ) );\nthen\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit74() throws Exception {
-// // test input: "rule \"AccumulateReverseParserTest\"\nwhen\n Number() from accumulate( Person( $age : age > 21 ),\n average( $age ) );\nthen\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"AccumulateReverseParserTest\"\nwhen\n Number() from accumulate( Person( $age : age > 21 ),\n average( $age ) );\nthen\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit75() throws Exception {
-// // test input: "rule \"CollectParserTest\"\nwhen\n #bellow statement makes no sense, but is useful to test parsing recursiveness\n $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\nthen\nend\n\n\t"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"CollectParserTest\"\nwhen\n #bellow statement makes no sense, but is useful to test parsing recursiveness\n $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\nthen\nend\n\n\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit76() throws Exception {
-// // test input: "rule \"AccumulateParserTest\"\nwhen\n #bellow statement makes no sense, but is useful to test parsing recursiveness\n $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n max( $age ) );\nthen\nend\n\n\t"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"AccumulateParserTest\"\nwhen\n #bellow statement makes no sense, but is useful to test parsing recursiveness\n $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n max( $age ) );\nthen\nend\n\n\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit77() throws Exception {
-// // test input: "package org.drools;\n\nrule \"testing OR CE\"\nwhen\n $p : Person( name == \"bob\" )\n $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\nthen\n // do something\nend "
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools;\n\nrule \"testing OR CE\"\nwhen\n $p : Person( name == \"bob\" )\n $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\nthen\n // do something\nend ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit78() throws Exception {
-// // test input: "rule \"another test\" salience 10 when eval( true ) then System.out.println(1); end"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"another test\" salience 10 when eval( true ) then System.out.println(1); end", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit79() throws Exception {
-// // test input: "rule \"another test\" salience 10 when eval( true ) then System.out.println(1);\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"another test\" salience 10 when eval( true ) then System.out.println(1);\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit80() throws Exception {
-// // test input: "rule \"AccumulateMultiPatternParserTest\"\nwhen\n $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"AccumulateMultiPatternParserTest\"\nwhen\n $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit81() throws Exception {
-// // test input: "package org.drools;\n\nrule \"test rule\"\n\tsalience 10\n\twhen\n\t\t$c: WorkerPerformanceContext(eval)$c.getBalanceMonth() != null))\n\tthen\n\t\tretract($p);\nend\n\t"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools;\n\nrule \"test rule\"\n\tsalience 10\n\twhen\n\t\t$c: WorkerPerformanceContext(eval)$c.getBalanceMonth() != null))\n\tthen\n\t\tretract($p);\nend\n\t", false);
-// Object actual = examineParserExecResult(28, retval);
-// Object expecting = "FAIL";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit82() throws Exception {
-// // test input: "package org.drools;\n\nrule \"Avoid NPE on wrong syntax\"\nwhen\n not( Cheese( ( type == \"stilton\", price == 10 ) || ( type == \"brie\", price == 15 ) ) from $cheeseList )\nthen\n System.out.println(\"OK\");\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools;\n\nrule \"Avoid NPE on wrong syntax\"\nwhen\n not( Cheese( ( type == \"stilton\", price == 10 ) || ( type == \"brie\", price == 15 ) ) from $cheeseList )\nthen\n System.out.println(\"OK\");\nend", false);
-// Object actual = examineParserExecResult(28, retval);
-// Object expecting = "FAIL";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit83() throws Exception {
-// // test input: "package org.drools;\n\nrule \"test pluggable operators\"\nwhen\n $a : EventA()\n $b : EventB( this `after[1,10] $a )\n $c : EventC( this finishes $b )\n $d : EventD( this not starts $a )\n $e : EventE( this not `before [1, 10] $b )\nthen\nend"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools;\n\nrule \"test pluggable operators\"\nwhen\n $a : EventA()\n $b : EventB( this `after[1,10] $a )\n $c : EventC( this finishes $b )\n $d : EventD( this not starts $a )\n $e : EventE( this not `before [1, 10] $b )\nthen\nend", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit84() throws Exception {
-// // test input: "rule \"Test\"\nwhen\n( $r :LiteralRestriction( operator == Operator.EQUAL ) )\n then\n end"
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"Test\"\nwhen\n( $r :LiteralRestriction( operator == Operator.EQUAL ) )\n then\n end", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testCompilation_unit_walks_Compilation_unit85() throws Exception {
-// // test input: "rule \"Test2\"\nwhen\n( not $r :LiteralRestriction( operator == Operator.EQUAL ) )\n then\n end "
-// Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"Test2\"\nwhen\n( not $r :LiteralRestriction( operator == Operator.EQUAL ) )\n then\n end ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"compilation_unit", expecting, actual);
-// }
-//
-// public void testLhs_walks_Pattern_source86() throws Exception {
-// // test input: "StockTick( symbol==\"ACME\") from entry-point StreamA"
-// Object retval = execTreeParser("lhs", "pattern_source", "StockTick( symbol==\"ACME\") from entry-point StreamA", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block87() throws Exception {
-// // test input: ""
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block88() throws Exception {
-// // test input: "\n Country( $cities : city )\n Person( city memberOf $cities )\n "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n Country( $cities : city )\n Person( city memberOf $cities )\n ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block89() throws Exception {
-// // test input: "\n Country( $cities : city )\n Person( city not memberOf $cities )\n "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n Country( $cities : city )\n Person( city not memberOf $cities )\n ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block90() throws Exception {
-// // test input: " Person( age < 42 && location==\"atlanta\") "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Person( age < 42 && location==\"atlanta\") ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block91() throws Exception {
-// // test input: " Person( age < 42 || location==\"atlanta\") "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Person( age < 42 || location==\"atlanta\") ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block92() throws Exception {
-// // test input: "Person( age < 42 && location==\"atlanta\" || age > 20 && location==\"Seatle\" || location == \"Chicago\")"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Person( age < 42 && location==\"atlanta\" || age > 20 && location==\"Seatle\" || location == \"Chicago\")", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block93() throws Exception {
-// // test input: "Person( age < 42 && ( location==\"atlanta\" || age > 20 && location==\"Seatle\") || location == \"Chicago\")"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Person( age < 42 && ( location==\"atlanta\" || age > 20 && location==\"Seatle\") || location == \"Chicago\")", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block94() throws Exception {
-// // test input: " Person( ( age == 70 && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ) ) "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Person( ( age == 70 && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ) ) ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block95() throws Exception {
-// // test input: " Person( name matches \"mark\" || matches \"bob\" ) "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Person( name matches \"mark\" || matches \"bob\" ) ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block96() throws Exception {
-// // test input: "\n\tCity( $city : city )\n\tCountry( cities not contains $city )\n\t"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n\tCity( $city : city )\n\tCountry( cities not contains $city )\n\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block97() throws Exception {
-// // test input: " Message( text not matches '[abc]*' ) "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Message( text not matches '[abc]*' ) ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block98() throws Exception {
-// // test input: "Foo( bar > 1 || == 1 )"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Foo( bar > 1 || == 1 )", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block99() throws Exception {
-// // test input: "\n\t(or\n\tnot Person()\n\t\t(and Cheese()\n\t\t\tMeat()\n\t\t\tWine()))\n\t"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n\t(or\n\tnot Person()\n\t\t(and Cheese()\n\t\t\tMeat()\n\t\t\tWine()))\n\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block100() throws Exception {
-// // test input: "Person( ( age ( > 60 && < 70 ) || ( > 50 && < 55 ) && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ))"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Person( ( age ( > 60 && < 70 ) || ( > 50 && < 55 ) && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ))", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block101() throws Exception {
-// // test input: "org . drools/*comment*/\t .Message( text not matches $c#comment\n. property )\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "org . drools/*comment*/\t .Message( text not matches $c#comment\n. property )\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block102() throws Exception {
-// // test input: " Test( ( text == null || text matches \"\" ) ) "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Test( ( text == null || text matches \"\" ) ) ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block103() throws Exception {
-// // test input: " $id : Something( duration == \"foo\") "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", " $id : Something( duration == \"foo\") ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block104() throws Exception {
-// // test input: "foo3 : Bar("
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "foo3 : Bar(", false);
-// Object actual = examineParserExecResult(28, retval);
-// Object expecting = "FAIL";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block105() throws Exception {
-// // test input: "\nCheese(name == \"Stilton\", age==2001)\nWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nCheese(name == \"Stilton\", age==2001)\nWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block106() throws Exception {
-// // test input: "Foo()"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Foo()", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block107() throws Exception {
-// // test input: "not Cheese(type == \"stilton\")"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "not Cheese(type == \"stilton\")", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block108() throws Exception {
-// // test input: "\nPerson(age < 42, location==\"atlanta\") \nor\nPerson(name==\"bob\")\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nPerson(age < 42, location==\"atlanta\") \nor\nPerson(name==\"bob\")\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block109() throws Exception {
-// // test input: "\nFoo(bar == false)\nFoo(boo > -42)\nFoo(boo > -42.42)\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nFoo(bar == false)\nFoo(boo > -42)\nFoo(boo > -42.42)\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block110() throws Exception {
-// // test input: "Cheese( )"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Cheese( )", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block111() throws Exception {
-// // test input: "\nCol1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nCol1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block112() throws Exception {
-// // test input: "\nCol1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nCol1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block113() throws Exception {
-// // test input: "\nCol1() from something.doIt\nCol2()\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nCol1() from something.doIt\nCol2()\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block114() throws Exception {
-// // test input: "\nCol1() from something.doIt[\"key\"]\nCol2()\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nCol1() from something.doIt[\"key\"]\nCol2()\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block115() throws Exception {
-// // test input: "\nCol1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\nCol2()\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nCol1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\nCol2()\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block116() throws Exception {
-// // test input: "\nfoo3 : Bar(a==3)\nfoo4 : Bar(a4:a==4)\nBaz()\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nfoo3 : Bar(a==3)\nfoo4 : Bar(a4:a==4)\nBaz()\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block117() throws Exception {
-// // test input: "\nPerson(age > 30 && < 40)\nVehicle(type == \"sedan\" || == \"wagon\", age < 3)\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nPerson(age > 30 && < 40)\nVehicle(type == \"sedan\" || == \"wagon\", age < 3)\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block118() throws Exception {
-// // test input: " foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", " foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block119() throws Exception {
-// // test input: "\nnot ( Cheese(type == \"stilton\") )\nexists ( Foo() )\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nnot ( Cheese(type == \"stilton\") )\nexists ( Foo() )\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block120() throws Exception {
-// // test input: "\nnot ( Cheese(type == \"stilton\") )\nexists ( Foo() )\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nnot ( Cheese(type == \"stilton\") )\nexists ( Foo() )\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block121() throws Exception {
-// // test input: "\na : (not ( Cheese(type == \"stilton\") ))\nexists ( Foo() )\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\na : (not ( Cheese(type == \"stilton\") ))\nexists ( Foo() )\n", false);
-// Object actual = examineParserExecResult(28, retval);
-// Object expecting = "FAIL";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block122() throws Exception {
-// // test input: " Cheese( t:type == \"cheddar\" ) "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Cheese( t:type == \"cheddar\" ) ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block123() throws Exception {
-// // test input: "Cheese( $type:type )"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Cheese( $type:type )", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block124() throws Exception {
-// // test input: "\n Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) \n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) \n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block125() throws Exception {
-// // test input: "\nPerson(name == \"mark\") or \n( Person(type == \"fan\") and Cheese(type == \"green\") )\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nPerson(name == \"mark\") or \n( Person(type == \"fan\") and Cheese(type == \"green\") )\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block126() throws Exception {
-// // test input: "\nPerson(name == \"mark\") && Cheese(type == \"stilton\")\nPerson(name == \"mark\") || Cheese(type == \"stilton\")\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nPerson(name == \"mark\") && Cheese(type == \"stilton\")\nPerson(name == \"mark\") || Cheese(type == \"stilton\")\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block127() throws Exception {
-// // test input: "\nfoo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \nCheese(type == \"green\")\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nfoo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \nCheese(type == \"green\")\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block128() throws Exception {
-// // test input: "\nfoo : ( Person(name == \"mark\") \n\tor \n\tPerson(type == \"fan\") )\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nfoo : ( Person(name == \"mark\") \n\tor \n\tPerson(type == \"fan\") )\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block129() throws Exception {
-// // test input: "\nfoo : ( \n\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t)\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nfoo : ( \n\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t)\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block130() throws Exception {
-// // test input: "\n ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block131() throws Exception {
-// // test input: "\neval(abc(\"foo\") + 5)\nFoo()\neval(qed())\nBar()\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\neval(abc(\"foo\") + 5)\nFoo()\neval(qed())\nBar()\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block132() throws Exception {
-// // test input: "\nFoo()\nBar()\neval(abc(\"foo\"))\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nFoo()\nBar()\neval(abc(\"foo\"))\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block133() throws Exception {
-// // test input: "Foo(name== (a + b))"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Foo(name== (a + b))", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block134() throws Exception {
-// // test input: "Person( $age2:age -> ($age2 == $age1+2 ) )"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Person( $age2:age -> ($age2 == $age1+2 ) )", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block135() throws Exception {
-// // test input: "Foo(bar == Foo.BAR)"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Foo(bar == Foo.BAR)", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block136() throws Exception {
-// // test input: "\np: Person( name soundslike \"Michael\" )\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\np: Person( name soundslike \"Michael\" )\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block137() throws Exception {
-// // test input: "\nFoo()\nBar()\neval(\n\n\n\n abc(\n \n \"foo\") + \n 5\n \n \n \n \n )\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nFoo()\nBar()\neval(\n\n\n\n abc(\n \n \"foo\") + \n 5\n \n \n \n \n )\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block138() throws Exception {
-// // test input: "eval(abc();)"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "eval(abc();)", false);
-// Object actual = examineParserExecResult(28, retval);
-// Object expecting = "FAIL";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block139() throws Exception {
-// // test input: "\nFoo(\n bar == baz, la==laz\n )\n "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\nFoo(\n bar == baz, la==laz\n )\n ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block140() throws Exception {
-// // test input: "com.cheeseco.Cheese($type : type == \"stilton\")"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "com.cheeseco.Cheese($type : type == \"stilton\")", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block141() throws Exception {
-// // test input: "\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block142() throws Exception {
-// // test input: "\n $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block143() throws Exception {
-// // test input: "$personList : ArrayList() from collect( Person( age > 21 ) );"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "$personList : ArrayList() from collect( Person( age > 21 ) );", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block144() throws Exception {
-// // test input: "\n\tnot ( State( $state : state ) and\n not( Person( status == $state, $likes : likes ) and\n Cheese( type == $likes ) ) )\n Person( name == \"Bob\" )\n ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n\tnot ( State( $state : state ) and\n not( Person( status == $state, $likes : likes ) and\n Cheese( type == $likes ) ) )\n Person( name == \"Bob\" )\n ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block145() throws Exception {
-// // test input: "\n forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );\n"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );\n", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block146() throws Exception {
-// // test input: "\n \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n\t"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block147() throws Exception {
-// // test input: "\n \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n\t"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block148() throws Exception {
-// // test input: "\n\t\tPattern1();\n\t\tPattern2() from x.y.z;\n\t\tPattern5();\n\t\tPattern6();\n\t\tPattern7();\n\t\tPattern3();\n\t\tPattern4() from collect( Pattern5() );\n\t\t"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n\t\tPattern1();\n\t\tPattern2() from x.y.z;\n\t\tPattern5();\n\t\tPattern6();\n\t\tPattern7();\n\t\tPattern3();\n\t\tPattern4() from collect( Pattern5() );\n\t\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block149() throws Exception {
-// // test input: " eval( 3==3 ) "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", " eval( 3==3 ) ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block150() throws Exception {
-// // test input: "\n\t\tInteger() from accumulate( Person( age > 21 ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t reverse( x--; ),\n\t\t result( new Integer(x) ) );\n\t\t"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n\t\tInteger() from accumulate( Person( age > 21 ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t reverse( x--; ),\n\t\t result( new Integer(x) ) );\n\t\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block151() throws Exception {
-// // test input: "\n\t Number() from accumulate( Person( $age : age > 21 ),\n\t average( $age ) );\n\t\t"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n\t Number() from accumulate( Person( $age : age > 21 ),\n\t average( $age ) );\n\t\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block152() throws Exception {
-// // test input: "\n\t #bellow statement makes no sense, but is useful to test parsing recursiveness\n\t $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\n\t\t"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n\t #bellow statement makes no sense, but is useful to test parsing recursiveness\n\t $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\n\t\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block153() throws Exception {
-// // test input: "\n\t $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n\t max( $age ) );\n\t\t"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n\t $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n\t max( $age ) );\n\t\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block154() throws Exception {
-// // test input: "\n\t $p : Person( name == \"bob\" )\n\t $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\n\t "
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n\t $p : Person( name == \"bob\" )\n\t $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\n\t ", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block155() throws Exception {
-// // test input: "\n\t\t $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t result( new Integer(x) ) );\n\t\t\t"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n\t\t $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t result( new Integer(x) ) );\n\t\t\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block156() throws Exception {
-// // test input: "\n\t\t $a : EventA()\n\t\t $b : EventB( this `after[1,10] $a )\n\t\t $c : EventC( this finishes $b )\n\t\t $d : EventD( this not starts $a )\n\t\t $e : EventE( this not `before [1, 10] $b )\n\t\t\t"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\n\t\t $a : EventA()\n\t\t $b : EventB( this `after[1,10] $a )\n\t\t $c : EventC( this finishes $b )\n\t\t $d : EventD( this not starts $a )\n\t\t $e : EventE( this not `before [1, 10] $b )\n\t\t\t", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testLhs_block_walks_Normal_lhs_block157() throws Exception {
-// // test input: "StockTick( symbol==\"ACME\") from entry-point StreamA"
-// Object retval = execTreeParser("lhs_block", "normal_lhs_block", "StockTick( symbol==\"ACME\") from entry-point StreamA", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"lhs_block", expecting, actual);
-// }
-//
-// public void testFact_expression_walks_Constraints158() throws Exception {
-// // test input: "eval( $var.equals(\"xyz\") )"
-// Object retval = execTreeParser("fact_expression", "constraints", "eval( $var.equals(\"xyz\") )", false);
-// Object actual = examineParserExecResult(27, retval);
-// Object expecting = "OK";
-//
-// assertEquals("testing rule "+"fact_expression", expecting, actual);
-// }
-//
-// // Invoke target parser.rule
-// public Object execTreeParser(String testTreeRuleName, String testRuleName, String testInput, boolean isFile) throws Exception {
-// CharStream input;
-// if ( isFile==true ) {
-// input = new ANTLRFileStream(testInput);
-// }
-// else {
-// input = new ANTLRStringStream(testInput);
-// }
-// try {
-// DRLLexer lexer = new DRLLexer(input);
-// CommonTokenStream tokens = new CommonTokenStream(lexer);
-// DRLParser parser = new DRLParser(tokens);
-// parser.setTreeAdaptor(new DroolsTreeAdaptor());
-// /** Use Reflection to get rule method from parser */
-// Method ruleName = Class.forName("org.drools.lang.DRLParser").getMethod(testRuleName);
-//
-// /** Start of I/O Redirecting */
-// PipedInputStream pipedIn = new PipedInputStream();
-// PipedOutputStream pipedOut = new PipedOutputStream();
-// PipedInputStream pipedErrIn = new PipedInputStream();
-// PipedOutputStream pipedErrOut = new PipedOutputStream();
-// try {
-// pipedOut.connect(pipedIn);
-// pipedErrOut.connect(pipedErrIn);
-// }
-// catch(IOException e) {
-// System.err.println("connection failed...");
-// System.exit(1);
-// }
-// PrintStream console = System.out;
-// PrintStream consoleErr = System.err;
-// PrintStream ps = new PrintStream(pipedOut);
-// PrintStream ps2 = new PrintStream(pipedErrOut);
-// System.setOut(ps);
-// System.setErr(ps2);
-// /** End of redirecting */
-//
-// /** Invoke grammar rule, and get the return value */
-// Object ruleReturn = ruleName.invoke(parser);
-//
-// Class _return = Class.forName("org.drools.lang.DRLParser"+"$"+testRuleName+"_return");
-// Method returnName = _return.getMethod("getTree");
-// CommonTree tree = (CommonTree) returnName.invoke(ruleReturn);
-//
-// // Walk resulting tree; create tree nodes stream first
-// CommonTreeNodeStream nodes = new CommonTreeNodeStream(tree);
-// // AST nodes have payload that point into token stream
-// nodes.setTokenStream(tokens);
-// // Create a tree walker attached to the nodes stream
-// Tree2TestDRL treeParser = new Tree2TestDRL(nodes);
-// /** Invoke the tree rule, and store the return value if there is */
-// Method treeRuleName = Class.forName("org.drools.lang.Tree2TestDRL").getMethod(testTreeRuleName);
-// Object treeRuleReturn = treeRuleName.invoke(treeParser);
-//
-// String astString = null;
-// /** If tree rule has return value, determine if it's an AST */
-// if ( treeRuleReturn!=null ) {
-// /** If return object is instanceof AST, get the toStringTree */
-// if ( treeRuleReturn.toString().indexOf(testTreeRuleName+"_return")>0 ) {
-// try { // NullPointerException may happen here...
-// Class _treeReturn = Class.forName("org.drools.lang.Tree2TestDRL"+"$"+testTreeRuleName+"_return");
-// Method[] methods = _treeReturn.getDeclaredMethods();
-// for(Method method : methods) {
-// if ( method.getName().equals("getTree") ) {
-// Method treeReturnName = _treeReturn.getMethod("getTree");
-// CommonTree returnTree = (CommonTree) treeReturnName.invoke(treeRuleReturn);
-// astString = returnTree.toStringTree();
-// }
-// }
-// }
-// catch(Exception e) {
-// System.err.println(e);
-// }
-// }
-// }
-//
-// org.antlr.gunit.gUnitExecuter.StreamVacuum stdoutVacuum = new org.antlr.gunit.gUnitExecuter.StreamVacuum(pipedIn);
-// org.antlr.gunit.gUnitExecuter.StreamVacuum stderrVacuum = new org.antlr.gunit.gUnitExecuter.StreamVacuum(pipedErrIn);
-// ps.close();
-// ps2.close();
-// System.setOut(console); // Reset standard output
-// System.setErr(consoleErr); // Reset standard err out
-// this.stdout = null;
-// this.stderr = null;
-// stdoutVacuum.start();
-// stderrVacuum.start();
-// stdoutVacuum.join();
-// stderrVacuum.join();
-// // retVal could be actual return object from rule, stderr or stdout
-// if ( stderrVacuum.toString().length()>0 ) {
-// this.stderr = stderrVacuum.toString();
-// return this.stderr;
-// }
-// if ( parser.hasErrors() ) {
-// this.stderr = parser.getErrors().toString();
-// return this.stderr;
-// }
-// if ( stdoutVacuum.toString().length()>0 ) {
-// this.stdout = stdoutVacuum.toString();
-// }
-// if ( astString!=null ) { // Return toStringTree of AST
-// return astString;
-// }
-// if ( treeRuleReturn!=null ) {
-// return treeRuleReturn;
-// }
-// if ( stderrVacuum.toString().length()==0 && stdoutVacuum.toString().length()==0 ) {
-// return null;
-// }
-// } catch (ClassNotFoundException e) {
-// e.printStackTrace(); System.exit(1);
-// } catch (SecurityException e) {
-// e.printStackTrace(); System.exit(1);
-// } catch (NoSuchMethodException e) {
-// e.printStackTrace(); System.exit(1);
-// } catch (IllegalAccessException e) {
-// e.printStackTrace(); System.exit(1);
-// } catch (InvocationTargetException e) {
-// e.printStackTrace(); System.exit(1);
-// } catch (InterruptedException e) {
-// e.printStackTrace(); System.exit(1);
-// } catch (Exception e) {
-// e.printStackTrace(); System.exit(1);
-// }
-// return stdout;
-// }
-//
-// // Modify the return value if the expected token type is OK or FAIL
-// public Object examineParserExecResult(int tokenType, Object retVal) {
-// if ( tokenType==27 ) { // expected Token: OK
-// if ( this.stderr==null ) {
-// return "OK";
-// }
-// else {
-// return "FAIL";
-// }
-// }
-// else if ( tokenType==28 ) { // expected Token: FAIL
-// if ( this.stderr!=null ) {
-// return "FAIL";
-// }
-// else {
-// return "OK";
-// }
-// }
-// else { // return the same object for the other token types
-// return retVal;
-// }
-// }
+ public void testPackage_statement_walks_Package_statement2() throws Exception {
+ // test input: "package foo.bar.baz;"
+ Object retval = execTreeParser("package_statement", "package_statement", "package foo.bar.baz;", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"package_statement", expecting, actual);
+ }
+ public void testCompilation_unit_walks_Compilation_unit1() throws Exception {
+ // test input: ""
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit2() throws Exception {
+ // test input: "package foo; import com.foo.Bar; import com.foo.Baz;"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package foo; import com.foo.Bar; import com.foo.Baz;", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit3() throws Exception {
+ // test input: "rule empty \n\nthen\n \nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule empty \n\nthen\n \nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit4() throws Exception {
+ // test input: "#the purpose of this is to see what happens when we have some partially damaged syntax\n#as the IDE uses the parsers AST to work out completion suggestions.\npackage test\n\n\nrule simple_rule \n when\n foo3 : Bar(\n"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "#the purpose of this is to see what happens when we have some partially damaged syntax\n#as the IDE uses the parsers AST to work out completion suggestions.\npackage test\n\n\nrule simple_rule \n when\n foo3 : Bar(\n", false);
+ Object actual = examineParserExecResult(28, retval);
+ Object expecting = "FAIL";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit5() throws Exception {
+ // test input: "package test.templates\n\ntemplate Cheese\n\tString \tname\n\tInteger age\nend\n\ntemplate \"Wine\"\n\tString \t\tname\n\tString \t\tyear\n\tString[] \taccolades\nend\n\n\nrule \"a rule\"\n when\n\tCheese(name == \"Stilton\", age==2001)\n\tWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")\n then\n \tbaz();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package test.templates\n\ntemplate Cheese\n\tString \tname\n\tInteger age\nend\n\ntemplate \"Wine\"\n\tString \t\tname\n\tString \t\tyear\n\tString[] \taccolades\nend\n\n\nrule \"a rule\"\n when\n\tCheese(name == \"Stilton\", age==2001)\n\tWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")\n then\n \tbaz();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit6() throws Exception {
+ // test input: "package foo\n\nrule rule_one \n when\n \tFoo()\n then\n \t if (speed > speedLimit ? true : false;)\n pullEmOver();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package foo\n\nrule rule_one \n when\n \tFoo()\n then\n \t if (speed > speedLimit ? true : false;)\n pullEmOver();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit7() throws Exception {
+ // test input: "package foo\n\nfunction String[] yourFunction(String args[]) {\n baz();\n}\n\nrule \"new rule\"\n\n\twhen\n\t\tSomething()\n\tthen\n\t\tyourFunction(new String[3] {\"a\",\"b\",\"c\"});\n\t\t\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package foo\n\nfunction String[] yourFunction(String args[]) {\n baz();\n}\n\nrule \"new rule\"\n\n\twhen\n\t\tSomething()\n\tthen\n\t\tyourFunction(new String[3] {\"a\",\"b\",\"c\"});\n\t\t\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit8() throws Exception {
+ // test input: "rule almost_empty \n when\n then\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule almost_empty \n when\n then\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit9() throws Exception {
+ // test input: "rule \"quoted string name\"\n when\n then\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"quoted string name\"\n when\n then\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit10() throws Exception {
+ // test input: "rule rule1 \n no-loop false\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule rule1 \n no-loop false\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit11() throws Exception {
+ // test input: "rule rule1 \n auto-focus true\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule rule1 \n auto-focus true\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit12() throws Exception {
+ // test input: "rule rule1 \n ruleflow-group \"a group\"\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule rule1 \n ruleflow-group \"a group\"\n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit13() throws Exception {
+ // test input: "\nrule myrule \n when\n then\n \tint i = 0;\n\ti = 1;\n\ti / 1;\n\ti == 1;\n\ti(i);\n\ti = 'i';\n\ti.i.i;\n\ti\\i;\n\ti<i;\n\ti>i;\n\ti=\"i\";\t\n\t++i;\n\ti++;\n\t--i;\n\ti--;\n\ti += i;\n\ti -= i;\n\ti *= i;\n\ti /= i;\n\tint i = 5;\n\tfor(int j; j<i; ++j) {\n\t System.out.println(j);\n\t}\t\n\tObject o = new String(\"Hello\");\n\tString s = (String) o;\t\n\t\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule myrule \n when\n then\n \tint i = 0;\n\ti = 1;\n\ti / 1;\n\ti == 1;\n\ti(i);\n\ti = 'i';\n\ti.i.i;\n\ti\\i;\n\ti<i;\n\ti>i;\n\ti=\"i\";\t\n\t++i;\n\ti++;\n\t--i;\n\ti--;\n\ti += i;\n\ti -= i;\n\ti *= i;\n\ti /= i;\n\tint i = 5;\n\tfor(int j; j<i; ++j) {\n\t System.out.println(j);\n\t}\t\n\tObject o = new String(\"Hello\");\n\tString s = (String) o;\t\n\t\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit14() throws Exception {
+ // test input: "#check that it can handle true/false literals, and \n#negative numbers\nrule simple_rule \n when\n\tFoo(bar == false)\n\tFoo(boo > -42)\n\tFoo(boo > -42.42)\n then\n\tcons();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "#check that it can handle true/false literals, and \n#negative numbers\nrule simple_rule \n when\n\tFoo(bar == false)\n\tFoo(boo > -42)\n\tFoo(boo > -42.42)\n then\n\tcons();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit15() throws Exception {
+ // test input: "package org.drools.test;\n \nimport org.drools.Cheese;\n \nrule \"simple rule\"\n when\n Cheese( )\n then\nend "
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n \nimport org.drools.Cheese;\n \nrule \"simple rule\"\n when\n Cheese( )\n then\nend ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit16() throws Exception {
+ // test input: "rule blah\n\n when \n\n\tCol1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule blah\n\n when \n\n\tCol1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit17() throws Exception {
+ // test input: "rule blah\n\n when \n\n\tCol1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule blah\n\n when \n\n\tCol1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\n\tCol2()\n then\n\tpartay();\nend\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit18() throws Exception {
+ // test input: "rule blah\n\n when \n\n\tCol1() from something.doIt\n\tCol2()\n then\n\tpartay();\nend\t"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule blah\n\n when \n\n\tCol1() from something.doIt\n\tCol2()\n then\n\tpartay();\nend\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit19() throws Exception {
+ // test input: "rule blah\n\n when \n\n\tCol1() from something.doIt[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule blah\n\n when \n\n\tCol1() from something.doIt[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit20() throws Exception {
+ // test input: "rule blah\n when \n\tCol1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n\t .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule blah\n when \n\tCol1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n\t .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\n\tCol2()\n then\n\tpartay();\nend\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit21() throws Exception {
+ // test input: "rule simple_rule \n when\n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit22() throws Exception {
+ // test input: "#this is for showing off all the new multi restriction stuff\n\n\n\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type == \"sedan\" || == \"wagon\", age < 3)\n then\n\tconsequence();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "#this is for showing off all the new multi restriction stuff\n\n\n\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type == \"sedan\" || == \"wagon\", age < 3)\n then\n\tconsequence();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit23() throws Exception {
+ // test input: "package la\n\n\nrule simple_rule \n when\n \tBaz()\n then\n \t//woot\n \tfirst\n \t\n \t#\n \t\n \t/* lala\n \t\n \t*/\n \tsecond \nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package la\n\n\nrule simple_rule \n when\n \tBaz()\n then\n \t//woot\n \tfirst\n \t\n \t#\n \t\n \t/* lala\n \t\n \t*/\n \tsecond \nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit24() throws Exception {
+ // test input: "rule simple_rule \n when\n foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()\n then\n if ( a == b ) {\n assert( foo3 );\n } else {\n retract( foo4 );\n } \n System.out.println( a4 );\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit25() throws Exception {
+ // test input: "rule simple_rule \n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n \tnot Cheese(type == \"stilton\")\n then\n\tfunky();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit26() throws Exception {
+ // test input: "package HR1\n\nimport function abd.def.x\nimport function qed.wah.*\n\nrule simple_rule \n when \t\t \t\n \tnot ( Cheese(type == \"stilton\") )\n \texists ( Foo() )\n then\n\tfunky();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package HR1\n\nimport function abd.def.x\nimport function qed.wah.*\n\nrule simple_rule \n when \t\t \t\n \tnot ( Cheese(type == \"stilton\") )\n \texists ( Foo() )\n then\n\tfunky();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit27() throws Exception {
+ // test input: "package HR1\n\nrule simple_rule \n when \t\t \t\n \tnot ( Cheese(type == \"stilton\") )\n \texists ( Foo() )\n then\n\tfunky();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package HR1\n\nrule simple_rule \n when \t\t \t\n \tnot ( Cheese(type == \"stilton\") )\n \texists ( Foo() )\n then\n\tfunky();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit28() throws Exception {
+ // test input: "package HR2\n\nrule simple_rule \n when \t\t \t\n \ta : (not ( Cheese(type == \"stilton\") ))\n \texists ( Foo() )\n then\n\tfunky();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package HR2\n\nrule simple_rule \n when \t\t \t\n \ta : (not ( Cheese(type == \"stilton\") ))\n \texists ( Foo() )\n then\n\tfunky();\nend", false);
+ Object actual = examineParserExecResult(28, retval);
+ Object expecting = "FAIL";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit29() throws Exception {
+ // test input: "\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit30() throws Exception {
+ // test input: "package foo\n\nrule bar\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\nrule bar2\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query2\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\t"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package foo\n\nrule bar\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\nrule bar2\n\twhen\n\t\tBaz()\n\tthen\n\t\tBoo()\nend\n\nquery \"simple_query2\" \n foo3 : Bar(a==3)\n foo4 : Bar(a4:a==4)\n Baz()\n\t\nend\n\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit31() throws Exception {
+ // test input: "package org.drools.test;\n\nimport org.drools.integrationtests.Cheese;\n\nrule \"Like Stilton\"\n when\n Cheese( t:type == \"stilton\" )\n then\n System.out.println(\"I like \" + t);\nend \n\nrule \"Like Cheddar\"\n when\n Cheese( t:type == \"cheddar\" )\n then\n System.out.println(\"I like \" + t );\nend "
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n\nimport org.drools.integrationtests.Cheese;\n\nrule \"Like Stilton\"\n when\n Cheese( t:type == \"stilton\" )\n then\n System.out.println(\"I like \" + t);\nend \n\nrule \"Like Cheddar\"\n when\n Cheese( t:type == \"cheddar\" )\n then\n System.out.println(\"I like \" + t );\nend ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit32() throws Exception {
+ // test input: "package org.drools.test;\n\nimport org.drools.Cheese;\n\nrule \"like cheddar\"\n when\n Cheese( $type:type )\n then\n System.out.println(\"I like \" + $type);\nend "
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n\nimport org.drools.Cheese;\n\nrule \"like cheddar\"\n when\n Cheese( $type:type )\n then\n System.out.println(\"I like \" + $type);\nend ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit33() throws Exception {
+ // test input: "package org.drools.test;\n\nimport org.drools.Cheese;\nimport org.drools.Person;\n\nrule \"Who likes Stilton\"\n when\n Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) \n then\n System.out.println( $name + \" likes \" + $type);\nend "
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n\nimport org.drools.Cheese;\nimport org.drools.Person;\n\nrule \"Who likes Stilton\"\n when\n Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) \n then\n System.out.println( $name + \" likes \" + $type);\nend ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit34() throws Exception {
+ // test input: "import org.drools.Person\n\nrule simple_rule \n when\n\tPerson(name == \"mark\") or \n\t( Person(type == \"fan\") and Cheese(type == \"green\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "import org.drools.Person\n\nrule simple_rule \n when\n\tPerson(name == \"mark\") or \n\t( Person(type == \"fan\") and Cheese(type == \"green\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit35() throws Exception {
+ // test input: "import org.drools.Person\n\nrule simple_rule \n when\n Person(name == \"mark\") && Cheese(type == \"stilton\")\n Person(name == \"mark\") || Cheese(type == \"stilton\")\n then\n\tSystem.out.println( \"Mark and Michael\" );\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "import org.drools.Person\n\nrule simple_rule \n when\n Person(name == \"mark\") && Cheese(type == \"stilton\")\n Person(name == \"mark\") || Cheese(type == \"stilton\")\n then\n\tSystem.out.println( \"Mark and Michael\" );\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit36() throws Exception {
+ // test input: "import org.drools.Person\n\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \n\tCheese(type == \"green\")\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "import org.drools.Person\n\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \n\tCheese(type == \"green\")\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit37() throws Exception {
+ // test input: "\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") \n\t\tor \n\t\tPerson(type == \"fan\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "\nrule simple_rule \n when\n\tfoo : ( Person(name == \"mark\") \n\t\tor \n\t\tPerson(type == \"fan\") )\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit38() throws Exception {
+ // test input: "rule simple_rule \n when\n\tfoo : ( \n\t\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t\t)\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n\tfoo : ( \n\t\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t\t)\n then\n\tSystem.out.println( \"Mark and Michael\" + bar );\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit39() throws Exception {
+ // test input: "rule simple_rule \n when\n\t ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )\n then\n\tgo wild\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n\t ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )\n then\n\tgo wild\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit40() throws Exception {
+ // test input: "rule simple_rule \n when\n\teval(abc(\"foo\") + 5)\n\tFoo()\n\teval(qed())\n\tBar()\n then\n\tKapow\n\tPoof\n\t\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n\teval(abc(\"foo\") + 5)\n\tFoo()\n\teval(qed())\n\tBar()\n then\n\tKapow\n\tPoof\n\t\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit41() throws Exception {
+ // test input: "rule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(abc(\"foo\"))\n then\n\tKapow\n\t\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(abc(\"foo\"))\n then\n\tKapow\n\t\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit42() throws Exception {
+ // test input: "rule simple_rule \n when\n\tFoo(name== (a + b))\n then\n\tKapow\n\t\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n\tFoo(name== (a + b))\n then\n\tKapow\n\t\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit43() throws Exception {
+ // test input: "rule simple_rule \n when\n \tPerson( $age2:age -> ($age2 == $age1+2 ) ) \n then\n\tfoo bar\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n \tPerson( $age2:age -> ($age2 == $age1+2 ) ) \n then\n\tfoo bar\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit44() throws Exception {
+ // test input: "package org.drools.test;\n\nimport org.drools.Cheese;\n\nglobal java.util.List list;\nglobal java.lang.Integer five;\n\nrule \"not rule test\"\n when\n $person : Person( $likes:like )\n not Cheese( type == $likes )\n then\n\t\tlist.add( $person );\nend "
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n\nimport org.drools.Cheese;\n\nglobal java.util.List list;\nglobal java.lang.Integer five;\n\nrule \"not rule test\"\n when\n $person : Person( $likes:like )\n not Cheese( type == $likes )\n then\n\t\tlist.add( $person );\nend ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit45() throws Exception {
+ // test input: "package org.drools.test;\n\nimport org.drools.Cheese;\n\nglobal java.lang.String foo\nglobal java.lang.Integer bar;\n\nrule baz\n when\n Cheese( )\n then\n\nend "
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n\nimport org.drools.Cheese;\n\nglobal java.lang.String foo\nglobal java.lang.Integer bar;\n\nrule baz\n when\n Cheese( )\n then\n\nend ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit46() throws Exception {
+ // test input: "import java.lang.String\n\nfunction String functionA(String s, Integer i) {\n\t\n\tfoo();\n\n}\n\nfunction void functionB() {\n\tbar();\t\n}\n\n\nrule something \n\twhen\n\tthen\nend\n\nrule \"one more thing\"\n\twhen\n\tthen\nend\n\n\n\n\t"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "import java.lang.String\n\nfunction String functionA(String s, Integer i) {\n\t\n\tfoo();\n\n}\n\nfunction void functionB() {\n\tbar();\t\n}\n\n\nrule something \n\twhen\n\tthen\nend\n\nrule \"one more thing\"\n\twhen\n\tthen\nend\n\n\n\n\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit47() throws Exception {
+ // test input: "#this starts with a comment\npackage foo.bar\n\n//and another comment\n\n/*\nyet\n\t another\n \t\t\t\tstyle\n*/\n\nrule \"test\"\n when\n then\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "#this starts with a comment\npackage foo.bar\n\n//and another comment\n\n/*\nyet\n\t another\n \t\t\t\tstyle\n*/\n\nrule \"test\"\n when\n then\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit48() throws Exception {
+ // test input: "\n\nrule simple_rule \n\t\t#attributes keywork (and colon) is totally optional\n\t\tsalience 42\n\t\tagenda-group \"my_group\"\n\t\tno-loop \n\t\tduration 42\n\t\tactivation-group \"my_activation_group\"\n\t\tlock-on-active true\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "\n\nrule simple_rule \n\t\t#attributes keywork (and colon) is totally optional\n\t\tsalience 42\n\t\tagenda-group \"my_group\"\n\t\tno-loop \n\t\tduration 42\n\t\tactivation-group \"my_activation_group\"\n\t\tlock-on-active true\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit49() throws Exception {
+ // test input: "\n\nrule simple_rule \n\tattributes: \n\t\tsalience 42, agenda-group \"my_group\", no-loop, lock-on-active, duration 42, activation-group \"my_activation_group\"\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "\n\nrule simple_rule \n\tattributes: \n\t\tsalience 42, agenda-group \"my_group\", no-loop, lock-on-active, duration 42, activation-group \"my_activation_group\"\n\twhen\n\t\tFoo()\n\tthen\n\t\tbar();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit50() throws Exception {
+ // test input: "rule simple_rule \n when\n \tFoo(bar == Foo.BAR)\n then\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n \tFoo(bar == Foo.BAR)\n then\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit51() throws Exception {
+ // test input: "rule one\n when\n exists Foo()\n exits Bar()\n then\nend\n\nrule two \n when\n ford = ford = ford\n then\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule one\n when\n exists Foo()\n exits Bar()\n then\nend\n\nrule two \n when\n ford = ford = ford\n then\nend", false);
+ Object actual = examineParserExecResult(28, retval);
+ Object expecting = "FAIL";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit52() throws Exception {
+ // test input: "rule \"another test\"\n when\n s : String()\n eval(s.equals(\"foo\") && s.startsWith(\"f\"))\n \n \n then\n list.add( s );\nend "
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"another test\"\n when\n s : String()\n eval(s.equals(\"foo\") && s.startsWith(\"f\"))\n \n \n then\n list.add( s );\nend ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit53() throws Exception {
+ // test input: "package nesting;\n\n\n\n\nrule \"test something\"\n\n\twhen\n\t\tp: Person( name soundslike \"Michael\" )\n\tthen\n\t\tp.name = \"goober\"\n\t\tSystem.out.println(p.name)\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package nesting;\n\n\n\n\nrule \"test something\"\n\n\twhen\n\t\tp: Person( name soundslike \"Michael\" )\n\tthen\n\t\tp.name = \"goober\"\n\t\tSystem.out.println(p.name)\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit54() throws Exception {
+ // test input: "package com.foo;\n\nagenda-group \"x\"\n\nimport goo.ber\nimport wee.waa\n\n\ndialect \"java\"\n\n\n\n\nrule bar\n when\n then\nend\n\nrule baz\n dialect \"mvel\"\n when\n then\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package com.foo;\n\nagenda-group \"x\"\n\nimport goo.ber\nimport wee.waa\n\n\ndialect \"java\"\n\n\n\n\nrule bar\n when\n then\nend\n\nrule baz\n dialect \"mvel\"\n when\n then\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit55() throws Exception {
+ // test input: "package com.foo;\n\nimport im.one\n\nimport im.two\n\nrule foo\n when\n then\nend\n\nfunction cheeseIt() {\n\n}\n\nimport im.three;\n\nrule bar\n when\n then\nend\n\nfunction uncheeseIt() {\n\n}\n\nimport im.four;"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package com.foo;\n\nimport im.one\n\nimport im.two\n\nrule foo\n when\n then\nend\n\nfunction cheeseIt() {\n\n}\n\nimport im.three;\n\nrule bar\n when\n then\nend\n\nfunction uncheeseIt() {\n\n}\n\nimport im.four;", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit56() throws Exception {
+ // test input: "rule \"1. Do Stuff!\"\n when\n then\nend\n\nrule \"2. Do More Stuff!\"\n when\n then\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"1. Do Stuff!\"\n when\n then\nend\n\nrule \"2. Do More Stuff!\"\n when\n then\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit57() throws Exception {
+ // test input: "rule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(\n\t\n\t\n\t\n\t abc(\n\t \n\t \"foo\") + \n\t 5\n\t \n\t \n\t \n\t \n\t )\n then\n\tKapow\n\tPoof\n\t\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n\tFoo()\n\tBar()\n\teval(\n\t\n\t\n\t\n\t abc(\n\t \n\t \"foo\") + \n\t 5\n\t \n\t \n\t \n\t \n\t )\n then\n\tKapow\n\tPoof\n\t\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit58() throws Exception {
+ // test input: "rule simple_rule \n when\n\teval(abc();)\n then\n\tKapow\n\tPoof\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule simple_rule \n when\n\teval(abc();)\n then\n\tKapow\n\tPoof\nend", false);
+ Object actual = examineParserExecResult(28, retval);
+ Object expecting = "FAIL";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit59() throws Exception {
+ // test input: "\n\nrule simple_rule \n when\n\tFoo(\n\t bar == baz, la==laz\n\t )\n then\n\tKapow\n\tPoof\nend\n\t"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "\n\nrule simple_rule \n when\n\tFoo(\n\t bar == baz, la==laz\n\t )\n then\n\tKapow\n\tPoof\nend\n\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit60() throws Exception {
+ // test input: "package org.drools.test;\n\nrule \"Who likes Stilton\"\n when\n com.cheeseco.Cheese($type : type == \"stilton\")\n then\n System.out.println( $name + \" likes \" + $type);\nend "
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools.test;\n\nrule \"Who likes Stilton\"\n when\n com.cheeseco.Cheese($type : type == \"stilton\")\n then\n System.out.println( $name + \" likes \" + $type);\nend ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit61() throws Exception {
+ // test input: "rule \"AccumulateParserTest\"\nwhen\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"AccumulateParserTest\"\nwhen\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit62() throws Exception {
+ // test input: "rule \"AccumulateParserTest\"\nwhen\n $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"AccumulateParserTest\"\nwhen\n $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit63() throws Exception {
+ // test input: "rule \"CollectParserTest\"\nwhen\n $personList : ArrayList() from collect( Person( age > 21 ) );\nthen\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"CollectParserTest\"\nwhen\n $personList : ArrayList() from collect( Person( age > 21 ) );\nthen\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit64() throws Exception {
+ // test input: "rule \"test_Quotes\"\n when\n InitialFact()\n then\n String s = \"\\\"\\n\\t\\\\\";\nend "
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"test_Quotes\"\n when\n InitialFact()\n then\n String s = \"\\\"\\n\\t\\\\\";\nend ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit65() throws Exception {
+ // test input: "rule \"test nested CEs\"\t\n\twhen\n\t not ( State( $state : state ) and\n\t not( Person( status == $state, $likes : likes ) and\n\t Cheese( type == $likes ) ) )\n\t Person( name == \"Bob\" )\n\t ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )\n\tthen \n\t\tresults.add(\"OK\");\t\t\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"test nested CEs\"\t\n\twhen\n\t not ( State( $state : state ) and\n\t not( Person( status == $state, $likes : likes ) and\n\t Cheese( type == $likes ) ) )\n\t Person( name == \"Bob\" )\n\t ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )\n\tthen \n\t\tresults.add(\"OK\");\t\t\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit66() throws Exception {
+ // test input: "rule \"ForallParserTest\"\nwhen\n forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );\nthen\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"ForallParserTest\"\nwhen\n forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );\nthen\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit67() throws Exception {
+ // test input: "#testing 'in' operator\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n then\n\tconsequence();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "#testing 'in' operator\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n then\n\tconsequence();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit68() throws Exception {
+ // test input: "#testing not 'in' operator\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n then\n\tconsequence();\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "#testing not 'in' operator\n\nrule simple_rule \n when\n \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n then\n\tconsequence();\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit69() throws Exception {
+ // test input: "package org.drools;\n\nglobal java.util.List list;\n\nrule \"rule1\"\nwhen\n Pattern1();\n Pattern2() from x.y.z;\nthen\n System.out.println(\"Test\");\nend;\n\nquery \"query1\"\n\tPattern5();\n\tPattern6();\n\tPattern7();\nend;\n\nrule \"rule2\"\nwhen\n Pattern3();\n Pattern4() from collect( Pattern5() );\nthen\n System.out.println(\"Test\");\nend;\n\n\t"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools;\n\nglobal java.util.List list;\n\nrule \"rule1\"\nwhen\n Pattern1();\n Pattern2() from x.y.z;\nthen\n System.out.println(\"Test\");\nend;\n\nquery \"query1\"\n\tPattern5();\n\tPattern6();\n\tPattern7();\nend;\n\nrule \"rule2\"\nwhen\n Pattern3();\n Pattern4() from collect( Pattern5() );\nthen\n System.out.println(\"Test\");\nend;\n\n\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit70() throws Exception {
+ // test input: "package org.drools\n\nrule \"Test Parse\"\n\nwhen\n eval( 3==3 )\nthen\n System.out.println(\"OK\");\nend "
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools\n\nrule \"Test Parse\"\n\nwhen\n eval( 3==3 )\nthen\n System.out.println(\"OK\");\nend ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit71() throws Exception {
+ // test input: "rule \"AccumulateReverseParserTest\"\nwhen\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n reverse( x--; ),\n result( new Integer(x) ) );\nthen\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"AccumulateReverseParserTest\"\nwhen\n Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n reverse( x--; ),\n result( new Integer(x) ) );\nthen\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit72() throws Exception {
+ // test input: "rule \"AccumulateReverseParserTest\"\nwhen\n Number() from accumulate( Person( $age : age > 21 ),\n average( $age ) );\nthen\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"AccumulateReverseParserTest\"\nwhen\n Number() from accumulate( Person( $age : age > 21 ),\n average( $age ) );\nthen\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit73() throws Exception {
+ // test input: "rule \"CollectParserTest\"\nwhen\n #bellow statement makes no sense, but is useful to test parsing recursiveness\n $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\nthen\nend\n\n\t"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"CollectParserTest\"\nwhen\n #bellow statement makes no sense, but is useful to test parsing recursiveness\n $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\nthen\nend\n\n\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit74() throws Exception {
+ // test input: "rule \"AccumulateParserTest\"\nwhen\n #bellow statement makes no sense, but is useful to test parsing recursiveness\n $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n max( $age ) );\nthen\nend\n\n\t"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"AccumulateParserTest\"\nwhen\n #bellow statement makes no sense, but is useful to test parsing recursiveness\n $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n max( $age ) );\nthen\nend\n\n\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit75() throws Exception {
+ // test input: "package org.drools;\n\nrule \"testing OR CE\"\nwhen\n $p : Person( name == \"bob\" )\n $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\nthen\n // do something\nend "
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools;\n\nrule \"testing OR CE\"\nwhen\n $p : Person( name == \"bob\" )\n $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\nthen\n // do something\nend ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit76() throws Exception {
+ // test input: "rule \"another test\" salience 10 when eval( true ) then System.out.println(1); end"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"another test\" salience 10 when eval( true ) then System.out.println(1); end", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit77() throws Exception {
+ // test input: "rule \"another test\" salience 10 when eval( true ) then System.out.println(1);\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"another test\" salience 10 when eval( true ) then System.out.println(1);\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit78() throws Exception {
+ // test input: "rule \"AccumulateMultiPatternParserTest\"\nwhen\n $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"AccumulateMultiPatternParserTest\"\nwhen\n $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );\nthen\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit79() throws Exception {
+ // test input: "package org.drools;\n\nrule \"test rule\"\n\tsalience 10\n\twhen\n\t\t$c: WorkerPerformanceContext(eval)$c.getBalanceMonth() != null))\n\tthen\n\t\tretract($p);\nend\n\t"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools;\n\nrule \"test rule\"\n\tsalience 10\n\twhen\n\t\t$c: WorkerPerformanceContext(eval)$c.getBalanceMonth() != null))\n\tthen\n\t\tretract($p);\nend\n\t", false);
+ Object actual = examineParserExecResult(28, retval);
+ Object expecting = "FAIL";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit80() throws Exception {
+ // test input: "package org.drools;\n\nrule \"Avoid NPE on wrong syntax\"\nwhen\n not( Cheese( ( type == \"stilton\", price == 10 ) || ( type == \"brie\", price == 15 ) ) from $cheeseList )\nthen\n System.out.println(\"OK\");\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools;\n\nrule \"Avoid NPE on wrong syntax\"\nwhen\n not( Cheese( ( type == \"stilton\", price == 10 ) || ( type == \"brie\", price == 15 ) ) from $cheeseList )\nthen\n System.out.println(\"OK\");\nend", false);
+ Object actual = examineParserExecResult(28, retval);
+ Object expecting = "FAIL";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit81() throws Exception {
+ // test input: "package org.drools;\n\nrule \"test pluggable operators\"\nwhen\n $a : EventA()\n $b : EventB( this `after[1,10] $a )\n $c : EventC( this finishes $b )\n $d : EventD( this not starts $a )\n $e : EventE( this not `before [1, 10] $b )\nthen\nend"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "package org.drools;\n\nrule \"test pluggable operators\"\nwhen\n $a : EventA()\n $b : EventB( this `after[1,10] $a )\n $c : EventC( this finishes $b )\n $d : EventD( this not starts $a )\n $e : EventE( this not `before [1, 10] $b )\nthen\nend", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit82() throws Exception {
+ // test input: "rule \"Test\"\nwhen\n( $r :LiteralRestriction( operator == Operator.EQUAL ) )\n then\n end"
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"Test\"\nwhen\n( $r :LiteralRestriction( operator == Operator.EQUAL ) )\n then\n end", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testCompilation_unit_walks_Compilation_unit83() throws Exception {
+ // test input: "rule \"Test2\"\nwhen\n( not $r :LiteralRestriction( operator == Operator.EQUAL ) )\n then\n end "
+ Object retval = execTreeParser("compilation_unit", "compilation_unit", "rule \"Test2\"\nwhen\n( not $r :LiteralRestriction( operator == Operator.EQUAL ) )\n then\n end ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"compilation_unit", expecting, actual);
+ }
+
+ public void testLhs_walks_Pattern_source1() throws Exception {
+ // test input: "StockTick( symbol==\"ACME\") from entry-point StreamA"
+ Object retval = execTreeParser("lhs", "pattern_source", "StockTick( symbol==\"ACME\") from entry-point StreamA", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block1() throws Exception {
+ // test input: ""
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block2() throws Exception {
+ // test input: " Country( $cities : city )\n Person( city memberOf $cities )\n "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Country( $cities : city )\n Person( city memberOf $cities )\n ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block3() throws Exception {
+ // test input: " Country( $cities : city )\n Person( city not memberOf $cities )\n "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Country( $cities : city )\n Person( city not memberOf $cities )\n ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block4() throws Exception {
+ // test input: " Person( age < 42 && location==\"atlanta\") "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Person( age < 42 && location==\"atlanta\") ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block5() throws Exception {
+ // test input: " Person( age < 42 || location==\"atlanta\") "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Person( age < 42 || location==\"atlanta\") ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block6() throws Exception {
+ // test input: "Person( age < 42 && location==\"atlanta\" || age > 20 && location==\"Seatle\" || location == \"Chicago\")"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Person( age < 42 && location==\"atlanta\" || age > 20 && location==\"Seatle\" || location == \"Chicago\")", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block7() throws Exception {
+ // test input: "Person( age < 42 && ( location==\"atlanta\" || age > 20 && location==\"Seatle\") || location == \"Chicago\")"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Person( age < 42 && ( location==\"atlanta\" || age > 20 && location==\"Seatle\") || location == \"Chicago\")", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block8() throws Exception {
+ // test input: " Person( ( age == 70 && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ) ) "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Person( ( age == 70 && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ) ) ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block9() throws Exception {
+ // test input: " Person( name matches \"mark\" || matches \"bob\" ) "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Person( name matches \"mark\" || matches \"bob\" ) ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block10() throws Exception {
+ // test input: "\tCity( $city : city )\n\tCountry( cities not contains $city )\n\t"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\tCity( $city : city )\n\tCountry( cities not contains $city )\n\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block11() throws Exception {
+ // test input: " Message( text not matches '[abc]*' ) "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Message( text not matches '[abc]*' ) ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block12() throws Exception {
+ // test input: "Foo( bar > 1 || == 1 )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Foo( bar > 1 || == 1 )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block13() throws Exception {
+ // test input: "\t(or\n\tnot Person()\n\t\t(and Cheese()\n\t\t\tMeat()\n\t\t\tWine()))\n\t"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\t(or\n\tnot Person()\n\t\t(and Cheese()\n\t\t\tMeat()\n\t\t\tWine()))\n\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block14() throws Exception {
+ // test input: "Person( ( age ( > 60 && < 70 ) || ( > 50 && < 55 ) && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ))"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Person( ( age ( > 60 && < 70 ) || ( > 50 && < 55 ) && hair == \"black\" ) || ( age == 40 && hair == \"pink\" ) || ( age == 12 && ( hair == \"yellow\" || hair == \"blue\" ) ))", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block15() throws Exception {
+ // test input: "org . drools/*comment*/\t .Message( text not matches $c#comment\n. property )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "org . drools/*comment*/\t .Message( text not matches $c#comment\n. property )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block16() throws Exception {
+ // test input: " Test( ( text == null || text matches \"\" ) ) "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Test( ( text == null || text matches \"\" ) ) ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block17() throws Exception {
+ // test input: " $id : Something( duration == \"foo\") "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " $id : Something( duration == \"foo\") ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block18() throws Exception {
+ // test input: "foo3 : Bar("
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "foo3 : Bar(", false);
+ Object actual = examineParserExecResult(28, retval);
+ Object expecting = "FAIL";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block19() throws Exception {
+ // test input: "Cheese(name == \"Stilton\", age==2001)\nWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Cheese(name == \"Stilton\", age==2001)\nWine(name == \"Grange\", age == \"1978\", accolades contains \"world champion\")", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block20() throws Exception {
+ // test input: "Foo()"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Foo()", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block21() throws Exception {
+ // test input: "not Cheese(type == \"stilton\")"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "not Cheese(type == \"stilton\")", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block22() throws Exception {
+ // test input: "Person(age < 42, location==\"atlanta\") \nor\nPerson(name==\"bob\")"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Person(age < 42, location==\"atlanta\") \nor\nPerson(name==\"bob\")", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block23() throws Exception {
+ // test input: "Foo(bar == false)\nFoo(boo > -42)\nFoo(boo > -42.42)"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Foo(bar == false)\nFoo(boo > -42)\nFoo(boo > -42.42)", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block24() throws Exception {
+ // test input: "Cheese( )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Cheese( )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block25() throws Exception {
+ // test input: "Col1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Col1() from something.doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block26() throws Exception {
+ // test input: "Col1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Col1() from doIt( foo,bar,42,\"hello\",{ a => \"b\", \"something\" => 42, \"a\" => foo, x => {x=>y}},\"end\", [a, \"b\", 42] )\nCol2()", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block27() throws Exception {
+ // test input: "Col1() from something.doIt\nCol2()"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Col1() from something.doIt\nCol2()", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block28() throws Exception {
+ // test input: "Col1() from something.doIt[\"key\"]\nCol2()"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Col1() from something.doIt[\"key\"]\nCol2()", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block29() throws Exception {
+ // test input: "Col1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\nCol2()"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Col1() from doIt1( foo,bar,42,\"hello\",{ a => \"b\"}, [a, \"b\", 42] )\n .doIt2(bar, [a, \"b\", 42]).field[\"key\"]\nCol2()", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block30() throws Exception {
+ // test input: "foo3 : Bar(a==3)\nfoo4 : Bar(a4:a==4)\nBaz()"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "foo3 : Bar(a==3)\nfoo4 : Bar(a4:a==4)\nBaz()", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block31() throws Exception {
+ // test input: "Person(age > 30 && < 40)\nVehicle(type == \"sedan\" || == \"wagon\", age < 3)"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Person(age > 30 && < 40)\nVehicle(type == \"sedan\" || == \"wagon\", age < 3)", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block32() throws Exception {
+ // test input: " foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " foo3 : Bar(a==3) ; foo4 : Bar(a4:a==4) ; Baz()", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block33() throws Exception {
+ // test input: "not ( Cheese(type == \"stilton\") )\nexists ( Foo() )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "not ( Cheese(type == \"stilton\") )\nexists ( Foo() )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block34() throws Exception {
+ // test input: "not ( Cheese(type == \"stilton\") )\nexists ( Foo() )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "not ( Cheese(type == \"stilton\") )\nexists ( Foo() )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block35() throws Exception {
+ // test input: "a : (not ( Cheese(type == \"stilton\") ))\nexists ( Foo() )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "a : (not ( Cheese(type == \"stilton\") ))\nexists ( Foo() )", false);
+ Object actual = examineParserExecResult(28, retval);
+ Object expecting = "FAIL";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block36() throws Exception {
+ // test input: " Cheese( t:type == \"cheddar\" ) "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Cheese( t:type == \"cheddar\" ) ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block37() throws Exception {
+ // test input: "Cheese( $type:type )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Cheese( $type:type )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block38() throws Exception {
+ // test input: " Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Cheese($type : type == \"stilton\")\n $person : Person($name : name == \"bob\", likes == $type) ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block39() throws Exception {
+ // test input: "Person(name == \"mark\") or \n( Person(type == \"fan\") and Cheese(type == \"green\") )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Person(name == \"mark\") or \n( Person(type == \"fan\") and Cheese(type == \"green\") )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block40() throws Exception {
+ // test input: "Person(name == \"mark\") && Cheese(type == \"stilton\")\nPerson(name == \"mark\") || Cheese(type == \"stilton\")"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Person(name == \"mark\") && Cheese(type == \"stilton\")\nPerson(name == \"mark\") || Cheese(type == \"stilton\")", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block41() throws Exception {
+ // test input: "foo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \nCheese(type == \"green\")"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "foo : ( Person(name == \"mark\") or Person(type == \"fan\") ) \nCheese(type == \"green\")", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block42() throws Exception {
+ // test input: "foo : ( Person(name == \"mark\") \n\tor \n\tPerson(type == \"fan\") )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "foo : ( Person(name == \"mark\") \n\tor \n\tPerson(type == \"fan\") )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block43() throws Exception {
+ // test input: "foo : ( \n\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t)"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "foo : ( \n\tPerson(name == \"mark\") or Person(type == \"fan\") \n\t)", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block44() throws Exception {
+ // test input: " ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " ( (not Foo(x==\"a\") or Foo(x==\"y\") ) and ( Shoes() or Butt() ) )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block45() throws Exception {
+ // test input: "eval(abc(\"foo\") + 5)\nFoo()\neval(qed())\nBar()"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "eval(abc(\"foo\") + 5)\nFoo()\neval(qed())\nBar()", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block46() throws Exception {
+ // test input: "Foo()\nBar()\neval(abc(\"foo\"))"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Foo()\nBar()\neval(abc(\"foo\"))", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block47() throws Exception {
+ // test input: "Foo(name== (a + b))"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Foo(name== (a + b))", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block48() throws Exception {
+ // test input: "Person( $age2:age -> ($age2 == $age1+2 ) )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Person( $age2:age -> ($age2 == $age1+2 ) )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block49() throws Exception {
+ // test input: "Foo(bar == Foo.BAR)"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Foo(bar == Foo.BAR)", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block50() throws Exception {
+ // test input: "p: Person( name soundslike \"Michael\" )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "p: Person( name soundslike \"Michael\" )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block51() throws Exception {
+ // test input: "Foo()\nBar()\neval(\n\n\n\n abc(\n \n \"foo\") + \n 5\n \n \n \n \n )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Foo()\nBar()\neval(\n\n\n\n abc(\n \n \"foo\") + \n 5\n \n \n \n \n )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block52() throws Exception {
+ // test input: "eval(abc();)"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "eval(abc();)", false);
+ Object actual = examineParserExecResult(28, retval);
+ Object expecting = "FAIL";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block53() throws Exception {
+ // test input: "Foo(\n bar == baz, la==laz\n )\n "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "Foo(\n bar == baz, la==laz\n )\n ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block54() throws Exception {
+ // test input: "com.cheeseco.Cheese($type : type == \"stilton\")"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "com.cheeseco.Cheese($type : type == \"stilton\")", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block55() throws Exception {
+ // test input: " Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " Integer() from accumulate( Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block56() throws Exception {
+ // test input: " $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " $counter:Integer() from accumulate( $person : Person( age > 21 ),\n init( int x = 0; ),\n action( x++; ),\n result( new Integer(x) ) );", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block57() throws Exception {
+ // test input: "$personList : ArrayList() from collect( Person( age > 21 ) );"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "$personList : ArrayList() from collect( Person( age > 21 ) );", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block58() throws Exception {
+ // test input: "\tnot ( State( $state : state ) and\n not( Person( status == $state, $likes : likes ) and\n Cheese( type == $likes ) ) )\n Person( name == \"Bob\" )\n ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\tnot ( State( $state : state ) and\n not( Person( status == $state, $likes : likes ) and\n Cheese( type == $likes ) ) )\n Person( name == \"Bob\" )\n ( Cheese( price == 10 ) or Cheese( type == \"brie\" ) )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block59() throws Exception {
+ // test input: " forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " forall( Person( age > 21, $likes : likes )\n Cheese( type == $likes ) );", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block60() throws Exception {
+ // test input: " \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n\t"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " \tPerson(age > 30 && < 40)\n \tVehicle(type in ( \"sedan\", \"wagon\" ), age < 3)\n\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block61() throws Exception {
+ // test input: " \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n\t"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " \tPerson(age > 30 && < 40)\n \tVehicle(type not in ( \"sedan\", \"wagon\" ), age < 3)\n\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block62() throws Exception {
+ // test input: "\t\tPattern1();\n\t\tPattern2() from x.y.z;\n\t\tPattern5();\n\t\tPattern6();\n\t\tPattern7();\n\t\tPattern3();\n\t\tPattern4() from collect( Pattern5() );\n\t\t"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\t\tPattern1();\n\t\tPattern2() from x.y.z;\n\t\tPattern5();\n\t\tPattern6();\n\t\tPattern7();\n\t\tPattern3();\n\t\tPattern4() from collect( Pattern5() );\n\t\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block63() throws Exception {
+ // test input: " eval( 3==3 ) "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", " eval( 3==3 ) ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block64() throws Exception {
+ // test input: "\t\tInteger() from accumulate( Person( age > 21 ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t reverse( x--; ),\n\t\t result( new Integer(x) ) );\n\t\t"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\t\tInteger() from accumulate( Person( age > 21 ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t reverse( x--; ),\n\t\t result( new Integer(x) ) );\n\t\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block65() throws Exception {
+ // test input: "\t Number() from accumulate( Person( $age : age > 21 ),\n\t average( $age ) );\n\t\t"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\t Number() from accumulate( Person( $age : age > 21 ),\n\t average( $age ) );\n\t\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block66() throws Exception {
+ // test input: "\t #bellow statement makes no sense, but is useful to test parsing recursiveness\n\t $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\n\t\t"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\t #bellow statement makes no sense, but is useful to test parsing recursiveness\n\t $personList : ArrayList() from collect( $p : Person( age > 21 || age < 10 ) from collect( People() from $town.getPeople() ) );\n\t\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block67() throws Exception {
+ // test input: "\t $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n\t max( $age ) );\n\t\t"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\t $personList : ArrayList() from accumulate( Person( $age : age > 21 || < 10 ) from collect( People() from $town.getPeople() ),\n\t max( $age ) );\n\t\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block68() throws Exception {
+ // test input: "\t $p : Person( name == \"bob\" )\n\t $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\n\t "
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\t $p : Person( name == \"bob\" )\n\t $c : Cheese( type == $p.likes ) || Cheese( price == 10 )\n\t ", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block69() throws Exception {
+ // test input: "\t\t $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t result( new Integer(x) ) );\n\t\t\t"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\t\t $counter:Integer() from accumulate( $person : Person( age > 21 ) and Cheese( type == $person.likes ),\n\t\t init( int x = 0; ),\n\t\t action( x++; ),\n\t\t result( new Integer(x) ) );\n\t\t\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block70() throws Exception {
+ // test input: "\t\t $a : EventA()\n\t\t $b : EventB( this `after[1,10] $a )\n\t\t $c : EventC( this finishes $b )\n\t\t $d : EventD( this not starts $a )\n\t\t $e : EventE( this not `before [1, 10] $b )\n\t\t\t"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "\t\t $a : EventA()\n\t\t $b : EventB( this `after[1,10] $a )\n\t\t $c : EventC( this finishes $b )\n\t\t $d : EventD( this not starts $a )\n\t\t $e : EventE( this not `before [1, 10] $b )\n\t\t\t", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testLhs_block_walks_Normal_lhs_block71() throws Exception {
+ // test input: "StockTick( symbol==\"ACME\") from entry-point StreamA"
+ Object retval = execTreeParser("lhs_block", "normal_lhs_block", "StockTick( symbol==\"ACME\") from entry-point StreamA", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"lhs_block", expecting, actual);
+ }
+
+ public void testFact_expression_walks_Constraints1() throws Exception {
+ // test input: "eval( $var.equals(\"xyz\") )"
+ Object retval = execTreeParser("fact_expression", "constraints", "eval( $var.equals(\"xyz\") )", false);
+ Object actual = examineParserExecResult(27, retval);
+ Object expecting = "OK";
+
+ assertEquals("testing rule "+"fact_expression", expecting, actual);
+ }
+
+ // Invoke target parser.rule
+ public Object execTreeParser(String testTreeRuleName, String testRuleName, String testInput, boolean isFile) throws Exception {
+ CharStream input;
+ if ( isFile==true ) {
+ input = new ANTLRFileStream(testInput);
+ }
+ else {
+ input = new ANTLRStringStream(testInput);
+ }
+ try {
+ DRLLexer lexer = new DRLLexer(input);
+ CommonTokenStream tokens = new CommonTokenStream(lexer);
+ DRLParser parser = new DRLParser(tokens);
+ parser.setTreeAdaptor(new DroolsTreeAdaptor());
+ /** Use Reflection to get rule method from parser */
+ Method ruleName = Class.forName("org.drools.lang.DRLParser").getMethod(testRuleName);
+
+ /** Start of I/O Redirecting */
+ PipedInputStream pipedIn = new PipedInputStream();
+ PipedOutputStream pipedOut = new PipedOutputStream();
+ PipedInputStream pipedErrIn = new PipedInputStream();
+ PipedOutputStream pipedErrOut = new PipedOutputStream();
+ try {
+ pipedOut.connect(pipedIn);
+ pipedErrOut.connect(pipedErrIn);
+ }
+ catch(IOException e) {
+ System.err.println("connection failed...");
+ System.exit(1);
+ }
+ PrintStream console = System.out;
+ PrintStream consoleErr = System.err;
+ PrintStream ps = new PrintStream(pipedOut);
+ PrintStream ps2 = new PrintStream(pipedErrOut);
+ System.setOut(ps);
+ System.setErr(ps2);
+ /** End of redirecting */
+
+ /** Invoke grammar rule, and get the return value */
+ Object ruleReturn = ruleName.invoke(parser);
+
+ Class _return = Class.forName("org.drools.lang.DRLParser"+"$"+testRuleName+"_return");
+ Method returnName = _return.getMethod("getTree");
+ CommonTree tree = (CommonTree) returnName.invoke(ruleReturn);
+
+ // Walk resulting tree; create tree nodes stream first
+ CommonTreeNodeStream nodes = new CommonTreeNodeStream(tree);
+ // AST nodes have payload that point into token stream
+ nodes.setTokenStream(tokens);
+ // Create a tree walker attached to the nodes stream
+ Tree2TestDRL treeParser = new Tree2TestDRL(nodes);
+ /** Invoke the tree rule, and store the return value if there is */
+ Method treeRuleName = Class.forName("org.drools.lang.Tree2TestDRL").getMethod(testTreeRuleName);
+ Object treeRuleReturn = treeRuleName.invoke(treeParser);
+
+ String astString = null;
+ /** If tree rule has return value, determine if it's an AST */
+ if ( treeRuleReturn!=null ) {
+ /** If return object is instanceof AST, get the toStringTree */
+ if ( treeRuleReturn.toString().indexOf(testTreeRuleName+"_return")>0 ) {
+ try { // NullPointerException may happen here...
+ Class _treeReturn = Class.forName("org.drools.lang.Tree2TestDRL"+"$"+testTreeRuleName+"_return");
+ Method[] methods = _treeReturn.getDeclaredMethods();
+ for(Method method : methods) {
+ if ( method.getName().equals("getTree") ) {
+ Method treeReturnName = _treeReturn.getMethod("getTree");
+ CommonTree returnTree = (CommonTree) treeReturnName.invoke(treeRuleReturn);
+ astString = returnTree.toStringTree();
+ }
+ }
+ }
+ catch(Exception e) {
+ System.err.println(e);
+ }
+ }
+ }
+
+ org.antlr.gunit.gUnitExecuter.StreamVacuum stdoutVacuum = new org.antlr.gunit.gUnitExecuter.StreamVacuum(pipedIn);
+ org.antlr.gunit.gUnitExecuter.StreamVacuum stderrVacuum = new org.antlr.gunit.gUnitExecuter.StreamVacuum(pipedErrIn);
+ ps.close();
+ ps2.close();
+ System.setOut(console); // Reset standard output
+ System.setErr(consoleErr); // Reset standard err out
+ this.stdout = null;
+ this.stderr = null;
+ stdoutVacuum.start();
+ stderrVacuum.start();
+ stdoutVacuum.join();
+ stderrVacuum.join();
+ // retVal could be actual return object from rule, stderr or stdout
+ if ( stderrVacuum.toString().length()>0 ) {
+ this.stderr = stderrVacuum.toString();
+ return this.stderr;
+ }
+ if ( parser.hasErrors() ) {
+ this.stderr = parser.getErrors().toString();
+ return this.stderr;
+ }
+ if ( stdoutVacuum.toString().length()>0 ) {
+ this.stdout = stdoutVacuum.toString();
+ }
+ if ( astString!=null ) { // Return toStringTree of AST
+ return astString;
+ }
+ if ( treeRuleReturn!=null ) {
+ return treeRuleReturn;
+ }
+ if ( stderrVacuum.toString().length()==0 && stdoutVacuum.toString().length()==0 ) {
+ return null;
+ }
+ } catch (ClassNotFoundException e) {
+ e.printStackTrace(); System.exit(1);
+ } catch (SecurityException e) {
+ e.printStackTrace(); System.exit(1);
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace(); System.exit(1);
+ } catch (IllegalAccessException e) {
+ e.printStackTrace(); System.exit(1);
+ } catch (InvocationTargetException e) {
+// this.stderr = "error";
+ return e.getCause().toString();
+ } catch (InterruptedException e) {
+ e.printStackTrace(); System.exit(1);
+ } catch (Exception e) {
+ e.printStackTrace(); System.exit(1);
+ }
+ return stdout;
+ }
+
+ // Modify the return value if the expected token type is OK or FAIL
+ public Object examineParserExecResult(int tokenType, Object retVal) {
+ if ( tokenType==27 ) { // expected Token: OK
+ if ( this.stderr==null ) {
+ return "OK";
+ }
+ else {
+ return "FAIL";
+ }
+ }
+ else if ( tokenType==28 ) { // expected Token: FAIL
+ if ( this.stderr!=null ) {
+ return "FAIL";
+ }
+ else {
+ return "OK";
+ }
+ }
+ else { // return the same object for the other token types
+ return retVal;
+ }
+ }
+
}
\ No newline at end of file
Modified: labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/Tree2TestDRL.java
===================================================================
--- labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/Tree2TestDRL.java 2008-11-24 15:25:29 UTC (rev 24064)
+++ labs/jbossrules/branches/etirelli/drools-compiler/src/test/java/org/drools/lang/Tree2TestDRL.java 2008-11-24 15:31:25 UTC (rev 24065)
@@ -1,4 +1,4 @@
-// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g 2008-11-13 00:21:41
+// $ANTLR 3.1.1 /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g 2008-11-21 15:37:44
package org.drools.lang;
@@ -10,14 +10,14 @@
public class Tree2TestDRL extends TreeParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "VT_COMPILATION_UNIT", "VT_FUNCTION_IMPORT", "VT_FACT", "VT_CONSTRAINTS", "VT_LABEL", "VT_QUERY_ID", "VT_TEMPLATE_ID", "VT_TYPE_DECLARE_ID", "VT_RULE_ID", "VT_ENTRYPOINT_ID", "VT_SLOT_ID", "VT_SLOT", "VT_RULE_ATTRIBUTES", "VT_RHS_CHUNK", "VT_CURLY_CHUNK", "VT_SQUARE_CHUNK", "VT_PAREN_CHUNK", "VT_BEHAVIOR", "VT_AND_IMPLICIT", "VT_AND_PREFIX", "VT_OR_PREFIX", "VT_AND_INFIX", "VT_OR_INFIX", "VT_ACCUMULATE_INIT_CLAUSE", "VT_ACCUMULATE_ID_CLAUSE", "VT_FROM_SOURCE", "VT_EXPRESSION_CHAIN", "VT_PATTERN", "VT_FACT_BINDING", "VT_FACT_OR", "VT_BIND_FIELD", "VT_FIELD", "VT_ACCESSOR_PATH", "VT_ACCESSOR_ELEMENT", "VT_DATA_TYPE", "VT_PATTERN_TYPE", "VT_PACKAGE_ID", "VT_IMPORT_ID", "VT_GLOBAL_ID", "VT_FUNCTION_ID", "VT_PARAM_LIST", "VK_DATE_EFFECTIVE", "VK_DATE_EXPIRES", "VK_LOCK_ON_ACTIVE", "VK_NO_LOOP", "VK_AUTO_FOCUS", "VK_ACTIVATION_GROUP", "VK_AGENDA_GROUP", "VK_RULEFLOW_GROUP", "VK_DURATION", "VK_DIALECT", "VK_SALIENCE", "VK_ENABLED", "!
VK_ATTRIBUTES", "VK_RULE", "VK_EXTEND", "VK_IMPORT", "VK_PACKAGE", "VK_TEMPLATE", "VK_QUERY", "VK_DECLARE", "VK_FUNCTION", "VK_GLOBAL", "VK_EVAL", "VK_CONTAINS", "VK_MATCHES", "VK_EXCLUDES", "VK_SOUNDSLIKE", "VK_MEMBEROF", "VK_ENTRY_POINT", "VK_NOT", "VK_IN", "VK_OR", "VK_AND", "VK_EXISTS", "VK_FORALL", "VK_ACTION", "VK_REVERSE", "VK_RESULT", "VK_OPERATOR", "SEMICOLON", "ID", "DOT", "DOT_STAR", "END", "STRING", "LEFT_PAREN", "COMMA", "RIGHT_PAREN", "AT", "COLON", "EQUALS", "WHEN", "BOOL", "INT", "DOUBLE_PIPE", "DOUBLE_AMPER", "FROM", "OVER", "ACCUMULATE", "INIT", "COLLECT", "ARROW", "EQUAL", "GREATER", "GREATER_EQUAL", "LESS", "LESS_EQUAL", "NOT_EQUAL", "FLOAT", "NULL", "LEFT_SQUARE", "RIGHT_SQUARE", "THEN", "LEFT_CURLY", "RIGHT_CURLY", "MISC", "EOL", "WS", "EscapeSequence", "HexDigit", "UnicodeEscape", "OctalEscape", "GRAVE_ACCENT", "TILDE", "SH_STYLE_SINGLE_LINE_COMMENT", "C_STYLE_SINGLE_LINE_COMMENT", "MULTI_LINE_COMMENT"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "VT_COMPILATION_UNIT", "VT_FUNCTION_IMPORT", "VT_FACT", "VT_CONSTRAINTS", "VT_LABEL", "VT_QUERY_ID", "VT_TEMPLATE_ID", "VT_TYPE_DECLARE_ID", "VT_RULE_ID", "VT_ENTRYPOINT_ID", "VT_SLOT_ID", "VT_SLOT", "VT_RULE_ATTRIBUTES", "VT_RHS_CHUNK", "VT_CURLY_CHUNK", "VT_SQUARE_CHUNK", "VT_PAREN_CHUNK", "VT_BEHAVIOR", "VT_AND_IMPLICIT", "VT_AND_PREFIX", "VT_OR_PREFIX", "VT_AND_INFIX", "VT_OR_INFIX", "VT_ACCUMULATE_INIT_CLAUSE", "VT_ACCUMULATE_ID_CLAUSE", "VT_FROM_SOURCE", "VT_EXPRESSION_CHAIN", "VT_PATTERN", "VT_FACT_BINDING", "VT_FACT_OR", "VT_BIND_FIELD", "VT_FIELD", "VT_ACCESSOR_PATH", "VT_ACCESSOR_ELEMENT", "VT_DATA_TYPE", "VT_PATTERN_TYPE", "VT_PACKAGE_ID", "VT_IMPORT_ID", "VT_GLOBAL_ID", "VT_FUNCTION_ID", "VT_PARAM_LIST", "VK_DATE_EFFECTIVE", "VK_DATE_EXPIRES", "VK_LOCK_ON_ACTIVE", "VK_NO_LOOP", "VK_AUTO_FOCUS", "VK_ACTIVATION_GROUP", "VK_AGENDA_GROUP", "VK_RULEFLOW_GROUP", "VK_DURATION", "VK_DIALECT", "VK_SALIENCE", "VK_ENABLED", "!
VK_ATTRIBUTES", "VK_RULE", "VK_EXTEND", "VK_IMPORT", "VK_PACKAGE", "VK_TEMPLATE", "VK_QUERY", "VK_DECLARE", "VK_FUNCTION", "VK_GLOBAL", "VK_EVAL", "VK_CONTAINS", "VK_MATCHES", "VK_EXCLUDES", "VK_SOUNDSLIKE", "VK_MEMBEROF", "VK_ENTRY_POINT", "VK_NOT", "VK_IN", "VK_OR", "VK_AND", "VK_EXISTS", "VK_FORALL", "VK_ACTION", "VK_REVERSE", "VK_RESULT", "SEMICOLON", "ID", "DOT", "DOT_STAR", "END", "STRING", "LEFT_PAREN", "COMMA", "RIGHT_PAREN", "AT", "COLON", "EQUALS", "WHEN", "BOOL", "INT", "DOUBLE_PIPE", "DOUBLE_AMPER", "FROM", "OVER", "ACCUMULATE", "INIT", "COLLECT", "ARROW", "EQUAL", "GREATER", "GREATER_EQUAL", "LESS", "LESS_EQUAL", "NOT_EQUAL", "GRAVE_ACCENT", "FLOAT", "NULL", "LEFT_SQUARE", "RIGHT_SQUARE", "THEN", "LEFT_CURLY", "RIGHT_CURLY", "MISC", "EOL", "WS", "EscapeSequence", "HexDigit", "UnicodeEscape", "OctalEscape", "SH_STYLE_SINGLE_LINE_COMMENT", "C_STYLE_SINGLE_LINE_COMMENT", "MULTI_LINE_COMMENT"
};
- public static final int COMMA=91;
+ public static final int COMMA=90;
public static final int VT_PATTERN_TYPE=39;
public static final int VT_ACCUMULATE_ID_CLAUSE=28;
public static final int VK_DIALECT=54;
public static final int VK_FUNCTION=65;
- public static final int END=88;
+ public static final int END=87;
public static final int HexDigit=124;
public static final int VK_ATTRIBUTES=57;
public static final int VT_EXPRESSION_CHAIN=30;
@@ -26,93 +26,91 @@
public static final int VK_QUERY=63;
public static final int THEN=117;
public static final int VK_AUTO_FOCUS=49;
- public static final int TILDE=128;
- public static final int DOT=86;
+ public static final int DOT=85;
public static final int VK_IMPORT=60;
public static final int VT_SLOT=15;
public static final int VT_PACKAGE_ID=40;
public static final int LEFT_SQUARE=115;
- public static final int SH_STYLE_SINGLE_LINE_COMMENT=129;
+ public static final int SH_STYLE_SINGLE_LINE_COMMENT=127;
public static final int VT_DATA_TYPE=38;
public static final int VK_MATCHES=69;
public static final int VT_FACT=6;
public static final int LEFT_CURLY=118;
- public static final int AT=93;
- public static final int LEFT_PAREN=90;
- public static final int DOUBLE_AMPER=100;
+ public static final int AT=92;
+ public static final int LEFT_PAREN=89;
+ public static final int DOUBLE_AMPER=99;
public static final int VT_QUERY_ID=9;
public static final int VT_ACCESSOR_PATH=36;
public static final int VT_LABEL=8;
- public static final int WHEN=96;
+ public static final int WHEN=95;
public static final int VT_ENTRYPOINT_ID=13;
public static final int VK_SOUNDSLIKE=71;
public static final int VK_SALIENCE=55;
public static final int VT_FIELD=35;
public static final int WS=122;
- public static final int OVER=102;
- public static final int STRING=89;
+ public static final int OVER=101;
+ public static final int STRING=88;
public static final int VK_AND=77;
public static final int VT_ACCESSOR_ELEMENT=37;
public static final int VT_ACCUMULATE_INIT_CLAUSE=27;
public static final int VK_GLOBAL=66;
public static final int VK_REVERSE=81;
public static final int VT_BEHAVIOR=21;
- public static final int GRAVE_ACCENT=127;
+ public static final int GRAVE_ACCENT=112;
public static final int VK_DURATION=53;
public static final int VT_SQUARE_CHUNK=19;
public static final int VK_FORALL=79;
public static final int VT_PAREN_CHUNK=20;
public static final int VT_COMPILATION_UNIT=4;
- public static final int COLLECT=105;
+ public static final int COLLECT=104;
public static final int VK_ENABLED=56;
- public static final int EQUALS=95;
+ public static final int EQUALS=94;
public static final int VK_RESULT=82;
public static final int UnicodeEscape=125;
public static final int VK_PACKAGE=61;
public static final int VT_RULE_ID=12;
- public static final int EQUAL=107;
+ public static final int EQUAL=106;
public static final int VK_NO_LOOP=48;
- public static final int SEMICOLON=84;
+ public static final int SEMICOLON=83;
public static final int VK_TEMPLATE=62;
public static final int VT_AND_IMPLICIT=22;
public static final int NULL=114;
- public static final int COLON=94;
- public static final int MULTI_LINE_COMMENT=131;
+ public static final int COLON=93;
+ public static final int MULTI_LINE_COMMENT=129;
public static final int VT_RULE_ATTRIBUTES=16;
public static final int RIGHT_SQUARE=116;
public static final int VK_AGENDA_GROUP=51;
public static final int VT_FACT_OR=33;
public static final int VK_NOT=74;
public static final int VK_DATE_EXPIRES=46;
- public static final int ARROW=106;
+ public static final int ARROW=105;
public static final int FLOAT=113;
- public static final int INIT=104;
+ public static final int INIT=103;
public static final int VK_EXTEND=59;
public static final int VT_SLOT_ID=14;
public static final int VT_CURLY_CHUNK=18;
public static final int VT_OR_PREFIX=24;
- public static final int DOUBLE_PIPE=99;
- public static final int LESS=110;
+ public static final int DOUBLE_PIPE=98;
+ public static final int LESS=109;
public static final int VT_TYPE_DECLARE_ID=11;
public static final int VT_PATTERN=31;
public static final int VK_DATE_EFFECTIVE=45;
public static final int EscapeSequence=123;
public static final int VK_EXISTS=78;
- public static final int INT=98;
+ public static final int INT=97;
public static final int VT_BIND_FIELD=34;
public static final int VK_RULE=58;
public static final int VK_EVAL=67;
- public static final int GREATER=108;
+ public static final int GREATER=107;
public static final int VT_FACT_BINDING=32;
- public static final int ID=85;
- public static final int FROM=101;
- public static final int NOT_EQUAL=112;
+ public static final int ID=84;
+ public static final int FROM=100;
+ public static final int NOT_EQUAL=111;
public static final int RIGHT_CURLY=119;
- public static final int VK_OPERATOR=83;
public static final int VK_ENTRY_POINT=73;
public static final int VT_PARAM_LIST=44;
public static final int VT_AND_INFIX=25;
- public static final int BOOL=97;
+ public static final int BOOL=96;
public static final int VT_FROM_SOURCE=29;
public static final int VK_CONTAINS=68;
public static final int VK_LOCK_ON_ACTIVE=47;
@@ -120,13 +118,13 @@
public static final int VK_IN=75;
public static final int VT_RHS_CHUNK=17;
public static final int VK_MEMBEROF=72;
- public static final int GREATER_EQUAL=109;
+ public static final int GREATER_EQUAL=108;
public static final int VT_OR_INFIX=26;
- public static final int DOT_STAR=87;
+ public static final int DOT_STAR=86;
public static final int VK_OR=76;
public static final int VT_GLOBAL_ID=42;
- public static final int LESS_EQUAL=111;
- public static final int ACCUMULATE=103;
+ public static final int LESS_EQUAL=110;
+ public static final int ACCUMULATE=102;
public static final int VK_RULEFLOW_GROUP=52;
public static final int VT_FUNCTION_ID=43;
public static final int EOF=-1;
@@ -137,10 +135,10 @@
public static final int OctalEscape=126;
public static final int VK_ACTION=80;
public static final int VK_EXCLUDES=70;
- public static final int RIGHT_PAREN=92;
+ public static final int RIGHT_PAREN=91;
public static final int VT_TEMPLATE_ID=10;
public static final int VK_DECLARE=64;
- public static final int C_STYLE_SINGLE_LINE_COMMENT=130;
+ public static final int C_STYLE_SINGLE_LINE_COMMENT=128;
// delegates
// delegators
@@ -156,22 +154,22 @@
public String[] getTokenNames() { return Tree2TestDRL.tokenNames; }
- public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g"; }
+ public String getGrammarFileName() { return "/Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g"; }
// $ANTLR start "compilation_unit"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:13:1: compilation_unit : ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:13:1: compilation_unit : ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* ) ;
public final void compilation_unit() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:14:2: ( ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:14:4: ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:14:2: ( ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:14:4: ^( VT_COMPILATION_UNIT ( package_statement )? ( statement )* )
{
match(input,VT_COMPILATION_UNIT,FOLLOW_VT_COMPILATION_UNIT_in_compilation_unit43);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:14:26: ( package_statement )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:14:26: ( package_statement )?
int alt1=2;
int LA1_0 = input.LA(1);
@@ -180,7 +178,7 @@
}
switch (alt1) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:14:26: package_statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:14:26: package_statement
{
pushFollow(FOLLOW_package_statement_in_compilation_unit45);
package_statement();
@@ -193,7 +191,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:14:45: ( statement )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:14:45: ( statement )*
loop2:
do {
int alt2=2;
@@ -206,7 +204,7 @@
switch (alt2) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:14:45: statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:14:45: statement
{
pushFollow(FOLLOW_statement_in_compilation_unit48);
statement();
@@ -241,11 +239,11 @@
// $ANTLR start "package_statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:17:1: package_statement : ^( VK_PACKAGE package_id ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:17:1: package_statement : ^( VK_PACKAGE package_id ) ;
public final void package_statement() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:18:2: ( ^( VK_PACKAGE package_id ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:18:4: ^( VK_PACKAGE package_id )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:18:2: ( ^( VK_PACKAGE package_id ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:18:4: ^( VK_PACKAGE package_id )
{
match(input,VK_PACKAGE,FOLLOW_VK_PACKAGE_in_package_statement63);
@@ -273,16 +271,16 @@
// $ANTLR start "package_id"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:21:1: package_id : ^( VT_PACKAGE_ID ( ID )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:21:1: package_id : ^( VT_PACKAGE_ID ( ID )+ ) ;
public final void package_id() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:22:2: ( ^( VT_PACKAGE_ID ( ID )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:22:4: ^( VT_PACKAGE_ID ( ID )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:22:2: ( ^( VT_PACKAGE_ID ( ID )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:22:4: ^( VT_PACKAGE_ID ( ID )+ )
{
match(input,VT_PACKAGE_ID,FOLLOW_VT_PACKAGE_ID_in_package_id78);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:22:20: ( ID )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:22:20: ( ID )+
int cnt3=0;
loop3:
do {
@@ -296,7 +294,7 @@
switch (alt3) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:22:20: ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:22:20: ID
{
match(input,ID,FOLLOW_ID_in_package_id80);
@@ -330,10 +328,10 @@
// $ANTLR start "statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:25:1: statement : ( rule_attribute | function_import_statement | import_statement | global | function | template | rule | query | type_declaration );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:25:1: statement : ( rule_attribute | function_import_statement | import_statement | global | function | template | rule | query | type_declaration );
public final void statement() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:26:2: ( rule_attribute | function_import_statement | import_statement | global | function | template | rule | query | type_declaration )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:26:2: ( rule_attribute | function_import_statement | import_statement | global | function | template | rule | query | type_declaration )
int alt4=9;
switch ( input.LA(1) ) {
case VK_DATE_EFFECTIVE:
@@ -401,7 +399,7 @@
switch (alt4) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:26:4: rule_attribute
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:26:4: rule_attribute
{
pushFollow(FOLLOW_rule_attribute_in_statement93);
rule_attribute();
@@ -412,7 +410,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:27:4: function_import_statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:27:4: function_import_statement
{
pushFollow(FOLLOW_function_import_statement_in_statement98);
function_import_statement();
@@ -423,7 +421,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:28:4: import_statement
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:28:4: import_statement
{
pushFollow(FOLLOW_import_statement_in_statement104);
import_statement();
@@ -434,7 +432,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:29:4: global
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:29:4: global
{
pushFollow(FOLLOW_global_in_statement110);
global();
@@ -445,7 +443,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:30:4: function
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:30:4: function
{
pushFollow(FOLLOW_function_in_statement116);
function();
@@ -456,7 +454,7 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:31:4: template
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:31:4: template
{
pushFollow(FOLLOW_template_in_statement121);
template();
@@ -467,7 +465,7 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:32:4: rule
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:32:4: rule
{
pushFollow(FOLLOW_rule_in_statement126);
rule();
@@ -478,7 +476,7 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:33:4: query
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:33:4: query
{
pushFollow(FOLLOW_query_in_statement131);
query();
@@ -489,7 +487,7 @@
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:34:4: type_declaration
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:34:4: type_declaration
{
pushFollow(FOLLOW_type_declaration_in_statement136);
type_declaration();
@@ -514,11 +512,11 @@
// $ANTLR start "import_statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:37:1: import_statement : ^( VK_IMPORT import_name ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:37:1: import_statement : ^( VK_IMPORT import_name ) ;
public final void import_statement() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:38:2: ( ^( VK_IMPORT import_name ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:38:4: ^( VK_IMPORT import_name )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:38:2: ( ^( VK_IMPORT import_name ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:38:4: ^( VK_IMPORT import_name )
{
match(input,VK_IMPORT,FOLLOW_VK_IMPORT_in_import_statement148);
@@ -546,11 +544,11 @@
// $ANTLR start "function_import_statement"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:41:1: function_import_statement : ^( VT_FUNCTION_IMPORT VK_FUNCTION import_name ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:41:1: function_import_statement : ^( VT_FUNCTION_IMPORT VK_FUNCTION import_name ) ;
public final void function_import_statement() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:42:2: ( ^( VT_FUNCTION_IMPORT VK_FUNCTION import_name ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:42:4: ^( VT_FUNCTION_IMPORT VK_FUNCTION import_name )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:42:2: ( ^( VT_FUNCTION_IMPORT VK_FUNCTION import_name ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:42:4: ^( VT_FUNCTION_IMPORT VK_FUNCTION import_name )
{
match(input,VT_FUNCTION_IMPORT,FOLLOW_VT_FUNCTION_IMPORT_in_function_import_statement163);
@@ -579,16 +577,16 @@
// $ANTLR start "import_name"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:45:1: import_name : ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:45:1: import_name : ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? ) ;
public final void import_name() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:46:2: ( ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:46:4: ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:46:2: ( ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:46:4: ^( VT_IMPORT_ID ( ID )+ ( DOT_STAR )? )
{
match(input,VT_IMPORT_ID,FOLLOW_VT_IMPORT_ID_in_import_name180);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:46:19: ( ID )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:46:19: ( ID )+
int cnt5=0;
loop5:
do {
@@ -602,7 +600,7 @@
switch (alt5) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:46:19: ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:46:19: ID
{
match(input,ID,FOLLOW_ID_in_import_name182);
@@ -618,7 +616,7 @@
cnt5++;
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:46:23: ( DOT_STAR )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:46:23: ( DOT_STAR )?
int alt6=2;
int LA6_0 = input.LA(1);
@@ -627,7 +625,7 @@
}
switch (alt6) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:46:23: DOT_STAR
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:46:23: DOT_STAR
{
match(input,DOT_STAR,FOLLOW_DOT_STAR_in_import_name185);
@@ -654,11 +652,11 @@
// $ANTLR start "global"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:49:1: global : ^( VK_GLOBAL data_type VT_GLOBAL_ID ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:49:1: global : ^( VK_GLOBAL data_type VT_GLOBAL_ID ) ;
public final void global() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:50:2: ( ^( VK_GLOBAL data_type VT_GLOBAL_ID ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:50:4: ^( VK_GLOBAL data_type VT_GLOBAL_ID )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:50:2: ( ^( VK_GLOBAL data_type VT_GLOBAL_ID ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:50:4: ^( VK_GLOBAL data_type VT_GLOBAL_ID )
{
match(input,VK_GLOBAL,FOLLOW_VK_GLOBAL_in_global199);
@@ -687,16 +685,16 @@
// $ANTLR start "function"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:53:1: function : ^( VK_FUNCTION ( data_type )? VT_FUNCTION_ID parameters curly_chunk ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:53:1: function : ^( VK_FUNCTION ( data_type )? VT_FUNCTION_ID parameters curly_chunk ) ;
public final void function() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:54:2: ( ^( VK_FUNCTION ( data_type )? VT_FUNCTION_ID parameters curly_chunk ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:54:4: ^( VK_FUNCTION ( data_type )? VT_FUNCTION_ID parameters curly_chunk )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:54:2: ( ^( VK_FUNCTION ( data_type )? VT_FUNCTION_ID parameters curly_chunk ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:54:4: ^( VK_FUNCTION ( data_type )? VT_FUNCTION_ID parameters curly_chunk )
{
match(input,VK_FUNCTION,FOLLOW_VK_FUNCTION_in_function216);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:54:18: ( data_type )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:54:18: ( data_type )?
int alt7=2;
int LA7_0 = input.LA(1);
@@ -705,7 +703,7 @@
}
switch (alt7) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:54:18: data_type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:54:18: data_type
{
pushFollow(FOLLOW_data_type_in_function218);
data_type();
@@ -747,17 +745,17 @@
// $ANTLR start "query"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:57:1: query : ^( VK_QUERY VT_QUERY_ID ( parameters )? lhs_block END ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:57:1: query : ^( VK_QUERY VT_QUERY_ID ( parameters )? lhs_block END ) ;
public final void query() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:58:2: ( ^( VK_QUERY VT_QUERY_ID ( parameters )? lhs_block END ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:58:4: ^( VK_QUERY VT_QUERY_ID ( parameters )? lhs_block END )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:58:2: ( ^( VK_QUERY VT_QUERY_ID ( parameters )? lhs_block END ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:58:4: ^( VK_QUERY VT_QUERY_ID ( parameters )? lhs_block END )
{
match(input,VK_QUERY,FOLLOW_VK_QUERY_in_query238);
match(input, Token.DOWN, null);
match(input,VT_QUERY_ID,FOLLOW_VT_QUERY_ID_in_query240);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:58:27: ( parameters )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:58:27: ( parameters )?
int alt8=2;
int LA8_0 = input.LA(1);
@@ -766,7 +764,7 @@
}
switch (alt8) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:58:27: parameters
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:58:27: parameters
{
pushFollow(FOLLOW_parameters_in_query242);
parameters();
@@ -803,17 +801,17 @@
// $ANTLR start "parameters"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:61:1: parameters : ^( VT_PARAM_LIST ( param_definition )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:61:1: parameters : ^( VT_PARAM_LIST ( param_definition )* ) ;
public final void parameters() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:62:2: ( ^( VT_PARAM_LIST ( param_definition )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:62:4: ^( VT_PARAM_LIST ( param_definition )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:62:2: ( ^( VT_PARAM_LIST ( param_definition )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:62:4: ^( VT_PARAM_LIST ( param_definition )* )
{
match(input,VT_PARAM_LIST,FOLLOW_VT_PARAM_LIST_in_parameters260);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:62:20: ( param_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:62:20: ( param_definition )*
loop9:
do {
int alt9=2;
@@ -826,7 +824,7 @@
switch (alt9) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:62:20: param_definition
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:62:20: param_definition
{
pushFollow(FOLLOW_param_definition_in_parameters262);
param_definition();
@@ -861,13 +859,13 @@
// $ANTLR start "param_definition"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:65:1: param_definition : ( data_type )? argument ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:65:1: param_definition : ( data_type )? argument ;
public final void param_definition() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:66:2: ( ( data_type )? argument )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:66:4: ( data_type )? argument
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:66:2: ( ( data_type )? argument )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:66:4: ( data_type )? argument
{
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:66:4: ( data_type )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:66:4: ( data_type )?
int alt10=2;
int LA10_0 = input.LA(1);
@@ -876,7 +874,7 @@
}
switch (alt10) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:66:4: data_type
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:66:4: data_type
{
pushFollow(FOLLOW_data_type_in_param_definition275);
data_type();
@@ -910,14 +908,14 @@
// $ANTLR start "argument"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:69:1: argument : ID ( dimension_definition )* ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:69:1: argument : ID ( dimension_definition )* ;
public final void argument() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:70:2: ( ID ( dimension_definition )* )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:70:4: ID ( dimension_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:70:2: ( ID ( dimension_definition )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:70:4: ID ( dimension_definition )*
{
match(input,ID,FOLLOW_ID_in_argument289);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:70:7: ( dimension_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:70:7: ( dimension_definition )*
loop11:
do {
int alt11=2;
@@ -930,7 +928,7 @@
switch (alt11) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:70:7: dimension_definition
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:70:7: dimension_definition
{
pushFollow(FOLLOW_dimension_definition_in_argument291);
dimension_definition();
@@ -962,17 +960,17 @@
// $ANTLR start "type_declaration"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:73:1: type_declaration : ^( VK_DECLARE VT_TYPE_DECLARE_ID ( decl_metadata )* ( decl_field )* END ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:73:1: type_declaration : ^( VK_DECLARE VT_TYPE_DECLARE_ID ( decl_metadata )* ( decl_field )* END ) ;
public final void type_declaration() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:74:2: ( ^( VK_DECLARE VT_TYPE_DECLARE_ID ( decl_metadata )* ( decl_field )* END ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:74:4: ^( VK_DECLARE VT_TYPE_DECLARE_ID ( decl_metadata )* ( decl_field )* END )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:74:2: ( ^( VK_DECLARE VT_TYPE_DECLARE_ID ( decl_metadata )* ( decl_field )* END ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:74:4: ^( VK_DECLARE VT_TYPE_DECLARE_ID ( decl_metadata )* ( decl_field )* END )
{
match(input,VK_DECLARE,FOLLOW_VK_DECLARE_in_type_declaration304);
match(input, Token.DOWN, null);
match(input,VT_TYPE_DECLARE_ID,FOLLOW_VT_TYPE_DECLARE_ID_in_type_declaration306);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:74:36: ( decl_metadata )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:74:36: ( decl_metadata )*
loop12:
do {
int alt12=2;
@@ -985,7 +983,7 @@
switch (alt12) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:74:36: decl_metadata
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:74:36: decl_metadata
{
pushFollow(FOLLOW_decl_metadata_in_type_declaration308);
decl_metadata();
@@ -1001,7 +999,7 @@
}
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:74:51: ( decl_field )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:74:51: ( decl_field )*
loop13:
do {
int alt13=2;
@@ -1014,7 +1012,7 @@
switch (alt13) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:74:51: decl_field
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:74:51: decl_field
{
pushFollow(FOLLOW_decl_field_in_type_declaration311);
decl_field();
@@ -1049,11 +1047,11 @@
// $ANTLR start "decl_metadata"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:77:1: decl_metadata : ^( AT ID VT_PAREN_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:77:1: decl_metadata : ^( AT ID VT_PAREN_CHUNK ) ;
public final void decl_metadata() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:78:2: ( ^( AT ID VT_PAREN_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:78:4: ^( AT ID VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:78:2: ( ^( AT ID VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:78:4: ^( AT ID VT_PAREN_CHUNK )
{
match(input,AT,FOLLOW_AT_in_decl_metadata327);
@@ -1078,16 +1076,16 @@
// $ANTLR start "decl_field"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:81:1: decl_field : ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:81:1: decl_field : ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* ) ;
public final void decl_field() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:82:2: ( ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:82:4: ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:82:2: ( ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:82:4: ^( ID ( decl_field_initialization )? data_type ( decl_metadata )* )
{
match(input,ID,FOLLOW_ID_in_decl_field344);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:82:9: ( decl_field_initialization )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:82:9: ( decl_field_initialization )?
int alt14=2;
int LA14_0 = input.LA(1);
@@ -1096,7 +1094,7 @@
}
switch (alt14) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:82:9: decl_field_initialization
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:82:9: decl_field_initialization
{
pushFollow(FOLLOW_decl_field_initialization_in_decl_field346);
decl_field_initialization();
@@ -1114,7 +1112,7 @@
state._fsp--;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:82:46: ( decl_metadata )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:82:46: ( decl_metadata )*
loop15:
do {
int alt15=2;
@@ -1127,7 +1125,7 @@
switch (alt15) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:82:46: decl_metadata
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:82:46: decl_metadata
{
pushFollow(FOLLOW_decl_metadata_in_decl_field351);
decl_metadata();
@@ -1161,11 +1159,11 @@
// $ANTLR start "decl_field_initialization"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:85:1: decl_field_initialization : ^( EQUALS VT_PAREN_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:85:1: decl_field_initialization : ^( EQUALS VT_PAREN_CHUNK ) ;
public final void decl_field_initialization() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:86:2: ( ^( EQUALS VT_PAREN_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:86:4: ^( EQUALS VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:86:2: ( ^( EQUALS VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:86:4: ^( EQUALS VT_PAREN_CHUNK )
{
match(input,EQUALS,FOLLOW_EQUALS_in_decl_field_initialization365);
@@ -1189,17 +1187,17 @@
// $ANTLR start "template"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:89:1: template : ^( VK_TEMPLATE VT_TEMPLATE_ID ( template_slot )+ END ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:89:1: template : ^( VK_TEMPLATE VT_TEMPLATE_ID ( template_slot )+ END ) ;
public final void template() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:90:2: ( ^( VK_TEMPLATE VT_TEMPLATE_ID ( template_slot )+ END ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:90:4: ^( VK_TEMPLATE VT_TEMPLATE_ID ( template_slot )+ END )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:90:2: ( ^( VK_TEMPLATE VT_TEMPLATE_ID ( template_slot )+ END ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:90:4: ^( VK_TEMPLATE VT_TEMPLATE_ID ( template_slot )+ END )
{
match(input,VK_TEMPLATE,FOLLOW_VK_TEMPLATE_in_template380);
match(input, Token.DOWN, null);
match(input,VT_TEMPLATE_ID,FOLLOW_VT_TEMPLATE_ID_in_template382);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:90:33: ( template_slot )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:90:33: ( template_slot )+
int cnt16=0;
loop16:
do {
@@ -1213,7 +1211,7 @@
switch (alt16) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:90:33: template_slot
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:90:33: template_slot
{
pushFollow(FOLLOW_template_slot_in_template384);
template_slot();
@@ -1252,11 +1250,11 @@
// $ANTLR start "template_slot"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:93:1: template_slot : ^( VT_SLOT data_type VT_SLOT_ID ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:93:1: template_slot : ^( VT_SLOT data_type VT_SLOT_ID ) ;
public final void template_slot() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:94:2: ( ^( VT_SLOT data_type VT_SLOT_ID ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:94:4: ^( VT_SLOT data_type VT_SLOT_ID )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:94:2: ( ^( VT_SLOT data_type VT_SLOT_ID ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:94:4: ^( VT_SLOT data_type VT_SLOT_ID )
{
match(input,VT_SLOT,FOLLOW_VT_SLOT_in_template_slot400);
@@ -1285,17 +1283,17 @@
// $ANTLR start "rule"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:97:1: rule : ^( VK_RULE VT_RULE_ID ( rule_attributes )? ( when_part )? VT_RHS_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:97:1: rule : ^( VK_RULE VT_RULE_ID ( rule_attributes )? ( when_part )? VT_RHS_CHUNK ) ;
public final void rule() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:98:2: ( ^( VK_RULE VT_RULE_ID ( rule_attributes )? ( when_part )? VT_RHS_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:98:4: ^( VK_RULE VT_RULE_ID ( rule_attributes )? ( when_part )? VT_RHS_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:98:2: ( ^( VK_RULE VT_RULE_ID ( rule_attributes )? ( when_part )? VT_RHS_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:98:4: ^( VK_RULE VT_RULE_ID ( rule_attributes )? ( when_part )? VT_RHS_CHUNK )
{
match(input,VK_RULE,FOLLOW_VK_RULE_in_rule417);
match(input, Token.DOWN, null);
match(input,VT_RULE_ID,FOLLOW_VT_RULE_ID_in_rule419);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:98:25: ( rule_attributes )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:98:25: ( rule_attributes )?
int alt17=2;
int LA17_0 = input.LA(1);
@@ -1304,7 +1302,7 @@
}
switch (alt17) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:98:25: rule_attributes
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:98:25: rule_attributes
{
pushFollow(FOLLOW_rule_attributes_in_rule421);
rule_attributes();
@@ -1317,7 +1315,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:98:42: ( when_part )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:98:42: ( when_part )?
int alt18=2;
int LA18_0 = input.LA(1);
@@ -1326,7 +1324,7 @@
}
switch (alt18) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:98:42: when_part
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:98:42: when_part
{
pushFollow(FOLLOW_when_part_in_rule424);
when_part();
@@ -1358,11 +1356,11 @@
// $ANTLR start "when_part"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:101:1: when_part : WHEN lhs_block ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:101:1: when_part : WHEN lhs_block ;
public final void when_part() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:102:2: ( WHEN lhs_block )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:102:4: WHEN lhs_block
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:102:2: ( WHEN lhs_block )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:102:4: WHEN lhs_block
{
match(input,WHEN,FOLLOW_WHEN_in_when_part439);
pushFollow(FOLLOW_lhs_block_in_when_part441);
@@ -1386,16 +1384,16 @@
// $ANTLR start "rule_attributes"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:105:1: rule_attributes : ^( VT_RULE_ATTRIBUTES ( VK_ATTRIBUTES )? ( rule_attribute )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:105:1: rule_attributes : ^( VT_RULE_ATTRIBUTES ( VK_ATTRIBUTES )? ( rule_attribute )+ ) ;
public final void rule_attributes() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:106:2: ( ^( VT_RULE_ATTRIBUTES ( VK_ATTRIBUTES )? ( rule_attribute )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:106:4: ^( VT_RULE_ATTRIBUTES ( VK_ATTRIBUTES )? ( rule_attribute )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:106:2: ( ^( VT_RULE_ATTRIBUTES ( VK_ATTRIBUTES )? ( rule_attribute )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:106:4: ^( VT_RULE_ATTRIBUTES ( VK_ATTRIBUTES )? ( rule_attribute )+ )
{
match(input,VT_RULE_ATTRIBUTES,FOLLOW_VT_RULE_ATTRIBUTES_in_rule_attributes453);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:106:25: ( VK_ATTRIBUTES )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:106:25: ( VK_ATTRIBUTES )?
int alt19=2;
int LA19_0 = input.LA(1);
@@ -1404,7 +1402,7 @@
}
switch (alt19) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:106:25: VK_ATTRIBUTES
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:106:25: VK_ATTRIBUTES
{
match(input,VK_ATTRIBUTES,FOLLOW_VK_ATTRIBUTES_in_rule_attributes455);
@@ -1413,7 +1411,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:106:40: ( rule_attribute )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:106:40: ( rule_attribute )+
int cnt20=0;
loop20:
do {
@@ -1427,7 +1425,7 @@
switch (alt20) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:106:40: rule_attribute
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:106:40: rule_attribute
{
pushFollow(FOLLOW_rule_attribute_in_rule_attributes458);
rule_attribute();
@@ -1465,10 +1463,10 @@
// $ANTLR start "rule_attribute"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:109:1: rule_attribute : ( ^( VK_SALIENCE ( INT | VT_PAREN_CHUNK ) ) | ^( VK_NO_LOOP ( BOOL )? ) | ^( VK_AGENDA_GROUP STRING ) | ^( VK_DURATION INT ) | ^( VK_ACTIVATION_GROUP STRING ) | ^( VK_AUTO_FOCUS ( BOOL )? ) | ^( VK_DATE_EFFECTIVE STRING ) | ^( VK_DATE_EXPIRES STRING ) | ^( VK_ENABLED BOOL ) | ^( VK_RULEFLOW_GROUP STRING ) | ^( VK_LOCK_ON_ACTIVE ( BOOL )? ) | ^( VK_DIALECT STRING ) );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:109:1: rule_attribute : ( ^( VK_SALIENCE ( INT | VT_PAREN_CHUNK ) ) | ^( VK_NO_LOOP ( BOOL )? ) | ^( VK_AGENDA_GROUP STRING ) | ^( VK_DURATION INT ) | ^( VK_ACTIVATION_GROUP STRING ) | ^( VK_AUTO_FOCUS ( BOOL )? ) | ^( VK_DATE_EFFECTIVE STRING ) | ^( VK_DATE_EXPIRES STRING ) | ^( VK_ENABLED BOOL ) | ^( VK_RULEFLOW_GROUP STRING ) | ^( VK_LOCK_ON_ACTIVE ( BOOL )? ) | ^( VK_DIALECT STRING ) );
public final void rule_attribute() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:110:2: ( ^( VK_SALIENCE ( INT | VT_PAREN_CHUNK ) ) | ^( VK_NO_LOOP ( BOOL )? ) | ^( VK_AGENDA_GROUP STRING ) | ^( VK_DURATION INT ) | ^( VK_ACTIVATION_GROUP STRING ) | ^( VK_AUTO_FOCUS ( BOOL )? ) | ^( VK_DATE_EFFECTIVE STRING ) | ^( VK_DATE_EXPIRES STRING ) | ^( VK_ENABLED BOOL ) | ^( VK_RULEFLOW_GROUP STRING ) | ^( VK_LOCK_ON_ACTIVE ( BOOL )? ) | ^( VK_DIALECT STRING ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:110:2: ( ^( VK_SALIENCE ( INT | VT_PAREN_CHUNK ) ) | ^( VK_NO_LOOP ( BOOL )? ) | ^( VK_AGENDA_GROUP STRING ) | ^( VK_DURATION INT ) | ^( VK_ACTIVATION_GROUP STRING ) | ^( VK_AUTO_FOCUS ( BOOL )? ) | ^( VK_DATE_EFFECTIVE STRING ) | ^( VK_DATE_EXPIRES STRING ) | ^( VK_ENABLED BOOL ) | ^( VK_RULEFLOW_GROUP STRING ) | ^( VK_LOCK_ON_ACTIVE ( BOOL )? ) | ^( VK_DIALECT STRING ) )
int alt24=12;
switch ( input.LA(1) ) {
case VK_SALIENCE:
@@ -1540,7 +1538,7 @@
switch (alt24) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:110:4: ^( VK_SALIENCE ( INT | VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:110:4: ^( VK_SALIENCE ( INT | VT_PAREN_CHUNK ) )
{
match(input,VK_SALIENCE,FOLLOW_VK_SALIENCE_in_rule_attribute472);
@@ -1560,13 +1558,13 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:111:4: ^( VK_NO_LOOP ( BOOL )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:111:4: ^( VK_NO_LOOP ( BOOL )? )
{
match(input,VK_NO_LOOP,FOLLOW_VK_NO_LOOP_in_rule_attribute486);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:111:17: ( BOOL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:111:17: ( BOOL )?
int alt21=2;
int LA21_0 = input.LA(1);
@@ -1575,7 +1573,7 @@
}
switch (alt21) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:111:17: BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:111:17: BOOL
{
match(input,BOOL,FOLLOW_BOOL_in_rule_attribute488);
@@ -1591,7 +1589,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:112:4: ^( VK_AGENDA_GROUP STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:112:4: ^( VK_AGENDA_GROUP STRING )
{
match(input,VK_AGENDA_GROUP,FOLLOW_VK_AGENDA_GROUP_in_rule_attribute498);
@@ -1603,7 +1601,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:113:4: ^( VK_DURATION INT )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:113:4: ^( VK_DURATION INT )
{
match(input,VK_DURATION,FOLLOW_VK_DURATION_in_rule_attribute509);
@@ -1615,7 +1613,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:114:4: ^( VK_ACTIVATION_GROUP STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:114:4: ^( VK_ACTIVATION_GROUP STRING )
{
match(input,VK_ACTIVATION_GROUP,FOLLOW_VK_ACTIVATION_GROUP_in_rule_attribute521);
@@ -1627,13 +1625,13 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:115:4: ^( VK_AUTO_FOCUS ( BOOL )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:115:4: ^( VK_AUTO_FOCUS ( BOOL )? )
{
match(input,VK_AUTO_FOCUS,FOLLOW_VK_AUTO_FOCUS_in_rule_attribute531);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:115:20: ( BOOL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:115:20: ( BOOL )?
int alt22=2;
int LA22_0 = input.LA(1);
@@ -1642,7 +1640,7 @@
}
switch (alt22) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:115:20: BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:115:20: BOOL
{
match(input,BOOL,FOLLOW_BOOL_in_rule_attribute533);
@@ -1658,7 +1656,7 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:116:4: ^( VK_DATE_EFFECTIVE STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:116:4: ^( VK_DATE_EFFECTIVE STRING )
{
match(input,VK_DATE_EFFECTIVE,FOLLOW_VK_DATE_EFFECTIVE_in_rule_attribute542);
@@ -1670,7 +1668,7 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:117:4: ^( VK_DATE_EXPIRES STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:117:4: ^( VK_DATE_EXPIRES STRING )
{
match(input,VK_DATE_EXPIRES,FOLLOW_VK_DATE_EXPIRES_in_rule_attribute552);
@@ -1682,7 +1680,7 @@
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:118:4: ^( VK_ENABLED BOOL )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:118:4: ^( VK_ENABLED BOOL )
{
match(input,VK_ENABLED,FOLLOW_VK_ENABLED_in_rule_attribute562);
@@ -1694,7 +1692,7 @@
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:119:4: ^( VK_RULEFLOW_GROUP STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:119:4: ^( VK_RULEFLOW_GROUP STRING )
{
match(input,VK_RULEFLOW_GROUP,FOLLOW_VK_RULEFLOW_GROUP_in_rule_attribute572);
@@ -1706,13 +1704,13 @@
}
break;
case 11 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:120:4: ^( VK_LOCK_ON_ACTIVE ( BOOL )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:120:4: ^( VK_LOCK_ON_ACTIVE ( BOOL )? )
{
match(input,VK_LOCK_ON_ACTIVE,FOLLOW_VK_LOCK_ON_ACTIVE_in_rule_attribute582);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:120:24: ( BOOL )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:120:24: ( BOOL )?
int alt23=2;
int LA23_0 = input.LA(1);
@@ -1721,7 +1719,7 @@
}
switch (alt23) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:120:24: BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:120:24: BOOL
{
match(input,BOOL,FOLLOW_BOOL_in_rule_attribute584);
@@ -1737,7 +1735,7 @@
}
break;
case 12 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:121:4: ^( VK_DIALECT STRING )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:121:4: ^( VK_DIALECT STRING )
{
match(input,VK_DIALECT,FOLLOW_VK_DIALECT_in_rule_attribute592);
@@ -1763,17 +1761,17 @@
// $ANTLR start "lhs_block"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:124:1: lhs_block : ^( VT_AND_IMPLICIT ( lhs )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:124:1: lhs_block : ^( VT_AND_IMPLICIT ( lhs )* ) ;
public final void lhs_block() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:125:2: ( ^( VT_AND_IMPLICIT ( lhs )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:125:4: ^( VT_AND_IMPLICIT ( lhs )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:125:2: ( ^( VT_AND_IMPLICIT ( lhs )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:125:4: ^( VT_AND_IMPLICIT ( lhs )* )
{
match(input,VT_AND_IMPLICIT,FOLLOW_VT_AND_IMPLICIT_in_lhs_block608);
if ( input.LA(1)==Token.DOWN ) {
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:125:22: ( lhs )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:125:22: ( lhs )*
loop25:
do {
int alt25=2;
@@ -1786,7 +1784,7 @@
switch (alt25) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:125:22: lhs
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:125:22: lhs
{
pushFollow(FOLLOW_lhs_in_lhs_block610);
lhs();
@@ -1821,10 +1819,10 @@
// $ANTLR start "lhs"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:128:1: lhs : ( ^( VT_OR_PREFIX ( lhs )+ ) | ^( VT_OR_INFIX lhs lhs ) | ^( VT_AND_PREFIX ( lhs )+ ) | ^( VT_AND_INFIX lhs lhs ) | ^( VK_EXISTS lhs ) | ^( VK_NOT lhs ) | ^( VK_EVAL VT_PAREN_CHUNK ) | ^( VK_FORALL ( lhs )+ ) | ^( FROM lhs_pattern from_elements ) | lhs_pattern );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:128:1: lhs : ( ^( VT_OR_PREFIX ( lhs )+ ) | ^( VT_OR_INFIX lhs lhs ) | ^( VT_AND_PREFIX ( lhs )+ ) | ^( VT_AND_INFIX lhs lhs ) | ^( VK_EXISTS lhs ) | ^( VK_NOT lhs ) | ^( VK_EVAL VT_PAREN_CHUNK ) | ^( VK_FORALL ( lhs )+ ) | ^( FROM lhs_pattern from_elements ) | lhs_pattern );
public final void lhs() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:128:5: ( ^( VT_OR_PREFIX ( lhs )+ ) | ^( VT_OR_INFIX lhs lhs ) | ^( VT_AND_PREFIX ( lhs )+ ) | ^( VT_AND_INFIX lhs lhs ) | ^( VK_EXISTS lhs ) | ^( VK_NOT lhs ) | ^( VK_EVAL VT_PAREN_CHUNK ) | ^( VK_FORALL ( lhs )+ ) | ^( FROM lhs_pattern from_elements ) | lhs_pattern )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:128:5: ( ^( VT_OR_PREFIX ( lhs )+ ) | ^( VT_OR_INFIX lhs lhs ) | ^( VT_AND_PREFIX ( lhs )+ ) | ^( VT_AND_INFIX lhs lhs ) | ^( VK_EXISTS lhs ) | ^( VK_NOT lhs ) | ^( VK_EVAL VT_PAREN_CHUNK ) | ^( VK_FORALL ( lhs )+ ) | ^( FROM lhs_pattern from_elements ) | lhs_pattern )
int alt29=10;
switch ( input.LA(1) ) {
case VT_OR_PREFIX:
@@ -1886,12 +1884,12 @@
switch (alt29) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:128:7: ^( VT_OR_PREFIX ( lhs )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:128:7: ^( VT_OR_PREFIX ( lhs )+ )
{
match(input,VT_OR_PREFIX,FOLLOW_VT_OR_PREFIX_in_lhs623);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:128:22: ( lhs )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:128:22: ( lhs )+
int cnt26=0;
loop26:
do {
@@ -1905,7 +1903,7 @@
switch (alt26) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:128:22: lhs
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:128:22: lhs
{
pushFollow(FOLLOW_lhs_in_lhs625);
lhs();
@@ -1931,7 +1929,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:129:4: ^( VT_OR_INFIX lhs lhs )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:129:4: ^( VT_OR_INFIX lhs lhs )
{
match(input,VT_OR_INFIX,FOLLOW_VT_OR_INFIX_in_lhs633);
@@ -1952,12 +1950,12 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:130:4: ^( VT_AND_PREFIX ( lhs )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:130:4: ^( VT_AND_PREFIX ( lhs )+ )
{
match(input,VT_AND_PREFIX,FOLLOW_VT_AND_PREFIX_in_lhs644);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:130:20: ( lhs )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:130:20: ( lhs )+
int cnt27=0;
loop27:
do {
@@ -1971,7 +1969,7 @@
switch (alt27) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:130:20: lhs
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:130:20: lhs
{
pushFollow(FOLLOW_lhs_in_lhs646);
lhs();
@@ -1997,7 +1995,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:131:4: ^( VT_AND_INFIX lhs lhs )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:131:4: ^( VT_AND_INFIX lhs lhs )
{
match(input,VT_AND_INFIX,FOLLOW_VT_AND_INFIX_in_lhs654);
@@ -2018,7 +2016,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:132:4: ^( VK_EXISTS lhs )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:132:4: ^( VK_EXISTS lhs )
{
match(input,VK_EXISTS,FOLLOW_VK_EXISTS_in_lhs665);
@@ -2034,7 +2032,7 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:133:4: ^( VK_NOT lhs )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:133:4: ^( VK_NOT lhs )
{
match(input,VK_NOT,FOLLOW_VK_NOT_in_lhs674);
@@ -2050,7 +2048,7 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:134:4: ^( VK_EVAL VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:134:4: ^( VK_EVAL VT_PAREN_CHUNK )
{
match(input,VK_EVAL,FOLLOW_VK_EVAL_in_lhs683);
@@ -2062,12 +2060,12 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:135:4: ^( VK_FORALL ( lhs )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:135:4: ^( VK_FORALL ( lhs )+ )
{
match(input,VK_FORALL,FOLLOW_VK_FORALL_in_lhs692);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:135:16: ( lhs )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:135:16: ( lhs )+
int cnt28=0;
loop28:
do {
@@ -2081,7 +2079,7 @@
switch (alt28) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:135:16: lhs
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:135:16: lhs
{
pushFollow(FOLLOW_lhs_in_lhs694);
lhs();
@@ -2107,7 +2105,7 @@
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:136:4: ^( FROM lhs_pattern from_elements )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:136:4: ^( FROM lhs_pattern from_elements )
{
match(input,FROM,FOLLOW_FROM_in_lhs702);
@@ -2128,7 +2126,7 @@
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:137:4: lhs_pattern
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:137:4: lhs_pattern
{
pushFollow(FOLLOW_lhs_pattern_in_lhs712);
lhs_pattern();
@@ -2153,10 +2151,10 @@
// $ANTLR start "from_elements"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:140:1: from_elements : ( ^( ACCUMULATE lhs ( accumulate_init_clause | accumulate_id_clause ) ) | ^( COLLECT lhs ) | ^( VK_ENTRY_POINT VT_ENTRYPOINT_ID ) | ^( VT_FROM_SOURCE ID ( VT_PAREN_CHUNK )? ( expression_chain )? ) );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:140:1: from_elements : ( ^( ACCUMULATE lhs ( accumulate_init_clause | accumulate_id_clause ) ) | ^( COLLECT lhs ) | ^( VK_ENTRY_POINT VT_ENTRYPOINT_ID ) | ^( VT_FROM_SOURCE ID ( VT_PAREN_CHUNK )? ( expression_chain )? ) );
public final void from_elements() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:141:2: ( ^( ACCUMULATE lhs ( accumulate_init_clause | accumulate_id_clause ) ) | ^( COLLECT lhs ) | ^( VK_ENTRY_POINT VT_ENTRYPOINT_ID ) | ^( VT_FROM_SOURCE ID ( VT_PAREN_CHUNK )? ( expression_chain )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:141:2: ( ^( ACCUMULATE lhs ( accumulate_init_clause | accumulate_id_clause ) ) | ^( COLLECT lhs ) | ^( VK_ENTRY_POINT VT_ENTRYPOINT_ID ) | ^( VT_FROM_SOURCE ID ( VT_PAREN_CHUNK )? ( expression_chain )? ) )
int alt33=4;
switch ( input.LA(1) ) {
case ACCUMULATE:
@@ -2188,7 +2186,7 @@
switch (alt33) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:141:4: ^( ACCUMULATE lhs ( accumulate_init_clause | accumulate_id_clause ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:141:4: ^( ACCUMULATE lhs ( accumulate_init_clause | accumulate_id_clause ) )
{
match(input,ACCUMULATE,FOLLOW_ACCUMULATE_in_from_elements724);
@@ -2198,7 +2196,7 @@
state._fsp--;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:141:21: ( accumulate_init_clause | accumulate_id_clause )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:141:21: ( accumulate_init_clause | accumulate_id_clause )
int alt30=2;
int LA30_0 = input.LA(1);
@@ -2216,7 +2214,7 @@
}
switch (alt30) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:141:22: accumulate_init_clause
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:141:22: accumulate_init_clause
{
pushFollow(FOLLOW_accumulate_init_clause_in_from_elements729);
accumulate_init_clause();
@@ -2227,7 +2225,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:141:45: accumulate_id_clause
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:141:45: accumulate_id_clause
{
pushFollow(FOLLOW_accumulate_id_clause_in_from_elements731);
accumulate_id_clause();
@@ -2246,7 +2244,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:142:4: ^( COLLECT lhs )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:142:4: ^( COLLECT lhs )
{
match(input,COLLECT,FOLLOW_COLLECT_in_from_elements739);
@@ -2262,7 +2260,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:143:4: ^( VK_ENTRY_POINT VT_ENTRYPOINT_ID )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:143:4: ^( VK_ENTRY_POINT VT_ENTRYPOINT_ID )
{
match(input,VK_ENTRY_POINT,FOLLOW_VK_ENTRY_POINT_in_from_elements748);
@@ -2274,13 +2272,13 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:144:4: ^( VT_FROM_SOURCE ID ( VT_PAREN_CHUNK )? ( expression_chain )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:144:4: ^( VT_FROM_SOURCE ID ( VT_PAREN_CHUNK )? ( expression_chain )? )
{
match(input,VT_FROM_SOURCE,FOLLOW_VT_FROM_SOURCE_in_from_elements757);
match(input, Token.DOWN, null);
match(input,ID,FOLLOW_ID_in_from_elements759);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:144:24: ( VT_PAREN_CHUNK )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:144:24: ( VT_PAREN_CHUNK )?
int alt31=2;
int LA31_0 = input.LA(1);
@@ -2289,7 +2287,7 @@
}
switch (alt31) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:144:24: VT_PAREN_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:144:24: VT_PAREN_CHUNK
{
match(input,VT_PAREN_CHUNK,FOLLOW_VT_PAREN_CHUNK_in_from_elements761);
@@ -2298,7 +2296,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:144:40: ( expression_chain )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:144:40: ( expression_chain )?
int alt32=2;
int LA32_0 = input.LA(1);
@@ -2307,7 +2305,7 @@
}
switch (alt32) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:144:40: expression_chain
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:144:40: expression_chain
{
pushFollow(FOLLOW_expression_chain_in_from_elements764);
expression_chain();
@@ -2340,11 +2338,11 @@
// $ANTLR start "accumulate_init_clause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:147:1: accumulate_init_clause : ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT VT_PAREN_CHUNK ) ^( VK_ACTION VT_PAREN_CHUNK ) ( accumulate_init_reverse_clause )? ^( VK_RESULT VT_PAREN_CHUNK ) ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:147:1: accumulate_init_clause : ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT VT_PAREN_CHUNK ) ^( VK_ACTION VT_PAREN_CHUNK ) ( accumulate_init_reverse_clause )? ^( VK_RESULT VT_PAREN_CHUNK ) ) ;
public final void accumulate_init_clause() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:148:2: ( ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT VT_PAREN_CHUNK ) ^( VK_ACTION VT_PAREN_CHUNK ) ( accumulate_init_reverse_clause )? ^( VK_RESULT VT_PAREN_CHUNK ) ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:148:4: ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT VT_PAREN_CHUNK ) ^( VK_ACTION VT_PAREN_CHUNK ) ( accumulate_init_reverse_clause )? ^( VK_RESULT VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:148:2: ( ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT VT_PAREN_CHUNK ) ^( VK_ACTION VT_PAREN_CHUNK ) ( accumulate_init_reverse_clause )? ^( VK_RESULT VT_PAREN_CHUNK ) ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:148:4: ^( VT_ACCUMULATE_INIT_CLAUSE ^( INIT VT_PAREN_CHUNK ) ^( VK_ACTION VT_PAREN_CHUNK ) ( accumulate_init_reverse_clause )? ^( VK_RESULT VT_PAREN_CHUNK ) )
{
match(input,VT_ACCUMULATE_INIT_CLAUSE,FOLLOW_VT_ACCUMULATE_INIT_CLAUSE_in_accumulate_init_clause778);
@@ -2361,7 +2359,7 @@
match(input,VT_PAREN_CHUNK,FOLLOW_VT_PAREN_CHUNK_in_accumulate_init_clause797);
match(input, Token.UP, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:151:4: ( accumulate_init_reverse_clause )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:151:4: ( accumulate_init_reverse_clause )?
int alt34=2;
int LA34_0 = input.LA(1);
@@ -2370,7 +2368,7 @@
}
switch (alt34) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:151:4: accumulate_init_reverse_clause
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:151:4: accumulate_init_reverse_clause
{
pushFollow(FOLLOW_accumulate_init_reverse_clause_in_accumulate_init_clause804);
accumulate_init_reverse_clause();
@@ -2407,11 +2405,11 @@
// $ANTLR start "accumulate_init_reverse_clause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:155:1: accumulate_init_reverse_clause : ^( VK_REVERSE VT_PAREN_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:155:1: accumulate_init_reverse_clause : ^( VK_REVERSE VT_PAREN_CHUNK ) ;
public final void accumulate_init_reverse_clause() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:156:2: ( ^( VK_REVERSE VT_PAREN_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:156:4: ^( VK_REVERSE VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:156:2: ( ^( VK_REVERSE VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:156:4: ^( VK_REVERSE VT_PAREN_CHUNK )
{
match(input,VK_REVERSE,FOLLOW_VK_REVERSE_in_accumulate_init_reverse_clause827);
@@ -2435,11 +2433,11 @@
// $ANTLR start "accumulate_id_clause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:160:1: accumulate_id_clause : ^( VT_ACCUMULATE_ID_CLAUSE ID VT_PAREN_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:160:1: accumulate_id_clause : ^( VT_ACCUMULATE_ID_CLAUSE ID VT_PAREN_CHUNK ) ;
public final void accumulate_id_clause() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:161:2: ( ^( VT_ACCUMULATE_ID_CLAUSE ID VT_PAREN_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:161:4: ^( VT_ACCUMULATE_ID_CLAUSE ID VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:161:2: ( ^( VT_ACCUMULATE_ID_CLAUSE ID VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:161:4: ^( VT_ACCUMULATE_ID_CLAUSE ID VT_PAREN_CHUNK )
{
match(input,VT_ACCUMULATE_ID_CLAUSE,FOLLOW_VT_ACCUMULATE_ID_CLAUSE_in_accumulate_id_clause843);
@@ -2464,11 +2462,11 @@
// $ANTLR start "lhs_pattern"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:164:1: lhs_pattern : ^( VT_PATTERN fact_expression ) ( over_clause )? ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:164:1: lhs_pattern : ^( VT_PATTERN fact_expression ) ( over_clause )? ;
public final void lhs_pattern() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:165:2: ( ^( VT_PATTERN fact_expression ) ( over_clause )? )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:165:4: ^( VT_PATTERN fact_expression ) ( over_clause )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:165:2: ( ^( VT_PATTERN fact_expression ) ( over_clause )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:165:4: ^( VT_PATTERN fact_expression ) ( over_clause )?
{
match(input,VT_PATTERN,FOLLOW_VT_PATTERN_in_lhs_pattern860);
@@ -2480,7 +2478,7 @@
match(input, Token.UP, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:165:34: ( over_clause )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:165:34: ( over_clause )?
int alt35=2;
int LA35_0 = input.LA(1);
@@ -2489,7 +2487,7 @@
}
switch (alt35) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:165:34: over_clause
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:165:34: over_clause
{
pushFollow(FOLLOW_over_clause_in_lhs_pattern865);
over_clause();
@@ -2518,16 +2516,16 @@
// $ANTLR start "over_clause"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:168:1: over_clause : ^( OVER ( over_element )+ ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:168:1: over_clause : ^( OVER ( over_element )+ ) ;
public final void over_clause() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:169:2: ( ^( OVER ( over_element )+ ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:169:4: ^( OVER ( over_element )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:169:2: ( ^( OVER ( over_element )+ ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:169:4: ^( OVER ( over_element )+ )
{
match(input,OVER,FOLLOW_OVER_in_over_clause878);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:169:11: ( over_element )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:169:11: ( over_element )+
int cnt36=0;
loop36:
do {
@@ -2541,7 +2539,7 @@
switch (alt36) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:169:11: over_element
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:169:11: over_element
{
pushFollow(FOLLOW_over_element_in_over_clause880);
over_element();
@@ -2579,11 +2577,11 @@
// $ANTLR start "over_element"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:172:1: over_element : ^( VT_BEHAVIOR ID ID VT_PAREN_CHUNK ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:172:1: over_element : ^( VT_BEHAVIOR ID ID VT_PAREN_CHUNK ) ;
public final void over_element() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:173:2: ( ^( VT_BEHAVIOR ID ID VT_PAREN_CHUNK ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:173:4: ^( VT_BEHAVIOR ID ID VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:173:2: ( ^( VT_BEHAVIOR ID ID VT_PAREN_CHUNK ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:173:4: ^( VT_BEHAVIOR ID ID VT_PAREN_CHUNK )
{
match(input,VT_BEHAVIOR,FOLLOW_VT_BEHAVIOR_in_over_element894);
@@ -2609,10 +2607,10 @@
// $ANTLR start "fact_expression"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:176:1: fact_expression : ( ^( DOUBLE_PIPE fact_expression fact_expression ) | ^( DOUBLE_AMPER fact_expression fact_expression ) | ^( VT_FACT_BINDING VT_LABEL fact_expression ) | ^( VT_FACT pattern_type ( fact_expression )* ) | ^( VT_FACT_OR fact_expression fact_expression ) | ^( VK_EVAL VT_PAREN_CHUNK ) | ^( VK_IN ( VK_NOT )? ( fact_expression )+ ) | ^( EQUAL fact_expression ) | ^( GREATER fact_expression ) | ^( GREATER_EQUAL fact_expression ) | ^( LESS fact_expression ) | ^( LESS_EQUAL fact_expression ) | ^( NOT_EQUAL fact_expression ) | ^( VK_CONTAINS ( VK_NOT )? fact_expression ) | ^( VK_EXCLUDES ( VK_NOT )? fact_expression ) | ^( VK_MATCHES ( VK_NOT )? fact_expression ) | ^( VK_SOUNDSLIKE ( VK_NOT )? fact_expression ) | ^( VK_MEMBEROF ( VK_NOT )? fact_expression ) | ^( ID ( VK_NOT )? ( VT_SQUARE_CHUNK )? fact_expression ) | ^( VT_BIND_FIELD VT_LABEL !
fact_expression ) | ^( VT_FIELD fact_expression ( fact_expression )? ) | ^( VT_ACCESSOR_PATH ( accessor_element )+ ) | STRING | INT | FLOAT | BOOL | NULL | VT_PAREN_CHUNK );
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:176:1: fact_expression : ( ^( DOUBLE_PIPE fact_expression fact_expression ) | ^( DOUBLE_AMPER fact_expression fact_expression ) | ^( VT_FACT_BINDING VT_LABEL fact_expression ) | ^( VT_FACT pattern_type ( fact_expression )* ) | ^( VT_FACT_OR fact_expression fact_expression ) | ^( VK_EVAL VT_PAREN_CHUNK ) | ^( VK_IN ( VK_NOT )? ( fact_expression )+ ) | ^( EQUAL fact_expression ) | ^( GREATER fact_expression ) | ^( GREATER_EQUAL fact_expression ) | ^( LESS fact_expression ) | ^( LESS_EQUAL fact_expression ) | ^( NOT_EQUAL fact_expression ) | ^( VK_CONTAINS ( VK_NOT )? fact_expression ) | ^( VK_EXCLUDES ( VK_NOT )? fact_expression ) | ^( VK_MATCHES ( VK_NOT )? fact_expression ) | ^( VK_SOUNDSLIKE ( VK_NOT )? fact_expression ) | ^( VK_MEMBEROF ( VK_NOT )? fact_expression ) | ^( ID ( VK_NOT )? ( VT_SQUARE_CHUNK )? fact_expression ) | ^( VT_BIND_FIELD VT_LABEL fact_e!
xpression ) | ^( VT_FIELD fact_expression ( fact_expression )? ) | ^( VT_ACCESSOR_PATH ( accessor_element )+ ) | STRING | INT | FLOAT | BOOL | NULL | VT_PAREN_CHUNK );
public final void fact_expression() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:177:2: ( ^( DOUBLE_PIPE fact_expression fact_expression ) | ^( DOUBLE_AMPER fact_expression fact_expression ) | ^( VT_FACT_BINDING VT_LABEL fact_expression ) | ^( VT_FACT pattern_type ( fact_expression )* ) | ^( VT_FACT_OR fact_expression fact_expression ) | ^( VK_EVAL VT_PAREN_CHUNK ) | ^( VK_IN ( VK_NOT )? ( fact_expression )+ ) | ^( EQUAL fact_expression ) | ^( GREATER fact_expression ) | ^( GREATER_EQUAL fact_expression ) | ^( LESS fact_expression ) | ^( LESS_EQUAL fact_expression ) | ^( NOT_EQUAL fact_expression ) | ^( VK_CONTAINS ( VK_NOT )? fact_expression ) | ^( VK_EXCLUDES ( VK_NOT )? fact_expression ) | ^( VK_MATCHES ( VK_NOT )? fact_expression ) | ^( VK_SOUNDSLIKE ( VK_NOT )? fact_expression ) | ^( VK_MEMBEROF ( VK_NOT )? fact_expression ) | ^( ID ( VK_NOT )? ( VT_SQUARE_CHUNK )? fact_expression ) | ^( VT_BIND_FIELD VT_LABEL fact_expre!
ssion ) | ^( VT_FIELD fact_expression ( fact_expression )? ) | ^( VT_ACCESSOR_PATH ( accessor_element )+ ) | STRING | INT | FLOAT | BOOL | NULL | VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:177:2: ( ^( DOUBLE_PIPE fact_expression fact_expression ) | ^( DOUBLE_AMPER fact_expression fact_expression ) | ^( VT_FACT_BINDING VT_LABEL fact_expression ) | ^( VT_FACT pattern_type ( fact_expression )* ) | ^( VT_FACT_OR fact_expression fact_expression ) | ^( VK_EVAL VT_PAREN_CHUNK ) | ^( VK_IN ( VK_NOT )? ( fact_expression )+ ) | ^( EQUAL fact_expression ) | ^( GREATER fact_expression ) | ^( GREATER_EQUAL fact_expression ) | ^( LESS fact_expression ) | ^( LESS_EQUAL fact_expression ) | ^( NOT_EQUAL fact_expression ) | ^( VK_CONTAINS ( VK_NOT )? fact_expression ) | ^( VK_EXCLUDES ( VK_NOT )? fact_expression ) | ^( VK_MATCHES ( VK_NOT )? fact_expression ) | ^( VK_SOUNDSLIKE ( VK_NOT )? fact_expression ) | ^( VK_MEMBEROF ( VK_NOT )? fact_expression ) | ^( ID ( VK_NOT )? ( VT_SQUARE_CHUNK )? fact_expression ) | ^( VT_BIND_FIELD VT_LABEL fact_expression !
) | ^( VT_FIELD fact_expression ( fact_expression )? ) | ^( VT_ACCESSOR_PATH ( accessor_element )+ ) | STRING | INT | FLOAT | BOOL | NULL | VT_PAREN_CHUNK )
int alt49=28;
switch ( input.LA(1) ) {
case DOUBLE_PIPE:
@@ -2764,7 +2762,7 @@
switch (alt49) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:177:4: ^( DOUBLE_PIPE fact_expression fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:177:4: ^( DOUBLE_PIPE fact_expression fact_expression )
{
match(input,DOUBLE_PIPE,FOLLOW_DOUBLE_PIPE_in_fact_expression913);
@@ -2785,7 +2783,7 @@
}
break;
case 2 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:178:4: ^( DOUBLE_AMPER fact_expression fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:178:4: ^( DOUBLE_AMPER fact_expression fact_expression )
{
match(input,DOUBLE_AMPER,FOLLOW_DOUBLE_AMPER_in_fact_expression924);
@@ -2806,7 +2804,7 @@
}
break;
case 3 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:179:4: ^( VT_FACT_BINDING VT_LABEL fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:179:4: ^( VT_FACT_BINDING VT_LABEL fact_expression )
{
match(input,VT_FACT_BINDING,FOLLOW_VT_FACT_BINDING_in_fact_expression935);
@@ -2823,7 +2821,7 @@
}
break;
case 4 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:180:4: ^( VT_FACT pattern_type ( fact_expression )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:180:4: ^( VT_FACT pattern_type ( fact_expression )* )
{
match(input,VT_FACT,FOLLOW_VT_FACT_in_fact_expression946);
@@ -2833,20 +2831,20 @@
state._fsp--;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:180:27: ( fact_expression )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:180:27: ( fact_expression )*
loop37:
do {
int alt37=2;
int LA37_0 = input.LA(1);
- if ( (LA37_0==VT_FACT||LA37_0==VT_PAREN_CHUNK||(LA37_0>=VT_FACT_BINDING && LA37_0<=VT_ACCESSOR_PATH)||(LA37_0>=VK_EVAL && LA37_0<=VK_MEMBEROF)||LA37_0==VK_IN||LA37_0==ID||LA37_0==STRING||(LA37_0>=BOOL && LA37_0<=DOUBLE_AMPER)||(LA37_0>=EQUAL && LA37_0<=NULL)) ) {
+ if ( (LA37_0==VT_FACT||LA37_0==VT_PAREN_CHUNK||(LA37_0>=VT_FACT_BINDING && LA37_0<=VT_ACCESSOR_PATH)||(LA37_0>=VK_EVAL && LA37_0<=VK_MEMBEROF)||LA37_0==VK_IN||LA37_0==ID||LA37_0==STRING||(LA37_0>=BOOL && LA37_0<=DOUBLE_AMPER)||(LA37_0>=EQUAL && LA37_0<=NOT_EQUAL)||(LA37_0>=FLOAT && LA37_0<=NULL)) ) {
alt37=1;
}
switch (alt37) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:180:27: fact_expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:180:27: fact_expression
{
pushFollow(FOLLOW_fact_expression_in_fact_expression950);
fact_expression();
@@ -2868,7 +2866,7 @@
}
break;
case 5 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:181:4: ^( VT_FACT_OR fact_expression fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:181:4: ^( VT_FACT_OR fact_expression fact_expression )
{
match(input,VT_FACT_OR,FOLLOW_VT_FACT_OR_in_fact_expression958);
@@ -2889,7 +2887,7 @@
}
break;
case 6 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:182:4: ^( VK_EVAL VT_PAREN_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:182:4: ^( VK_EVAL VT_PAREN_CHUNK )
{
match(input,VK_EVAL,FOLLOW_VK_EVAL_in_fact_expression969);
@@ -2901,12 +2899,12 @@
}
break;
case 7 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:183:4: ^( VK_IN ( VK_NOT )? ( fact_expression )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:183:4: ^( VK_IN ( VK_NOT )? ( fact_expression )+ )
{
match(input,VK_IN,FOLLOW_VK_IN_in_fact_expression978);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:183:12: ( VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:183:12: ( VK_NOT )?
int alt38=2;
int LA38_0 = input.LA(1);
@@ -2915,7 +2913,7 @@
}
switch (alt38) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:183:12: VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:183:12: VK_NOT
{
match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression980);
@@ -2924,21 +2922,21 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:183:20: ( fact_expression )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:183:20: ( fact_expression )+
int cnt39=0;
loop39:
do {
int alt39=2;
int LA39_0 = input.LA(1);
- if ( (LA39_0==VT_FACT||LA39_0==VT_PAREN_CHUNK||(LA39_0>=VT_FACT_BINDING && LA39_0<=VT_ACCESSOR_PATH)||(LA39_0>=VK_EVAL && LA39_0<=VK_MEMBEROF)||LA39_0==VK_IN||LA39_0==ID||LA39_0==STRING||(LA39_0>=BOOL && LA39_0<=DOUBLE_AMPER)||(LA39_0>=EQUAL && LA39_0<=NULL)) ) {
+ if ( (LA39_0==VT_FACT||LA39_0==VT_PAREN_CHUNK||(LA39_0>=VT_FACT_BINDING && LA39_0<=VT_ACCESSOR_PATH)||(LA39_0>=VK_EVAL && LA39_0<=VK_MEMBEROF)||LA39_0==VK_IN||LA39_0==ID||LA39_0==STRING||(LA39_0>=BOOL && LA39_0<=DOUBLE_AMPER)||(LA39_0>=EQUAL && LA39_0<=NOT_EQUAL)||(LA39_0>=FLOAT && LA39_0<=NULL)) ) {
alt39=1;
}
switch (alt39) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:183:20: fact_expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:183:20: fact_expression
{
pushFollow(FOLLOW_fact_expression_in_fact_expression983);
fact_expression();
@@ -2964,7 +2962,7 @@
}
break;
case 8 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:184:4: ^( EQUAL fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:184:4: ^( EQUAL fact_expression )
{
match(input,EQUAL,FOLLOW_EQUAL_in_fact_expression991);
@@ -2980,7 +2978,7 @@
}
break;
case 9 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:185:4: ^( GREATER fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:185:4: ^( GREATER fact_expression )
{
match(input,GREATER,FOLLOW_GREATER_in_fact_expression1000);
@@ -2996,7 +2994,7 @@
}
break;
case 10 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:186:4: ^( GREATER_EQUAL fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:186:4: ^( GREATER_EQUAL fact_expression )
{
match(input,GREATER_EQUAL,FOLLOW_GREATER_EQUAL_in_fact_expression1009);
@@ -3012,7 +3010,7 @@
}
break;
case 11 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:187:4: ^( LESS fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:187:4: ^( LESS fact_expression )
{
match(input,LESS,FOLLOW_LESS_in_fact_expression1018);
@@ -3028,7 +3026,7 @@
}
break;
case 12 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:188:4: ^( LESS_EQUAL fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:188:4: ^( LESS_EQUAL fact_expression )
{
match(input,LESS_EQUAL,FOLLOW_LESS_EQUAL_in_fact_expression1027);
@@ -3044,7 +3042,7 @@
}
break;
case 13 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:189:4: ^( NOT_EQUAL fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:189:4: ^( NOT_EQUAL fact_expression )
{
match(input,NOT_EQUAL,FOLLOW_NOT_EQUAL_in_fact_expression1036);
@@ -3060,12 +3058,12 @@
}
break;
case 14 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:190:4: ^( VK_CONTAINS ( VK_NOT )? fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:190:4: ^( VK_CONTAINS ( VK_NOT )? fact_expression )
{
match(input,VK_CONTAINS,FOLLOW_VK_CONTAINS_in_fact_expression1045);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:190:18: ( VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:190:18: ( VK_NOT )?
int alt40=2;
int LA40_0 = input.LA(1);
@@ -3074,7 +3072,7 @@
}
switch (alt40) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:190:18: VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:190:18: VK_NOT
{
match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression1047);
@@ -3094,12 +3092,12 @@
}
break;
case 15 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:191:4: ^( VK_EXCLUDES ( VK_NOT )? fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:191:4: ^( VK_EXCLUDES ( VK_NOT )? fact_expression )
{
match(input,VK_EXCLUDES,FOLLOW_VK_EXCLUDES_in_fact_expression1057);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:191:18: ( VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:191:18: ( VK_NOT )?
int alt41=2;
int LA41_0 = input.LA(1);
@@ -3108,7 +3106,7 @@
}
switch (alt41) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:191:18: VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:191:18: VK_NOT
{
match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression1059);
@@ -3128,12 +3126,12 @@
}
break;
case 16 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:192:4: ^( VK_MATCHES ( VK_NOT )? fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:192:4: ^( VK_MATCHES ( VK_NOT )? fact_expression )
{
match(input,VK_MATCHES,FOLLOW_VK_MATCHES_in_fact_expression1069);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:192:17: ( VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:192:17: ( VK_NOT )?
int alt42=2;
int LA42_0 = input.LA(1);
@@ -3142,7 +3140,7 @@
}
switch (alt42) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:192:17: VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:192:17: VK_NOT
{
match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression1071);
@@ -3162,12 +3160,12 @@
}
break;
case 17 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:193:4: ^( VK_SOUNDSLIKE ( VK_NOT )? fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:193:4: ^( VK_SOUNDSLIKE ( VK_NOT )? fact_expression )
{
match(input,VK_SOUNDSLIKE,FOLLOW_VK_SOUNDSLIKE_in_fact_expression1081);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:193:20: ( VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:193:20: ( VK_NOT )?
int alt43=2;
int LA43_0 = input.LA(1);
@@ -3176,7 +3174,7 @@
}
switch (alt43) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:193:20: VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:193:20: VK_NOT
{
match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression1083);
@@ -3196,12 +3194,12 @@
}
break;
case 18 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:194:4: ^( VK_MEMBEROF ( VK_NOT )? fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:194:4: ^( VK_MEMBEROF ( VK_NOT )? fact_expression )
{
match(input,VK_MEMBEROF,FOLLOW_VK_MEMBEROF_in_fact_expression1093);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:194:18: ( VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:194:18: ( VK_NOT )?
int alt44=2;
int LA44_0 = input.LA(1);
@@ -3210,7 +3208,7 @@
}
switch (alt44) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:194:18: VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:194:18: VK_NOT
{
match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression1095);
@@ -3230,12 +3228,12 @@
}
break;
case 19 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:195:4: ^( ID ( VK_NOT )? ( VT_SQUARE_CHUNK )? fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:195:4: ^( ID ( VK_NOT )? ( VT_SQUARE_CHUNK )? fact_expression )
{
match(input,ID,FOLLOW_ID_in_fact_expression1105);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:195:9: ( VK_NOT )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:195:9: ( VK_NOT )?
int alt45=2;
int LA45_0 = input.LA(1);
@@ -3244,7 +3242,7 @@
}
switch (alt45) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:195:9: VK_NOT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:195:9: VK_NOT
{
match(input,VK_NOT,FOLLOW_VK_NOT_in_fact_expression1107);
@@ -3253,7 +3251,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:195:17: ( VT_SQUARE_CHUNK )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:195:17: ( VT_SQUARE_CHUNK )?
int alt46=2;
int LA46_0 = input.LA(1);
@@ -3262,7 +3260,7 @@
}
switch (alt46) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:195:17: VT_SQUARE_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:195:17: VT_SQUARE_CHUNK
{
match(input,VT_SQUARE_CHUNK,FOLLOW_VT_SQUARE_CHUNK_in_fact_expression1110);
@@ -3282,7 +3280,7 @@
}
break;
case 20 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:196:4: ^( VT_BIND_FIELD VT_LABEL fact_expression )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:196:4: ^( VT_BIND_FIELD VT_LABEL fact_expression )
{
match(input,VT_BIND_FIELD,FOLLOW_VT_BIND_FIELD_in_fact_expression1120);
@@ -3299,7 +3297,7 @@
}
break;
case 21 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:197:4: ^( VT_FIELD fact_expression ( fact_expression )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:197:4: ^( VT_FIELD fact_expression ( fact_expression )? )
{
match(input,VT_FIELD,FOLLOW_VT_FIELD_in_fact_expression1131);
@@ -3309,16 +3307,16 @@
state._fsp--;
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:197:31: ( fact_expression )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:197:31: ( fact_expression )?
int alt47=2;
int LA47_0 = input.LA(1);
- if ( (LA47_0==VT_FACT||LA47_0==VT_PAREN_CHUNK||(LA47_0>=VT_FACT_BINDING && LA47_0<=VT_ACCESSOR_PATH)||(LA47_0>=VK_EVAL && LA47_0<=VK_MEMBEROF)||LA47_0==VK_IN||LA47_0==ID||LA47_0==STRING||(LA47_0>=BOOL && LA47_0<=DOUBLE_AMPER)||(LA47_0>=EQUAL && LA47_0<=NULL)) ) {
+ if ( (LA47_0==VT_FACT||LA47_0==VT_PAREN_CHUNK||(LA47_0>=VT_FACT_BINDING && LA47_0<=VT_ACCESSOR_PATH)||(LA47_0>=VK_EVAL && LA47_0<=VK_MEMBEROF)||LA47_0==VK_IN||LA47_0==ID||LA47_0==STRING||(LA47_0>=BOOL && LA47_0<=DOUBLE_AMPER)||(LA47_0>=EQUAL && LA47_0<=NOT_EQUAL)||(LA47_0>=FLOAT && LA47_0<=NULL)) ) {
alt47=1;
}
switch (alt47) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:197:31: fact_expression
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:197:31: fact_expression
{
pushFollow(FOLLOW_fact_expression_in_fact_expression1135);
fact_expression();
@@ -3337,12 +3335,12 @@
}
break;
case 22 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:198:4: ^( VT_ACCESSOR_PATH ( accessor_element )+ )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:198:4: ^( VT_ACCESSOR_PATH ( accessor_element )+ )
{
match(input,VT_ACCESSOR_PATH,FOLLOW_VT_ACCESSOR_PATH_in_fact_expression1143);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:198:23: ( accessor_element )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:198:23: ( accessor_element )+
int cnt48=0;
loop48:
do {
@@ -3356,7 +3354,7 @@
switch (alt48) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:198:23: accessor_element
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:198:23: accessor_element
{
pushFollow(FOLLOW_accessor_element_in_fact_expression1145);
accessor_element();
@@ -3382,42 +3380,42 @@
}
break;
case 23 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:199:4: STRING
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:199:4: STRING
{
match(input,STRING,FOLLOW_STRING_in_fact_expression1152);
}
break;
case 24 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:200:4: INT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:200:4: INT
{
match(input,INT,FOLLOW_INT_in_fact_expression1157);
}
break;
case 25 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:201:4: FLOAT
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:201:4: FLOAT
{
match(input,FLOAT,FOLLOW_FLOAT_in_fact_expression1162);
}
break;
case 26 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:202:4: BOOL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:202:4: BOOL
{
match(input,BOOL,FOLLOW_BOOL_in_fact_expression1167);
}
break;
case 27 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:203:4: NULL
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:203:4: NULL
{
match(input,NULL,FOLLOW_NULL_in_fact_expression1172);
}
break;
case 28 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:204:4: VT_PAREN_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:204:4: VT_PAREN_CHUNK
{
match(input,VT_PAREN_CHUNK,FOLLOW_VT_PAREN_CHUNK_in_fact_expression1177);
@@ -3438,16 +3436,16 @@
// $ANTLR start "pattern_type"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:207:1: pattern_type : ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:207:1: pattern_type : ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* ) ;
public final void pattern_type() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:208:2: ( ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:208:4: ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:208:2: ( ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:208:4: ^( VT_PATTERN_TYPE ( ID )+ ( dimension_definition )* )
{
match(input,VT_PATTERN_TYPE,FOLLOW_VT_PATTERN_TYPE_in_pattern_type1189);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:208:22: ( ID )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:208:22: ( ID )+
int cnt50=0;
loop50:
do {
@@ -3461,7 +3459,7 @@
switch (alt50) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:208:22: ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:208:22: ID
{
match(input,ID,FOLLOW_ID_in_pattern_type1191);
@@ -3477,7 +3475,7 @@
cnt50++;
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:208:26: ( dimension_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:208:26: ( dimension_definition )*
loop51:
do {
int alt51=2;
@@ -3490,7 +3488,7 @@
switch (alt51) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:208:26: dimension_definition
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:208:26: dimension_definition
{
pushFollow(FOLLOW_dimension_definition_in_pattern_type1194);
dimension_definition();
@@ -3524,16 +3522,16 @@
// $ANTLR start "data_type"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:211:1: data_type : ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:211:1: data_type : ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* ) ;
public final void data_type() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:212:2: ( ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:212:4: ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:212:2: ( ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:212:4: ^( VT_DATA_TYPE ( ID )+ ( dimension_definition )* )
{
match(input,VT_DATA_TYPE,FOLLOW_VT_DATA_TYPE_in_data_type1208);
match(input, Token.DOWN, null);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:212:19: ( ID )+
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:212:19: ( ID )+
int cnt52=0;
loop52:
do {
@@ -3547,7 +3545,7 @@
switch (alt52) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:212:19: ID
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:212:19: ID
{
match(input,ID,FOLLOW_ID_in_data_type1210);
@@ -3563,7 +3561,7 @@
cnt52++;
} while (true);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:212:23: ( dimension_definition )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:212:23: ( dimension_definition )*
loop53:
do {
int alt53=2;
@@ -3576,7 +3574,7 @@
switch (alt53) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:212:23: dimension_definition
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:212:23: dimension_definition
{
pushFollow(FOLLOW_dimension_definition_in_data_type1213);
dimension_definition();
@@ -3610,11 +3608,11 @@
// $ANTLR start "dimension_definition"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:215:1: dimension_definition : LEFT_SQUARE RIGHT_SQUARE ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:215:1: dimension_definition : LEFT_SQUARE RIGHT_SQUARE ;
public final void dimension_definition() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:216:2: ( LEFT_SQUARE RIGHT_SQUARE )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:216:4: LEFT_SQUARE RIGHT_SQUARE
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:216:2: ( LEFT_SQUARE RIGHT_SQUARE )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:216:4: LEFT_SQUARE RIGHT_SQUARE
{
match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_dimension_definition1226);
match(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_dimension_definition1228);
@@ -3634,17 +3632,17 @@
// $ANTLR start "accessor_element"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:219:1: accessor_element : ^( VT_ACCESSOR_ELEMENT ID ( VT_SQUARE_CHUNK )* ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:219:1: accessor_element : ^( VT_ACCESSOR_ELEMENT ID ( VT_SQUARE_CHUNK )* ) ;
public final void accessor_element() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:220:2: ( ^( VT_ACCESSOR_ELEMENT ID ( VT_SQUARE_CHUNK )* ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:220:4: ^( VT_ACCESSOR_ELEMENT ID ( VT_SQUARE_CHUNK )* )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:220:2: ( ^( VT_ACCESSOR_ELEMENT ID ( VT_SQUARE_CHUNK )* ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:220:4: ^( VT_ACCESSOR_ELEMENT ID ( VT_SQUARE_CHUNK )* )
{
match(input,VT_ACCESSOR_ELEMENT,FOLLOW_VT_ACCESSOR_ELEMENT_in_accessor_element1240);
match(input, Token.DOWN, null);
match(input,ID,FOLLOW_ID_in_accessor_element1242);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:220:29: ( VT_SQUARE_CHUNK )*
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:220:29: ( VT_SQUARE_CHUNK )*
loop54:
do {
int alt54=2;
@@ -3657,7 +3655,7 @@
switch (alt54) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:220:29: VT_SQUARE_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:220:29: VT_SQUARE_CHUNK
{
match(input,VT_SQUARE_CHUNK,FOLLOW_VT_SQUARE_CHUNK_in_accessor_element1244);
@@ -3687,17 +3685,17 @@
// $ANTLR start "expression_chain"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:223:1: expression_chain : ^( VT_EXPRESSION_CHAIN ID ( VT_SQUARE_CHUNK )? ( VT_PAREN_CHUNK )? ( expression_chain )? ) ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:223:1: expression_chain : ^( VT_EXPRESSION_CHAIN ID ( VT_SQUARE_CHUNK )? ( VT_PAREN_CHUNK )? ( expression_chain )? ) ;
public final void expression_chain() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:2: ( ^( VT_EXPRESSION_CHAIN ID ( VT_SQUARE_CHUNK )? ( VT_PAREN_CHUNK )? ( expression_chain )? ) )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:4: ^( VT_EXPRESSION_CHAIN ID ( VT_SQUARE_CHUNK )? ( VT_PAREN_CHUNK )? ( expression_chain )? )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:2: ( ^( VT_EXPRESSION_CHAIN ID ( VT_SQUARE_CHUNK )? ( VT_PAREN_CHUNK )? ( expression_chain )? ) )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:4: ^( VT_EXPRESSION_CHAIN ID ( VT_SQUARE_CHUNK )? ( VT_PAREN_CHUNK )? ( expression_chain )? )
{
match(input,VT_EXPRESSION_CHAIN,FOLLOW_VT_EXPRESSION_CHAIN_in_expression_chain1258);
match(input, Token.DOWN, null);
match(input,ID,FOLLOW_ID_in_expression_chain1260);
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:29: ( VT_SQUARE_CHUNK )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:29: ( VT_SQUARE_CHUNK )?
int alt55=2;
int LA55_0 = input.LA(1);
@@ -3706,7 +3704,7 @@
}
switch (alt55) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:29: VT_SQUARE_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:29: VT_SQUARE_CHUNK
{
match(input,VT_SQUARE_CHUNK,FOLLOW_VT_SQUARE_CHUNK_in_expression_chain1262);
@@ -3715,7 +3713,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:46: ( VT_PAREN_CHUNK )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:46: ( VT_PAREN_CHUNK )?
int alt56=2;
int LA56_0 = input.LA(1);
@@ -3724,7 +3722,7 @@
}
switch (alt56) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:46: VT_PAREN_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:46: VT_PAREN_CHUNK
{
match(input,VT_PAREN_CHUNK,FOLLOW_VT_PAREN_CHUNK_in_expression_chain1265);
@@ -3733,7 +3731,7 @@
}
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:62: ( expression_chain )?
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:62: ( expression_chain )?
int alt57=2;
int LA57_0 = input.LA(1);
@@ -3742,7 +3740,7 @@
}
switch (alt57) {
case 1 :
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:62: expression_chain
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:224:62: expression_chain
{
pushFollow(FOLLOW_expression_chain_in_expression_chain1268);
expression_chain();
@@ -3773,11 +3771,11 @@
// $ANTLR start "curly_chunk"
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:227:1: curly_chunk : VT_CURLY_CHUNK ;
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:227:1: curly_chunk : VT_CURLY_CHUNK ;
public final void curly_chunk() throws RecognitionException {
try {
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:228:2: ( VT_CURLY_CHUNK )
- // /Users/porcelli/Documents/dev/drools-new-tirelli/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:228:4: VT_CURLY_CHUNK
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:228:2: ( VT_CURLY_CHUNK )
+ // /Users/porcelli/Documents/dev/drools-trunk/drools-compiler/src/main/resources/org/drools/lang/Tree2TestDRL.g:228:4: VT_CURLY_CHUNK
{
match(input,VT_CURLY_CHUNK,FOLLOW_VT_CURLY_CHUNK_in_curly_chunk1282);
@@ -3805,7 +3803,7 @@
public static final BitSet FOLLOW_VK_PACKAGE_in_package_statement63 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_package_id_in_package_statement65 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VT_PACKAGE_ID_in_package_id78 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_ID_in_package_id80 = new BitSet(new long[]{0x0000000000000008L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_package_id80 = new BitSet(new long[]{0x0000000000000008L,0x0000000000100000L});
public static final BitSet FOLLOW_rule_attribute_in_statement93 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_function_import_statement_in_statement98 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_import_statement_in_statement104 = new BitSet(new long[]{0x0000000000000002L});
@@ -3821,7 +3819,7 @@
public static final BitSet FOLLOW_VK_FUNCTION_in_function_import_statement165 = new BitSet(new long[]{0x0000020000000000L});
public static final BitSet FOLLOW_import_name_in_function_import_statement167 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VT_IMPORT_ID_in_import_name180 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_ID_in_import_name182 = new BitSet(new long[]{0x0000000000000008L,0x0000000000A00000L});
+ public static final BitSet FOLLOW_ID_in_import_name182 = new BitSet(new long[]{0x0000000000000008L,0x0000000000500000L});
public static final BitSet FOLLOW_DOT_STAR_in_import_name185 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VK_GLOBAL_in_global199 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_data_type_in_global201 = new BitSet(new long[]{0x0000040000000000L});
@@ -3834,38 +3832,38 @@
public static final BitSet FOLLOW_VK_QUERY_in_query238 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_VT_QUERY_ID_in_query240 = new BitSet(new long[]{0x0000100000400000L});
public static final BitSet FOLLOW_parameters_in_query242 = new BitSet(new long[]{0x0000100000400000L});
- public static final BitSet FOLLOW_lhs_block_in_query245 = new BitSet(new long[]{0x0000000000000000L,0x0000000001000000L});
+ public static final BitSet FOLLOW_lhs_block_in_query245 = new BitSet(new long[]{0x0000000000000000L,0x0000000000800000L});
public static final BitSet FOLLOW_END_in_query247 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VT_PARAM_LIST_in_parameters260 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_param_definition_in_parameters262 = new BitSet(new long[]{0x0000004000000008L,0x0000000000200000L});
- public static final BitSet FOLLOW_data_type_in_param_definition275 = new BitSet(new long[]{0x0000004000000008L,0x0000000000200000L});
+ public static final BitSet FOLLOW_param_definition_in_parameters262 = new BitSet(new long[]{0x0000004000000008L,0x0000000000100000L});
+ public static final BitSet FOLLOW_data_type_in_param_definition275 = new BitSet(new long[]{0x0000004000000008L,0x0000000000100000L});
public static final BitSet FOLLOW_argument_in_param_definition278 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ID_in_argument289 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
public static final BitSet FOLLOW_dimension_definition_in_argument291 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L});
public static final BitSet FOLLOW_VK_DECLARE_in_type_declaration304 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_VT_TYPE_DECLARE_ID_in_type_declaration306 = new BitSet(new long[]{0x0000000000000000L,0x0000000021200000L});
- public static final BitSet FOLLOW_decl_metadata_in_type_declaration308 = new BitSet(new long[]{0x0000000000000000L,0x0000000021200000L});
- public static final BitSet FOLLOW_decl_field_in_type_declaration311 = new BitSet(new long[]{0x0000000000000000L,0x0000000001200000L});
+ public static final BitSet FOLLOW_VT_TYPE_DECLARE_ID_in_type_declaration306 = new BitSet(new long[]{0x0000000000000000L,0x0000000010900000L});
+ public static final BitSet FOLLOW_decl_metadata_in_type_declaration308 = new BitSet(new long[]{0x0000000000000000L,0x0000000010900000L});
+ public static final BitSet FOLLOW_decl_field_in_type_declaration311 = new BitSet(new long[]{0x0000000000000000L,0x0000000000900000L});
public static final BitSet FOLLOW_END_in_type_declaration314 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_AT_in_decl_metadata327 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_ID_in_decl_metadata329 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_VT_PAREN_CHUNK_in_decl_metadata331 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_ID_in_decl_field344 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_decl_field_initialization_in_decl_field346 = new BitSet(new long[]{0x0000004000000000L});
- public static final BitSet FOLLOW_data_type_in_decl_field349 = new BitSet(new long[]{0x0000000000000008L,0x0000000020000000L});
- public static final BitSet FOLLOW_decl_metadata_in_decl_field351 = new BitSet(new long[]{0x0000000000000008L,0x0000000020000000L});
+ public static final BitSet FOLLOW_data_type_in_decl_field349 = new BitSet(new long[]{0x0000000000000008L,0x0000000010000000L});
+ public static final BitSet FOLLOW_decl_metadata_in_decl_field351 = new BitSet(new long[]{0x0000000000000008L,0x0000000010000000L});
public static final BitSet FOLLOW_EQUALS_in_decl_field_initialization365 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_VT_PAREN_CHUNK_in_decl_field_initialization367 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VK_TEMPLATE_in_template380 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_VT_TEMPLATE_ID_in_template382 = new BitSet(new long[]{0x0000000000008000L});
- public static final BitSet FOLLOW_template_slot_in_template384 = new BitSet(new long[]{0x0000000000008000L,0x0000000001000000L});
+ public static final BitSet FOLLOW_template_slot_in_template384 = new BitSet(new long[]{0x0000000000008000L,0x0000000000800000L});
public static final BitSet FOLLOW_END_in_template387 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VT_SLOT_in_template_slot400 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_data_type_in_template_slot402 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_VT_SLOT_ID_in_template_slot404 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VK_RULE_in_rule417 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_VT_RULE_ID_in_rule419 = new BitSet(new long[]{0x0000000000030000L,0x0000000100000000L});
- public static final BitSet FOLLOW_rule_attributes_in_rule421 = new BitSet(new long[]{0x0000000000020000L,0x0000000100000000L});
+ public static final BitSet FOLLOW_VT_RULE_ID_in_rule419 = new BitSet(new long[]{0x0000000000030000L,0x0000000080000000L});
+ public static final BitSet FOLLOW_rule_attributes_in_rule421 = new BitSet(new long[]{0x0000000000020000L,0x0000000080000000L});
public static final BitSet FOLLOW_when_part_in_rule424 = new BitSet(new long[]{0x0000000000020000L});
public static final BitSet FOLLOW_VT_RHS_CHUNK_in_rule427 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_WHEN_in_when_part439 = new BitSet(new long[]{0x0000100000400000L});
@@ -3898,16 +3896,16 @@
public static final BitSet FOLLOW_VK_DIALECT_in_rule_attribute592 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_STRING_in_rule_attribute594 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VT_AND_IMPLICIT_in_lhs_block608 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_lhs_in_lhs_block610 = new BitSet(new long[]{0x0000000087800008L,0x000000200000C408L});
+ public static final BitSet FOLLOW_lhs_in_lhs_block610 = new BitSet(new long[]{0x0000000087800008L,0x000000100000C408L});
public static final BitSet FOLLOW_VT_OR_PREFIX_in_lhs623 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_lhs_in_lhs625 = new BitSet(new long[]{0x0000000087800008L,0x000000200000C408L});
+ public static final BitSet FOLLOW_lhs_in_lhs625 = new BitSet(new long[]{0x0000000087800008L,0x000000100000C408L});
public static final BitSet FOLLOW_VT_OR_INFIX_in_lhs633 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_lhs_in_lhs635 = new BitSet(new long[]{0x0000000087800008L,0x000000200000C408L});
+ public static final BitSet FOLLOW_lhs_in_lhs635 = new BitSet(new long[]{0x0000000087800008L,0x000000100000C408L});
public static final BitSet FOLLOW_lhs_in_lhs637 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VT_AND_PREFIX_in_lhs644 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_lhs_in_lhs646 = new BitSet(new long[]{0x0000000087800008L,0x000000200000C408L});
+ public static final BitSet FOLLOW_lhs_in_lhs646 = new BitSet(new long[]{0x0000000087800008L,0x000000100000C408L});
public static final BitSet FOLLOW_VT_AND_INFIX_in_lhs654 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_lhs_in_lhs656 = new BitSet(new long[]{0x0000000087800008L,0x000000200000C408L});
+ public static final BitSet FOLLOW_lhs_in_lhs656 = new BitSet(new long[]{0x0000000087800008L,0x000000100000C408L});
public static final BitSet FOLLOW_lhs_in_lhs658 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VK_EXISTS_in_lhs665 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_lhs_in_lhs667 = new BitSet(new long[]{0x0000000000000008L});
@@ -3916,9 +3914,9 @@
public static final BitSet FOLLOW_VK_EVAL_in_lhs683 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_VT_PAREN_CHUNK_in_lhs685 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VK_FORALL_in_lhs692 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_lhs_in_lhs694 = new BitSet(new long[]{0x0000000087800008L,0x000000200000C408L});
+ public static final BitSet FOLLOW_lhs_in_lhs694 = new BitSet(new long[]{0x0000000087800008L,0x000000100000C408L});
public static final BitSet FOLLOW_FROM_in_lhs702 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_lhs_pattern_in_lhs704 = new BitSet(new long[]{0x0000000020000000L,0x0000028000000200L});
+ public static final BitSet FOLLOW_lhs_pattern_in_lhs704 = new BitSet(new long[]{0x0000000020000000L,0x0000014000000200L});
public static final BitSet FOLLOW_from_elements_in_lhs706 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_lhs_pattern_in_lhs712 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ACCUMULATE_in_from_elements724 = new BitSet(new long[]{0x0000000000000004L});
@@ -3952,29 +3950,29 @@
public static final BitSet FOLLOW_OVER_in_over_clause878 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_over_element_in_over_clause880 = new BitSet(new long[]{0x0000000000200008L});
public static final BitSet FOLLOW_VT_BEHAVIOR_in_over_element894 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_ID_in_over_element896 = new BitSet(new long[]{0x0000000000000000L,0x0000000000200000L});
+ public static final BitSet FOLLOW_ID_in_over_element896 = new BitSet(new long[]{0x0000000000000000L,0x0000000000100000L});
public static final BitSet FOLLOW_ID_in_over_element898 = new BitSet(new long[]{0x0000000000100000L});
public static final BitSet FOLLOW_VT_PAREN_CHUNK_in_over_element900 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_DOUBLE_PIPE_in_fact_expression913 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_fact_expression_in_fact_expression915 = new BitSet(new long[]{0x0000001F00100040L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_fact_expression_in_fact_expression915 = new BitSet(new long[]{0x0000001F00100040L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression917 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_DOUBLE_AMPER_in_fact_expression924 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_fact_expression_in_fact_expression926 = new BitSet(new long[]{0x0000001F00100040L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_fact_expression_in_fact_expression926 = new BitSet(new long[]{0x0000001F00100040L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression928 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VT_FACT_BINDING_in_fact_expression935 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_VT_LABEL_in_fact_expression937 = new BitSet(new long[]{0x0000001F00100040L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_VT_LABEL_in_fact_expression937 = new BitSet(new long[]{0x0000001F00100040L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression939 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VT_FACT_in_fact_expression946 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_pattern_type_in_fact_expression948 = new BitSet(new long[]{0x0000001F00100048L,0x0007F81E022009F8L});
- public static final BitSet FOLLOW_fact_expression_in_fact_expression950 = new BitSet(new long[]{0x0000001F00100048L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_pattern_type_in_fact_expression948 = new BitSet(new long[]{0x0000001F00100048L,0x0006FC0F011009F8L});
+ public static final BitSet FOLLOW_fact_expression_in_fact_expression950 = new BitSet(new long[]{0x0000001F00100048L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_VT_FACT_OR_in_fact_expression958 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_fact_expression_in_fact_expression960 = new BitSet(new long[]{0x0000001F00100040L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_fact_expression_in_fact_expression960 = new BitSet(new long[]{0x0000001F00100040L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression962 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VK_EVAL_in_fact_expression969 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_VT_PAREN_CHUNK_in_fact_expression971 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VK_IN_in_fact_expression978 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_VK_NOT_in_fact_expression980 = new BitSet(new long[]{0x0000001F00100040L,0x0007F81E022009F8L});
- public static final BitSet FOLLOW_fact_expression_in_fact_expression983 = new BitSet(new long[]{0x0000001F00100048L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_VK_NOT_in_fact_expression980 = new BitSet(new long[]{0x0000001F00100040L,0x0006FC0F011009F8L});
+ public static final BitSet FOLLOW_fact_expression_in_fact_expression983 = new BitSet(new long[]{0x0000001F00100048L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_EQUAL_in_fact_expression991 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression993 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_GREATER_in_fact_expression1000 = new BitSet(new long[]{0x0000000000000004L});
@@ -3988,29 +3986,29 @@
public static final BitSet FOLLOW_NOT_EQUAL_in_fact_expression1036 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression1038 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VK_CONTAINS_in_fact_expression1045 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_VK_NOT_in_fact_expression1047 = new BitSet(new long[]{0x0000001F00100040L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_VK_NOT_in_fact_expression1047 = new BitSet(new long[]{0x0000001F00100040L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression1050 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VK_EXCLUDES_in_fact_expression1057 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_VK_NOT_in_fact_expression1059 = new BitSet(new long[]{0x0000001F00100040L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_VK_NOT_in_fact_expression1059 = new BitSet(new long[]{0x0000001F00100040L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression1062 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VK_MATCHES_in_fact_expression1069 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_VK_NOT_in_fact_expression1071 = new BitSet(new long[]{0x0000001F00100040L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_VK_NOT_in_fact_expression1071 = new BitSet(new long[]{0x0000001F00100040L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression1074 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VK_SOUNDSLIKE_in_fact_expression1081 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_VK_NOT_in_fact_expression1083 = new BitSet(new long[]{0x0000001F00100040L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_VK_NOT_in_fact_expression1083 = new BitSet(new long[]{0x0000001F00100040L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression1086 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VK_MEMBEROF_in_fact_expression1093 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_VK_NOT_in_fact_expression1095 = new BitSet(new long[]{0x0000001F00100040L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_VK_NOT_in_fact_expression1095 = new BitSet(new long[]{0x0000001F00100040L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression1098 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_ID_in_fact_expression1105 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_VK_NOT_in_fact_expression1107 = new BitSet(new long[]{0x0000001F00180040L,0x0007F81E022009F8L});
- public static final BitSet FOLLOW_VT_SQUARE_CHUNK_in_fact_expression1110 = new BitSet(new long[]{0x0000001F00100040L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_VK_NOT_in_fact_expression1107 = new BitSet(new long[]{0x0000001F00180040L,0x0006FC0F011009F8L});
+ public static final BitSet FOLLOW_VT_SQUARE_CHUNK_in_fact_expression1110 = new BitSet(new long[]{0x0000001F00100040L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression1113 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VT_BIND_FIELD_in_fact_expression1120 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_VT_LABEL_in_fact_expression1122 = new BitSet(new long[]{0x0000001F00100040L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_VT_LABEL_in_fact_expression1122 = new BitSet(new long[]{0x0000001F00100040L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression1124 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VT_FIELD_in_fact_expression1131 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_fact_expression_in_fact_expression1133 = new BitSet(new long[]{0x0000001F00100048L,0x0007F81E022009F8L});
+ public static final BitSet FOLLOW_fact_expression_in_fact_expression1133 = new BitSet(new long[]{0x0000001F00100048L,0x0006FC0F011009F8L});
public static final BitSet FOLLOW_fact_expression_in_fact_expression1135 = new BitSet(new long[]{0x0000000000000008L});
public static final BitSet FOLLOW_VT_ACCESSOR_PATH_in_fact_expression1143 = new BitSet(new long[]{0x0000000000000004L});
public static final BitSet FOLLOW_accessor_element_in_fact_expression1145 = new BitSet(new long[]{0x0000002000000008L});
@@ -4021,10 +4019,10 @@
public static final BitSet FOLLOW_NULL_in_fact_expression1172 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_VT_PAREN_CHUNK_in_fact_expression1177 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_VT_PATTERN_TYPE_in_pattern_type1189 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_ID_in_pattern_type1191 = new BitSet(new long[]{0x0000000000000008L,0x0008000000200000L});
+ public static final BitSet FOLLOW_ID_in_pattern_type1191 = new BitSet(new long[]{0x0000000000000008L,0x0008000000100000L});
public static final BitSet FOLLOW_dimension_definition_in_pattern_type1194 = new BitSet(new long[]{0x0000000000000008L,0x0008000000000000L});
public static final BitSet FOLLOW_VT_DATA_TYPE_in_data_type1208 = new BitSet(new long[]{0x0000000000000004L});
- public static final BitSet FOLLOW_ID_in_data_type1210 = new BitSet(new long[]{0x0000000000000008L,0x0008000000200000L});
+ public static final BitSet FOLLOW_ID_in_data_type1210 = new BitSet(new long[]{0x0000000000000008L,0x0008000000100000L});
public static final BitSet FOLLOW_dimension_definition_in_data_type1213 = new BitSet(new long[]{0x0000000000000008L,0x0008000000000000L});
public static final BitSet FOLLOW_LEFT_SQUARE_in_dimension_definition1226 = new BitSet(new long[]{0x0000000000000000L,0x0010000000000000L});
public static final BitSet FOLLOW_RIGHT_SQUARE_in_dimension_definition1228 = new BitSet(new long[]{0x0000000000000002L});
More information about the jboss-svn-commits
mailing list