KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jruby > parser > Tokens


1 /***** BEGIN LICENSE BLOCK *****
2  * Version: CPL 1.0/GPL 2.0/LGPL 2.1
3  *
4  * The contents of this file are subject to the Common Public
5  * License Version 1.0 (the "License"); you may not use this file
6  * except in compliance with the License. You may obtain a copy of
7  * the License at http://www.eclipse.org/legal/cpl-v10.html
8  *
9  * Software distributed under the License is distributed on an "AS
10  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11  * implied. See the License for the specific language governing
12  * rights and limitations under the License.
13  *
14  * Copyright (C) 2001-2002 Jan Arne Petersen <jpetersen@uni-bonn.de>
15  * Copyright (C) 2004-2005 Thomas E Enebo <enebo@acm.org>
16  *
17  * Alternatively, the contents of this file may be used under the terms of
18  * either of the GNU General Public License Version 2 or later (the "GPL"),
19  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
20  * in which case the provisions of the GPL or the LGPL are applicable instead
21  * of those above. If you wish to allow use of your version of this file only
22  * under the terms of either the GPL or the LGPL, and not to allow others to
23  * use your version of this file under the terms of the CPL, indicate your
24  * decision by deleting the provisions above and replace them with the notice
25  * and other provisions required by the GPL or the LGPL. If you do not delete
26  * the provisions above, a recipient may use your version of this file under
27  * the terms of any one of the CPL, the GPL or the LGPL.
28  ***** END LICENSE BLOCK *****/

