KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > percederberg > grammatica > GrammarConstants


1 /*
2  * GrammarConstants.java
3  *
4  * THIS FILE HAS BEEN GENERATED AUTOMATICALLY. DO NOT EDIT!
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public License
8  * as published by the Free Software Foundation; either version 2.1
9  * of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free
18  * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
19  * MA 02111-1307, USA.
20  *
21  * Copyright (c) 2003-2005 Per Cederberg. All rights reserved.
22  */

23
24 package net.percederberg.grammatica;
25
26 /**
27  * An interface with constants for the parser and tokenizer.
28  *
29  * @author Per Cederberg, <per at percederberg dot net>
30  * @version 1.5
31  */

32 interface GrammarConstants {
33
34     /**
35      * A token identity constant.
36      */

37     public static final int HEADER = 1001;
38
39     /**
40      * A token identity constant.
41      */

42     public static final int TOKENS = 1002;
43
44     /**
45      * A token identity constant.
46      */

47     public static final int PRODUCTIONS = 1003;
48
49     /**
50      * A token identity constant.
51      */

52     public static final int IGNORE = 1004;
53
54     /**
55      * A token identity constant.
56      */

57     public static final int ERROR = 1005;
58
59     /**
60      * A token identity constant.
61      */

62     public static final int UNTERMINATED_DIRECTIVE = 1006;
63
64     /**
65      * A token identity constant.
66      */

67     public static final int EQUALS = 1007;
68
69     /**
70      * A token identity constant.
71      */

72     public static final int LEFT_PAREN = 1008;
73
74     /**
75      * A token identity constant.
76      */

77     public static final int RIGHT_PAREN = 1009;
78
79     /**
80      * A token identity constant.
81      */

82     public static final int LEFT_BRACE = 1010;
83
84     /**
85      * A token identity constant.
86      */

87     public static final int RIGHT_BRACE = 1011;
88
89     /**
90      * A token identity constant.
91      */

92     public static final int LEFT_BRACKET = 1012;
93
94     /**
95      * A token identity constant.
96      */

97     public static final int RIGHT_BRACKET = 1013;
98
99     /**
100      * A token identity constant.
101      */

102     public static final int QUESTION_MARK = 1014;
103
104     /**
105      * A token identity constant.
106      */

107     public static final int PLUS_SIGN = 1015;
108
109     /**
110      * A token identity constant.
111      */

112     public static final int ASTERISK = 1016;
113
114     /**
115      * A token identity constant.
116      */

117     public static final int VERTICAL_BAR = 1017;
118
119     /**
120      * A token identity constant.
121      */

122     public static final int SEMICOLON = 1018;
123
124     /**
125      * A token identity constant.
126      */

127     public static final int IDENTIFIER = 1019;
128
129     /**
130      * A token identity constant.
131      */

132     public static final int QUOTED_STRING = 1020;
133
134     /**
135      * A token identity constant.
136      */

137     public static final int REGEXP = 1021;
138
139     /**
140      * A token identity constant.
141      */

142     public static final int SINGLE_LINE_COMMENT = 1022;
143
144     /**
145      * A token identity constant.
146      */

147     public static final int MULTI_LINE_COMMENT = 1023;
148
149     /**
150      * A token identity constant.
151      */

152     public static final int WHITESPACE = 1024;
153
154     /**
155      * A production node identity constant.
156      */

157     public static final int GRAMMAR = 2001;
158
159     /**
160      * A production node identity constant.
161      */

162     public static final int HEADER_PART = 2002;
163
164     /**
165      * A production node identity constant.
166      */

167     public static final int HEADER_DECLARATION = 2003;
168
169     /**
170      * A production node identity constant.
171      */

172     public static final int TOKEN_PART = 2004;
173
174     /**
175      * A production node identity constant.
176      */

177     public static final int TOKEN_DECLARATION = 2005;
178
179     /**
180      * A production node identity constant.
181      */

182     public static final int TOKEN_VALUE = 2006;
183
184     /**
185      * A production node identity constant.
186      */

187     public static final int TOKEN_HANDLING = 2007;
188
189     /**
190      * A production node identity constant.
191      */

192     public static final int PRODUCTION_PART = 2008;
193
194     /**
195      * A production node identity constant.
196      */

197     public static final int PRODUCTION_DECLARATION = 2009;
198
199     /**
200      * A production node identity constant.
201      */

202     public static final int PRODUCTION = 2010;
203
204     /**
205      * A production node identity constant.
206      */

207     public static final int PRODUCTION_ATOM = 2011;
208 }
209
Popular Tags