X-Git-Url: http://nitlanguage.org diff --git a/c_src/nit__parser_work.sep.0.h b/c_src/nit__parser_work.sep.0.h index 093307f..64b40e2 100644 --- a/c_src/nit__parser_work.sep.0.h +++ b/c_src/nit__parser_work.sep.0.h @@ -1,7 +1,7 @@ #include "nit.common.h" #define COLOR_nit__parser_work__State___state 0 #define COLOR_nit__parser_work__State___nodes 1 -#define COLOR_nit__parser_work___nit__parser_work__State___standard__kernel__Object__init 34 +#define COLOR_nit__parser_work___nit__parser_work__State___standard__kernel__Object__init 18 #define COLOR_nit__parser_work__Parser___lexer 0 void nit__parser___Parser___build_reduce_table(val* self); long nit___nit__Parser___state(val* self); @@ -15,71 +15,82 @@ extern const char FILE_nit__parser_work[]; val* standard___standard__Array___standard__abstract_collection__SequenceRead___91d_93d(val* self, long p0); val* NEW_nit__parser_work__State(const struct type* type); extern const struct type type_nit__parser_work__State; -#define COLOR_nit__parser_work__State__state_61d 32 -#define COLOR_nit__parser_work__State__nodes_61d 33 -#define COLOR_standard__kernel__Object__init 7 +#define COLOR_nit__parser_work__State__state_61d 16 +#define COLOR_nit__parser_work__State__nodes_61d 17 +#define COLOR_standard__kernel__Object__init 0 void standard___standard__AbstractArray___standard__abstract_collection__Sequence__push(val* self, val* p0); void nit___nit__Parser___push(val* self, long p0, val* p1); val* nit___nit__Lexer___peek(val* self); extern const struct type type_nit__AError; val* NEW_nit__Start(const struct type* type); extern const struct type type_nit__Start; -#define COLOR_nit__parser_nodes__Start__n_base_61d 57 -#define COLOR_nit__parser_nodes__Start__n_eof_61d 59 -#define COLOR_nit__lexer_work__Token__parser_index 53 +#define COLOR_nit__parser_nodes__Start__n_base_61d 42 +#define COLOR_nit__parser_nodes__Start__n_eof_61d 43 +#define COLOR_nit__lexer_work__Token__parser_index 35 val* nit___nit__Lexer___next(val* self); #define COLOR_nit__parser_work__Parser___reduce_table 3 -#define COLOR_nit__parser_work__ReduceAction__action 32 +#define COLOR_nit__parser_work__ReduceAction__action 16 extern const struct type type_nit__EOF; val* nit___nit__Parser___pop(val* self); extern const struct type type_nit__AModule; +#define COLOR_nit__parser_nodes__ANode___parent 1 val* NEW_nit__parser_work__ComputeProdLocationVisitor(const struct type* type); extern const struct type type_nit__parser_work__ComputeProdLocationVisitor; +#define COLOR_nit__lexer_work__Lexer___file 2 +extern const char FILE_nit__lexer_work[]; +#define COLOR_nit__parser_nodes__SourceFile___first_token 5 +#define COLOR_nit__parser_work__ComputeProdLocationVisitor__token_61d 19 void nit___nit__Visitor___enter_visit(val* self, val* p0); #define COLOR_nit__parser_nodes__ANode___location 0 val* NEW_nit__AParserError(const struct type* type); extern const struct type type_nit__AParserError; -val* standard___standard__NativeString___to_s_with_length(char* self, long p0); -val* NEW_standard__Array(const struct type* type); -extern const struct type type_standard__Array__standard__Object; val* NEW_standard__NativeArray(int length, const struct type* type); -extern const struct type type_standard__NativeArray__standard__Object; -#define COLOR_standard__array__Array__with_native 73 -#define COLOR_standard__string__Object__to_s 9 +extern const struct type type_standard__NativeArray__standard__String; +val* standard___standard__NativeString___to_s_with_length(char* self, long p0); +#define COLOR_standard__string__Object__to_s 3 +#define COLOR_standard__string__NativeArray__native_to_s 16 extern const char FILE_nit__parser_nodes[]; void nit__lexer_work___AParserError___init_parser_error(val* self, val* p0, val* p1, val* p2); val* NEW_nit__parser_work__TextCollectorVisitor(const struct type* type); extern const struct type type_nit__parser_work__TextCollectorVisitor; #define COLOR_nit__parser_work__TextCollectorVisitor___text 1 -#define COLOR_standard__kernel__Object___61d_61d 2 +#define COLOR_standard__kernel__Object___61d_61d 4 +#define COLOR_nit__parser_work__ComputeProdLocationVisitor___token 1 +#define COLOR_nit__parser_work__ComputeProdLocationVisitor___last_token 4 extern const struct type type_nit__Token; -#define COLOR_nit__parser_work__ComputeProdLocationVisitor___last_location 3 -#define COLOR_nit__parser_work__ComputeProdLocationVisitor___need_first_prods 1 +#define COLOR_nit__location__Location___line_end 2 +#define COLOR_nit__location__Location___line_start 1 +#define COLOR_nit__parser_nodes__Token___is_loose 4 +val* nit___nit__Token___next_looses(val* self); +void standard___standard__Array___standard__abstract_collection__SimpleCollection__add(val* self, val* p0); +#define COLOR_nit__parser_nodes__Token___next_token 3 +val* nit___nit__Token___prev_looses(val* self); +#define COLOR_nit__parser_work__ComputeProdLocationVisitor___need_first_prods 2 short int standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__is_empty(val* self); val* standard___standard__AbstractArrayRead___standard__abstract_collection__Collection__iterator(val* self); short int standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__is_ok(val* self); val* standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__item(val* self); #define COLOR_nit__parser_work__Prod___first_location 3 void standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__next(val* self); +void standard__array___standard__array__ArrayIterator___standard__abstract_collection__Iterator__finish(val* self); void standard___standard__AbstractArray___standard__abstract_collection__RemovableCollection__clear(val* self); -#define COLOR_nit__parser_work__ComputeProdLocationVisitor___need_after_epsilons 2 +#define COLOR_nit__parser_work__ComputeProdLocationVisitor___need_after_epsilons 3 val* NEW_nit__Location(const struct type* type); extern const struct type type_nit__Location; #define COLOR_nit__location__Location___file 0 -#define COLOR_nit__location__Location___line_start 1 #define COLOR_nit__location__Location___column_start 3 -#define COLOR_nit__location__Location__file_61d 38 -#define COLOR_nit__location__Location__line_start_61d 40 -#define COLOR_nit__location__Location__line_end_61d 42 -#define COLOR_nit__location__Location__column_start_61d 44 -#define COLOR_nit__location__Location__column_end_61d 46 +#define COLOR_nit__location__Location__file_61d 24 +#define COLOR_nit__location__Location__line_start_61d 25 +#define COLOR_nit__location__Location__line_end_61d 26 +#define COLOR_nit__location__Location__column_start_61d 27 +#define COLOR_nit__location__Location__column_end_61d 28 extern const struct type type_nit__Prod; -void standard___standard__Array___standard__abstract_collection__SimpleCollection__add(val* self, val* p0); -#define COLOR_nit__parser_nodes__ANode__visit_all 40 -#define COLOR_nit__location__Location___line_end 2 +#define COLOR_nit__parser_nodes__ANode__visit_all 20 +short int nit___nit__Location___standard__kernel__Object___61d_61d(val* self, val* p0); #define COLOR_nit__location__Location___column_end 4 +#define COLOR_nit__parser_work___nit__parser_work__ComputeProdLocationVisitor___standard__kernel__Object__init 22 val* nit__lexer_work___Token___text(val* self); -#define COLOR_standard__string__String___43d 82 +#define COLOR_standard__string__String___43d 71 void standard___standard__Sequence___append(val* self, val* p0); #define COLOR_nit__parser_work__ReduceAction___goto 0 -#define COLOR_nit__parser_work___nit__parser_work__ReduceAction___standard__kernel__Object__init 35 +#define COLOR_nit__parser_work___nit__parser_work__ReduceAction___standard__kernel__Object__init 19