1 #include "nit.common.h"
2 #define COLOR_nit__lexer_work__Token___cached_text 4
3 #define COLOR_standard__kernel__Object___61d_61d 2
4 #define COLOR_nit__parser_nodes__ANode___location 0
5 extern const char FILE_nit__parser_nodes
[];
6 val
* nit___nit__Location___text(val
* self
);
7 val
* standard___standard__NativeString___to_s_with_length(char* self
, long p0
);
8 #define COLOR_nit__lexer_work__AError___message 5
9 extern const char FILE_nit__lexer_work
[];
10 void nit__lexer_work___EOF___init_tk(val
* self
, val
* p0
);
11 #define COLOR_nit__lexer_work__ALexerError___string 6
12 void nit__lexer_work___AError___init_error(val
* self
, val
* p0
, val
* p1
);
13 #define COLOR_nit__lexer_work__AParserError___token 6
14 #define COLOR_nit__lexer_work__Lexer___file 2
15 #define COLOR_nit__lexer_work__Lexer___last_token 7
16 #define COLOR_nit__lexer_work__Lexer___token 0
17 val
* nit___nit__Lexer___get_token(val
* self
);
18 #define COLOR_nit__parser_nodes__Token___next_token 3
19 #define COLOR_nit__parser_nodes__Token___prev_token 2
20 #define COLOR_nit__parser_nodes__SourceFile___first_token 4
21 val
* nit___nit__Lexer___peek(val
* self
);
22 #define COLOR_nit__lexer_work__Lexer___stream_pos 3
23 #define COLOR_nit__lexer_work__Lexer___pos 5
24 #define COLOR_nit__lexer_work__Lexer___line 4
25 #define COLOR_nit__location__SourceFile___string 1
26 extern const char FILE_nit__location
[];
27 #define COLOR_standard__string__Text__length 47
28 extern const struct type type_standard__Int
;
29 extern const char FILE_standard__kernel
[];
30 #define COLOR_standard__string__Text___91d_93d 52
31 #define COLOR_nit__lexer_work__Lexer___cr 6
32 #define COLOR_nit__location__SourceFile___line_starts 3
33 val
* BOX_standard__Int(long);
34 void standard___standard__Array___standard__abstract_collection__Sequence___91d_93d_61d(val
* self
, long p0
, val
* p1
);
35 #include "tables_nit.h"
36 val
* NEW_nit__Location(const struct type
* type
);
37 extern const struct type type_nit__Location
;
38 #define COLOR_nit__location__Location__file_61d 38
39 #define COLOR_nit__location__Location__line_start_61d 40
40 #define COLOR_nit__location__Location__line_end_61d 42
41 #define COLOR_nit__location__Location__column_start_61d 44
42 #define COLOR_nit__location__Location__column_end_61d 46
43 #define COLOR_standard__kernel__Object__init 7
44 val
* nit__lexer___Lexer___make_token(val
* self
, long p0
, val
* p1
);
45 #define COLOR_standard__string__Text__substring 48
46 val
* NEW_nit__ALexerError(const struct type
* type
);
47 extern const struct type type_nit__ALexerError
;
48 val
* NEW_standard__Array(const struct type
* type
);
49 extern const struct type type_standard__Array__standard__Object
;
50 val
* NEW_standard__NativeArray(int length
, const struct type
* type
);
51 extern const struct type type_standard__NativeArray__standard__Object
;
52 #define COLOR_standard__array__Array__with_native 73
53 #define COLOR_standard__string__Object__to_s 9
54 void nit__lexer_work___ALexerError___init_lexer_error(val
* self
, val
* p0
, val
* p1
, val
* p2
);
55 #define COLOR_nit__parser_nodes__SourceFile___last_token 5
56 val
* NEW_nit__EOF(const struct type
* type
);
57 extern const struct type type_nit__EOF
;
58 #define COLOR_nit___nit__Lexer___standard__kernel__Object__init 44