KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jruby > ast > NodeTypes


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) 2006 Charles O Nutter <headius@headius.com>
15  * Copyright (C) 2006 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.ast;
30
31 public final class NodeTypes {
32     public static final int ALIASNODE = 0;
33     public static final int ANDNODE = 1;
34     public static final int ARGSCATNODE = 2;
35     public static final int ARGSNODE = 3;
36     public static final int ARGUMENTNODE = 4;
37     public static final int ARRAYNODE = 5;
38     public static final int ASSIGNABLENODE = 6;
39     public static final int BACKREFNODE = 7;
40     public static final int BEGINNODE = 8;
41     public static final int BIGNUMNODE = 9;
42     public static final int BINARYOPERATORNODE = 10;
43     public static final int BLOCKARGNODE = 11;
44     public static final int BLOCKNODE = 12;
45     public static final int BLOCKPASSNODE = 13;
46     public static final int BREAKNODE = 14;
47     public static final int CALLNODE = 15;
48     public static final int CASENODE = 16;
49     public static final int CLASSNODE = 17;
50     public static final int CLASSVARASGNNODE = 18;
51     public static final int CLASSVARDECLNODE = 19;
52     public static final int CLASSVARNODE = 20;
53     public static final int COLON2NODE = 21;
54     public static final int COLON3NODE = 22;
55     public static final int CONSTDECLNODE = 23;
56     public static final int CONSTNODE = 24;
57     public static final int DASGNNODE = 25;
58     public static final int DEFINEDNODE = 26;
59     public static final int DEFNNODE = 27;
60     public static final int DEFSNODE = 28;
61     public static final int DOTNODE = 29;
62     public static final int DREGEXPNODE = 30;
63     public static final int DSTRNODE = 31;
64     public static final int DSYMBOLNODE = 32;
65     public static final int DVARNODE = 33;
66     public static final int DXSTRNODE = 34;
67     public static final int ENSURENODE = 35;
68     public static final int EVSTRNODE = 36;
69     public static final int FALSENODE = 37;
70     public static final int FCALLNODE = 38;
71     public static final int FIXNUMNODE = 39;
72     public static final int FLIPNODE = 40;
73     public static final int FLOATNODE = 41;
74     public static final int FORNODE = 42;
75     public static final int GLOBALASGNNODE = 43;
76     public static final int GLOBALVARNODE = 44;
77     public static final int HASHNODE = 45;
78     public static final int IFNODE = 46;
79     public static final int INSTASGNNODE = 47;
80     public static final int INSTVARNODE = 48;
81     public static final int ISCOPINGNODE = 49;
82     public static final int ITERNODE = 50;
83     public static final int LISTNODE = 51;
84     public static final int LOCALASGNNODE = 52;
85     public static final int LOCALVARNODE = 53;
86     public static final int MATCH2NODE = 54;
87     public static final int MATCH3NODE = 55;
88     public static final int MATCHNODE = 56;
89     public static final int MODULENODE = 57;
90     public static final int MULTIPLEASGNNODE = 58;
91     public static final int NEWLINENODE = 59;
92     public static final int NEXTNODE = 60;
93     public static final int NILNODE = 61;
94     public static final int NODETYPES = 62;
95     public static final int NOTNODE = 63;
96     public static final int NTHREFNODE = 64;
97     public static final int OPASGNANDNODE = 65;
98     public static final int OPASGNNODE = 66;
99     public static final int OPASGNORNODE = 67;
100     public static final int OPELEMENTASGNNODE = 68;
101     public static final int OPTNNODE = 69;
102     public static final int ORNODE = 70;
103     public static final int POSTEXENODE = 71;
104     public static final int REDONODE = 72;
105     public static final int REGEXPNODE = 73;
106     public static final int RESCUEBODYNODE = 74;
107     public static final int RESCUENODE = 75;
108     public static final int RETRYNODE = 76;
109     public static final int RETURNNODE = 77;
110     public static final int SCLASSNODE = 78;
111     public static final int SCOPENODE = 79;
112     public static final int SELFNODE = 80;
113     public static final int SPLATNODE = 81;
114     public static final int STARNODE = 82;
115     public static final int STRNODE = 83;
116     public static final int SUPERNODE = 84;
117     public static final int SVALUENODE = 85;
118     public static final int SYMBOLNODE = 86;
119     public static final int TOARYNODE = 87;
120     public static final int TRUENODE = 88;
121     public static final int UNDEFNODE = 89;
122     public static final int UNTILNODE = 90;
123     public static final int VALIASNODE = 91;
124     public static final int VCALLNODE = 92;
125     public static final int WHENNODE = 93;
126     public static final int WHILENODE = 94;
127     public static final int XSTRNODE = 95;
128     public static final int YIELDNODE = 96;
129     public static final int ZARRAYNODE = 97;
130     public static final int ZEROARGNODE = 98;
131     public static final int ZSUPERNODE = 99;
132     public static final int COMMENTNODE = 100;
133     public static final int ROOTNODE = 101;
134     public static final int ATTRASSIGNNODE = 102;
135     public static final int ARGSPUSHNODE = 103;
136     
137     private NodeTypes() {}
138 }
139
Popular Tags