1 #include "nit.common.h"
2 #define COLOR_nitc__lexer_work__Token___cached_text 10
3 #define COLOR_core__kernel__Object___61d_61d 4
4 #define COLOR_nitc__parser_nodes__ANode___location 1
5 extern const char FILE_nitc__parser_nodes
[];
6 val
* nitc___nitc__Location___text(val
* self
);
7 val
* core__flat___CString___to_s_unsafe(char* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
8 #define COLOR_nitc__lexer_work__AError___message 11
9 extern const char FILE_nitc__lexer_work
[];
10 void nitc__lexer_work___EOF___init_tk(val
* self
, val
* p0
);
11 #define COLOR_nitc__lexer_work__ALexerError___string 12
12 void nitc__lexer_work___AError___init_error(val
* self
, val
* p0
, val
* p1
);
13 #define COLOR_nitc__lexer_work__AParserError___token 12
14 #define COLOR_nitc__lexer_work__Lexer___file 2
15 #define COLOR_nitc__lexer_work__Lexer___last_token 7
16 #define COLOR_nitc__lexer_work__Lexer___token 0
17 val
* nitc___nitc__Lexer___get_token(val
* self
);
18 #define COLOR_nitc__parser_nodes__Token___next_token 4
19 #define COLOR_nitc__parser_nodes__Token___prev_token 3
20 #define COLOR_nitc__parser_nodes__SourceFile___first_token 6
21 val
* nitc___nitc__Lexer___peek(val
* self
);
22 #define COLOR_nitc__lexer_work__Lexer___stream_pos 3
23 #define COLOR_nitc__lexer_work__Lexer___pos 5
24 #define COLOR_nitc__lexer_work__Lexer___line 4
25 #define COLOR_nitc__location__SourceFile___string 2
26 extern const char FILE_nitc__location
[];
27 #define COLOR_core__abstract_text__Text__length 25
28 extern const struct type type_core__Int
;
29 extern const char FILE_core__kernel
[];
30 #define COLOR_core__abstract_text__Text___91d_93d 31
31 #define COLOR_nitc__lexer_work__Lexer___cr 6
32 #define COLOR_nitc__location__SourceFile___line_starts 4
33 void core___core__Array___core__abstract_collection__Sequence___91d_93d_61d(val
* self
, long p0
, val
* p1
);
34 #include "tables_nit.h"
35 val
* NEW_nitc__Location(const struct type
* type
);
36 extern const struct type type_nitc__Location
;
37 #define COLOR_nitc__location__Location__file_61d 19
38 #define COLOR_nitc__location__Location__line_start_61d 20
39 #define COLOR_nitc__location__Location__line_end_61d 21
40 #define COLOR_nitc__location__Location__column_start_61d 22
41 #define COLOR_nitc__location__Location__column_end_61d 23
42 #define COLOR_core__kernel__Object__init 0
43 val
* nitc__lexer___Lexer___make_token(val
* self
, long p0
, val
* p1
);
44 #define COLOR_core__abstract_text__Text__substring 28
45 val
* NEW_nitc__ALexerError(const struct type
* type
);
46 extern const struct type type_nitc__ALexerError
;
47 val
* NEW_core__NativeArray(int length
, const struct type
* type
);
48 extern const struct type type_core__NativeArray__core__String
;
49 #define COLOR_core__abstract_text__NativeArray__native_to_s 12
50 void nitc__lexer_work___ALexerError___init_lexer_error(val
* self
, val
* p0
, val
* p1
, val
* p2
);
51 #define COLOR_nitc__parser_nodes__SourceFile___last_token 7
52 val
* NEW_nitc__EOF(const struct type
* type
);
53 extern const struct type type_nitc__EOF
;
54 #define COLOR_nitc___nitc__Lexer___core__kernel__Object__init 24