29 package org.jruby.parser;
30
31 public interface Tokens {
32     int yyErrorCode = DefaultRubyParser.yyErrorCode;
33     int kCLASS = DefaultRubyParser.kCLASS;
34     int kMODULE = DefaultRubyParser.kMODULE;
35     int kDEF = DefaultRubyParser.kDEF;
36     int kUNDEF = DefaultRubyParser.kUNDEF;
37     int kBEGIN = DefaultRubyParser.kBEGIN;
38     int kRESCUE = DefaultRubyParser.kRESCUE;
39     int kENSURE = DefaultRubyParser.kENSURE;
40     int kEND = DefaultRubyParser.kEND;
41     int kIF = DefaultRubyParser.kIF;
42     int kUNLESS = DefaultRubyParser.kUNLESS;
43     int kTHEN = DefaultRubyParser.kTHEN;
44     int kELSIF = DefaultRubyParser.kELSIF;
45     int kELSE = DefaultRubyParser.kELSE;
46     int kCASE = DefaultRubyParser.kCASE;
47     int kWHEN = DefaultRubyParser.kWHEN;
48     int kWHILE = DefaultRubyParser.kWHILE;
49     int kUNTIL = DefaultRubyParser.kUNTIL;
50     int kFOR = DefaultRubyParser.kFOR;
51     int kBREAK = DefaultRubyParser.kBREAK;
52     int kNEXT = DefaultRubyParser.kNEXT;
53     int kREDO = DefaultRubyParser.kREDO;
54     int kRETRY = DefaultRubyParser.kRETRY;
55     int kIN = DefaultRubyParser.kIN;
56     int kDO = DefaultRubyParser.kDO;
57     int kDO_COND = DefaultRubyParser.kDO_COND;
58     int kDO_BLOCK = DefaultRubyParser.kDO_BLOCK;
59     int kRETURN = DefaultRubyParser.kRETURN;
60     int kYIELD = DefaultRubyParser.kYIELD;
61     int kSUPER = DefaultRubyParser.kSUPER;
62     int kSELF = DefaultRubyParser.kSELF;
63     int kNIL = DefaultRubyParser.kNIL;
64     int kTRUE = DefaultRubyParser.kTRUE;
65     int kFALSE = DefaultRubyParser.kFALSE;
66     int kAND = DefaultRubyParser.kAND;
67     int kOR = DefaultRubyParser.kOR;
68     int kNOT = DefaultRubyParser.kNOT;
69     int kIF_MOD = DefaultRubyParser.kIF_MOD;
70     int kUNLESS_MOD = DefaultRubyParser.kUNLESS_MOD;
71     int kWHILE_MOD = DefaultRubyParser.kWHILE_MOD;
72     int kUNTIL_MOD = DefaultRubyParser.kUNTIL_MOD;
73     int kRESCUE_MOD = DefaultRubyParser.kRESCUE_MOD;
74     int kALIAS = DefaultRubyParser.kALIAS;
75     int kDEFINED = DefaultRubyParser.kDEFINED;
76     int klBEGIN = DefaultRubyParser.klBEGIN;
77     int klEND = DefaultRubyParser.klEND;
78     int k__LINE__ = DefaultRubyParser.k__LINE__;
79     int k__FILE__ = DefaultRubyParser.k__FILE__;
80
81     int tIDENTIFIER = DefaultRubyParser.tIDENTIFIER;
82     int tFID = DefaultRubyParser.tFID;
83     int tGVAR = DefaultRubyParser.tGVAR;
84     int tIVAR = DefaultRubyParser.tIVAR;
85     int tCONSTANT = DefaultRubyParser.tCONSTANT;
86     int tCVAR = DefaultRubyParser.tCVAR;
87     int tINTEGER = DefaultRubyParser.tINTEGER;
88     int tFLOAT = DefaultRubyParser.tFLOAT;
89     int tSTRING_CONTENT = DefaultRubyParser.tSTRING_CONTENT;
90     int tSTRING_BEG = DefaultRubyParser.tSTRING_BEG;
91     int tSTRING_END = DefaultRubyParser.tSTRING_END;
92     int tSTRING_DBEG= DefaultRubyParser.tSTRING_DBEG;
93     int tSTRING_DVAR= DefaultRubyParser.tSTRING_DVAR;
94     int tXSTRING_BEG= DefaultRubyParser.tXSTRING_BEG;
95     int tREGEXP_BEG = DefaultRubyParser.tREGEXP_BEG;
96     int tREGEXP_END = DefaultRubyParser.tREGEXP_END;
97     int tWORDS_BEG = DefaultRubyParser.tWORDS_BEG;
98     int tQWORDS_BEG = DefaultRubyParser.tQWORDS_BEG;
99     int tBACK_REF = DefaultRubyParser.tBACK_REF;
100     int tBACK_REF2 = DefaultRubyParser.tBACK_REF2;
101     int tNTH_REF = DefaultRubyParser.tNTH_REF;
102
103     int tUPLUS = DefaultRubyParser.tUPLUS;
104     int tUMINUS = DefaultRubyParser.tUMINUS;
105     int tUMINUS_NUM = DefaultRubyParser.tUMINUS_NUM;
106     int tPOW = DefaultRubyParser.tPOW;
107     int tCMP = DefaultRubyParser.tCMP;
108     int tEQ = DefaultRubyParser.tEQ;
109     int tEQQ = DefaultRubyParser.tEQQ;
110     int tNEQ = DefaultRubyParser.tNEQ;
111     int tGEQ = DefaultRubyParser.tGEQ;
112     int tLEQ = DefaultRubyParser.tLEQ;
113     int tANDOP = DefaultRubyParser.tANDOP;
114     int tOROP = DefaultRubyParser.tOROP;
115     int tMATCH = DefaultRubyParser.tMATCH;
116     int tNMATCH = DefaultRubyParser.tNMATCH;
117     int tDOT = DefaultRubyParser.tDOT;
118     int tDOT2 = DefaultRubyParser.tDOT2;
119     int tDOT3 = DefaultRubyParser.tDOT3;
120     int tAREF = DefaultRubyParser.tAREF;
121     int tASET = DefaultRubyParser.tASET;
122     int tLSHFT = DefaultRubyParser.tLSHFT;
123     int tRSHFT = DefaultRubyParser.tRSHFT;
124     int tCOLON2 = DefaultRubyParser.tCOLON2;
125
126     int tCOLON3 = DefaultRubyParser.tCOLON3;
127     int tOP_ASGN = DefaultRubyParser.tOP_ASGN;
128     int tASSOC = DefaultRubyParser.tASSOC;
129     int tLPAREN = DefaultRubyParser.tLPAREN;
130     int tLPAREN2 = DefaultRubyParser.tLPAREN2;
131     int tRPAREN = DefaultRubyParser.tRPAREN;
132     int tLPAREN_ARG = DefaultRubyParser.tLPAREN_ARG;
133     int tLBRACK = DefaultRubyParser.tLBRACK;
134     int tRBRACK = DefaultRubyParser.tRBRACK;
135     int tLBRACE = DefaultRubyParser.tLBRACE;
136     int tLBRACE_ARG = DefaultRubyParser.tLBRACE_ARG;
137     int tSTAR = DefaultRubyParser.tSTAR;
138     int tSTAR2 = DefaultRubyParser.tSTAR2;
139     int tAMPER = DefaultRubyParser.tAMPER;
140     int tAMPER2 = DefaultRubyParser.tAMPER2;
141     int tSYMBEG = DefaultRubyParser.tSYMBEG;
142     int tTILDE = DefaultRubyParser.tTILDE;
143     int tPERCENT = DefaultRubyParser.tPERCENT;
144     int tDIVIDE = DefaultRubyParser.tDIVIDE;
145     int tPLUS = DefaultRubyParser.tPLUS;
146     int tMINUS = DefaultRubyParser.tMINUS;
147     int tLT = DefaultRubyParser.tLT;
148     int tGT = DefaultRubyParser.tGT;
149     int tCARET = DefaultRubyParser.tCARET;
150     int tBANG = DefaultRubyParser.tBANG;
151     int tLCURLY = DefaultRubyParser.tLCURLY;
152     int tRCURLY = DefaultRubyParser.tRCURLY;
153     int tPIPE = DefaultRubyParser.tPIPE;
154
155     String JavaDoc[] operators = {"+@", "-@", "**", "<=>", "==", "===", "!=", ">=", "<=", "&&",
156                           "||", "=~", "!~", "..", "...", "[]", "[]=", "<<", ">>", "::"};
157 }
158
Popular Tags