X-Git-Url: http://nitlanguage.org diff --git a/c_src/parser_work.sep.0.h b/c_src/parser_work.sep.0.h index acb422f..8a6d62a 100644 --- a/c_src/parser_work.sep.0.h +++ b/c_src/parser_work.sep.0.h @@ -5,7 +5,7 @@ void parser_work__State__init(val* self, long p0, val* p1); #define COLOR_parser_work__Parser___lexer 0 val* NEW_array__Array(const struct type* type); extern const struct type type_array__Arrayparser_work__State; -void array__Array__init(val* self); +#define COLOR_kernel__Object__init 7 #define COLOR_parser_work__Parser___stack 1 #define COLOR_parser_work__Parser___stack_pos 2 void parser__Parser__build_reduce_table(val* self); @@ -14,7 +14,7 @@ long parser_work__Parser__state(val* self); #include "tables_nit.h" extern const struct type type_kernel__Int; long parser_work__Parser__go_to(val* self, long p0); -long array__AbstractArrayRead__length(val* self); +#define COLOR_array__AbstractArrayRead___length 0 val* array__Array___91d_93d(val* self, long p0); val* NEW_parser_work__State(const struct type* type); extern const struct type type_parser_work__State; @@ -26,29 +26,31 @@ extern const struct type type_parser_nodes__AError; val* NEW_parser_nodes__Start(const struct type* type); extern const struct type type_parser_nodes__Start; void parser_nodes__Start__init(val* self, val* p0, val* p1); -#define COLOR_lexer_work__Token__parser_index 49 +#define COLOR_lexer_work__Token__parser_index 51 val* lexer_work__Lexer__next(val* self); #define COLOR_parser_work__Parser___reduce_table 3 -#define COLOR_parser_work__ReduceAction__action 29 +#define COLOR_parser_work__ReduceAction__action 31 extern const struct type type_parser_nodes__EOF; extern const struct type type_parser_nodes__AModule; val* NEW_parser_work__ComputeProdLocationVisitor(const struct type* type); extern const struct type type_parser_work__ComputeProdLocationVisitor; -void parser_work__ComputeProdLocationVisitor__init(val* self); void parser_nodes__Visitor__enter_visit(val* self, val* p0); #define COLOR_parser_nodes__ANode___location 0 -short int location__Location___61d_61d(val* self, val* p0); val* NEW_parser_nodes__AParserError(const struct type* type); extern const struct type type_parser_nodes__AParserError; val* string__NativeString__to_s_with_length(char* self, long p0); extern const struct type type_array__Arraykernel__Object; val* NEW_array__NativeArray(int length, const struct type* type); extern const struct type type_array__NativeArraykernel__Object; -#define COLOR_array__Array__with_native 65 -#define COLOR_string__Object__to_s 7 -val* parser_nodes__ANode__location(val* self); +#define COLOR_array__Array__with_native 74 +#define COLOR_string__Object__to_s 9 void lexer_work__AParserError__init_parser_error(val* self, val* p0, val* p1, val* p2); val* parser_work__Parser__parse(val* self); +val* NEW_parser_work__TextCollectorVisitor(const struct type* type); +extern const struct type type_parser_work__TextCollectorVisitor; +#define COLOR_parser_work__TextCollectorVisitor___text 1 +#define COLOR_kernel__Object___61d_61d 2 +val* parser_work__Prod__collect_text(val* self); extern const struct type type_parser_nodes__Token; #define COLOR_parser_work__ComputeProdLocationVisitor___last_location 3 #define COLOR_parser_work__ComputeProdLocationVisitor___need_first_prods 1 @@ -66,14 +68,15 @@ extern const struct type type_location__Location; #define COLOR_location__Location___line_start 1 #define COLOR_location__Location___column_start 3 void location__Location__init(val* self, val* p0, long p1, long p2, long p3, long p4); -void parser_nodes__Prod__location_61d(val* self, val* p0); extern const struct type type_parser_nodes__Prod; void array__Array__add(val* self, val* p0); -#define COLOR_parser_nodes__ANode__visit_all 37 -#define COLOR_kernel__Object___61d_61d 2 +#define COLOR_parser_nodes__ANode__visit_all 39 #define COLOR_location__Location___line_end 2 #define COLOR_location__Location___column_end 4 void parser_work__ComputeProdLocationVisitor__visit(val* self, val* p0); +val* lexer_work__Token__text(val* self); +val* string__FlatString___43d(val* self, val* p0); +void parser_work__TextCollectorVisitor__visit(val* self, val* p0); void abstract_collection__Sequence__append(val* self, val* p0); val* parser_work__ReduceAction__concat(val* self, val* p0, val* p1); #define COLOR_parser_work__ReduceAction___goto 0