1 #include "nit.common.h"
2 #define COLOR_nit__parser_nodes__ANode___location 0
3 val
* NEW_nit__TEol(const struct type
* type
);
4 extern const struct type type_nit__TEol
;
5 void nit__lexer___TEol___init_tk(val
* self
, val
* p0
);
6 val
* NEW_nit__TComment(const struct type
* type
);
7 extern const struct type type_nit__TComment
;
8 void nit__lexer___TComment___init_tk(val
* self
, val
* p0
);
9 val
* NEW_nit__TKwpackage(const struct type
* type
);
10 extern const struct type type_nit__TKwpackage
;
11 void nit__lexer___TKwpackage___init_tk(val
* self
, val
* p0
);
12 val
* NEW_nit__TKwmodule(const struct type
* type
);
13 extern const struct type type_nit__TKwmodule
;
14 void nit__lexer___TKwmodule___init_tk(val
* self
, val
* p0
);
15 val
* NEW_nit__TKwimport(const struct type
* type
);
16 extern const struct type type_nit__TKwimport
;
17 void nit__lexer___TKwimport___init_tk(val
* self
, val
* p0
);
18 val
* NEW_nit__TKwclass(const struct type
* type
);
19 extern const struct type type_nit__TKwclass
;
20 void nit__lexer___TKwclass___init_tk(val
* self
, val
* p0
);
21 val
* NEW_nit__TKwabstract(const struct type
* type
);
22 extern const struct type type_nit__TKwabstract
;
23 void nit__lexer___TKwabstract___init_tk(val
* self
, val
* p0
);
24 val
* NEW_nit__TKwinterface(const struct type
* type
);
25 extern const struct type type_nit__TKwinterface
;
26 void nit__lexer___TKwinterface___init_tk(val
* self
, val
* p0
);
27 val
* NEW_nit__TKwenum(const struct type
* type
);
28 extern const struct type type_nit__TKwenum
;
29 void nit__lexer___TKwenum___init_tk(val
* self
, val
* p0
);
30 val
* NEW_nit__TKwend(const struct type
* type
);
31 extern const struct type type_nit__TKwend
;
32 void nit__lexer___TKwend___init_tk(val
* self
, val
* p0
);
33 val
* NEW_nit__TKwmeth(const struct type
* type
);
34 extern const struct type type_nit__TKwmeth
;
35 void nit__lexer___TKwmeth___init_tk(val
* self
, val
* p0
);
36 val
* NEW_nit__TKwtype(const struct type
* type
);
37 extern const struct type type_nit__TKwtype
;
38 void nit__lexer___TKwtype___init_tk(val
* self
, val
* p0
);
39 val
* NEW_nit__TKwinit(const struct type
* type
);
40 extern const struct type type_nit__TKwinit
;
41 void nit__lexer___TKwinit___init_tk(val
* self
, val
* p0
);
42 val
* NEW_nit__TKwredef(const struct type
* type
);
43 extern const struct type type_nit__TKwredef
;
44 void nit__lexer___TKwredef___init_tk(val
* self
, val
* p0
);
45 val
* NEW_nit__TKwis(const struct type
* type
);
46 extern const struct type type_nit__TKwis
;
47 void nit__lexer___TKwis___init_tk(val
* self
, val
* p0
);
48 val
* NEW_nit__TKwdo(const struct type
* type
);
49 extern const struct type type_nit__TKwdo
;
50 void nit__lexer___TKwdo___init_tk(val
* self
, val
* p0
);
51 val
* NEW_nit__TKwvar(const struct type
* type
);
52 extern const struct type type_nit__TKwvar
;
53 void nit__lexer___TKwvar___init_tk(val
* self
, val
* p0
);
54 val
* NEW_nit__TKwextern(const struct type
* type
);
55 extern const struct type type_nit__TKwextern
;
56 void nit__lexer___TKwextern___init_tk(val
* self
, val
* p0
);
57 val
* NEW_nit__TKwpublic(const struct type
* type
);
58 extern const struct type type_nit__TKwpublic
;
59 void nit__lexer___TKwpublic___init_tk(val
* self
, val
* p0
);
60 val
* NEW_nit__TKwprotected(const struct type
* type
);
61 extern const struct type type_nit__TKwprotected
;
62 void nit__lexer___TKwprotected___init_tk(val
* self
, val
* p0
);
63 val
* NEW_nit__TKwprivate(const struct type
* type
);
64 extern const struct type type_nit__TKwprivate
;
65 void nit__lexer___TKwprivate___init_tk(val
* self
, val
* p0
);
66 val
* NEW_nit__TKwintrude(const struct type
* type
);
67 extern const struct type type_nit__TKwintrude
;
68 void nit__lexer___TKwintrude___init_tk(val
* self
, val
* p0
);
69 val
* NEW_nit__TKwif(const struct type
* type
);
70 extern const struct type type_nit__TKwif
;
71 void nit__lexer___TKwif___init_tk(val
* self
, val
* p0
);
72 val
* NEW_nit__TKwthen(const struct type
* type
);
73 extern const struct type type_nit__TKwthen
;
74 void nit__lexer___TKwthen___init_tk(val
* self
, val
* p0
);
75 val
* NEW_nit__TKwelse(const struct type
* type
);
76 extern const struct type type_nit__TKwelse
;
77 void nit__lexer___TKwelse___init_tk(val
* self
, val
* p0
);
78 val
* NEW_nit__TKwwhile(const struct type
* type
);
79 extern const struct type type_nit__TKwwhile
;
80 void nit__lexer___TKwwhile___init_tk(val
* self
, val
* p0
);
81 val
* NEW_nit__TKwloop(const struct type
* type
);
82 extern const struct type type_nit__TKwloop
;
83 void nit__lexer___TKwloop___init_tk(val
* self
, val
* p0
);
84 val
* NEW_nit__TKwfor(const struct type
* type
);
85 extern const struct type type_nit__TKwfor
;
86 void nit__lexer___TKwfor___init_tk(val
* self
, val
* p0
);
87 val
* NEW_nit__TKwin(const struct type
* type
);
88 extern const struct type type_nit__TKwin
;
89 void nit__lexer___TKwin___init_tk(val
* self
, val
* p0
);
90 val
* NEW_nit__TKwand(const struct type
* type
);
91 extern const struct type type_nit__TKwand
;
92 void nit__lexer___TKwand___init_tk(val
* self
, val
* p0
);
93 val
* NEW_nit__TKwor(const struct type
* type
);
94 extern const struct type type_nit__TKwor
;
95 void nit__lexer___TKwor___init_tk(val
* self
, val
* p0
);
96 val
* NEW_nit__TKwnot(const struct type
* type
);
97 extern const struct type type_nit__TKwnot
;
98 void nit__lexer___TKwnot___init_tk(val
* self
, val
* p0
);
99 val
* NEW_nit__TKwimplies(const struct type
* type
);
100 extern const struct type type_nit__TKwimplies
;
101 void nit__lexer___TKwimplies___init_tk(val
* self
, val
* p0
);
102 val
* NEW_nit__TKwreturn(const struct type
* type
);
103 extern const struct type type_nit__TKwreturn
;
104 void nit__lexer___TKwreturn___init_tk(val
* self
, val
* p0
);
105 val
* NEW_nit__TKwcontinue(const struct type
* type
);
106 extern const struct type type_nit__TKwcontinue
;
107 void nit__lexer___TKwcontinue___init_tk(val
* self
, val
* p0
);
108 val
* NEW_nit__TKwbreak(const struct type
* type
);
109 extern const struct type type_nit__TKwbreak
;
110 void nit__lexer___TKwbreak___init_tk(val
* self
, val
* p0
);
111 val
* NEW_nit__TKwabort(const struct type
* type
);
112 extern const struct type type_nit__TKwabort
;
113 void nit__lexer___TKwabort___init_tk(val
* self
, val
* p0
);
114 val
* NEW_nit__TKwassert(const struct type
* type
);
115 extern const struct type type_nit__TKwassert
;
116 void nit__lexer___TKwassert___init_tk(val
* self
, val
* p0
);
117 val
* NEW_nit__TKwnew(const struct type
* type
);
118 extern const struct type type_nit__TKwnew
;
119 void nit__lexer___TKwnew___init_tk(val
* self
, val
* p0
);
120 val
* NEW_nit__TKwisa(const struct type
* type
);
121 extern const struct type type_nit__TKwisa
;
122 void nit__lexer___TKwisa___init_tk(val
* self
, val
* p0
);
123 val
* NEW_nit__TKwonce(const struct type
* type
);
124 extern const struct type type_nit__TKwonce
;
125 void nit__lexer___TKwonce___init_tk(val
* self
, val
* p0
);
126 val
* NEW_nit__TKwsuper(const struct type
* type
);
127 extern const struct type type_nit__TKwsuper
;
128 void nit__lexer___TKwsuper___init_tk(val
* self
, val
* p0
);
129 val
* NEW_nit__TKwself(const struct type
* type
);
130 extern const struct type type_nit__TKwself
;
131 void nit__lexer___TKwself___init_tk(val
* self
, val
* p0
);
132 val
* NEW_nit__TKwtrue(const struct type
* type
);
133 extern const struct type type_nit__TKwtrue
;
134 void nit__lexer___TKwtrue___init_tk(val
* self
, val
* p0
);
135 val
* NEW_nit__TKwfalse(const struct type
* type
);
136 extern const struct type type_nit__TKwfalse
;
137 void nit__lexer___TKwfalse___init_tk(val
* self
, val
* p0
);
138 val
* NEW_nit__TKwnull(const struct type
* type
);
139 extern const struct type type_nit__TKwnull
;
140 void nit__lexer___TKwnull___init_tk(val
* self
, val
* p0
);
141 val
* NEW_nit__TKwas(const struct type
* type
);
142 extern const struct type type_nit__TKwas
;
143 void nit__lexer___TKwas___init_tk(val
* self
, val
* p0
);
144 val
* NEW_nit__TKwnullable(const struct type
* type
);
145 extern const struct type type_nit__TKwnullable
;
146 void nit__lexer___TKwnullable___init_tk(val
* self
, val
* p0
);
147 val
* NEW_nit__TKwisset(const struct type
* type
);
148 extern const struct type type_nit__TKwisset
;
149 void nit__lexer___TKwisset___init_tk(val
* self
, val
* p0
);
150 val
* NEW_nit__TKwlabel(const struct type
* type
);
151 extern const struct type type_nit__TKwlabel
;
152 void nit__lexer___TKwlabel___init_tk(val
* self
, val
* p0
);
153 val
* NEW_nit__TKwdebug(const struct type
* type
);
154 extern const struct type type_nit__TKwdebug
;
155 void nit__lexer___TKwdebug___init_tk(val
* self
, val
* p0
);
156 val
* NEW_nit__TOpar(const struct type
* type
);
157 extern const struct type type_nit__TOpar
;
158 void nit__lexer___TOpar___init_tk(val
* self
, val
* p0
);
159 val
* NEW_nit__TCpar(const struct type
* type
);
160 extern const struct type type_nit__TCpar
;
161 void nit__lexer___TCpar___init_tk(val
* self
, val
* p0
);
162 val
* NEW_nit__TObra(const struct type
* type
);
163 extern const struct type type_nit__TObra
;
164 void nit__lexer___TObra___init_tk(val
* self
, val
* p0
);
165 val
* NEW_nit__TCbra(const struct type
* type
);
166 extern const struct type type_nit__TCbra
;
167 void nit__lexer___TCbra___init_tk(val
* self
, val
* p0
);
168 val
* NEW_nit__TComma(const struct type
* type
);
169 extern const struct type type_nit__TComma
;
170 void nit__lexer___TComma___init_tk(val
* self
, val
* p0
);
171 val
* NEW_nit__TColumn(const struct type
* type
);
172 extern const struct type type_nit__TColumn
;
173 void nit__lexer___TColumn___init_tk(val
* self
, val
* p0
);
174 val
* NEW_nit__TQuad(const struct type
* type
);
175 extern const struct type type_nit__TQuad
;
176 void nit__lexer___TQuad___init_tk(val
* self
, val
* p0
);
177 val
* NEW_nit__TAssign(const struct type
* type
);
178 extern const struct type type_nit__TAssign
;
179 void nit__lexer___TAssign___init_tk(val
* self
, val
* p0
);
180 val
* NEW_nit__TPluseq(const struct type
* type
);
181 extern const struct type type_nit__TPluseq
;
182 void nit__lexer___TPluseq___init_tk(val
* self
, val
* p0
);
183 val
* NEW_nit__TMinuseq(const struct type
* type
);
184 extern const struct type type_nit__TMinuseq
;
185 void nit__lexer___TMinuseq___init_tk(val
* self
, val
* p0
);
186 val
* NEW_nit__TDotdotdot(const struct type
* type
);
187 extern const struct type type_nit__TDotdotdot
;
188 void nit__lexer___TDotdotdot___init_tk(val
* self
, val
* p0
);
189 val
* NEW_nit__TDotdot(const struct type
* type
);
190 extern const struct type type_nit__TDotdot
;
191 void nit__lexer___TDotdot___init_tk(val
* self
, val
* p0
);
192 val
* NEW_nit__TDot(const struct type
* type
);
193 extern const struct type type_nit__TDot
;
194 void nit__lexer___TDot___init_tk(val
* self
, val
* p0
);
195 val
* NEW_nit__TPlus(const struct type
* type
);
196 extern const struct type type_nit__TPlus
;
197 void nit__lexer___TPlus___init_tk(val
* self
, val
* p0
);
198 val
* NEW_nit__TMinus(const struct type
* type
);
199 extern const struct type type_nit__TMinus
;
200 void nit__lexer___TMinus___init_tk(val
* self
, val
* p0
);
201 val
* NEW_nit__TStar(const struct type
* type
);
202 extern const struct type type_nit__TStar
;
203 void nit__lexer___TStar___init_tk(val
* self
, val
* p0
);
204 val
* NEW_nit__TStarstar(const struct type
* type
);
205 extern const struct type type_nit__TStarstar
;
206 void nit__lexer___TStarstar___init_tk(val
* self
, val
* p0
);
207 val
* NEW_nit__TSlash(const struct type
* type
);
208 extern const struct type type_nit__TSlash
;
209 void nit__lexer___TSlash___init_tk(val
* self
, val
* p0
);
210 val
* NEW_nit__TPercent(const struct type
* type
);
211 extern const struct type type_nit__TPercent
;
212 void nit__lexer___TPercent___init_tk(val
* self
, val
* p0
);
213 val
* NEW_nit__TEq(const struct type
* type
);
214 extern const struct type type_nit__TEq
;
215 void nit__lexer___TEq___init_tk(val
* self
, val
* p0
);
216 val
* NEW_nit__TNe(const struct type
* type
);
217 extern const struct type type_nit__TNe
;
218 void nit__lexer___TNe___init_tk(val
* self
, val
* p0
);
219 val
* NEW_nit__TLt(const struct type
* type
);
220 extern const struct type type_nit__TLt
;
221 void nit__lexer___TLt___init_tk(val
* self
, val
* p0
);
222 val
* NEW_nit__TLe(const struct type
* type
);
223 extern const struct type type_nit__TLe
;
224 void nit__lexer___TLe___init_tk(val
* self
, val
* p0
);
225 val
* NEW_nit__TLl(const struct type
* type
);
226 extern const struct type type_nit__TLl
;
227 void nit__lexer___TLl___init_tk(val
* self
, val
* p0
);
228 val
* NEW_nit__TGt(const struct type
* type
);
229 extern const struct type type_nit__TGt
;
230 void nit__lexer___TGt___init_tk(val
* self
, val
* p0
);
231 val
* NEW_nit__TGe(const struct type
* type
);
232 extern const struct type type_nit__TGe
;
233 void nit__lexer___TGe___init_tk(val
* self
, val
* p0
);
234 val
* NEW_nit__TGg(const struct type
* type
);
235 extern const struct type type_nit__TGg
;
236 void nit__lexer___TGg___init_tk(val
* self
, val
* p0
);
237 val
* NEW_nit__TStarship(const struct type
* type
);
238 extern const struct type type_nit__TStarship
;
239 void nit__lexer___TStarship___init_tk(val
* self
, val
* p0
);
240 val
* NEW_nit__TBang(const struct type
* type
);
241 extern const struct type type_nit__TBang
;
242 void nit__lexer___TBang___init_tk(val
* self
, val
* p0
);
243 val
* NEW_nit__TAt(const struct type
* type
);
244 extern const struct type type_nit__TAt
;
245 void nit__lexer___TAt___init_tk(val
* self
, val
* p0
);
246 val
* NEW_nit__TClassid(const struct type
* type
);
247 extern const struct type type_nit__TClassid
;
248 void nit__lexer___TClassid___init_tk(val
* self
, val
* p0
);
249 val
* NEW_nit__TId(const struct type
* type
);
250 extern const struct type type_nit__TId
;
251 void nit__lexer___TId___init_tk(val
* self
, val
* p0
);
252 val
* NEW_nit__TAttrid(const struct type
* type
);
253 extern const struct type type_nit__TAttrid
;
254 void nit__lexer___TAttrid___init_tk(val
* self
, val
* p0
);
255 val
* NEW_nit__TNumber(const struct type
* type
);
256 extern const struct type type_nit__TNumber
;
257 void nit__lexer___TNumber___init_tk(val
* self
, val
* p0
);
258 val
* NEW_nit__THexNumber(const struct type
* type
);
259 extern const struct type type_nit__THexNumber
;
260 void nit__lexer___THexNumber___init_tk(val
* self
, val
* p0
);
261 val
* NEW_nit__TFloat(const struct type
* type
);
262 extern const struct type type_nit__TFloat
;
263 void nit__lexer___TFloat___init_tk(val
* self
, val
* p0
);
264 val
* NEW_nit__TString(const struct type
* type
);
265 extern const struct type type_nit__TString
;
266 void nit__lexer___TString___init_tk(val
* self
, val
* p0
);
267 val
* NEW_nit__TStartString(const struct type
* type
);
268 extern const struct type type_nit__TStartString
;
269 void nit__lexer___TStartString___init_tk(val
* self
, val
* p0
);
270 val
* NEW_nit__TMidString(const struct type
* type
);
271 extern const struct type type_nit__TMidString
;
272 void nit__lexer___TMidString___init_tk(val
* self
, val
* p0
);
273 val
* NEW_nit__TEndString(const struct type
* type
);
274 extern const struct type type_nit__TEndString
;
275 void nit__lexer___TEndString___init_tk(val
* self
, val
* p0
);
276 val
* NEW_nit__TChar(const struct type
* type
);
277 extern const struct type type_nit__TChar
;
278 void nit__lexer___TChar___init_tk(val
* self
, val
* p0
);
279 val
* NEW_nit__TBadString(const struct type
* type
);
280 extern const struct type type_nit__TBadString
;
281 void nit__lexer___TBadString___init_tk(val
* self
, val
* p0
);
282 val
* NEW_nit__TBadChar(const struct type
* type
);
283 extern const struct type type_nit__TBadChar
;
284 void nit__lexer___TBadChar___init_tk(val
* self
, val
* p0
);
285 val
* NEW_nit__TExternCodeSegment(const struct type
* type
);
286 extern const struct type type_nit__TExternCodeSegment
;
287 void nit__lexer___TExternCodeSegment___init_tk(val
* self
, val
* p0
);
288 extern const char FILE_nit__lexer
[];