1 #include "nit.common.h"
2 #define COLOR_nitc__parser_work__State___state 0
3 #define COLOR_nitc__parser_work__State___nodes 1
4 #define COLOR_nitc__parser_work___nitc__parser_work__State___core__kernel__Object__init 14
5 #define COLOR_nitc__parser_work__Parser___lexer 0
6 #define COLOR_nitc___nitc__Parser___core__kernel__Object__init 24
7 val
* nitc__parser___Parser___build_reduce_table(val
* self
);
8 #define COLOR_nitc__parser_work__Parser___reduce_table 3
9 long nitc___nitc__Parser___state(val
* self
);
10 #include "tables_nit.h"
11 extern const struct type type_core__Int
;
12 extern const char FILE_core__kernel
[];
13 #define COLOR_nitc__parser_work__Parser___stack_pos 2
14 #define COLOR_nitc__parser_work__Parser___stack 1
15 extern const char FILE_nitc__parser_work
[];
16 #define COLOR_core__array__AbstractArrayRead___length 0
17 val
* core___core__Array___core__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
18 val
* NEW_nitc__parser_work__State(const struct type
* type
);
19 extern const struct type type_nitc__parser_work__State
;
20 #define COLOR_nitc__parser_work__State__state_61d 12
21 #define COLOR_nitc__parser_work__State__nodes_61d 13
22 #define COLOR_core__kernel__Object__init 0
23 void core___core__AbstractArray___core__abstract_collection__Sequence__push(val
* self
, val
* p0
);
24 void nitc___nitc__Parser___push(val
* self
, long p0
, val
* p1
);
25 val
* nitc___nitc__Lexer___peek(val
* self
);
26 extern const struct type type_nitc__AError
;
27 val
* NEW_nitc__Start(const struct type
* type
);
28 extern const struct type type_nitc__Start
;
29 #define COLOR_nitc__parser_nodes__Start__n_base_61d 36
30 #define COLOR_nitc__parser_nodes__Start__n_eof_61d 37
31 #define COLOR_nitc__lexer_work__Token__parser_index 35
32 val
* nitc___nitc__Lexer___next(val
* self
);
33 #define COLOR_nitc__parser_work__ReduceAction__action 12
34 extern const struct type type_nitc__EOF
;
35 val
* nitc___nitc__Parser___pop(val
* self
);
36 extern const struct type type_nitc__AModule
;
37 #define COLOR_nitc__parser_nodes__ANode___parent 2
38 val
* NEW_nitc__parser_work__ComputeProdLocationVisitor(const struct type
* type
);
39 extern const struct type type_nitc__parser_work__ComputeProdLocationVisitor
;
40 #define COLOR_nitc__lexer_work__Lexer___file 2
41 extern const char FILE_nitc__lexer_work
[];
42 #define COLOR_nitc__parser_nodes__SourceFile___first_token 6
43 #define COLOR_nitc__parser_work__ComputeProdLocationVisitor__token_61d 15
44 void nitc___nitc__Visitor___enter_visit(val
* self
, val
* p0
);
45 #define COLOR_nitc__parser_nodes__ANode___location 1
46 val
* NEW_nitc__AParserError(const struct type
* type
);
47 extern const struct type type_nitc__AParserError
;
48 val
* NEW_core__NativeArray(int length
, const struct type
* type
);
49 extern const struct type type_core__NativeArray__core__String
;
50 val
* core__flat___CString___to_s_unsafe(char* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
51 #define COLOR_core__abstract_text__Object__to_s 3
52 #define COLOR_core__abstract_text__NativeArray__native_to_s 12
53 extern const char FILE_nitc__parser_nodes
[];
54 void nitc__lexer_work___AParserError___init_parser_error(val
* self
, val
* p0
, val
* p1
, val
* p2
);
55 val
* NEW_nitc__parser_work__TextCollectorVisitor(const struct type
* type
);
56 extern const struct type type_nitc__parser_work__TextCollectorVisitor
;
57 #define COLOR_nitc__parser_work__TextCollectorVisitor___text 1
58 #define COLOR_core__kernel__Object___61d_61d 4
59 #define COLOR_nitc__parser_work__ComputeProdLocationVisitor___token 1
60 #define COLOR_nitc__parser_work__ComputeProdLocationVisitor___last_token 4
61 extern const struct type type_nitc__Token
;
62 #define COLOR_nitc__location__Location___line_end 2
63 #define COLOR_nitc__location__Location___line_start 1
64 #define COLOR_nitc__parser_nodes__Token___is_loose 5
65 val
* nitc___nitc__Token___next_looses(val
* self
);
66 void core___core__Array___core__abstract_collection__SimpleCollection__add(val
* self
, val
* p0
);
67 #define COLOR_nitc__parser_nodes__Token___next_token 4
68 val
* nitc___nitc__Token___prev_looses(val
* self
);
69 #define COLOR_nitc__parser_work__ComputeProdLocationVisitor___need_first_prods 2
70 short int core___core__AbstractArrayRead___core__abstract_collection__Collection__is_empty(val
* self
);
71 val
* core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(val
* self
);
72 #define COLOR_core__abstract_collection__Iterator__is_ok 12
73 #define COLOR_core__abstract_collection__Iterator__item 13
74 #define COLOR_nitc__parser_work__Prod___first_location 10
75 #define COLOR_core__abstract_collection__Iterator__next 14
76 #define COLOR_core__abstract_collection__Iterator__finish 15
77 void core___core__AbstractArray___core__abstract_collection__RemovableCollection__clear(val
* self
);
78 #define COLOR_nitc__parser_work__ComputeProdLocationVisitor___need_after_epsilons 3
79 val
* NEW_nitc__Location(const struct type
* type
);
80 extern const struct type type_nitc__Location
;
81 #define COLOR_nitc__location__Location___file 0
82 #define COLOR_nitc__location__Location___column_start 3
83 #define COLOR_nitc__location__Location__file_61d 19
84 #define COLOR_nitc__location__Location__line_start_61d 20
85 #define COLOR_nitc__location__Location__line_end_61d 21
86 #define COLOR_nitc__location__Location__column_start_61d 22
87 #define COLOR_nitc__location__Location__column_end_61d 23
88 extern const struct type type_nitc__Prod
;
89 #define COLOR_nitc__parser_nodes__ANode__visit_all 14
90 short int nitc___nitc__Location___core__kernel__Object___61d_61d(val
* self
, val
* p0
);
91 #define COLOR_nitc__location__Location___column_end 4
92 #define COLOR_nitc__parser_work___nitc__parser_work__ComputeProdLocationVisitor___core__kernel__Object__init 18
93 val
* nitc__lexer_work___Token___text(val
* self
);
94 #define COLOR_core__abstract_text__Text___43d 39
95 void core___core__Sequence___append(val
* self
, val
* p0
);
96 #define COLOR_nitc__parser_work__ReduceAction___goto 0
97 #define COLOR_nitc__parser_work___nitc__parser_work__ReduceAction___core__kernel__Object__init 15
98 extern const struct type type_nitc__AMethidExpr
;
99 val
* nitc__parser_work___Prod___collect_text(val
* self
);
100 extern const struct type type_nitc__ACallExpr
;
101 #define COLOR_nitc__parser_nodes__ASendExpr___n_expr 3
102 extern const struct type type_nitc__AImplicitSelfExpr
;
103 #define COLOR_nitc__parser_nodes__ACallFormExpr___n_args 19
104 #define COLOR_nitc__parser_nodes__AExprs___n_exprs 3
105 short int nitc___nitc__ANodes___core__abstract_collection__Collection__is_empty(val
* self
);
106 #define COLOR_nitc__parser_nodes__ACallFormExpr___n_qid 18
107 #define COLOR_nitc__parser_nodes__AQid___n_id 4