KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > aspectwerkz > expression > ast > ExpressionParserConstants


1 /* Generated By:JJTree&JavaCC: Do not edit this line. ExpressionParserConstants.java */
2 /**************************************************************************************
3  * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
4  * http://aspectwerkz.codehaus.org *
5  * ---------------------------------------------------------------------------------- *
6  * The software in this package is published under the terms of the LGPL license *
7  * a copy of which has been included with this distribution in the license.txt file. *
8  **************************************************************************************/

9 package org.codehaus.aspectwerkz.expression.ast;
10
11 public interface ExpressionParserConstants {
12
13   int EOF = 0;
14   int COMMA = 3;
15   int DOT = 4;
16   int WILDCARD = 5;
17   int ARRAY = 6;
18   int EAGER_WILDCARD = 7;
19   int AND = 8;
20   int OR = 9;
21   int NOT = 10;
22   int EXECUTION = 11;
23   int CALL = 12;
24   int SET = 13;
25   int GET = 14;
26   int HANDLER = 15;
27   int WITHIN = 16;
28   int WITHIN_CODE = 17;
29   int STATIC_INITIALIZATION = 18;
30   int CFLOW = 19;
31   int CFLOW_BELOW = 20;
32   int ARGS = 21;
33   int TARGET = 22;
34   int THIS = 23;
35   int IF = 24;
36   int HAS_METHOD = 25;
37   int HAS_FIELD = 26;
38   int POINTCUT_REFERENCE_WITH_ARGS = 27;
39   int POINTCUT_REFERENCE = 28;
40   int CLASS_PRIVATE = 29;
41   int CLASS_PROTECTED = 30;
42   int CLASS_PUBLIC = 31;
43   int CLASS_STATIC = 32;
44   int CLASS_ABSTRACT = 33;
45   int CLASS_FINAL = 34;
46   int CLASS_NOT = 35;
47   int CLASS_ATTRIBUTE = 36;
48   int CLASS_PATTERN = 37;
49   int CLASS_EXACT_IDENTIFIER = 38;
50   int CLASS_IDENTIFIER = 39;
51   int CLASS_JAVA_NAME_LETTER = 40;
52   int CLASS_POINTCUT_END = 41;
53   int METHOD_PUBLIC = 42;
54   int METHOD_PROTECTED = 43;
55   int METHOD_PRIVATE = 44;
56   int METHOD_STATIC = 45;
57   int METHOD_ABSTRACT = 46;
58   int METHOD_FINAL = 47;
59   int METHOD_NATIVE = 48;
60   int METHOD_SYNCHRONIZED = 49;
61   int TYPE_STATICINITIALIZATION = 50;
62   int METHOD_NOT = 51;
63   int METHOD_ANNOTATION = 52;
64   int METHOD_IDENTIFIER = 53;
65   int METHOD_CLASS_PATTERN = 54;
66   int METHOD_ARRAY_CLASS_PATTERN = 55;
67   int METHOD_ATTRIBUTE_EXACT_IDENTIFIER = 56;
68   int METHOD_PARAMETER_START = 57;
69   int METHOD_PARAMETER_END = 58;
70   int METHOD_JAVA_NAME_LETTER = 59;
71   int FIELD_PRIVATE = 60;
72   int FIELD_PROTECTED = 61;
73   int FIELD_PUBLIC = 62;
74   int FIELD_STATIC = 63;
75   int FIELD_ABSTRACT = 64;
76   int FIELD_FINAL = 65;
77   int FIELD_TRANSIENT = 66;
78   int FIELD_NOT = 67;
79   int FIELD_ANNOTATION = 68;
80   int FIELD_IDENTIFIER = 69;
81   int FIELD_CLASS_PATTERN = 70;
82   int FIELD_ARRAY_CLASS_PATTERN = 71;
83   int FIELD_ATTRIBUTE_EXACT_IDENTIFIER = 72;
84   int FIELD_JAVA_NAME_LETTER = 73;
85   int FIELD_POINTCUT_END = 74;
86   int PARAMETER_IDENTIFIER = 75;
87   int PARAMETER_CLASS_PATTERN = 76;
88   int PARAMETER_ARRAY_CLASS_PATTERN = 77;
89   int PARAMETER_ANNOTATION = 78;
90   int PARAMETER_JAVA_NAME_LETTER = 79;
91   int PARAMETER_NOT = 80;
92   int ARG_IDENTIFIER = 81;
93   int ARG_PATTERN = 82;
94   int ARG_ARRAY_PATTERN = 83;
95   int ARG_JAVA_NAME_LETTER = 84;
96   int ARGS_END = 85;
97
98   int IN_ARGS = 0;
99   int PARAMETERS = 1;
100   int FIELD = 2;
101   int METHOD = 3;
102   int CLASS = 4;
103   int DEFAULT = 5;
104
105   String JavaDoc[] tokenImage = {
106     "<EOF>",
107     "\" \"",
108     "\"\\t\"",
109     "\",\"",
110     "\".\"",
111     "\"*\"",
112     "\"[]\"",
113     "<EAGER_WILDCARD>",
114     "<AND>",
115     "<OR>",
116     "\"!\"",
117     "\"execution(\"",
118     "\"call(\"",
119     "\"set(\"",
120     "\"get(\"",
121     "\"handler(\"",
122     "\"within(\"",
123     "\"withincode(\"",
124     "\"staticinitialization(\"",
125     "\"cflow(\"",
126     "\"cflowbelow(\"",
127     "\"args(\"",
128     "\"target(\"",
129     "\"this(\"",
130     "\"if(\"",
131     "\"hasmethod(\"",
132     "\"hasfield(\"",
133     "<POINTCUT_REFERENCE_WITH_ARGS>",
134     "<POINTCUT_REFERENCE>",
135     "\"private\"",
136     "\"protected\"",
137     "\"public\"",
138     "\"static\"",
139     "\"abstract\"",
140     "\"final\"",
141     "\"!\"",
142     "<CLASS_ATTRIBUTE>",
143     "<CLASS_PATTERN>",
144     "<CLASS_EXACT_IDENTIFIER>",
145     "<CLASS_IDENTIFIER>",
146     "<CLASS_JAVA_NAME_LETTER>",
147     "\")\"",
148     "\"public\"",
149     "\"protected\"",
150     "\"private\"",
151     "\"static\"",
152     "\"abstract\"",
153     "\"final\"",
154     "\"native\"",
155     "\"synchronized\"",
156     "\"staticinitialization\"",
157     "\"!\"",
158     "<METHOD_ANNOTATION>",
159     "<METHOD_IDENTIFIER>",
160     "<METHOD_CLASS_PATTERN>",
161     "<METHOD_ARRAY_CLASS_PATTERN>",
162     "<METHOD_ATTRIBUTE_EXACT_IDENTIFIER>",
163     "\"(\"",
164     "\")\"",
165     "<METHOD_JAVA_NAME_LETTER>",
166     "\"private\"",
167     "\"protected\"",
168     "\"public\"",
169     "\"static\"",
170     "\"abstract\"",
171     "\"final\"",
172     "\"transient\"",
173     "\"!\"",
174     "<FIELD_ANNOTATION>",
175     "<FIELD_IDENTIFIER>",
176     "<FIELD_CLASS_PATTERN>",
177     "<FIELD_ARRAY_CLASS_PATTERN>",
178     "<FIELD_ATTRIBUTE_EXACT_IDENTIFIER>",
179     "<FIELD_JAVA_NAME_LETTER>",
180     "\")\"",
181     "<PARAMETER_IDENTIFIER>",
182     "<PARAMETER_CLASS_PATTERN>",
183     "<PARAMETER_ARRAY_CLASS_PATTERN>",
184     "<PARAMETER_ANNOTATION>",
185     "<PARAMETER_JAVA_NAME_LETTER>",
186     "\"!\"",
187     "<ARG_IDENTIFIER>",
188     "<ARG_PATTERN>",
189     "<ARG_ARRAY_PATTERN>",
190     "<ARG_JAVA_NAME_LETTER>",
191     "\")\"",
192     "\"(\"",
193     "\")\"",
194   };
195
196 }
197
Popular Tags