forked from jruby/jruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTokens.java
More file actions
163 lines (158 loc) · 7.69 KB
/
Copy pathTokens.java
File metadata and controls
163 lines (158 loc) · 7.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
/*
***** BEGIN LICENSE BLOCK *****
* Version: CPL 1.0/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Common Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.eclipse.org/legal/cpl-v10.html
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* Copyright (C) 2001-2002 Jan Arne Petersen <jpetersen@uni-bonn.de>
* Copyright (C) 2004-2005 Thomas E Enebo <enebo@acm.org>
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the CPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the CPL, the GPL or the LGPL.
***** END LICENSE BLOCK *****/
package org.jruby.parser;
public interface Tokens {
int yyErrorCode = DefaultRubyParser.yyErrorCode;
int kCLASS = DefaultRubyParser.kCLASS;
int kMODULE = DefaultRubyParser.kMODULE;
int kDEF = DefaultRubyParser.kDEF;
int kUNDEF = DefaultRubyParser.kUNDEF;
int kBEGIN = DefaultRubyParser.kBEGIN;
int kRESCUE = DefaultRubyParser.kRESCUE;
int kENSURE = DefaultRubyParser.kENSURE;
int kEND = DefaultRubyParser.kEND;
int kIF = DefaultRubyParser.kIF;
int kUNLESS = DefaultRubyParser.kUNLESS;
int kTHEN = DefaultRubyParser.kTHEN;
int kELSIF = DefaultRubyParser.kELSIF;
int kELSE = DefaultRubyParser.kELSE;
int kCASE = DefaultRubyParser.kCASE;
int kWHEN = DefaultRubyParser.kWHEN;
int kWHILE = DefaultRubyParser.kWHILE;
int kUNTIL = DefaultRubyParser.kUNTIL;
int kFOR = DefaultRubyParser.kFOR;
int kBREAK = DefaultRubyParser.kBREAK;
int kNEXT = DefaultRubyParser.kNEXT;
int kREDO = DefaultRubyParser.kREDO;
int kRETRY = DefaultRubyParser.kRETRY;
int kIN = DefaultRubyParser.kIN;
int kDO = DefaultRubyParser.kDO;
int kDO_COND = DefaultRubyParser.kDO_COND;
int kDO_BLOCK = DefaultRubyParser.kDO_BLOCK;
int kRETURN = DefaultRubyParser.kRETURN;
int kYIELD = DefaultRubyParser.kYIELD;
int kSUPER = DefaultRubyParser.kSUPER;
int kSELF = DefaultRubyParser.kSELF;
int kNIL = DefaultRubyParser.kNIL;
int kTRUE = DefaultRubyParser.kTRUE;
int kFALSE = DefaultRubyParser.kFALSE;
int kAND = DefaultRubyParser.kAND;
int kOR = DefaultRubyParser.kOR;
int kNOT = DefaultRubyParser.kNOT;
int kIF_MOD = DefaultRubyParser.kIF_MOD;
int kUNLESS_MOD = DefaultRubyParser.kUNLESS_MOD;
int kWHILE_MOD = DefaultRubyParser.kWHILE_MOD;
int kUNTIL_MOD = DefaultRubyParser.kUNTIL_MOD;
int kRESCUE_MOD = DefaultRubyParser.kRESCUE_MOD;
int kALIAS = DefaultRubyParser.kALIAS;
int kDEFINED = DefaultRubyParser.kDEFINED;
int klBEGIN = DefaultRubyParser.klBEGIN;
int klEND = DefaultRubyParser.klEND;
int k__LINE__ = DefaultRubyParser.k__LINE__;
int k__FILE__ = DefaultRubyParser.k__FILE__;
int k__ENCODING__ = DefaultRubyParser.k__ENCODING__;
int kDO_LAMBDA = DefaultRubyParser.kDO_LAMBDA;
int tIDENTIFIER = DefaultRubyParser.tIDENTIFIER;
int tFID = DefaultRubyParser.tFID;
int tGVAR = DefaultRubyParser.tGVAR;
int tIVAR = DefaultRubyParser.tIVAR;
int tCONSTANT = DefaultRubyParser.tCONSTANT;
int tCVAR = DefaultRubyParser.tCVAR;
int tINTEGER = DefaultRubyParser.tINTEGER;
int tFLOAT = DefaultRubyParser.tFLOAT;
int tSTRING_CONTENT = DefaultRubyParser.tSTRING_CONTENT;
int tSTRING_BEG = DefaultRubyParser.tSTRING_BEG;
int tSTRING_END = DefaultRubyParser.tSTRING_END;
int tSTRING_DBEG= DefaultRubyParser.tSTRING_DBEG;
int tSTRING_DVAR= DefaultRubyParser.tSTRING_DVAR;
int tXSTRING_BEG= DefaultRubyParser.tXSTRING_BEG;
int tREGEXP_BEG = DefaultRubyParser.tREGEXP_BEG;
int tREGEXP_END = DefaultRubyParser.tREGEXP_END;
int tWORDS_BEG = DefaultRubyParser.tWORDS_BEG;
int tQWORDS_BEG = DefaultRubyParser.tQWORDS_BEG;
int tBACK_REF = DefaultRubyParser.tBACK_REF;
int tBACK_REF2 = DefaultRubyParser.tBACK_REF2;
int tNTH_REF = DefaultRubyParser.tNTH_REF;
int tUPLUS = DefaultRubyParser.tUPLUS;
int tUMINUS = DefaultRubyParser.tUMINUS;
int tUMINUS_NUM = DefaultRubyParser.tUMINUS_NUM;
int tPOW = DefaultRubyParser.tPOW;
int tCMP = DefaultRubyParser.tCMP;
int tEQ = DefaultRubyParser.tEQ;
int tEQQ = DefaultRubyParser.tEQQ;
int tNEQ = DefaultRubyParser.tNEQ;
int tGEQ = DefaultRubyParser.tGEQ;
int tLEQ = DefaultRubyParser.tLEQ;
int tANDOP = DefaultRubyParser.tANDOP;
int tOROP = DefaultRubyParser.tOROP;
int tMATCH = DefaultRubyParser.tMATCH;
int tNMATCH = DefaultRubyParser.tNMATCH;
int tDOT = DefaultRubyParser.tDOT;
int tDOT2 = DefaultRubyParser.tDOT2;
int tDOT3 = DefaultRubyParser.tDOT3;
int tAREF = DefaultRubyParser.tAREF;
int tASET = DefaultRubyParser.tASET;
int tLSHFT = DefaultRubyParser.tLSHFT;
int tRSHFT = DefaultRubyParser.tRSHFT;
int tCOLON2 = DefaultRubyParser.tCOLON2;
int tCOLON3 = DefaultRubyParser.tCOLON3;
int tOP_ASGN = DefaultRubyParser.tOP_ASGN;
int tASSOC = DefaultRubyParser.tASSOC;
int tLPAREN = DefaultRubyParser.tLPAREN;
int tLPAREN2 = DefaultRubyParser.tLPAREN2;
int tRPAREN = DefaultRubyParser.tRPAREN;
int tLPAREN_ARG = DefaultRubyParser.tLPAREN_ARG;
int tLBRACK = DefaultRubyParser.tLBRACK;
int tRBRACK = DefaultRubyParser.tRBRACK;
int tLBRACE = DefaultRubyParser.tLBRACE;
int tLBRACE_ARG = DefaultRubyParser.tLBRACE_ARG;
int tSTAR = DefaultRubyParser.tSTAR;
int tSTAR2 = DefaultRubyParser.tSTAR2;
int tAMPER = DefaultRubyParser.tAMPER;
int tAMPER2 = DefaultRubyParser.tAMPER2;
int tSYMBEG = DefaultRubyParser.tSYMBEG;
int tTILDE = DefaultRubyParser.tTILDE;
int tPERCENT = DefaultRubyParser.tPERCENT;
int tDIVIDE = DefaultRubyParser.tDIVIDE;
int tPLUS = DefaultRubyParser.tPLUS;
int tMINUS = DefaultRubyParser.tMINUS;
int tLT = DefaultRubyParser.tLT;
int tGT = DefaultRubyParser.tGT;
int tCARET = DefaultRubyParser.tCARET;
int tBANG = DefaultRubyParser.tBANG;
int tLCURLY = DefaultRubyParser.tLCURLY;
int tRCURLY = DefaultRubyParser.tRCURLY;
int tPIPE = DefaultRubyParser.tPIPE;
int tLAMBDA = DefaultRubyParser.tLAMBDA;
int tLAMBEG = DefaultRubyParser.tLAMBEG;
int tLABEL = DefaultRubyParser.tLABEL;
String[] operators = {"+@", "-@", "**", "<=>", "==", "===", "!=", ">=", "<=", "&&",
"||", "=~", "!~", "..", "...", "[]", "[]=", "<<", ">>", "::"};
}