jwrapper: accept interfaces
[nit.git] / c_src / parser_work.sep.0.h
1 #include "nit.common.h"
2 #define COLOR_parser_work__State___state 0
3 #define COLOR_parser_work__State___nodes 1
4 void parser_work__State__init(val* self, long p0, val* p1);
5 #define COLOR_parser_work__Parser___lexer 0
6 val* NEW_array__Array(const struct type* type);
7 extern const struct type type_array__Arrayparser_work__State;
8 #define COLOR_kernel__Object__init 7
9 #define COLOR_parser_work__Parser___stack 1
10 #define COLOR_parser_work__Parser___stack_pos 2
11 void parser__Parser__build_reduce_table(val* self);
12 void parser_work__Parser__init(val* self, val* p0);
13 long parser_work__Parser__state(val* self);
14 #include "tables_nit.h"
15 extern const struct type type_kernel__Int;
16 long parser_work__Parser__go_to(val* self, long p0);
17 #define COLOR_array__AbstractArrayRead___length 0
18 val* array__Array___91d_93d(val* self, long p0);
19 val* NEW_parser_work__State(const struct type* type);
20 extern const struct type type_parser_work__State;
21 void array__AbstractArray__push(val* self, val* p0);
22 void parser_work__Parser__push(val* self, long p0, val* p1);
23 val* parser_work__Parser__pop(val* self);
24 val* lexer_work__Lexer__peek(val* self);
25 extern const struct type type_parser_nodes__AError;
26 val* NEW_parser_nodes__Start(const struct type* type);
27 extern const struct type type_parser_nodes__Start;
28 void parser_nodes__Start__init(val* self, val* p0, val* p1);
29 #define COLOR_lexer_work__Token__parser_index 51
30 val* lexer_work__Lexer__next(val* self);
31 #define COLOR_parser_work__Parser___reduce_table 3
32 #define COLOR_parser_work__ReduceAction__action 31
33 extern const struct type type_parser_nodes__EOF;
34 extern const struct type type_parser_nodes__AModule;
35 val* NEW_parser_work__ComputeProdLocationVisitor(const struct type* type);
36 extern const struct type type_parser_work__ComputeProdLocationVisitor;
37 void parser_nodes__Visitor__enter_visit(val* self, val* p0);
38 #define COLOR_parser_nodes__ANode___location 0
39 val* NEW_parser_nodes__AParserError(const struct type* type);
40 extern const struct type type_parser_nodes__AParserError;
41 val* string__NativeString__to_s_with_length(char* self, long p0);
42 extern const struct type type_array__Arraykernel__Object;
43 val* NEW_array__NativeArray(int length, const struct type* type);
44 extern const struct type type_array__NativeArraykernel__Object;
45 #define COLOR_array__Array__with_native 74
46 #define COLOR_string__Object__to_s 9
47 void lexer_work__AParserError__init_parser_error(val* self, val* p0, val* p1, val* p2);
48 val* parser_work__Parser__parse(val* self);
49 val* NEW_parser_work__TextCollectorVisitor(const struct type* type);
50 extern const struct type type_parser_work__TextCollectorVisitor;
51 #define COLOR_parser_work__TextCollectorVisitor___text 1
52 #define COLOR_kernel__Object___61d_61d 2
53 val* parser_work__Prod__collect_text(val* self);
54 extern const struct type type_parser_nodes__Token;
55 #define COLOR_parser_work__ComputeProdLocationVisitor___last_location 3
56 #define COLOR_parser_work__ComputeProdLocationVisitor___need_first_prods 1
57 short int array__AbstractArrayRead__is_empty(val* self);
58 val* array__AbstractArrayRead__iterator(val* self);
59 short int array__ArrayIterator__is_ok(val* self);
60 val* array__ArrayIterator__item(val* self);
61 #define COLOR_parser_work__Prod___first_location 3
62 void array__ArrayIterator__next(val* self);
63 void array__AbstractArray__clear(val* self);
64 #define COLOR_parser_work__ComputeProdLocationVisitor___need_after_epsilons 2
65 val* NEW_location__Location(const struct type* type);
66 extern const struct type type_location__Location;
67 #define COLOR_location__Location___file 0
68 #define COLOR_location__Location___line_start 1
69 #define COLOR_location__Location___column_start 3
70 void location__Location__init(val* self, val* p0, long p1, long p2, long p3, long p4);
71 extern const struct type type_parser_nodes__Prod;
72 void array__Array__add(val* self, val* p0);
73 #define COLOR_parser_nodes__ANode__visit_all 39
74 #define COLOR_location__Location___line_end 2
75 #define COLOR_location__Location___column_end 4
76 void parser_work__ComputeProdLocationVisitor__visit(val* self, val* p0);
77 val* lexer_work__Token__text(val* self);
78 val* string__FlatString___43d(val* self, val* p0);
79 void parser_work__TextCollectorVisitor__visit(val* self, val* p0);
80 void abstract_collection__Sequence__append(val* self, val* p0);
81 val* parser_work__ReduceAction__concat(val* self, val* p0, val* p1);
82 #define COLOR_parser_work__ReduceAction___goto 0
83 void parser_work__ReduceAction__init(val* self, long p0);