1 #include "nit.common.h"
2 #define COLOR_lexer_work__Token___text 4
3 #define COLOR_kernel__Object___61d_61d 2
4 val
* parser_nodes__ANode__location(val
* self
);
5 val
* location__Location__text(val
* self
);
6 val
* lexer_work__Token__text(val
* self
);
7 long lexer_work__EOF__parser_index(val
* self
);
8 val
* string__NativeString__to_s_with_length(char* self
, long p0
);
9 #define COLOR_parser_nodes__ANode___location 0
10 void lexer_work__EOF__init_tk(val
* self
, val
* p0
);
11 #define COLOR_lexer_work__AError___message 5
12 void lexer_work__AError__init_error(val
* self
, val
* p0
, val
* p1
);
13 #define COLOR_lexer_work__ALexerError___string 6
14 void lexer_work__ALexerError__init_lexer_error(val
* self
, val
* p0
, val
* p1
, val
* p2
);
15 #define COLOR_lexer_work__AParserError___token 6
16 void lexer_work__AParserError__init_parser_error(val
* self
, val
* p0
, val
* p1
, val
* p2
);
17 #define COLOR_lexer_work__Lexer___file 2
18 void lexer_work__Lexer__init(val
* self
, val
* p0
);
19 #define COLOR_lexer_work__Lexer___last_token 7
20 #define COLOR_lexer_work__Lexer___token 0
21 val
* lexer_work__Lexer__get_token(val
* self
);
22 #define COLOR_parser_nodes__Token___next_token 3
23 #define COLOR_parser_nodes__Token___prev_token 2
24 #define COLOR_parser_nodes__SourceFile___first_token 3
25 val
* lexer_work__Lexer__peek(val
* self
);
26 val
* lexer_work__Lexer__next(val
* self
);
27 #define COLOR_lexer_work__Lexer___stream_pos 3
28 #define COLOR_lexer_work__Lexer___pos 5
29 #define COLOR_lexer_work__Lexer___line 4
30 #define COLOR_location__SourceFile___string 1
31 #define COLOR_string__FlatText___length 3
32 extern const struct type type_kernel__Int
;
33 #define COLOR_string__FlatString___chars 6
34 #define COLOR_abstract_collection__SequenceRead___91d_93d 39
35 #define COLOR_lexer_work__Lexer___cr 6
36 #define COLOR_location__SourceFile___line_starts 2
37 val
* BOX_kernel__Int(long);
38 void array__Array___91d_93d_61d(val
* self
, long p0
, val
* p1
);
39 #include "tables_nit.h"
40 val
* NEW_location__Location(const struct type
* type
);
41 extern const struct type type_location__Location
;
42 void location__Location__init(val
* self
, val
* p0
, long p1
, long p2
, long p3
, long p4
);
43 val
* lexer__Lexer__make_token(val
* self
, long p0
, val
* p1
);
44 val
* string__FlatString__substring(val
* self
, long p0
, long p1
);
45 val
* NEW_parser_nodes__ALexerError(const struct type
* type
);
46 extern const struct type type_parser_nodes__ALexerError
;
47 val
* NEW_array__Array(const struct type
* type
);
48 extern const struct type type_array__Arraykernel__Object
;
49 val
* NEW_array__NativeArray(int length
, const struct type
* type
);
50 extern const struct type type_array__NativeArraykernel__Object
;
51 #define COLOR_array__Array__with_native 65
52 #define COLOR_string__Object__to_s 7
53 #define COLOR_parser_nodes__SourceFile___last_token 4
54 val
* NEW_parser_nodes__EOF(const struct type
* type
);
55 extern const struct type type_parser_nodes__EOF
;