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