0001: // $ANTLR 3.0 /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g 2007-08-30 13:18:03
0002:
0003: package org.drools.lang;
0004:
0005: import org.antlr.runtime.*;
0006: import java.util.Stack;
0007: import java.util.List;
0008: import java.util.ArrayList;
0009: import java.util.Map;
0010: import java.util.HashMap;
0011:
0012: public class DRLLexer extends Lexer {
0013: public static final int COMMA = 11;
0014: public static final int EXISTS = 39;
0015: public static final int T79 = 79;
0016: public static final int AUTO_FOCUS = 27;
0017: public static final int END = 14;
0018: public static final int HexDigit = 64;
0019: public static final int FORALL = 42;
0020: public static final int TEMPLATE = 15;
0021: public static final int MISC = 70;
0022: public static final int FLOAT = 54;
0023: public static final int T74 = 74;
0024: public static final int QUERY = 13;
0025: public static final int THEN = 60;
0026: public static final int RULE = 16;
0027: public static final int INIT = 44;
0028: public static final int IMPORT = 5;
0029: public static final int PACKAGE = 4;
0030: public static final int DATE_EFFECTIVE = 19;
0031: public static final int OR = 34;
0032: public static final int DOT = 8;
0033: public static final int DOUBLE_PIPE = 35;
0034: public static final int AND = 36;
0035: public static final int FUNCTION = 6;
0036: public static final int GLOBAL = 9;
0037: public static final int EscapeSequence = 63;
0038: public static final int DIALECT = 32;
0039: public static final int INT = 25;
0040: public static final int LOCK_ON_ACTIVE = 33;
0041: public static final int DATE_EXPIRES = 21;
0042: public static final int LEFT_SQUARE = 58;
0043: public static final int CONTAINS = 49;
0044: public static final int SH_STYLE_SINGLE_LINE_COMMENT = 67;
0045: public static final int T77 = 77;
0046: public static final int ATTRIBUTES = 18;
0047: public static final int LEFT_CURLY = 56;
0048: public static final int RESULT = 47;
0049: public static final int ID = 7;
0050: public static final int FROM = 38;
0051: public static final int LEFT_PAREN = 10;
0052: public static final int ACTIVATION_GROUP = 28;
0053: public static final int DOUBLE_AMPER = 37;
0054: public static final int RIGHT_CURLY = 57;
0055: public static final int BOOL = 23;
0056: public static final int EXCLUDES = 50;
0057: public static final int T73 = 73;
0058: public static final int MEMBEROF = 52;
0059: public static final int WHEN = 17;
0060: public static final int T78 = 78;
0061: public static final int RULEFLOW_GROUP = 29;
0062: public static final int WS = 62;
0063: public static final int STRING = 20;
0064: public static final int ACTION = 45;
0065: public static final int T71 = 71;
0066: public static final int T72 = 72;
0067: public static final int COLLECT = 48;
0068: public static final int T76 = 76;
0069: public static final int REVERSE = 46;
0070: public static final int IN = 53;
0071: public static final int T80 = 80;
0072: public static final int ACCUMULATE = 43;
0073: public static final int NO_LOOP = 26;
0074: public static final int UnicodeEscape = 65;
0075: public static final int T75 = 75;
0076: public static final int DURATION = 31;
0077: public static final int EVAL = 41;
0078: public static final int MATCHES = 51;
0079: public static final int EOF = -1;
0080: public static final int AGENDA_GROUP = 30;
0081: public static final int NULL = 55;
0082: public static final int EOL = 61;
0083: public static final int Tokens = 81;
0084: public static final int SALIENCE = 24;
0085: public static final int OctalEscape = 66;
0086: public static final int MULTI_LINE_COMMENT = 69;
0087: public static final int NOT = 40;
0088: public static final int RIGHT_PAREN = 12;
0089: public static final int ENABLED = 22;
0090: public static final int RIGHT_SQUARE = 59;
0091: public static final int C_STYLE_SINGLE_LINE_COMMENT = 68;
0092:
0093: public DRLLexer() {
0094: ;
0095: }
0096:
0097: public DRLLexer(CharStream input) {
0098: super (input);
0099: ruleMemo = new HashMap[79 + 1];
0100: }
0101:
0102: public String getGrammarFileName() {
0103: return "/home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g";
0104: }
0105:
0106: // $ANTLR start T71
0107: public final void mT71() throws RecognitionException {
0108: try {
0109: int _type = T71;
0110: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:6:5: ( ';' )
0111: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:6:7: ';'
0112: {
0113: match(';');
0114: if (failed)
0115: return;
0116:
0117: }
0118:
0119: this .type = _type;
0120: } finally {
0121: }
0122: }
0123:
0124: // $ANTLR end T71
0125:
0126: // $ANTLR start T72
0127: public final void mT72() throws RecognitionException {
0128: try {
0129: int _type = T72;
0130: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:7:5: ( '.*' )
0131: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:7:7: '.*'
0132: {
0133: match(".*");
0134: if (failed)
0135: return;
0136:
0137: }
0138:
0139: this .type = _type;
0140: } finally {
0141: }
0142: }
0143:
0144: // $ANTLR end T72
0145:
0146: // $ANTLR start T73
0147: public final void mT73() throws RecognitionException {
0148: try {
0149: int _type = T73;
0150: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:8:5: ( ':' )
0151: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:8:7: ':'
0152: {
0153: match(':');
0154: if (failed)
0155: return;
0156:
0157: }
0158:
0159: this .type = _type;
0160: } finally {
0161: }
0162: }
0163:
0164: // $ANTLR end T73
0165:
0166: // $ANTLR start T74
0167: public final void mT74() throws RecognitionException {
0168: try {
0169: int _type = T74;
0170: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:9:5: ( '->' )
0171: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:9:7: '->'
0172: {
0173: match("->");
0174: if (failed)
0175: return;
0176:
0177: }
0178:
0179: this .type = _type;
0180: } finally {
0181: }
0182: }
0183:
0184: // $ANTLR end T74
0185:
0186: // $ANTLR start T75
0187: public final void mT75() throws RecognitionException {
0188: try {
0189: int _type = T75;
0190: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:10:5: ( '==' )
0191: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:10:7: '=='
0192: {
0193: match("==");
0194: if (failed)
0195: return;
0196:
0197: }
0198:
0199: this .type = _type;
0200: } finally {
0201: }
0202: }
0203:
0204: // $ANTLR end T75
0205:
0206: // $ANTLR start T76
0207: public final void mT76() throws RecognitionException {
0208: try {
0209: int _type = T76;
0210: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:11:5: ( '>' )
0211: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:11:7: '>'
0212: {
0213: match('>');
0214: if (failed)
0215: return;
0216:
0217: }
0218:
0219: this .type = _type;
0220: } finally {
0221: }
0222: }
0223:
0224: // $ANTLR end T76
0225:
0226: // $ANTLR start T77
0227: public final void mT77() throws RecognitionException {
0228: try {
0229: int _type = T77;
0230: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:12:5: ( '>=' )
0231: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:12:7: '>='
0232: {
0233: match(">=");
0234: if (failed)
0235: return;
0236:
0237: }
0238:
0239: this .type = _type;
0240: } finally {
0241: }
0242: }
0243:
0244: // $ANTLR end T77
0245:
0246: // $ANTLR start T78
0247: public final void mT78() throws RecognitionException {
0248: try {
0249: int _type = T78;
0250: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:13:5: ( '<' )
0251: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:13:7: '<'
0252: {
0253: match('<');
0254: if (failed)
0255: return;
0256:
0257: }
0258:
0259: this .type = _type;
0260: } finally {
0261: }
0262: }
0263:
0264: // $ANTLR end T78
0265:
0266: // $ANTLR start T79
0267: public final void mT79() throws RecognitionException {
0268: try {
0269: int _type = T79;
0270: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:14:5: ( '<=' )
0271: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:14:7: '<='
0272: {
0273: match("<=");
0274: if (failed)
0275: return;
0276:
0277: }
0278:
0279: this .type = _type;
0280: } finally {
0281: }
0282: }
0283:
0284: // $ANTLR end T79
0285:
0286: // $ANTLR start T80
0287: public final void mT80() throws RecognitionException {
0288: try {
0289: int _type = T80;
0290: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:15:5: ( '!=' )
0291: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:15:7: '!='
0292: {
0293: match("!=");
0294: if (failed)
0295: return;
0296:
0297: }
0298:
0299: this .type = _type;
0300: } finally {
0301: }
0302: }
0303:
0304: // $ANTLR end T80
0305:
0306: // $ANTLR start WS
0307: public final void mWS() throws RecognitionException {
0308: try {
0309: int _type = WS;
0310: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1683:9: ( ( ' ' | '\\t' | '\\f' | EOL )+ )
0311: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1683:17: ( ' ' | '\\t' | '\\f' | EOL )+
0312: {
0313: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1683:17: ( ' ' | '\\t' | '\\f' | EOL )+
0314: int cnt1 = 0;
0315: loop1: do {
0316: int alt1 = 5;
0317: switch (input.LA(1)) {
0318: case ' ': {
0319: alt1 = 1;
0320: }
0321: break;
0322: case '\t': {
0323: alt1 = 2;
0324: }
0325: break;
0326: case '\f': {
0327: alt1 = 3;
0328: }
0329: break;
0330: case '\n':
0331: case '\r': {
0332: alt1 = 4;
0333: }
0334: break;
0335:
0336: }
0337:
0338: switch (alt1) {
0339: case 1:
0340: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1683:19: ' '
0341: {
0342: match(' ');
0343: if (failed)
0344: return;
0345:
0346: }
0347: break;
0348: case 2:
0349: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1684:19: '\\t'
0350: {
0351: match('\t');
0352: if (failed)
0353: return;
0354:
0355: }
0356: break;
0357: case 3:
0358: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1685:19: '\\f'
0359: {
0360: match('\f');
0361: if (failed)
0362: return;
0363:
0364: }
0365: break;
0366: case 4:
0367: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1686:19: EOL
0368: {
0369: mEOL();
0370: if (failed)
0371: return;
0372:
0373: }
0374: break;
0375:
0376: default:
0377: if (cnt1 >= 1)
0378: break loop1;
0379: if (backtracking > 0) {
0380: failed = true;
0381: return;
0382: }
0383: EarlyExitException eee = new EarlyExitException(
0384: 1, input);
0385: throw eee;
0386: }
0387: cnt1++;
0388: } while (true);
0389:
0390: if (backtracking == 0) {
0391: channel = HIDDEN;
0392: }
0393:
0394: }
0395:
0396: this .type = _type;
0397: } finally {
0398: }
0399: }
0400:
0401: // $ANTLR end WS
0402:
0403: // $ANTLR start EOL
0404: public final void mEOL() throws RecognitionException {
0405: try {
0406: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1692:6: ( ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' ) )
0407: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1693:6: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' )
0408: {
0409: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1693:6: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' )
0410: int alt2 = 3;
0411: int LA2_0 = input.LA(1);
0412:
0413: if ((LA2_0 == '\r')) {
0414: int LA2_1 = input.LA(2);
0415:
0416: if ((LA2_1 == '\n') && (synpred1())) {
0417: alt2 = 1;
0418: } else {
0419: alt2 = 2;
0420: }
0421: } else if ((LA2_0 == '\n')) {
0422: alt2 = 3;
0423: } else {
0424: if (backtracking > 0) {
0425: failed = true;
0426: return;
0427: }
0428: NoViableAltException nvae = new NoViableAltException(
0429: "1693:6: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' )",
0430: 2, 0, input);
0431:
0432: throw nvae;
0433: }
0434: switch (alt2) {
0435: case 1:
0436: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1693:14: ( '\\r\\n' )=> '\\r\\n'
0437: {
0438: match("\r\n");
0439: if (failed)
0440: return;
0441:
0442: }
0443: break;
0444: case 2:
0445: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1694:25: '\\r'
0446: {
0447: match('\r');
0448: if (failed)
0449: return;
0450:
0451: }
0452: break;
0453: case 3:
0454: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1695:25: '\\n'
0455: {
0456: match('\n');
0457: if (failed)
0458: return;
0459:
0460: }
0461: break;
0462:
0463: }
0464:
0465: }
0466:
0467: } finally {
0468: }
0469: }
0470:
0471: // $ANTLR end EOL
0472:
0473: // $ANTLR start INT
0474: public final void mINT() throws RecognitionException {
0475: try {
0476: int _type = INT;
0477: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1700:2: ( ( '-' )? ( '0' .. '9' )+ )
0478: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1700:4: ( '-' )? ( '0' .. '9' )+
0479: {
0480: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1700:4: ( '-' )?
0481: int alt3 = 2;
0482: int LA3_0 = input.LA(1);
0483:
0484: if ((LA3_0 == '-')) {
0485: alt3 = 1;
0486: }
0487: switch (alt3) {
0488: case 1:
0489: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1700:5: '-'
0490: {
0491: match('-');
0492: if (failed)
0493: return;
0494:
0495: }
0496: break;
0497:
0498: }
0499:
0500: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1700:10: ( '0' .. '9' )+
0501: int cnt4 = 0;
0502: loop4: do {
0503: int alt4 = 2;
0504: int LA4_0 = input.LA(1);
0505:
0506: if (((LA4_0 >= '0' && LA4_0 <= '9'))) {
0507: alt4 = 1;
0508: }
0509:
0510: switch (alt4) {
0511: case 1:
0512: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1700:11: '0' .. '9'
0513: {
0514: matchRange('0', '9');
0515: if (failed)
0516: return;
0517:
0518: }
0519: break;
0520:
0521: default:
0522: if (cnt4 >= 1)
0523: break loop4;
0524: if (backtracking > 0) {
0525: failed = true;
0526: return;
0527: }
0528: EarlyExitException eee = new EarlyExitException(
0529: 4, input);
0530: throw eee;
0531: }
0532: cnt4++;
0533: } while (true);
0534:
0535: }
0536:
0537: this .type = _type;
0538: } finally {
0539: }
0540: }
0541:
0542: // $ANTLR end INT
0543:
0544: // $ANTLR start FLOAT
0545: public final void mFLOAT() throws RecognitionException {
0546: try {
0547: int _type = FLOAT;
0548: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1704:2: ( ( '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )+ )
0549: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1704:4: ( '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )+
0550: {
0551: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1704:4: ( '-' )?
0552: int alt5 = 2;
0553: int LA5_0 = input.LA(1);
0554:
0555: if ((LA5_0 == '-')) {
0556: alt5 = 1;
0557: }
0558: switch (alt5) {
0559: case 1:
0560: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1704:5: '-'
0561: {
0562: match('-');
0563: if (failed)
0564: return;
0565:
0566: }
0567: break;
0568:
0569: }
0570:
0571: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1704:10: ( '0' .. '9' )+
0572: int cnt6 = 0;
0573: loop6: do {
0574: int alt6 = 2;
0575: int LA6_0 = input.LA(1);
0576:
0577: if (((LA6_0 >= '0' && LA6_0 <= '9'))) {
0578: alt6 = 1;
0579: }
0580:
0581: switch (alt6) {
0582: case 1:
0583: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1704:11: '0' .. '9'
0584: {
0585: matchRange('0', '9');
0586: if (failed)
0587: return;
0588:
0589: }
0590: break;
0591:
0592: default:
0593: if (cnt6 >= 1)
0594: break loop6;
0595: if (backtracking > 0) {
0596: failed = true;
0597: return;
0598: }
0599: EarlyExitException eee = new EarlyExitException(
0600: 6, input);
0601: throw eee;
0602: }
0603: cnt6++;
0604: } while (true);
0605:
0606: match('.');
0607: if (failed)
0608: return;
0609: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1704:26: ( '0' .. '9' )+
0610: int cnt7 = 0;
0611: loop7: do {
0612: int alt7 = 2;
0613: int LA7_0 = input.LA(1);
0614:
0615: if (((LA7_0 >= '0' && LA7_0 <= '9'))) {
0616: alt7 = 1;
0617: }
0618:
0619: switch (alt7) {
0620: case 1:
0621: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1704:27: '0' .. '9'
0622: {
0623: matchRange('0', '9');
0624: if (failed)
0625: return;
0626:
0627: }
0628: break;
0629:
0630: default:
0631: if (cnt7 >= 1)
0632: break loop7;
0633: if (backtracking > 0) {
0634: failed = true;
0635: return;
0636: }
0637: EarlyExitException eee = new EarlyExitException(
0638: 7, input);
0639: throw eee;
0640: }
0641: cnt7++;
0642: } while (true);
0643:
0644: }
0645:
0646: this .type = _type;
0647: } finally {
0648: }
0649: }
0650:
0651: // $ANTLR end FLOAT
0652:
0653: // $ANTLR start STRING
0654: public final void mSTRING() throws RecognitionException {
0655: try {
0656: int _type = STRING;
0657: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1708:5: ( ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' ) | ( '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\'' ) )
0658: int alt10 = 2;
0659: int LA10_0 = input.LA(1);
0660:
0661: if ((LA10_0 == '\"')) {
0662: alt10 = 1;
0663: } else if ((LA10_0 == '\'')) {
0664: alt10 = 2;
0665: } else {
0666: if (backtracking > 0) {
0667: failed = true;
0668: return;
0669: }
0670: NoViableAltException nvae = new NoViableAltException(
0671: "1707:1: STRING : ( ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' ) | ( '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\'' ) );",
0672: 10, 0, input);
0673:
0674: throw nvae;
0675: }
0676: switch (alt10) {
0677: case 1:
0678: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1708:8: ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' )
0679: {
0680: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1708:8: ( '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"' )
0681: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1708:9: '\"' ( EscapeSequence | ~ ( '\\\\' | '\"' ) )* '\"'
0682: {
0683: match('\"');
0684: if (failed)
0685: return;
0686: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1708:13: ( EscapeSequence | ~ ( '\\\\' | '\"' ) )*
0687: loop8: do {
0688: int alt8 = 3;
0689: int LA8_0 = input.LA(1);
0690:
0691: if ((LA8_0 == '\\')) {
0692: alt8 = 1;
0693: } else if (((LA8_0 >= '\u0000' && LA8_0 <= '!')
0694: || (LA8_0 >= '#' && LA8_0 <= '[') || (LA8_0 >= ']' && LA8_0 <= '\uFFFE'))) {
0695: alt8 = 2;
0696: }
0697:
0698: switch (alt8) {
0699: case 1:
0700: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1708:15: EscapeSequence
0701: {
0702: mEscapeSequence();
0703: if (failed)
0704: return;
0705:
0706: }
0707: break;
0708: case 2:
0709: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1708:32: ~ ( '\\\\' | '\"' )
0710: {
0711: if ((input.LA(1) >= '\u0000' && input.LA(1) <= '!')
0712: || (input.LA(1) >= '#' && input
0713: .LA(1) <= '[')
0714: || (input.LA(1) >= ']' && input
0715: .LA(1) <= '\uFFFE')) {
0716: input.consume();
0717: failed = false;
0718: } else {
0719: if (backtracking > 0) {
0720: failed = true;
0721: return;
0722: }
0723: MismatchedSetException mse = new MismatchedSetException(
0724: null, input);
0725: recover(mse);
0726: throw mse;
0727: }
0728:
0729: }
0730: break;
0731:
0732: default:
0733: break loop8;
0734: }
0735: } while (true);
0736:
0737: match('\"');
0738: if (failed)
0739: return;
0740:
0741: }
0742:
0743: }
0744: break;
0745: case 2:
0746: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1709:8: ( '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\'' )
0747: {
0748: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1709:8: ( '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\'' )
0749: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1709:9: '\\'' ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )* '\\''
0750: {
0751: match('\'');
0752: if (failed)
0753: return;
0754: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1709:14: ( EscapeSequence | ~ ( '\\\\' | '\\'' ) )*
0755: loop9: do {
0756: int alt9 = 3;
0757: int LA9_0 = input.LA(1);
0758:
0759: if ((LA9_0 == '\\')) {
0760: alt9 = 1;
0761: } else if (((LA9_0 >= '\u0000' && LA9_0 <= '&')
0762: || (LA9_0 >= '(' && LA9_0 <= '[') || (LA9_0 >= ']' && LA9_0 <= '\uFFFE'))) {
0763: alt9 = 2;
0764: }
0765:
0766: switch (alt9) {
0767: case 1:
0768: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1709:16: EscapeSequence
0769: {
0770: mEscapeSequence();
0771: if (failed)
0772: return;
0773:
0774: }
0775: break;
0776: case 2:
0777: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1709:33: ~ ( '\\\\' | '\\'' )
0778: {
0779: if ((input.LA(1) >= '\u0000' && input.LA(1) <= '&')
0780: || (input.LA(1) >= '(' && input
0781: .LA(1) <= '[')
0782: || (input.LA(1) >= ']' && input
0783: .LA(1) <= '\uFFFE')) {
0784: input.consume();
0785: failed = false;
0786: } else {
0787: if (backtracking > 0) {
0788: failed = true;
0789: return;
0790: }
0791: MismatchedSetException mse = new MismatchedSetException(
0792: null, input);
0793: recover(mse);
0794: throw mse;
0795: }
0796:
0797: }
0798: break;
0799:
0800: default:
0801: break loop9;
0802: }
0803: } while (true);
0804:
0805: match('\'');
0806: if (failed)
0807: return;
0808:
0809: }
0810:
0811: }
0812: break;
0813:
0814: }
0815: this .type = _type;
0816: } finally {
0817: }
0818: }
0819:
0820: // $ANTLR end STRING
0821:
0822: // $ANTLR start HexDigit
0823: public final void mHexDigit() throws RecognitionException {
0824: try {
0825: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1713:10: ( ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )
0826: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1713:12: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
0827: {
0828: if ((input.LA(1) >= '0' && input.LA(1) <= '9')
0829: || (input.LA(1) >= 'A' && input.LA(1) <= 'F')
0830: || (input.LA(1) >= 'a' && input.LA(1) <= 'f')) {
0831: input.consume();
0832: failed = false;
0833: } else {
0834: if (backtracking > 0) {
0835: failed = true;
0836: return;
0837: }
0838: MismatchedSetException mse = new MismatchedSetException(
0839: null, input);
0840: recover(mse);
0841: throw mse;
0842: }
0843:
0844: }
0845:
0846: } finally {
0847: }
0848: }
0849:
0850: // $ANTLR end HexDigit
0851:
0852: // $ANTLR start EscapeSequence
0853: public final void mEscapeSequence() throws RecognitionException {
0854: try {
0855: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1717: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 )
0856: int alt11 = 3;
0857: int LA11_0 = input.LA(1);
0858:
0859: if ((LA11_0 == '\\')) {
0860: switch (input.LA(2)) {
0861: case '\"':
0862: case '$':
0863: case '&':
0864: case '\'':
0865: case '(':
0866: case ')':
0867: case '*':
0868: case '+':
0869: case '-':
0870: case '.':
0871: case '?':
0872: case 'A':
0873: case 'B':
0874: case 'D':
0875: case 'E':
0876: case 'G':
0877: case 'Q':
0878: case 'S':
0879: case 'W':
0880: case 'Z':
0881: case '[':
0882: case '\\':
0883: case ']':
0884: case '^':
0885: case 'a':
0886: case 'b':
0887: case 'c':
0888: case 'd':
0889: case 'e':
0890: case 'f':
0891: case 'n':
0892: case 'o':
0893: case 'p':
0894: case 'r':
0895: case 's':
0896: case 't':
0897: case 'w':
0898: case 'x':
0899: case 'z':
0900: case '{':
0901: case '|':
0902: case '}': {
0903: alt11 = 1;
0904: }
0905: break;
0906: case 'u': {
0907: alt11 = 2;
0908: }
0909: break;
0910: case '0':
0911: case '1':
0912: case '2':
0913: case '3':
0914: case '4':
0915: case '5':
0916: case '6':
0917: case '7': {
0918: alt11 = 3;
0919: }
0920: break;
0921: default:
0922: if (backtracking > 0) {
0923: failed = true;
0924: return;
0925: }
0926: NoViableAltException nvae = new NoViableAltException(
0927: "1715:1: fragment EscapeSequence : ( '\\\\' ( '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 );",
0928: 11, 1, input);
0929:
0930: throw nvae;
0931: }
0932:
0933: } else {
0934: if (backtracking > 0) {
0935: failed = true;
0936: return;
0937: }
0938: NoViableAltException nvae = new NoViableAltException(
0939: "1715:1: fragment EscapeSequence : ( '\\\\' ( '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 );",
0940: 11, 0, input);
0941:
0942: throw nvae;
0943: }
0944: switch (alt11) {
0945: case 1:
0946: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1717: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' | '*' | '[' | ']' | '(' | ')' | '$' | '^' | '{' | '}' | '?' | '+' | '-' | '&' | '|' )
0947: {
0948: match('\\');
0949: if (failed)
0950: return;
0951: if (input.LA(1) == '\"' || input.LA(1) == '$'
0952: || (input.LA(1) >= '&' && input.LA(1) <= '+')
0953: || (input.LA(1) >= '-' && input.LA(1) <= '.')
0954: || input.LA(1) == '?'
0955: || (input.LA(1) >= 'A' && input.LA(1) <= 'B')
0956: || (input.LA(1) >= 'D' && input.LA(1) <= 'E')
0957: || input.LA(1) == 'G' || input.LA(1) == 'Q'
0958: || input.LA(1) == 'S' || input.LA(1) == 'W'
0959: || (input.LA(1) >= 'Z' && input.LA(1) <= '^')
0960: || (input.LA(1) >= 'a' && input.LA(1) <= 'f')
0961: || (input.LA(1) >= 'n' && input.LA(1) <= 'p')
0962: || (input.LA(1) >= 'r' && input.LA(1) <= 't')
0963: || (input.LA(1) >= 'w' && input.LA(1) <= 'x')
0964: || (input.LA(1) >= 'z' && input.LA(1) <= '}')) {
0965: input.consume();
0966: failed = false;
0967: } else {
0968: if (backtracking > 0) {
0969: failed = true;
0970: return;
0971: }
0972: MismatchedSetException mse = new MismatchedSetException(
0973: null, input);
0974: recover(mse);
0975: throw mse;
0976: }
0977:
0978: }
0979: break;
0980: case 2:
0981: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1721:9: UnicodeEscape
0982: {
0983: mUnicodeEscape();
0984: if (failed)
0985: return;
0986:
0987: }
0988: break;
0989: case 3:
0990: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1722:9: OctalEscape
0991: {
0992: mOctalEscape();
0993: if (failed)
0994: return;
0995:
0996: }
0997: break;
0998:
0999: }
1000: } finally {
1001: }
1002: }
1003:
1004: // $ANTLR end EscapeSequence
1005:
1006: // $ANTLR start OctalEscape
1007: public final void mOctalEscape() throws RecognitionException {
1008: try {
1009: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1727:5: ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) )
1010: int alt12 = 3;
1011: int LA12_0 = input.LA(1);
1012:
1013: if ((LA12_0 == '\\')) {
1014: int LA12_1 = input.LA(2);
1015:
1016: if (((LA12_1 >= '0' && LA12_1 <= '3'))) {
1017: int LA12_2 = input.LA(3);
1018:
1019: if (((LA12_2 >= '0' && LA12_2 <= '7'))) {
1020: int LA12_4 = input.LA(4);
1021:
1022: if (((LA12_4 >= '0' && LA12_4 <= '7'))) {
1023: alt12 = 1;
1024: } else {
1025: alt12 = 2;
1026: }
1027: } else {
1028: alt12 = 3;
1029: }
1030: } else if (((LA12_1 >= '4' && LA12_1 <= '7'))) {
1031: int LA12_3 = input.LA(3);
1032:
1033: if (((LA12_3 >= '0' && LA12_3 <= '7'))) {
1034: alt12 = 2;
1035: } else {
1036: alt12 = 3;
1037: }
1038: } else {
1039: if (backtracking > 0) {
1040: failed = true;
1041: return;
1042: }
1043: NoViableAltException nvae = new NoViableAltException(
1044: "1725:1: fragment OctalEscape : ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) );",
1045: 12, 1, input);
1046:
1047: throw nvae;
1048: }
1049: } else {
1050: if (backtracking > 0) {
1051: failed = true;
1052: return;
1053: }
1054: NoViableAltException nvae = new NoViableAltException(
1055: "1725:1: fragment OctalEscape : ( '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) ( '0' .. '7' ) | '\\\\' ( '0' .. '7' ) );",
1056: 12, 0, input);
1057:
1058: throw nvae;
1059: }
1060: switch (alt12) {
1061: case 1:
1062: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1727:9: '\\\\' ( '0' .. '3' ) ( '0' .. '7' ) ( '0' .. '7' )
1063: {
1064: match('\\');
1065: if (failed)
1066: return;
1067: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1727:14: ( '0' .. '3' )
1068: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1727:15: '0' .. '3'
1069: {
1070: matchRange('0', '3');
1071: if (failed)
1072: return;
1073:
1074: }
1075:
1076: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1727:25: ( '0' .. '7' )
1077: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1727:26: '0' .. '7'
1078: {
1079: matchRange('0', '7');
1080: if (failed)
1081: return;
1082:
1083: }
1084:
1085: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1727:36: ( '0' .. '7' )
1086: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1727:37: '0' .. '7'
1087: {
1088: matchRange('0', '7');
1089: if (failed)
1090: return;
1091:
1092: }
1093:
1094: }
1095: break;
1096: case 2:
1097: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1728:9: '\\\\' ( '0' .. '7' ) ( '0' .. '7' )
1098: {
1099: match('\\');
1100: if (failed)
1101: return;
1102: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1728:14: ( '0' .. '7' )
1103: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1728:15: '0' .. '7'
1104: {
1105: matchRange('0', '7');
1106: if (failed)
1107: return;
1108:
1109: }
1110:
1111: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1728:25: ( '0' .. '7' )
1112: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1728:26: '0' .. '7'
1113: {
1114: matchRange('0', '7');
1115: if (failed)
1116: return;
1117:
1118: }
1119:
1120: }
1121: break;
1122: case 3:
1123: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:9: '\\\\' ( '0' .. '7' )
1124: {
1125: match('\\');
1126: if (failed)
1127: return;
1128: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:14: ( '0' .. '7' )
1129: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1729:15: '0' .. '7'
1130: {
1131: matchRange('0', '7');
1132: if (failed)
1133: return;
1134:
1135: }
1136:
1137: }
1138: break;
1139:
1140: }
1141: } finally {
1142: }
1143: }
1144:
1145: // $ANTLR end OctalEscape
1146:
1147: // $ANTLR start UnicodeEscape
1148: public final void mUnicodeEscape() throws RecognitionException {
1149: try {
1150: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1734:5: ( '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit )
1151: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1734:9: '\\\\' 'u' HexDigit HexDigit HexDigit HexDigit
1152: {
1153: match('\\');
1154: if (failed)
1155: return;
1156: match('u');
1157: if (failed)
1158: return;
1159: mHexDigit();
1160: if (failed)
1161: return;
1162: mHexDigit();
1163: if (failed)
1164: return;
1165: mHexDigit();
1166: if (failed)
1167: return;
1168: mHexDigit();
1169: if (failed)
1170: return;
1171:
1172: }
1173:
1174: } finally {
1175: }
1176: }
1177:
1178: // $ANTLR end UnicodeEscape
1179:
1180: // $ANTLR start BOOL
1181: public final void mBOOL() throws RecognitionException {
1182: try {
1183: int _type = BOOL;
1184: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:2: ( ( 'true' | 'false' ) )
1185: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:4: ( 'true' | 'false' )
1186: {
1187: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:4: ( 'true' | 'false' )
1188: int alt13 = 2;
1189: int LA13_0 = input.LA(1);
1190:
1191: if ((LA13_0 == 't')) {
1192: alt13 = 1;
1193: } else if ((LA13_0 == 'f')) {
1194: alt13 = 2;
1195: } else {
1196: if (backtracking > 0) {
1197: failed = true;
1198: return;
1199: }
1200: NoViableAltException nvae = new NoViableAltException(
1201: "1738:4: ( 'true' | 'false' )", 13, 0,
1202: input);
1203:
1204: throw nvae;
1205: }
1206: switch (alt13) {
1207: case 1:
1208: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:5: 'true'
1209: {
1210: match("true");
1211: if (failed)
1212: return;
1213:
1214: }
1215: break;
1216: case 2:
1217: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1738:12: 'false'
1218: {
1219: match("false");
1220: if (failed)
1221: return;
1222:
1223: }
1224: break;
1225:
1226: }
1227:
1228: }
1229:
1230: this .type = _type;
1231: } finally {
1232: }
1233: }
1234:
1235: // $ANTLR end BOOL
1236:
1237: // $ANTLR start PACKAGE
1238: public final void mPACKAGE() throws RecognitionException {
1239: try {
1240: int _type = PACKAGE;
1241: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1741:9: ( 'package' )
1242: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1741:11: 'package'
1243: {
1244: match("package");
1245: if (failed)
1246: return;
1247:
1248: }
1249:
1250: this .type = _type;
1251: } finally {
1252: }
1253: }
1254:
1255: // $ANTLR end PACKAGE
1256:
1257: // $ANTLR start IMPORT
1258: public final void mIMPORT() throws RecognitionException {
1259: try {
1260: int _type = IMPORT;
1261: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1743:8: ( 'import' )
1262: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1743:10: 'import'
1263: {
1264: match("import");
1265: if (failed)
1266: return;
1267:
1268: }
1269:
1270: this .type = _type;
1271: } finally {
1272: }
1273: }
1274:
1275: // $ANTLR end IMPORT
1276:
1277: // $ANTLR start FUNCTION
1278: public final void mFUNCTION() throws RecognitionException {
1279: try {
1280: int _type = FUNCTION;
1281: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1745:10: ( 'function' )
1282: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1745:12: 'function'
1283: {
1284: match("function");
1285: if (failed)
1286: return;
1287:
1288: }
1289:
1290: this .type = _type;
1291: } finally {
1292: }
1293: }
1294:
1295: // $ANTLR end FUNCTION
1296:
1297: // $ANTLR start GLOBAL
1298: public final void mGLOBAL() throws RecognitionException {
1299: try {
1300: int _type = GLOBAL;
1301: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1747:8: ( 'global' )
1302: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1747:10: 'global'
1303: {
1304: match("global");
1305: if (failed)
1306: return;
1307:
1308: }
1309:
1310: this .type = _type;
1311: } finally {
1312: }
1313: }
1314:
1315: // $ANTLR end GLOBAL
1316:
1317: // $ANTLR start RULE
1318: public final void mRULE() throws RecognitionException {
1319: try {
1320: int _type = RULE;
1321: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1749:9: ( 'rule' )
1322: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1749:11: 'rule'
1323: {
1324: match("rule");
1325: if (failed)
1326: return;
1327:
1328: }
1329:
1330: this .type = _type;
1331: } finally {
1332: }
1333: }
1334:
1335: // $ANTLR end RULE
1336:
1337: // $ANTLR start QUERY
1338: public final void mQUERY() throws RecognitionException {
1339: try {
1340: int _type = QUERY;
1341: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1751:7: ( 'query' )
1342: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1751:9: 'query'
1343: {
1344: match("query");
1345: if (failed)
1346: return;
1347:
1348: }
1349:
1350: this .type = _type;
1351: } finally {
1352: }
1353: }
1354:
1355: // $ANTLR end QUERY
1356:
1357: // $ANTLR start TEMPLATE
1358: public final void mTEMPLATE() throws RecognitionException {
1359: try {
1360: int _type = TEMPLATE;
1361: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1753:10: ( 'template' )
1362: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1753:12: 'template'
1363: {
1364: match("template");
1365: if (failed)
1366: return;
1367:
1368: }
1369:
1370: this .type = _type;
1371: } finally {
1372: }
1373: }
1374:
1375: // $ANTLR end TEMPLATE
1376:
1377: // $ANTLR start ATTRIBUTES
1378: public final void mATTRIBUTES() throws RecognitionException {
1379: try {
1380: int _type = ATTRIBUTES;
1381: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1755:12: ( 'attributes' )
1382: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1755:14: 'attributes'
1383: {
1384: match("attributes");
1385: if (failed)
1386: return;
1387:
1388: }
1389:
1390: this .type = _type;
1391: } finally {
1392: }
1393: }
1394:
1395: // $ANTLR end ATTRIBUTES
1396:
1397: // $ANTLR start DATE_EFFECTIVE
1398: public final void mDATE_EFFECTIVE() throws RecognitionException {
1399: try {
1400: int _type = DATE_EFFECTIVE;
1401: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1758:2: ( 'date-effective' )
1402: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1758:4: 'date-effective'
1403: {
1404: match("date-effective");
1405: if (failed)
1406: return;
1407:
1408: }
1409:
1410: this .type = _type;
1411: } finally {
1412: }
1413: }
1414:
1415: // $ANTLR end DATE_EFFECTIVE
1416:
1417: // $ANTLR start DATE_EXPIRES
1418: public final void mDATE_EXPIRES() throws RecognitionException {
1419: try {
1420: int _type = DATE_EXPIRES;
1421: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1761:2: ( 'date-expires' )
1422: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1761:4: 'date-expires'
1423: {
1424: match("date-expires");
1425: if (failed)
1426: return;
1427:
1428: }
1429:
1430: this .type = _type;
1431: } finally {
1432: }
1433: }
1434:
1435: // $ANTLR end DATE_EXPIRES
1436:
1437: // $ANTLR start ENABLED
1438: public final void mENABLED() throws RecognitionException {
1439: try {
1440: int _type = ENABLED;
1441: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1763:9: ( 'enabled' )
1442: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1763:11: 'enabled'
1443: {
1444: match("enabled");
1445: if (failed)
1446: return;
1447:
1448: }
1449:
1450: this .type = _type;
1451: } finally {
1452: }
1453: }
1454:
1455: // $ANTLR end ENABLED
1456:
1457: // $ANTLR start SALIENCE
1458: public final void mSALIENCE() throws RecognitionException {
1459: try {
1460: int _type = SALIENCE;
1461: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1766:2: ( 'salience' )
1462: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1766:4: 'salience'
1463: {
1464: match("salience");
1465: if (failed)
1466: return;
1467:
1468: }
1469:
1470: this .type = _type;
1471: } finally {
1472: }
1473: }
1474:
1475: // $ANTLR end SALIENCE
1476:
1477: // $ANTLR start NO_LOOP
1478: public final void mNO_LOOP() throws RecognitionException {
1479: try {
1480: int _type = NO_LOOP;
1481: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1768:9: ( 'no-loop' )
1482: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1768:11: 'no-loop'
1483: {
1484: match("no-loop");
1485: if (failed)
1486: return;
1487:
1488: }
1489:
1490: this .type = _type;
1491: } finally {
1492: }
1493: }
1494:
1495: // $ANTLR end NO_LOOP
1496:
1497: // $ANTLR start AUTO_FOCUS
1498: public final void mAUTO_FOCUS() throws RecognitionException {
1499: try {
1500: int _type = AUTO_FOCUS;
1501: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1771:2: ( 'auto-focus' )
1502: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1771:4: 'auto-focus'
1503: {
1504: match("auto-focus");
1505: if (failed)
1506: return;
1507:
1508: }
1509:
1510: this .type = _type;
1511: } finally {
1512: }
1513: }
1514:
1515: // $ANTLR end AUTO_FOCUS
1516:
1517: // $ANTLR start ACTIVATION_GROUP
1518: public final void mACTIVATION_GROUP() throws RecognitionException {
1519: try {
1520: int _type = ACTIVATION_GROUP;
1521: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1774:2: ( 'activation-group' )
1522: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1774:4: 'activation-group'
1523: {
1524: match("activation-group");
1525: if (failed)
1526: return;
1527:
1528: }
1529:
1530: this .type = _type;
1531: } finally {
1532: }
1533: }
1534:
1535: // $ANTLR end ACTIVATION_GROUP
1536:
1537: // $ANTLR start AGENDA_GROUP
1538: public final void mAGENDA_GROUP() throws RecognitionException {
1539: try {
1540: int _type = AGENDA_GROUP;
1541: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1777:2: ( 'agenda-group' )
1542: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1777:4: 'agenda-group'
1543: {
1544: match("agenda-group");
1545: if (failed)
1546: return;
1547:
1548: }
1549:
1550: this .type = _type;
1551: } finally {
1552: }
1553: }
1554:
1555: // $ANTLR end AGENDA_GROUP
1556:
1557: // $ANTLR start DIALECT
1558: public final void mDIALECT() throws RecognitionException {
1559: try {
1560: int _type = DIALECT;
1561: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1780:2: ( 'dialect' )
1562: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1780:4: 'dialect'
1563: {
1564: match("dialect");
1565: if (failed)
1566: return;
1567:
1568: }
1569:
1570: this .type = _type;
1571: } finally {
1572: }
1573: }
1574:
1575: // $ANTLR end DIALECT
1576:
1577: // $ANTLR start RULEFLOW_GROUP
1578: public final void mRULEFLOW_GROUP() throws RecognitionException {
1579: try {
1580: int _type = RULEFLOW_GROUP;
1581: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1783:2: ( 'ruleflow-group' )
1582: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1783:4: 'ruleflow-group'
1583: {
1584: match("ruleflow-group");
1585: if (failed)
1586: return;
1587:
1588: }
1589:
1590: this .type = _type;
1591: } finally {
1592: }
1593: }
1594:
1595: // $ANTLR end RULEFLOW_GROUP
1596:
1597: // $ANTLR start DURATION
1598: public final void mDURATION() throws RecognitionException {
1599: try {
1600: int _type = DURATION;
1601: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1786:2: ( 'duration' )
1602: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1786:4: 'duration'
1603: {
1604: match("duration");
1605: if (failed)
1606: return;
1607:
1608: }
1609:
1610: this .type = _type;
1611: } finally {
1612: }
1613: }
1614:
1615: // $ANTLR end DURATION
1616:
1617: // $ANTLR start LOCK_ON_ACTIVE
1618: public final void mLOCK_ON_ACTIVE() throws RecognitionException {
1619: try {
1620: int _type = LOCK_ON_ACTIVE;
1621: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1789:2: ( 'lock-on-active' )
1622: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1789:4: 'lock-on-active'
1623: {
1624: match("lock-on-active");
1625: if (failed)
1626: return;
1627:
1628: }
1629:
1630: this .type = _type;
1631: } finally {
1632: }
1633: }
1634:
1635: // $ANTLR end LOCK_ON_ACTIVE
1636:
1637: // $ANTLR start FROM
1638: public final void mFROM() throws RecognitionException {
1639: try {
1640: int _type = FROM;
1641: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1791:6: ( 'from' )
1642: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1791:8: 'from'
1643: {
1644: match("from");
1645: if (failed)
1646: return;
1647:
1648: }
1649:
1650: this .type = _type;
1651: } finally {
1652: }
1653: }
1654:
1655: // $ANTLR end FROM
1656:
1657: // $ANTLR start ACCUMULATE
1658: public final void mACCUMULATE() throws RecognitionException {
1659: try {
1660: int _type = ACCUMULATE;
1661: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1794:2: ( 'accumulate' )
1662: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1794:4: 'accumulate'
1663: {
1664: match("accumulate");
1665: if (failed)
1666: return;
1667:
1668: }
1669:
1670: this .type = _type;
1671: } finally {
1672: }
1673: }
1674:
1675: // $ANTLR end ACCUMULATE
1676:
1677: // $ANTLR start INIT
1678: public final void mINIT() throws RecognitionException {
1679: try {
1680: int _type = INIT;
1681: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1796:6: ( 'init' )
1682: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1796:8: 'init'
1683: {
1684: match("init");
1685: if (failed)
1686: return;
1687:
1688: }
1689:
1690: this .type = _type;
1691: } finally {
1692: }
1693: }
1694:
1695: // $ANTLR end INIT
1696:
1697: // $ANTLR start ACTION
1698: public final void mACTION() throws RecognitionException {
1699: try {
1700: int _type = ACTION;
1701: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1798:8: ( 'action' )
1702: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1798:10: 'action'
1703: {
1704: match("action");
1705: if (failed)
1706: return;
1707:
1708: }
1709:
1710: this .type = _type;
1711: } finally {
1712: }
1713: }
1714:
1715: // $ANTLR end ACTION
1716:
1717: // $ANTLR start REVERSE
1718: public final void mREVERSE() throws RecognitionException {
1719: try {
1720: int _type = REVERSE;
1721: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1800:9: ( 'reverse' )
1722: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1800:11: 'reverse'
1723: {
1724: match("reverse");
1725: if (failed)
1726: return;
1727:
1728: }
1729:
1730: this .type = _type;
1731: } finally {
1732: }
1733: }
1734:
1735: // $ANTLR end REVERSE
1736:
1737: // $ANTLR start RESULT
1738: public final void mRESULT() throws RecognitionException {
1739: try {
1740: int _type = RESULT;
1741: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1802:8: ( 'result' )
1742: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1802:10: 'result'
1743: {
1744: match("result");
1745: if (failed)
1746: return;
1747:
1748: }
1749:
1750: this .type = _type;
1751: } finally {
1752: }
1753: }
1754:
1755: // $ANTLR end RESULT
1756:
1757: // $ANTLR start COLLECT
1758: public final void mCOLLECT() throws RecognitionException {
1759: try {
1760: int _type = COLLECT;
1761: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1804:9: ( 'collect' )
1762: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1804:11: 'collect'
1763: {
1764: match("collect");
1765: if (failed)
1766: return;
1767:
1768: }
1769:
1770: this .type = _type;
1771: } finally {
1772: }
1773: }
1774:
1775: // $ANTLR end COLLECT
1776:
1777: // $ANTLR start OR
1778: public final void mOR() throws RecognitionException {
1779: try {
1780: int _type = OR;
1781: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1806:4: ( 'or' )
1782: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1806:6: 'or'
1783: {
1784: match("or");
1785: if (failed)
1786: return;
1787:
1788: }
1789:
1790: this .type = _type;
1791: } finally {
1792: }
1793: }
1794:
1795: // $ANTLR end OR
1796:
1797: // $ANTLR start AND
1798: public final void mAND() throws RecognitionException {
1799: try {
1800: int _type = AND;
1801: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1808:5: ( 'and' )
1802: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1808:7: 'and'
1803: {
1804: match("and");
1805: if (failed)
1806: return;
1807:
1808: }
1809:
1810: this .type = _type;
1811: } finally {
1812: }
1813: }
1814:
1815: // $ANTLR end AND
1816:
1817: // $ANTLR start CONTAINS
1818: public final void mCONTAINS() throws RecognitionException {
1819: try {
1820: int _type = CONTAINS;
1821: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1811:2: ( 'contains' )
1822: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1811:4: 'contains'
1823: {
1824: match("contains");
1825: if (failed)
1826: return;
1827:
1828: }
1829:
1830: this .type = _type;
1831: } finally {
1832: }
1833: }
1834:
1835: // $ANTLR end CONTAINS
1836:
1837: // $ANTLR start EXCLUDES
1838: public final void mEXCLUDES() throws RecognitionException {
1839: try {
1840: int _type = EXCLUDES;
1841: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1814:2: ( 'excludes' )
1842: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1814:4: 'excludes'
1843: {
1844: match("excludes");
1845: if (failed)
1846: return;
1847:
1848: }
1849:
1850: this .type = _type;
1851: } finally {
1852: }
1853: }
1854:
1855: // $ANTLR end EXCLUDES
1856:
1857: // $ANTLR start MEMBEROF
1858: public final void mMEMBEROF() throws RecognitionException {
1859: try {
1860: int _type = MEMBEROF;
1861: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1817:2: ( 'memberOf' )
1862: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1817:4: 'memberOf'
1863: {
1864: match("memberOf");
1865: if (failed)
1866: return;
1867:
1868: }
1869:
1870: this .type = _type;
1871: } finally {
1872: }
1873: }
1874:
1875: // $ANTLR end MEMBEROF
1876:
1877: // $ANTLR start MATCHES
1878: public final void mMATCHES() throws RecognitionException {
1879: try {
1880: int _type = MATCHES;
1881: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1819:9: ( 'matches' )
1882: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1819:11: 'matches'
1883: {
1884: match("matches");
1885: if (failed)
1886: return;
1887:
1888: }
1889:
1890: this .type = _type;
1891: } finally {
1892: }
1893: }
1894:
1895: // $ANTLR end MATCHES
1896:
1897: // $ANTLR start IN
1898: public final void mIN() throws RecognitionException {
1899: try {
1900: int _type = IN;
1901: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1821:4: ( 'in' )
1902: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1821:6: 'in'
1903: {
1904: match("in");
1905: if (failed)
1906: return;
1907:
1908: }
1909:
1910: this .type = _type;
1911: } finally {
1912: }
1913: }
1914:
1915: // $ANTLR end IN
1916:
1917: // $ANTLR start NULL
1918: public final void mNULL() throws RecognitionException {
1919: try {
1920: int _type = NULL;
1921: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1823:6: ( 'null' )
1922: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1823:8: 'null'
1923: {
1924: match("null");
1925: if (failed)
1926: return;
1927:
1928: }
1929:
1930: this .type = _type;
1931: } finally {
1932: }
1933: }
1934:
1935: // $ANTLR end NULL
1936:
1937: // $ANTLR start EXISTS
1938: public final void mEXISTS() throws RecognitionException {
1939: try {
1940: int _type = EXISTS;
1941: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1825:8: ( 'exists' )
1942: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1825:10: 'exists'
1943: {
1944: match("exists");
1945: if (failed)
1946: return;
1947:
1948: }
1949:
1950: this .type = _type;
1951: } finally {
1952: }
1953: }
1954:
1955: // $ANTLR end EXISTS
1956:
1957: // $ANTLR start NOT
1958: public final void mNOT() throws RecognitionException {
1959: try {
1960: int _type = NOT;
1961: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1827:5: ( 'not' )
1962: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1827:7: 'not'
1963: {
1964: match("not");
1965: if (failed)
1966: return;
1967:
1968: }
1969:
1970: this .type = _type;
1971: } finally {
1972: }
1973: }
1974:
1975: // $ANTLR end NOT
1976:
1977: // $ANTLR start EVAL
1978: public final void mEVAL() throws RecognitionException {
1979: try {
1980: int _type = EVAL;
1981: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1829:6: ( 'eval' )
1982: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1829:8: 'eval'
1983: {
1984: match("eval");
1985: if (failed)
1986: return;
1987:
1988: }
1989:
1990: this .type = _type;
1991: } finally {
1992: }
1993: }
1994:
1995: // $ANTLR end EVAL
1996:
1997: // $ANTLR start FORALL
1998: public final void mFORALL() throws RecognitionException {
1999: try {
2000: int _type = FORALL;
2001: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1831:8: ( 'forall' )
2002: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1831:10: 'forall'
2003: {
2004: match("forall");
2005: if (failed)
2006: return;
2007:
2008: }
2009:
2010: this .type = _type;
2011: } finally {
2012: }
2013: }
2014:
2015: // $ANTLR end FORALL
2016:
2017: // $ANTLR start WHEN
2018: public final void mWHEN() throws RecognitionException {
2019: try {
2020: int _type = WHEN;
2021: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1833:9: ( 'when' )
2022: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1833:11: 'when'
2023: {
2024: match("when");
2025: if (failed)
2026: return;
2027:
2028: }
2029:
2030: this .type = _type;
2031: } finally {
2032: }
2033: }
2034:
2035: // $ANTLR end WHEN
2036:
2037: // $ANTLR start THEN
2038: public final void mTHEN() throws RecognitionException {
2039: try {
2040: int _type = THEN;
2041: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1835:6: ( 'then' )
2042: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1835:12: 'then'
2043: {
2044: match("then");
2045: if (failed)
2046: return;
2047:
2048: }
2049:
2050: this .type = _type;
2051: } finally {
2052: }
2053: }
2054:
2055: // $ANTLR end THEN
2056:
2057: // $ANTLR start END
2058: public final void mEND() throws RecognitionException {
2059: try {
2060: int _type = END;
2061: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1837:9: ( 'end' )
2062: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1837:11: 'end'
2063: {
2064: match("end");
2065: if (failed)
2066: return;
2067:
2068: }
2069:
2070: this .type = _type;
2071: } finally {
2072: }
2073: }
2074:
2075: // $ANTLR end END
2076:
2077: // $ANTLR start ID
2078: public final void mID() throws RecognitionException {
2079: try {
2080: int _type = ID;
2081: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1840:2: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '$' | '\\u00c0' .. '\\u00ff' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )* )
2082: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1840:4: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '$' | '\\u00c0' .. '\\u00ff' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )*
2083: {
2084: if (input.LA(1) == '$'
2085: || (input.LA(1) >= 'A' && input.LA(1) <= 'Z')
2086: || input.LA(1) == '_'
2087: || (input.LA(1) >= 'a' && input.LA(1) <= 'z')
2088: || (input.LA(1) >= '\u00C0' && input.LA(1) <= '\u00FF')) {
2089: input.consume();
2090: failed = false;
2091: } else {
2092: if (backtracking > 0) {
2093: failed = true;
2094: return;
2095: }
2096: MismatchedSetException mse = new MismatchedSetException(
2097: null, input);
2098: recover(mse);
2099: throw mse;
2100: }
2101:
2102: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1840:50: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' | '\\u00c0' .. '\\u00ff' )*
2103: loop14: do {
2104: int alt14 = 2;
2105: int LA14_0 = input.LA(1);
2106:
2107: if (((LA14_0 >= '0' && LA14_0 <= '9')
2108: || (LA14_0 >= 'A' && LA14_0 <= 'Z')
2109: || LA14_0 == '_'
2110: || (LA14_0 >= 'a' && LA14_0 <= 'z') || (LA14_0 >= '\u00C0' && LA14_0 <= '\u00FF'))) {
2111: alt14 = 1;
2112: }
2113:
2114: switch (alt14) {
2115: case 1:
2116: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:
2117: {
2118: if ((input.LA(1) >= '0' && input.LA(1) <= '9')
2119: || (input.LA(1) >= 'A' && input.LA(1) <= 'Z')
2120: || input.LA(1) == '_'
2121: || (input.LA(1) >= 'a' && input.LA(1) <= 'z')
2122: || (input.LA(1) >= '\u00C0' && input
2123: .LA(1) <= '\u00FF')) {
2124: input.consume();
2125: failed = false;
2126: } else {
2127: if (backtracking > 0) {
2128: failed = true;
2129: return;
2130: }
2131: MismatchedSetException mse = new MismatchedSetException(
2132: null, input);
2133: recover(mse);
2134: throw mse;
2135: }
2136:
2137: }
2138: break;
2139:
2140: default:
2141: break loop14;
2142: }
2143: } while (true);
2144:
2145: }
2146:
2147: this .type = _type;
2148: } finally {
2149: }
2150: }
2151:
2152: // $ANTLR end ID
2153:
2154: // $ANTLR start LEFT_PAREN
2155: public final void mLEFT_PAREN() throws RecognitionException {
2156: try {
2157: int _type = LEFT_PAREN;
2158: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1844:9: ( '(' )
2159: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1844:11: '('
2160: {
2161: match('(');
2162: if (failed)
2163: return;
2164:
2165: }
2166:
2167: this .type = _type;
2168: } finally {
2169: }
2170: }
2171:
2172: // $ANTLR end LEFT_PAREN
2173:
2174: // $ANTLR start RIGHT_PAREN
2175: public final void mRIGHT_PAREN() throws RecognitionException {
2176: try {
2177: int _type = RIGHT_PAREN;
2178: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1848:9: ( ')' )
2179: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1848:11: ')'
2180: {
2181: match(')');
2182: if (failed)
2183: return;
2184:
2185: }
2186:
2187: this .type = _type;
2188: } finally {
2189: }
2190: }
2191:
2192: // $ANTLR end RIGHT_PAREN
2193:
2194: // $ANTLR start LEFT_SQUARE
2195: public final void mLEFT_SQUARE() throws RecognitionException {
2196: try {
2197: int _type = LEFT_SQUARE;
2198: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1852:9: ( '[' )
2199: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1852:11: '['
2200: {
2201: match('[');
2202: if (failed)
2203: return;
2204:
2205: }
2206:
2207: this .type = _type;
2208: } finally {
2209: }
2210: }
2211:
2212: // $ANTLR end LEFT_SQUARE
2213:
2214: // $ANTLR start RIGHT_SQUARE
2215: public final void mRIGHT_SQUARE() throws RecognitionException {
2216: try {
2217: int _type = RIGHT_SQUARE;
2218: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1856:9: ( ']' )
2219: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1856:11: ']'
2220: {
2221: match(']');
2222: if (failed)
2223: return;
2224:
2225: }
2226:
2227: this .type = _type;
2228: } finally {
2229: }
2230: }
2231:
2232: // $ANTLR end RIGHT_SQUARE
2233:
2234: // $ANTLR start LEFT_CURLY
2235: public final void mLEFT_CURLY() throws RecognitionException {
2236: try {
2237: int _type = LEFT_CURLY;
2238: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1860:9: ( '{' )
2239: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1860:11: '{'
2240: {
2241: match('{');
2242: if (failed)
2243: return;
2244:
2245: }
2246:
2247: this .type = _type;
2248: } finally {
2249: }
2250: }
2251:
2252: // $ANTLR end LEFT_CURLY
2253:
2254: // $ANTLR start RIGHT_CURLY
2255: public final void mRIGHT_CURLY() throws RecognitionException {
2256: try {
2257: int _type = RIGHT_CURLY;
2258: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1864:9: ( '}' )
2259: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1864:11: '}'
2260: {
2261: match('}');
2262: if (failed)
2263: return;
2264:
2265: }
2266:
2267: this .type = _type;
2268: } finally {
2269: }
2270: }
2271:
2272: // $ANTLR end RIGHT_CURLY
2273:
2274: // $ANTLR start COMMA
2275: public final void mCOMMA() throws RecognitionException {
2276: try {
2277: int _type = COMMA;
2278: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1867:7: ( ',' )
2279: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1867:9: ','
2280: {
2281: match(',');
2282: if (failed)
2283: return;
2284:
2285: }
2286:
2287: this .type = _type;
2288: } finally {
2289: }
2290: }
2291:
2292: // $ANTLR end COMMA
2293:
2294: // $ANTLR start DOT
2295: public final void mDOT() throws RecognitionException {
2296: try {
2297: int _type = DOT;
2298: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1870:5: ( '.' )
2299: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1870:7: '.'
2300: {
2301: match('.');
2302: if (failed)
2303: return;
2304:
2305: }
2306:
2307: this .type = _type;
2308: } finally {
2309: }
2310: }
2311:
2312: // $ANTLR end DOT
2313:
2314: // $ANTLR start DOUBLE_AMPER
2315: public final void mDOUBLE_AMPER() throws RecognitionException {
2316: try {
2317: int _type = DOUBLE_AMPER;
2318: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1874:2: ( '&&' )
2319: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1874:4: '&&'
2320: {
2321: match("&&");
2322: if (failed)
2323: return;
2324:
2325: }
2326:
2327: this .type = _type;
2328: } finally {
2329: }
2330: }
2331:
2332: // $ANTLR end DOUBLE_AMPER
2333:
2334: // $ANTLR start DOUBLE_PIPE
2335: public final void mDOUBLE_PIPE() throws RecognitionException {
2336: try {
2337: int _type = DOUBLE_PIPE;
2338: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1878:2: ( '||' )
2339: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1878:4: '||'
2340: {
2341: match("||");
2342: if (failed)
2343: return;
2344:
2345: }
2346:
2347: this .type = _type;
2348: } finally {
2349: }
2350: }
2351:
2352: // $ANTLR end DOUBLE_PIPE
2353:
2354: // $ANTLR start SH_STYLE_SINGLE_LINE_COMMENT
2355: public final void mSH_STYLE_SINGLE_LINE_COMMENT()
2356: throws RecognitionException {
2357: try {
2358: int _type = SH_STYLE_SINGLE_LINE_COMMENT;
2359: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1882:2: ( '#' ( options {greedy=false; } : . )* EOL )
2360: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1882:4: '#' ( options {greedy=false; } : . )* EOL
2361: {
2362: match('#');
2363: if (failed)
2364: return;
2365: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1882:8: ( options {greedy=false; } : . )*
2366: loop15: do {
2367: int alt15 = 2;
2368: int LA15_0 = input.LA(1);
2369:
2370: if ((LA15_0 == '\r')) {
2371: alt15 = 2;
2372: } else if ((LA15_0 == '\n')) {
2373: alt15 = 2;
2374: } else if (((LA15_0 >= '\u0000' && LA15_0 <= '\t')
2375: || (LA15_0 >= '\u000B' && LA15_0 <= '\f') || (LA15_0 >= '\u000E' && LA15_0 <= '\uFFFE'))) {
2376: alt15 = 1;
2377: }
2378:
2379: switch (alt15) {
2380: case 1:
2381: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1882:35: .
2382: {
2383: matchAny();
2384: if (failed)
2385: return;
2386:
2387: }
2388: break;
2389:
2390: default:
2391: break loop15;
2392: }
2393: } while (true);
2394:
2395: mEOL();
2396: if (failed)
2397: return;
2398: if (backtracking == 0) {
2399: channel = HIDDEN;
2400: setText("//" + getText().substring(1));
2401: }
2402:
2403: }
2404:
2405: this .type = _type;
2406: } finally {
2407: }
2408: }
2409:
2410: // $ANTLR end SH_STYLE_SINGLE_LINE_COMMENT
2411:
2412: // $ANTLR start C_STYLE_SINGLE_LINE_COMMENT
2413: public final void mC_STYLE_SINGLE_LINE_COMMENT()
2414: throws RecognitionException {
2415: try {
2416: int _type = C_STYLE_SINGLE_LINE_COMMENT;
2417: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1888:2: ( '//' ( options {greedy=false; } : . )* EOL )
2418: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1888:4: '//' ( options {greedy=false; } : . )* EOL
2419: {
2420: match("//");
2421: if (failed)
2422: return;
2423:
2424: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1888:9: ( options {greedy=false; } : . )*
2425: loop16: do {
2426: int alt16 = 2;
2427: int LA16_0 = input.LA(1);
2428:
2429: if ((LA16_0 == '\r')) {
2430: alt16 = 2;
2431: } else if ((LA16_0 == '\n')) {
2432: alt16 = 2;
2433: } else if (((LA16_0 >= '\u0000' && LA16_0 <= '\t')
2434: || (LA16_0 >= '\u000B' && LA16_0 <= '\f') || (LA16_0 >= '\u000E' && LA16_0 <= '\uFFFE'))) {
2435: alt16 = 1;
2436: }
2437:
2438: switch (alt16) {
2439: case 1:
2440: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1888:36: .
2441: {
2442: matchAny();
2443: if (failed)
2444: return;
2445:
2446: }
2447: break;
2448:
2449: default:
2450: break loop16;
2451: }
2452: } while (true);
2453:
2454: mEOL();
2455: if (failed)
2456: return;
2457: if (backtracking == 0) {
2458: channel = HIDDEN;
2459: }
2460:
2461: }
2462:
2463: this .type = _type;
2464: } finally {
2465: }
2466: }
2467:
2468: // $ANTLR end C_STYLE_SINGLE_LINE_COMMENT
2469:
2470: // $ANTLR start MULTI_LINE_COMMENT
2471: public final void mMULTI_LINE_COMMENT() throws RecognitionException {
2472: try {
2473: int _type = MULTI_LINE_COMMENT;
2474: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1893:2: ( '/*' ( options {greedy=false; } : . )* '*/' )
2475: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1893:4: '/*' ( options {greedy=false; } : . )* '*/'
2476: {
2477: match("/*");
2478: if (failed)
2479: return;
2480:
2481: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1893:9: ( options {greedy=false; } : . )*
2482: loop17: do {
2483: int alt17 = 2;
2484: int LA17_0 = input.LA(1);
2485:
2486: if ((LA17_0 == '*')) {
2487: int LA17_1 = input.LA(2);
2488:
2489: if ((LA17_1 == '/')) {
2490: alt17 = 2;
2491: } else if (((LA17_1 >= '\u0000' && LA17_1 <= '.') || (LA17_1 >= '0' && LA17_1 <= '\uFFFE'))) {
2492: alt17 = 1;
2493: }
2494:
2495: } else if (((LA17_0 >= '\u0000' && LA17_0 <= ')') || (LA17_0 >= '+' && LA17_0 <= '\uFFFE'))) {
2496: alt17 = 1;
2497: }
2498:
2499: switch (alt17) {
2500: case 1:
2501: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1893:35: .
2502: {
2503: matchAny();
2504: if (failed)
2505: return;
2506:
2507: }
2508: break;
2509:
2510: default:
2511: break loop17;
2512: }
2513: } while (true);
2514:
2515: match("*/");
2516: if (failed)
2517: return;
2518:
2519: if (backtracking == 0) {
2520: channel = HIDDEN;
2521: }
2522:
2523: }
2524:
2525: this .type = _type;
2526: } finally {
2527: }
2528: }
2529:
2530: // $ANTLR end MULTI_LINE_COMMENT
2531:
2532: // $ANTLR start MISC
2533: public final void mMISC() throws RecognitionException {
2534: try {
2535: int _type = MISC;
2536: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1897:7: ( '!' | '@' | '$' | '%' | '^' | '*' | '_' | '-' | '+' | '?' | '=' | '/' | '\\'' | '\\\\' | '|' | '&' )
2537: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:
2538: {
2539: if (input.LA(1) == '!'
2540: || (input.LA(1) >= '$' && input.LA(1) <= '\'')
2541: || (input.LA(1) >= '*' && input.LA(1) <= '+')
2542: || input.LA(1) == '-' || input.LA(1) == '/'
2543: || input.LA(1) == '='
2544: || (input.LA(1) >= '?' && input.LA(1) <= '@')
2545: || input.LA(1) == '\\'
2546: || (input.LA(1) >= '^' && input.LA(1) <= '_')
2547: || input.LA(1) == '|') {
2548: input.consume();
2549: failed = false;
2550: } else {
2551: if (backtracking > 0) {
2552: failed = true;
2553: return;
2554: }
2555: MismatchedSetException mse = new MismatchedSetException(
2556: null, input);
2557: recover(mse);
2558: throw mse;
2559: }
2560:
2561: }
2562:
2563: this .type = _type;
2564: } finally {
2565: }
2566: }
2567:
2568: // $ANTLR end MISC
2569:
2570: public void mTokens() throws RecognitionException {
2571: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:8: ( T71 | T72 | T73 | T74 | T75 | T76 | T77 | T78 | T79 | T80 | WS | INT | FLOAT | STRING | BOOL | PACKAGE | IMPORT | FUNCTION | GLOBAL | RULE | QUERY | TEMPLATE | ATTRIBUTES | DATE_EFFECTIVE | DATE_EXPIRES | ENABLED | SALIENCE | NO_LOOP | AUTO_FOCUS | ACTIVATION_GROUP | AGENDA_GROUP | DIALECT | RULEFLOW_GROUP | DURATION | LOCK_ON_ACTIVE | FROM | ACCUMULATE | INIT | ACTION | REVERSE | RESULT | COLLECT | OR | AND | CONTAINS | EXCLUDES | MEMBEROF | MATCHES | IN | NULL | EXISTS | NOT | EVAL | FORALL | WHEN | THEN | END | 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 )
2572: int alt18 = 72;
2573: alt18 = dfa18.predict(input);
2574: switch (alt18) {
2575: case 1:
2576: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:10: T71
2577: {
2578: mT71();
2579: if (failed)
2580: return;
2581:
2582: }
2583: break;
2584: case 2:
2585: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:14: T72
2586: {
2587: mT72();
2588: if (failed)
2589: return;
2590:
2591: }
2592: break;
2593: case 3:
2594: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:18: T73
2595: {
2596: mT73();
2597: if (failed)
2598: return;
2599:
2600: }
2601: break;
2602: case 4:
2603: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:22: T74
2604: {
2605: mT74();
2606: if (failed)
2607: return;
2608:
2609: }
2610: break;
2611: case 5:
2612: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:26: T75
2613: {
2614: mT75();
2615: if (failed)
2616: return;
2617:
2618: }
2619: break;
2620: case 6:
2621: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:30: T76
2622: {
2623: mT76();
2624: if (failed)
2625: return;
2626:
2627: }
2628: break;
2629: case 7:
2630: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:34: T77
2631: {
2632: mT77();
2633: if (failed)
2634: return;
2635:
2636: }
2637: break;
2638: case 8:
2639: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:38: T78
2640: {
2641: mT78();
2642: if (failed)
2643: return;
2644:
2645: }
2646: break;
2647: case 9:
2648: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:42: T79
2649: {
2650: mT79();
2651: if (failed)
2652: return;
2653:
2654: }
2655: break;
2656: case 10:
2657: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:46: T80
2658: {
2659: mT80();
2660: if (failed)
2661: return;
2662:
2663: }
2664: break;
2665: case 11:
2666: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:50: WS
2667: {
2668: mWS();
2669: if (failed)
2670: return;
2671:
2672: }
2673: break;
2674: case 12:
2675: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:53: INT
2676: {
2677: mINT();
2678: if (failed)
2679: return;
2680:
2681: }
2682: break;
2683: case 13:
2684: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:57: FLOAT
2685: {
2686: mFLOAT();
2687: if (failed)
2688: return;
2689:
2690: }
2691: break;
2692: case 14:
2693: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:63: STRING
2694: {
2695: mSTRING();
2696: if (failed)
2697: return;
2698:
2699: }
2700: break;
2701: case 15:
2702: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:70: BOOL
2703: {
2704: mBOOL();
2705: if (failed)
2706: return;
2707:
2708: }
2709: break;
2710: case 16:
2711: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:75: PACKAGE
2712: {
2713: mPACKAGE();
2714: if (failed)
2715: return;
2716:
2717: }
2718: break;
2719: case 17:
2720: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:83: IMPORT
2721: {
2722: mIMPORT();
2723: if (failed)
2724: return;
2725:
2726: }
2727: break;
2728: case 18:
2729: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:90: FUNCTION
2730: {
2731: mFUNCTION();
2732: if (failed)
2733: return;
2734:
2735: }
2736: break;
2737: case 19:
2738: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:99: GLOBAL
2739: {
2740: mGLOBAL();
2741: if (failed)
2742: return;
2743:
2744: }
2745: break;
2746: case 20:
2747: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:106: RULE
2748: {
2749: mRULE();
2750: if (failed)
2751: return;
2752:
2753: }
2754: break;
2755: case 21:
2756: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:111: QUERY
2757: {
2758: mQUERY();
2759: if (failed)
2760: return;
2761:
2762: }
2763: break;
2764: case 22:
2765: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:117: TEMPLATE
2766: {
2767: mTEMPLATE();
2768: if (failed)
2769: return;
2770:
2771: }
2772: break;
2773: case 23:
2774: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:126: ATTRIBUTES
2775: {
2776: mATTRIBUTES();
2777: if (failed)
2778: return;
2779:
2780: }
2781: break;
2782: case 24:
2783: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:137: DATE_EFFECTIVE
2784: {
2785: mDATE_EFFECTIVE();
2786: if (failed)
2787: return;
2788:
2789: }
2790: break;
2791: case 25:
2792: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:152: DATE_EXPIRES
2793: {
2794: mDATE_EXPIRES();
2795: if (failed)
2796: return;
2797:
2798: }
2799: break;
2800: case 26:
2801: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:165: ENABLED
2802: {
2803: mENABLED();
2804: if (failed)
2805: return;
2806:
2807: }
2808: break;
2809: case 27:
2810: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:173: SALIENCE
2811: {
2812: mSALIENCE();
2813: if (failed)
2814: return;
2815:
2816: }
2817: break;
2818: case 28:
2819: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:182: NO_LOOP
2820: {
2821: mNO_LOOP();
2822: if (failed)
2823: return;
2824:
2825: }
2826: break;
2827: case 29:
2828: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:190: AUTO_FOCUS
2829: {
2830: mAUTO_FOCUS();
2831: if (failed)
2832: return;
2833:
2834: }
2835: break;
2836: case 30:
2837: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:201: ACTIVATION_GROUP
2838: {
2839: mACTIVATION_GROUP();
2840: if (failed)
2841: return;
2842:
2843: }
2844: break;
2845: case 31:
2846: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:218: AGENDA_GROUP
2847: {
2848: mAGENDA_GROUP();
2849: if (failed)
2850: return;
2851:
2852: }
2853: break;
2854: case 32:
2855: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:231: DIALECT
2856: {
2857: mDIALECT();
2858: if (failed)
2859: return;
2860:
2861: }
2862: break;
2863: case 33:
2864: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:239: RULEFLOW_GROUP
2865: {
2866: mRULEFLOW_GROUP();
2867: if (failed)
2868: return;
2869:
2870: }
2871: break;
2872: case 34:
2873: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:254: DURATION
2874: {
2875: mDURATION();
2876: if (failed)
2877: return;
2878:
2879: }
2880: break;
2881: case 35:
2882: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:263: LOCK_ON_ACTIVE
2883: {
2884: mLOCK_ON_ACTIVE();
2885: if (failed)
2886: return;
2887:
2888: }
2889: break;
2890: case 36:
2891: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:278: FROM
2892: {
2893: mFROM();
2894: if (failed)
2895: return;
2896:
2897: }
2898: break;
2899: case 37:
2900: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:283: ACCUMULATE
2901: {
2902: mACCUMULATE();
2903: if (failed)
2904: return;
2905:
2906: }
2907: break;
2908: case 38:
2909: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:294: INIT
2910: {
2911: mINIT();
2912: if (failed)
2913: return;
2914:
2915: }
2916: break;
2917: case 39:
2918: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:299: ACTION
2919: {
2920: mACTION();
2921: if (failed)
2922: return;
2923:
2924: }
2925: break;
2926: case 40:
2927: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:306: REVERSE
2928: {
2929: mREVERSE();
2930: if (failed)
2931: return;
2932:
2933: }
2934: break;
2935: case 41:
2936: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:314: RESULT
2937: {
2938: mRESULT();
2939: if (failed)
2940: return;
2941:
2942: }
2943: break;
2944: case 42:
2945: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:321: COLLECT
2946: {
2947: mCOLLECT();
2948: if (failed)
2949: return;
2950:
2951: }
2952: break;
2953: case 43:
2954: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:329: OR
2955: {
2956: mOR();
2957: if (failed)
2958: return;
2959:
2960: }
2961: break;
2962: case 44:
2963: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:332: AND
2964: {
2965: mAND();
2966: if (failed)
2967: return;
2968:
2969: }
2970: break;
2971: case 45:
2972: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:336: CONTAINS
2973: {
2974: mCONTAINS();
2975: if (failed)
2976: return;
2977:
2978: }
2979: break;
2980: case 46:
2981: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:345: EXCLUDES
2982: {
2983: mEXCLUDES();
2984: if (failed)
2985: return;
2986:
2987: }
2988: break;
2989: case 47:
2990: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:354: MEMBEROF
2991: {
2992: mMEMBEROF();
2993: if (failed)
2994: return;
2995:
2996: }
2997: break;
2998: case 48:
2999: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:363: MATCHES
3000: {
3001: mMATCHES();
3002: if (failed)
3003: return;
3004:
3005: }
3006: break;
3007: case 49:
3008: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:371: IN
3009: {
3010: mIN();
3011: if (failed)
3012: return;
3013:
3014: }
3015: break;
3016: case 50:
3017: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:374: NULL
3018: {
3019: mNULL();
3020: if (failed)
3021: return;
3022:
3023: }
3024: break;
3025: case 51:
3026: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:379: EXISTS
3027: {
3028: mEXISTS();
3029: if (failed)
3030: return;
3031:
3032: }
3033: break;
3034: case 52:
3035: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:386: NOT
3036: {
3037: mNOT();
3038: if (failed)
3039: return;
3040:
3041: }
3042: break;
3043: case 53:
3044: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:390: EVAL
3045: {
3046: mEVAL();
3047: if (failed)
3048: return;
3049:
3050: }
3051: break;
3052: case 54:
3053: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:395: FORALL
3054: {
3055: mFORALL();
3056: if (failed)
3057: return;
3058:
3059: }
3060: break;
3061: case 55:
3062: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:402: WHEN
3063: {
3064: mWHEN();
3065: if (failed)
3066: return;
3067:
3068: }
3069: break;
3070: case 56:
3071: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:407: THEN
3072: {
3073: mTHEN();
3074: if (failed)
3075: return;
3076:
3077: }
3078: break;
3079: case 57:
3080: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:412: END
3081: {
3082: mEND();
3083: if (failed)
3084: return;
3085:
3086: }
3087: break;
3088: case 58:
3089: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:416: ID
3090: {
3091: mID();
3092: if (failed)
3093: return;
3094:
3095: }
3096: break;
3097: case 59:
3098: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:419: LEFT_PAREN
3099: {
3100: mLEFT_PAREN();
3101: if (failed)
3102: return;
3103:
3104: }
3105: break;
3106: case 60:
3107: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:430: RIGHT_PAREN
3108: {
3109: mRIGHT_PAREN();
3110: if (failed)
3111: return;
3112:
3113: }
3114: break;
3115: case 61:
3116: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:442: LEFT_SQUARE
3117: {
3118: mLEFT_SQUARE();
3119: if (failed)
3120: return;
3121:
3122: }
3123: break;
3124: case 62:
3125: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:454: RIGHT_SQUARE
3126: {
3127: mRIGHT_SQUARE();
3128: if (failed)
3129: return;
3130:
3131: }
3132: break;
3133: case 63:
3134: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:467: LEFT_CURLY
3135: {
3136: mLEFT_CURLY();
3137: if (failed)
3138: return;
3139:
3140: }
3141: break;
3142: case 64:
3143: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:478: RIGHT_CURLY
3144: {
3145: mRIGHT_CURLY();
3146: if (failed)
3147: return;
3148:
3149: }
3150: break;
3151: case 65:
3152: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:490: COMMA
3153: {
3154: mCOMMA();
3155: if (failed)
3156: return;
3157:
3158: }
3159: break;
3160: case 66:
3161: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:496: DOT
3162: {
3163: mDOT();
3164: if (failed)
3165: return;
3166:
3167: }
3168: break;
3169: case 67:
3170: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:500: DOUBLE_AMPER
3171: {
3172: mDOUBLE_AMPER();
3173: if (failed)
3174: return;
3175:
3176: }
3177: break;
3178: case 68:
3179: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:513: DOUBLE_PIPE
3180: {
3181: mDOUBLE_PIPE();
3182: if (failed)
3183: return;
3184:
3185: }
3186: break;
3187: case 69:
3188: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:525: SH_STYLE_SINGLE_LINE_COMMENT
3189: {
3190: mSH_STYLE_SINGLE_LINE_COMMENT();
3191: if (failed)
3192: return;
3193:
3194: }
3195: break;
3196: case 70:
3197: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:554: C_STYLE_SINGLE_LINE_COMMENT
3198: {
3199: mC_STYLE_SINGLE_LINE_COMMENT();
3200: if (failed)
3201: return;
3202:
3203: }
3204: break;
3205: case 71:
3206: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:582: MULTI_LINE_COMMENT
3207: {
3208: mMULTI_LINE_COMMENT();
3209: if (failed)
3210: return;
3211:
3212: }
3213: break;
3214: case 72:
3215: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1:601: MISC
3216: {
3217: mMISC();
3218: if (failed)
3219: return;
3220:
3221: }
3222: break;
3223:
3224: }
3225:
3226: }
3227:
3228: // $ANTLR start synpred1
3229: public final void synpred1_fragment() throws RecognitionException {
3230: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1693:14: ( '\\r\\n' )
3231: // /home/etirelli/workspace/jboss/jbossrules/drools-compiler/src/main/resources/org/drools/lang/DRL.g:1693:16: '\\r\\n'
3232: {
3233: match("\r\n");
3234: if (failed)
3235: return;
3236:
3237: }
3238: }
3239:
3240: // $ANTLR end synpred1
3241:
3242: public final boolean synpred1() {
3243: backtracking++;
3244: int start = input.mark();
3245: try {
3246: synpred1_fragment(); // can never throw exception
3247: } catch (RecognitionException re) {
3248: System.err.println("impossible: " + re);
3249: }
3250: boolean success = !failed;
3251: input.rewind(start);
3252: backtracking--;
3253: failed = false;
3254: return success;
3255: }
3256:
3257: protected DFA18 dfa18 = new DFA18(this );
3258: static final String DFA18_eotS = "\2\uffff\1\55\1\uffff\2\53\1\61\1\63\1\53\1\uffff\1\65\1\uffff\1"
3259: + "\53\21\52\10\uffff\2\53\1\uffff\1\53\15\uffff\10\52\1\146\25\52"
3260: + "\1\u0082\3\52\4\uffff\11\52\1\uffff\11\52\1\u0098\7\52\1\u00a0\3"
3261: + "\52\1\u00a4\1\uffff\4\52\1\uffff\3\52\1\u00ac\1\52\1\u00ae\3\52"
3262: + "\1\u00b2\1\52\1\u00b4\2\52\1\u00b8\6\52\1\uffff\7\52\1\uffff\1\52"
3263: + "\1\u00c8\1\52\1\uffff\1\u00ca\5\52\1\u00d0\1\uffff\1\52\1\uffff"
3264: + "\1\u00ac\2\52\1\uffff\1\52\1\uffff\3\52\1\uffff\2\52\1\u00da\1\uffff"
3265: + "\6\52\1\uffff\4\52\1\uffff\1\52\2\uffff\4\52\1\uffff\2\52\1\u00ed"
3266: + "\1\52\1\u00ef\1\u00f0\1\52\1\u00f2\1\52\1\uffff\2\52\1\u00f6\3\52"
3267: + "\1\uffff\1\52\1\u00fd\11\52\1\uffff\1\u0107\2\uffff\1\52\1\uffff"
3268: + "\1\u0109\2\52\1\uffff\1\52\1\uffff\1\52\2\uffff\1\u010e\1\uffff"
3269: + "\1\52\1\u0110\1\52\1\u0112\2\52\1\u0115\1\u0116\1\u0117\1\uffff"
3270: + "\1\52\1\uffff\3\52\1\u011c\1\uffff\1\u011d\1\uffff\1\u011e\1\uffff"
3271: + "\1\u011f\1\u0120\4\uffff\3\52\5\uffff\1\u0124\1\52\1\u0126\3\uffff";
3272: static final String DFA18_eofS = "\u0127\uffff";
3273: static final String DFA18_minS = "\1\11\1\uffff\1\52\1\uffff\1\60\4\75\1\uffff\1\56\1\uffff\1\0\1"
3274: + "\145\2\141\1\155\1\154\1\145\1\165\1\143\1\141\1\156\1\141\3\157"
3275: + "\1\162\1\141\1\150\10\uffff\1\46\1\174\1\uffff\1\52\15\uffff\1\165"
3276: + "\1\155\1\145\1\154\1\156\1\162\1\157\1\143\1\60\1\160\1\157\1\154"
3277: + "\1\163\1\145\1\164\1\143\1\144\1\164\1\145\1\162\1\164\1\141\1\143"
3278: + "\2\141\1\154\1\55\1\154\1\143\1\154\1\60\1\155\1\164\1\145\4\uffff"
3279: + "\1\145\1\160\1\156\1\163\1\143\1\141\1\155\1\153\1\164\1\uffff\1"
3280: + "\157\1\142\1\145\1\165\1\145\1\162\1\157\1\165\1\151\1\60\1\162"
3281: + "\1\156\1\141\1\145\1\154\1\163\1\154\1\60\1\142\1\154\1\151\1\60"
3282: + "\1\uffff\1\154\1\153\1\154\1\164\1\uffff\1\142\1\143\1\156\1\60"
3283: + "\1\154\1\60\1\145\1\164\1\154\1\60\1\141\1\60\1\162\1\141\1\60\1"
3284: + "\154\1\162\1\171\1\55\1\155\1\157\1\uffff\1\151\1\144\1\164\1\55"
3285: + "\1\145\1\164\1\165\1\uffff\1\154\1\60\1\145\1\uffff\1\60\1\55\1"
3286: + "\145\1\141\1\145\1\150\1\60\1\uffff\1\141\1\uffff\1\60\1\151\1\154"
3287: + "\1\uffff\1\147\1\uffff\1\164\2\154\1\uffff\1\164\1\163\1\60\1\uffff"
3288: + "\1\165\1\141\1\156\1\142\1\141\1\151\1\145\1\143\1\163\1\144\1\145"
3289: + "\1\uffff\1\156\2\uffff\1\143\1\151\1\162\1\145\1\uffff\1\164\1\157"
3290: + "\1\60\1\145\2\60\1\157\1\60\1\145\1\uffff\1\154\1\164\1\60\1\165"
3291: + "\1\55\1\157\1\146\1\164\1\60\1\145\1\144\1\143\1\164\1\156\1\117"
3292: + "\1\163\1\145\1\156\1\uffff\1\60\2\uffff\1\167\1\uffff\1\60\1\141"
3293: + "\1\151\1\uffff\1\164\1\uffff\1\156\2\uffff\1\60\1\uffff\1\163\1"
3294: + "\60\1\145\1\60\1\163\1\146\3\60\1\uffff\1\55\1\uffff\1\164\1\157"
3295: + "\1\145\1\60\1\uffff\1\60\1\uffff\1\60\1\uffff\2\60\4\uffff\1\145"
3296: + "\1\156\1\163\5\uffff\1\60\1\55\1\60\3\uffff";
3297: static final String DFA18_maxS = "\1\u00ff\1\uffff\1\52\1\uffff\1\76\4\75\1\uffff\1\71\1\uffff\1\ufffe"
3298: + "\1\162\1\165\1\141\1\156\1\154\4\165\1\170\1\141\1\165\2\157\1\162"
3299: + "\1\145\1\150\10\uffff\1\46\1\174\1\uffff\1\57\15\uffff\1\165\1\155"
3300: + "\1\145\1\154\1\156\1\162\1\157\1\143\1\u00ff\1\160\1\157\1\154\1"
3301: + "\166\1\145\2\164\1\144\1\164\1\145\1\162\1\164\1\141\1\151\1\144"
3302: + "\1\141\1\154\1\164\1\154\1\143\1\156\1\u00ff\1\155\1\164\1\145\4"
3303: + "\uffff\1\145\1\160\1\156\1\163\1\143\1\141\1\155\1\153\1\164\1\uffff"
3304: + "\1\157\1\142\1\145\1\165\1\145\1\162\1\157\1\165\1\151\1\u00ff\1"
3305: + "\162\1\156\1\141\1\145\1\154\1\163\1\154\1\u00ff\1\142\1\154\1\151"
3306: + "\1\u00ff\1\uffff\1\154\1\153\1\154\1\164\1\uffff\1\142\1\143\1\156"
3307: + "\1\u00ff\1\154\1\u00ff\1\145\1\164\1\154\1\u00ff\1\141\1\u00ff\1"
3308: + "\162\1\141\1\u00ff\1\154\1\162\1\171\1\55\1\155\1\166\1\uffff\1"
3309: + "\151\1\144\1\164\1\55\1\145\1\164\1\165\1\uffff\1\154\1\u00ff\1"
3310: + "\145\1\uffff\1\u00ff\1\55\1\145\1\141\1\145\1\150\1\u00ff\1\uffff"
3311: + "\1\141\1\uffff\1\u00ff\1\151\1\154\1\uffff\1\147\1\uffff\1\164\2"
3312: + "\154\1\uffff\1\164\1\163\1\u00ff\1\uffff\1\165\1\141\1\156\1\142"
3313: + "\1\141\1\151\1\145\1\143\1\163\1\144\1\145\1\uffff\1\156\2\uffff"
3314: + "\1\143\1\151\1\162\1\145\1\uffff\1\164\1\157\1\u00ff\1\145\2\u00ff"
3315: + "\1\157\1\u00ff\1\145\1\uffff\1\154\1\164\1\u00ff\1\165\1\55\1\157"
3316: + "\1\170\1\164\1\u00ff\1\145\1\144\1\143\1\164\1\156\1\117\1\163\1"
3317: + "\145\1\156\1\uffff\1\u00ff\2\uffff\1\167\1\uffff\1\u00ff\1\141\1"
3318: + "\151\1\uffff\1\164\1\uffff\1\156\2\uffff\1\u00ff\1\uffff\1\163\1"
3319: + "\u00ff\1\145\1\u00ff\1\163\1\146\3\u00ff\1\uffff\1\55\1\uffff\1"
3320: + "\164\1\157\1\145\1\u00ff\1\uffff\1\u00ff\1\uffff\1\u00ff\1\uffff"
3321: + "\2\u00ff\4\uffff\1\145\1\156\1\163\5\uffff\1\u00ff\1\55\1\u00ff"
3322: + "\3\uffff";
3323: static final String DFA18_acceptS = "\1\uffff\1\1\1\uffff\1\3\5\uffff\1\13\1\uffff\1\16\22\uffff\1\72"
3324: + "\1\73\1\74\1\75\1\76\1\77\1\100\1\101\2\uffff\1\105\1\uffff\1\72"
3325: + "\1\110\1\2\1\102\1\4\1\5\1\7\1\6\1\11\1\10\1\12\1\14\1\15\42\uffff"
3326: + "\1\103\1\104\1\106\1\107\11\uffff\1\61\26\uffff\1\34\4\uffff\1\53"
3327: + "\25\uffff\1\54\7\uffff\1\71\3\uffff\1\64\7\uffff\1\17\1\uffff\1"
3328: + "\70\3\uffff\1\44\1\uffff\1\46\3\uffff\1\24\3\uffff\1\35\13\uffff"
3329: + "\1\65\1\uffff\1\62\1\43\4\uffff\1\67\11\uffff\1\25\22\uffff\1\66"
3330: + "\1\uffff\1\21\1\23\1\uffff\1\51\3\uffff\1\47\1\uffff\1\37\1\uffff"
3331: + "\1\30\1\31\1\uffff\1\63\11\uffff\1\20\1\uffff\1\50\4\uffff\1\40"
3332: + "\1\uffff\1\32\1\uffff\1\52\2\uffff\1\60\1\26\1\22\1\41\3\uffff\1"
3333: + "\42\1\56\1\33\1\55\1\57\3\uffff\1\45\1\36\1\27";
3334: static final String DFA18_specialS = "\u0127\uffff}>";
3335: static final String[] DFA18_transitionS = {
3336: "\2\11\1\uffff\2\11\22\uffff\1\11\1\10\1\13\1\50\1\36\1\53\1"
3337: + "\46\1\14\1\37\1\40\2\53\1\45\1\4\1\2\1\51\12\12\1\3\1\1\1\7"
3338: + "\1\5\1\6\2\53\32\52\1\41\1\53\1\42\1\53\1\36\1\uffff\1\24\1"
3339: + "\52\1\32\1\25\1\26\1\16\1\21\1\52\1\20\2\52\1\31\1\34\1\30\1"
3340: + "\33\1\17\1\23\1\22\1\27\1\15\2\52\1\35\3\52\1\43\1\47\1\44\102"
3341: + "\uffff\100\52",
3342: "",
3343: "\1\54",
3344: "",
3345: "\12\12\4\uffff\1\56",
3346: "\1\57",
3347: "\1\60",
3348: "\1\62",
3349: "\1\64",
3350: "",
3351: "\1\66\1\uffff\12\12",
3352: "",
3353: "\uffff\13",
3354: "\1\70\2\uffff\1\71\11\uffff\1\67",
3355: "\1\72\15\uffff\1\74\2\uffff\1\75\2\uffff\1\73",
3356: "\1\76",
3357: "\1\100\1\77",
3358: "\1\101",
3359: "\1\103\17\uffff\1\102",
3360: "\1\104",
3361: "\1\106\3\uffff\1\111\6\uffff\1\107\5\uffff\1\110\1\105",
3362: "\1\113\7\uffff\1\114\13\uffff\1\112",
3363: "\1\116\7\uffff\1\117\1\uffff\1\115",
3364: "\1\120",
3365: "\1\121\5\uffff\1\122",
3366: "\1\123",
3367: "\1\124",
3368: "\1\125",
3369: "\1\127\3\uffff\1\126",
3370: "\1\130",
3371: "",
3372: "",
3373: "",
3374: "",
3375: "",
3376: "",
3377: "",
3378: "",
3379: "\1\131",
3380: "\1\132",
3381: "",
3382: "\1\134\4\uffff\1\133",
3383: "",
3384: "",
3385: "",
3386: "",
3387: "",
3388: "",
3389: "",
3390: "",
3391: "",
3392: "",
3393: "",
3394: "",
3395: "",
3396: "\1\135",
3397: "\1\136",
3398: "\1\137",
3399: "\1\140",
3400: "\1\141",
3401: "\1\142",
3402: "\1\143",
3403: "\1\144",
3404: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\10\52\1\145\21\52"
3405: + "\105\uffff\100\52",
3406: "\1\147",
3407: "\1\150",
3408: "\1\151",
3409: "\1\152\2\uffff\1\153",
3410: "\1\154",
3411: "\1\155",
3412: "\1\156\20\uffff\1\157",
3413: "\1\160",
3414: "\1\161",
3415: "\1\162",
3416: "\1\163",
3417: "\1\164",
3418: "\1\165",
3419: "\1\167\5\uffff\1\166",
3420: "\1\171\2\uffff\1\170",
3421: "\1\172",
3422: "\1\173",
3423: "\1\175\106\uffff\1\174",
3424: "\1\176",
3425: "\1\177",
3426: "\1\u0080\1\uffff\1\u0081",
3427: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3428: + "\52",
3429: "\1\u0083",
3430: "\1\u0084",
3431: "\1\u0085",
3432: "",
3433: "",
3434: "",
3435: "",
3436: "\1\u0086",
3437: "\1\u0087",
3438: "\1\u0088",
3439: "\1\u0089",
3440: "\1\u008a",
3441: "\1\u008b",
3442: "\1\u008c",
3443: "\1\u008d",
3444: "\1\u008e",
3445: "",
3446: "\1\u008f",
3447: "\1\u0090",
3448: "\1\u0091",
3449: "\1\u0092",
3450: "\1\u0093",
3451: "\1\u0094",
3452: "\1\u0095",
3453: "\1\u0096",
3454: "\1\u0097",
3455: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3456: + "\52",
3457: "\1\u0099",
3458: "\1\u009a",
3459: "\1\u009b",
3460: "\1\u009c",
3461: "\1\u009d",
3462: "\1\u009e",
3463: "\1\u009f",
3464: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3465: + "\52",
3466: "\1\u00a1",
3467: "\1\u00a2",
3468: "\1\u00a3",
3469: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3470: + "\52",
3471: "",
3472: "\1\u00a5",
3473: "\1\u00a6",
3474: "\1\u00a7",
3475: "\1\u00a8",
3476: "",
3477: "\1\u00a9",
3478: "\1\u00aa",
3479: "\1\u00ab",
3480: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3481: + "\52",
3482: "\1\u00ad",
3483: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3484: + "\52",
3485: "\1\u00af",
3486: "\1\u00b0",
3487: "\1\u00b1",
3488: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3489: + "\52",
3490: "\1\u00b3",
3491: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3492: + "\52",
3493: "\1\u00b5",
3494: "\1\u00b6",
3495: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\5\52\1\u00b7\24\52"
3496: + "\105\uffff\100\52",
3497: "\1\u00b9",
3498: "\1\u00ba",
3499: "\1\u00bb",
3500: "\1\u00bc",
3501: "\1\u00bd",
3502: "\1\u00bf\6\uffff\1\u00be",
3503: "",
3504: "\1\u00c0",
3505: "\1\u00c1",
3506: "\1\u00c2",
3507: "\1\u00c3",
3508: "\1\u00c4",
3509: "\1\u00c5",
3510: "\1\u00c6",
3511: "",
3512: "\1\u00c7",
3513: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3514: + "\52",
3515: "\1\u00c9",
3516: "",
3517: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3518: + "\52",
3519: "\1\u00cb",
3520: "\1\u00cc",
3521: "\1\u00cd",
3522: "\1\u00ce",
3523: "\1\u00cf",
3524: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3525: + "\52",
3526: "",
3527: "\1\u00d1",
3528: "",
3529: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3530: + "\52",
3531: "\1\u00d2",
3532: "\1\u00d3",
3533: "",
3534: "\1\u00d4",
3535: "",
3536: "\1\u00d5",
3537: "\1\u00d6",
3538: "\1\u00d7",
3539: "",
3540: "\1\u00d8",
3541: "\1\u00d9",
3542: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3543: + "\52",
3544: "",
3545: "\1\u00db",
3546: "\1\u00dc",
3547: "\1\u00dd",
3548: "\1\u00de",
3549: "\1\u00df",
3550: "\1\u00e0",
3551: "\1\u00e1",
3552: "\1\u00e2",
3553: "\1\u00e3",
3554: "\1\u00e4",
3555: "\1\u00e5",
3556: "",
3557: "\1\u00e6",
3558: "",
3559: "",
3560: "\1\u00e7",
3561: "\1\u00e8",
3562: "\1\u00e9",
3563: "\1\u00ea",
3564: "",
3565: "\1\u00eb",
3566: "\1\u00ec",
3567: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3568: + "\52",
3569: "\1\u00ee",
3570: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3571: + "\52",
3572: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3573: + "\52",
3574: "\1\u00f1",
3575: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3576: + "\52",
3577: "\1\u00f3",
3578: "",
3579: "\1\u00f4",
3580: "\1\u00f5",
3581: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3582: + "\52",
3583: "\1\u00f7",
3584: "\1\u00f8",
3585: "\1\u00f9",
3586: "\1\u00fa\21\uffff\1\u00fb",
3587: "\1\u00fc",
3588: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3589: + "\52",
3590: "\1\u00fe",
3591: "\1\u00ff",
3592: "\1\u0100",
3593: "\1\u0101",
3594: "\1\u0102",
3595: "\1\u0103",
3596: "\1\u0104",
3597: "\1\u0105",
3598: "\1\u0106",
3599: "",
3600: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3601: + "\52",
3602: "",
3603: "",
3604: "\1\u0108",
3605: "",
3606: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3607: + "\52",
3608: "\1\u010a",
3609: "\1\u010b",
3610: "",
3611: "\1\u010c",
3612: "",
3613: "\1\u010d",
3614: "",
3615: "",
3616: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3617: + "\52",
3618: "",
3619: "\1\u010f",
3620: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3621: + "\52",
3622: "\1\u0111",
3623: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3624: + "\52",
3625: "\1\u0113",
3626: "\1\u0114",
3627: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3628: + "\52",
3629: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3630: + "\52",
3631: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3632: + "\52",
3633: "",
3634: "\1\u0118",
3635: "",
3636: "\1\u0119",
3637: "\1\u011a",
3638: "\1\u011b",
3639: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3640: + "\52",
3641: "",
3642: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3643: + "\52",
3644: "",
3645: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3646: + "\52",
3647: "",
3648: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3649: + "\52",
3650: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3651: + "\52",
3652: "",
3653: "",
3654: "",
3655: "",
3656: "\1\u0121",
3657: "\1\u0122",
3658: "\1\u0123",
3659: "",
3660: "",
3661: "",
3662: "",
3663: "",
3664: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3665: + "\52",
3666: "\1\u0125",
3667: "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52\105\uffff\100"
3668: + "\52", "", "", "" };
3669:
3670: static final short[] DFA18_eot = DFA
3671: .unpackEncodedString(DFA18_eotS);
3672: static final short[] DFA18_eof = DFA
3673: .unpackEncodedString(DFA18_eofS);
3674: static final char[] DFA18_min = DFA
3675: .unpackEncodedStringToUnsignedChars(DFA18_minS);
3676: static final char[] DFA18_max = DFA
3677: .unpackEncodedStringToUnsignedChars(DFA18_maxS);
3678: static final short[] DFA18_accept = DFA
3679: .unpackEncodedString(DFA18_acceptS);
3680: static final short[] DFA18_special = DFA
3681: .unpackEncodedString(DFA18_specialS);
3682: static final short[][] DFA18_transition;
3683:
3684: static {
3685: int numStates = DFA18_transitionS.length;
3686: DFA18_transition = new short[numStates][];
3687: for (int i = 0; i < numStates; i++) {
3688: DFA18_transition[i] = DFA
3689: .unpackEncodedString(DFA18_transitionS[i]);
3690: }
3691: }
3692:
3693: class DFA18 extends DFA {
3694:
3695: public DFA18(BaseRecognizer recognizer) {
3696: this .recognizer = recognizer;
3697: this .decisionNumber = 18;
3698: this .eot = DFA18_eot;
3699: this .eof = DFA18_eof;
3700: this .min = DFA18_min;
3701: this .max = DFA18_max;
3702: this .accept = DFA18_accept;
3703: this .special = DFA18_special;
3704: this .transition = DFA18_transition;
3705: }
3706:
3707: public String getDescription() {
3708: return "1:1: Tokens : ( T71 | T72 | T73 | T74 | T75 | T76 | T77 | T78 | T79 | T80 | WS | INT | FLOAT | STRING | BOOL | PACKAGE | IMPORT | FUNCTION | GLOBAL | RULE | QUERY | TEMPLATE | ATTRIBUTES | DATE_EFFECTIVE | DATE_EXPIRES | ENABLED | SALIENCE | NO_LOOP | AUTO_FOCUS | ACTIVATION_GROUP | AGENDA_GROUP | DIALECT | RULEFLOW_GROUP | DURATION | LOCK_ON_ACTIVE | FROM | ACCUMULATE | INIT | ACTION | REVERSE | RESULT | COLLECT | OR | AND | CONTAINS | EXCLUDES | MEMBEROF | MATCHES | IN | NULL | EXISTS | NOT | EVAL | FORALL | WHEN | THEN | END | 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 );";
3709: }
3710: }
3711:
3712: }
|