KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > percederberg > grammatica > test > ArithmeticConstants


1 /*
2  * ArithmeticConstants.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 Per Cederberg. All rights reserved.
22  */

23
24 package net.percederberg.grammatica.test;
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.0
31  */

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

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

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

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

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

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

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

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

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

77     public static final int WHITESPACE = 1009;
78
79     /**
80      * A production node identity constant.
81      */

82     public static final int EXPRESSION = 2001;
83
84     /**
85      * A production node identity constant.
86      */

87     public static final int EXPRESSION_REST = 2002;
88
89     /**
90      * A production node identity constant.
91      */

92     public static final int TERM = 2003;
93
94     /**
95      * A production node identity constant.
96      */

97     public static final int TERM_REST = 2004;
98
99     /**
100      * A production node identity constant.
101      */

102     public static final int FACTOR = 2005;
103
104     /**
105      * A production node identity constant.
106      */

107     public static final int ATOM = 2006;
108 }
109
Popular Tags