001: /* Generated By:JJTree&JavaCC: Do not edit this line. ExpressionParserConstants.java */
002: /**************************************************************************************
003: * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
004: * http://aspectwerkz.codehaus.org *
005: * ---------------------------------------------------------------------------------- *
006: * The software in this package is published under the terms of the LGPL license *
007: * a copy of which has been included with this distribution in the license.txt file. *
008: **************************************************************************************/package org.codehaus.aspectwerkz.expression.ast;
009:
010: public interface ExpressionParserConstants {
011:
012: int EOF = 0;
013: int COMMA = 3;
014: int DOT = 4;
015: int WILDCARD = 5;
016: int ARRAY = 6;
017: int EAGER_WILDCARD = 7;
018: int AND = 8;
019: int OR = 9;
020: int NOT = 10;
021: int EXECUTION = 11;
022: int CALL = 12;
023: int SET = 13;
024: int GET = 14;
025: int HANDLER = 15;
026: int WITHIN = 16;
027: int WITHIN_CODE = 17;
028: int STATIC_INITIALIZATION = 18;
029: int CFLOW = 19;
030: int CFLOW_BELOW = 20;
031: int ARGS = 21;
032: int TARGET = 22;
033: int THIS = 23;
034: int IF = 24;
035: int HAS_METHOD = 25;
036: int HAS_FIELD = 26;
037: int POINTCUT_REFERENCE_WITH_ARGS = 27;
038: int POINTCUT_REFERENCE = 28;
039: int CLASS_PRIVATE = 29;
040: int CLASS_PROTECTED = 30;
041: int CLASS_PUBLIC = 31;
042: int CLASS_STATIC = 32;
043: int CLASS_ABSTRACT = 33;
044: int CLASS_FINAL = 34;
045: int CLASS_NOT = 35;
046: int CLASS_ATTRIBUTE = 36;
047: int CLASS_PATTERN = 37;
048: int CLASS_EXACT_IDENTIFIER = 38;
049: int CLASS_IDENTIFIER = 39;
050: int CLASS_JAVA_NAME_LETTER = 40;
051: int CLASS_POINTCUT_END = 41;
052: int METHOD_PUBLIC = 42;
053: int METHOD_PROTECTED = 43;
054: int METHOD_PRIVATE = 44;
055: int METHOD_STATIC = 45;
056: int METHOD_ABSTRACT = 46;
057: int METHOD_FINAL = 47;
058: int METHOD_NATIVE = 48;
059: int METHOD_SYNCHRONIZED = 49;
060: int TYPE_STATICINITIALIZATION = 50;
061: int METHOD_NOT = 51;
062: int METHOD_ANNOTATION = 52;
063: int METHOD_IDENTIFIER = 53;
064: int METHOD_CLASS_PATTERN = 54;
065: int METHOD_ARRAY_CLASS_PATTERN = 55;
066: int METHOD_ATTRIBUTE_EXACT_IDENTIFIER = 56;
067: int METHOD_PARAMETER_START = 57;
068: int METHOD_PARAMETER_END = 58;
069: int METHOD_JAVA_NAME_LETTER = 59;
070: int FIELD_PRIVATE = 60;
071: int FIELD_PROTECTED = 61;
072: int FIELD_PUBLIC = 62;
073: int FIELD_STATIC = 63;
074: int FIELD_ABSTRACT = 64;
075: int FIELD_FINAL = 65;
076: int FIELD_TRANSIENT = 66;
077: int FIELD_NOT = 67;
078: int FIELD_ANNOTATION = 68;
079: int FIELD_IDENTIFIER = 69;
080: int FIELD_CLASS_PATTERN = 70;
081: int FIELD_ARRAY_CLASS_PATTERN = 71;
082: int FIELD_ATTRIBUTE_EXACT_IDENTIFIER = 72;
083: int FIELD_JAVA_NAME_LETTER = 73;
084: int FIELD_POINTCUT_END = 74;
085: int PARAMETER_IDENTIFIER = 75;
086: int PARAMETER_CLASS_PATTERN = 76;
087: int PARAMETER_ARRAY_CLASS_PATTERN = 77;
088: int PARAMETER_ANNOTATION = 78;
089: int PARAMETER_JAVA_NAME_LETTER = 79;
090: int PARAMETER_NOT = 80;
091: int ARG_IDENTIFIER = 81;
092: int ARG_PATTERN = 82;
093: int ARG_ARRAY_PATTERN = 83;
094: int ARG_JAVA_NAME_LETTER = 84;
095: int ARGS_END = 85;
096:
097: int IN_ARGS = 0;
098: int PARAMETERS = 1;
099: int FIELD = 2;
100: int METHOD = 3;
101: int CLASS = 4;
102: int DEFAULT = 5;
103:
104: String[] tokenImage = { "<EOF>", "\" \"", "\"\\t\"", "\",\"",
105: "\".\"", "\"*\"", "\"[]\"", "<EAGER_WILDCARD>", "<AND>",
106: "<OR>", "\"!\"", "\"execution(\"", "\"call(\"", "\"set(\"",
107: "\"get(\"", "\"handler(\"", "\"within(\"",
108: "\"withincode(\"", "\"staticinitialization(\"",
109: "\"cflow(\"", "\"cflowbelow(\"", "\"args(\"",
110: "\"target(\"", "\"this(\"", "\"if(\"", "\"hasmethod(\"",
111: "\"hasfield(\"", "<POINTCUT_REFERENCE_WITH_ARGS>",
112: "<POINTCUT_REFERENCE>", "\"private\"", "\"protected\"",
113: "\"public\"", "\"static\"", "\"abstract\"", "\"final\"",
114: "\"!\"", "<CLASS_ATTRIBUTE>", "<CLASS_PATTERN>",
115: "<CLASS_EXACT_IDENTIFIER>", "<CLASS_IDENTIFIER>",
116: "<CLASS_JAVA_NAME_LETTER>", "\")\"", "\"public\"",
117: "\"protected\"", "\"private\"", "\"static\"",
118: "\"abstract\"", "\"final\"", "\"native\"",
119: "\"synchronized\"", "\"staticinitialization\"", "\"!\"",
120: "<METHOD_ANNOTATION>", "<METHOD_IDENTIFIER>",
121: "<METHOD_CLASS_PATTERN>", "<METHOD_ARRAY_CLASS_PATTERN>",
122: "<METHOD_ATTRIBUTE_EXACT_IDENTIFIER>", "\"(\"", "\")\"",
123: "<METHOD_JAVA_NAME_LETTER>", "\"private\"",
124: "\"protected\"", "\"public\"", "\"static\"",
125: "\"abstract\"", "\"final\"", "\"transient\"", "\"!\"",
126: "<FIELD_ANNOTATION>", "<FIELD_IDENTIFIER>",
127: "<FIELD_CLASS_PATTERN>", "<FIELD_ARRAY_CLASS_PATTERN>",
128: "<FIELD_ATTRIBUTE_EXACT_IDENTIFIER>",
129: "<FIELD_JAVA_NAME_LETTER>", "\")\"",
130: "<PARAMETER_IDENTIFIER>", "<PARAMETER_CLASS_PATTERN>",
131: "<PARAMETER_ARRAY_CLASS_PATTERN>",
132: "<PARAMETER_ANNOTATION>", "<PARAMETER_JAVA_NAME_LETTER>",
133: "\"!\"", "<ARG_IDENTIFIER>", "<ARG_PATTERN>",
134: "<ARG_ARRAY_PATTERN>", "<ARG_JAVA_NAME_LETTER>", "\")\"",
135: "\"(\"", "\")\"", };
136:
137: }
|