X-Git-Url: http://nitlanguage.org diff --git a/c_src/rapid_type_analysis.sep.0.h b/c_src/rapid_type_analysis.sep.0.h index c75bd79..d705a23 100644 --- a/c_src/rapid_type_analysis.sep.0.h +++ b/c_src/rapid_type_analysis.sep.0.h @@ -34,27 +34,72 @@ void rapid_type_analysis__RapidTypeAnalysis__live_methods_61d(val* self, val* p0 extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis___64dlive_super_sends; val* rapid_type_analysis__RapidTypeAnalysis__live_super_sends(val* self); void rapid_type_analysis__RapidTypeAnalysis__live_super_sends_61d(val* self, val* p0); +val* NEW_hash_collection__HashSet(const struct type* type); +extern const struct type type_hash_collection__HashSetmodel__MType; +extern const int COLOR_hash_collection__HashSet__init; +extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_types; +extern const int COLOR_abstract_collection__SimpleCollection__add_all; +extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_open_types; +extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_cast_types; +extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_open_cast_types; +extern const int COLOR_array__Collection__to_a; +val* NEW_string__CachedAlphaComparator(const struct type* type); +extern const struct type type_string__CachedAlphaComparator; +extern const int COLOR_string__CachedAlphaComparator__init; +extern const int COLOR_sorter__AbstractSorter__sort; +val* NEW_csv__CSVDocument(const struct type* type); +extern const struct type type_csv__CSVDocument; +extern const int COLOR_csv__CSVDocument__init; +val* string__NativeString__to_s_with_length(char* self, long p0); +val* NEW_array__Array(const struct type* type); +extern const struct type type_array__Arraystring__String; +val* NEW_array__NativeArray(int length, const struct type* type); +extern const struct type type_array__NativeArraystring__String; +extern const int COLOR_array__Array__with_native; +extern const int COLOR_csv__CSVDocument__header_61d; +extern const int COLOR_abstract_collection__Collection__iterator; +extern const int COLOR_abstract_collection__Iterator__is_ok; +extern const int COLOR_abstract_collection__Iterator__item; +extern const int COLOR_model__MType__need_anchor; +extern const struct type type_model__MClassType; +extern const int COLOR_abstract_collection__Collection__has; +extern const struct type type_array__Arraykernel__Object; +extern const struct type type_array__NativeArraykernel__Object; +extern const int COLOR_csv__CSVDocument__add_line; +extern const int COLOR_abstract_collection__Iterator__next; +val* rapid_type_analysis__RapidTypeAnalysis__live_types_to_csv(val* self); +val* NEW_ordered_tree__OrderedTree(const struct type* type); +extern const struct type type_ordered_tree__OrderedTreekernel__Object; +extern const int COLOR_ordered_tree__OrderedTree__init; +extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_methods; +extern const int COLOR_model__MProperty__full_name; +extern const int COLOR_ordered_tree__OrderedTree__add; +extern const int COLOR_model__MProperty__mpropdefs; +extern const int COLOR_string__Object__to_s; +extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_methoddefs; +extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_super_sends; +extern const int COLOR_string__String___43d; +extern const int COLOR_string__Object__alpha_comparator; +extern const int COLOR_ordered_tree__OrderedTree__sort_with; +val* rapid_type_analysis__RapidTypeAnalysis__live_methods_to_tree(val* self); extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis___64dtotry_methods; val* rapid_type_analysis__RapidTypeAnalysis__totry_methods(val* self); void rapid_type_analysis__RapidTypeAnalysis__totry_methods_61d(val* self, val* p0); extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis___64dtodo; val* rapid_type_analysis__RapidTypeAnalysis__todo(val* self); void rapid_type_analysis__RapidTypeAnalysis__todo_61d(val* self, val* p0); +extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__modelbuilder; +extern const int COLOR_modelbuilder__ModelBuilder__model; +extern const int COLOR_model__Model__get_mclasses_by_name; +extern const int COLOR_model__MClass__mclass_type; +extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__add_new; +void rapid_type_analysis__RapidTypeAnalysis__force_alive(val* self, val* p0); extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__mainmodule; extern const int COLOR_model__MModule__sys_type; -extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__add_new; -val* string__NativeString__to_s_with_length(char* self, long p0); extern const int COLOR_model__MClassType__mclass; extern const int COLOR_model__MModule__try_get_primitive_method; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__add_send; -extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__modelbuilder; -extern const int COLOR_modelbuilder__ModelBuilder__model; -extern const int COLOR_model__Model__get_mclasses_by_name; -extern const int COLOR_abstract_collection__Collection__iterator; -extern const int COLOR_abstract_collection__Iterator__is_ok; -extern const int COLOR_abstract_collection__Iterator__item; -extern const int COLOR_model__MClass__mclass_type; -extern const int COLOR_abstract_collection__Iterator__next; +extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__force_alive; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__todo; extern const int COLOR_abstract_collection__Collection__is_empty; extern const int COLOR_abstract_collection__Sequence__shift; @@ -72,11 +117,8 @@ extern const int COLOR_model__MSignature__mparameters; extern const int COLOR_abstract_collection__SequenceRead___91d_93d; extern const int COLOR_model__MParameter__mtype; extern const int COLOR_model__MModule__get_primitive_class; -val* NEW_array__Array(const struct type* type); extern const struct type type_array__Arraymodel__MType; -val* NEW_array__NativeArray(int length, const struct type* type); extern const struct type type_array__NativeArraymodel__MType; -extern const int COLOR_array__Array__with_native; extern const int COLOR_model__MClass__get_mtype; extern const int COLOR_rapid_type_analysis__RapidTypeVisitor__add_type; extern const int COLOR_modelbuilder__ModelBuilder__force_get_primitive_method; @@ -84,10 +126,10 @@ extern const int COLOR_rapid_type_analysis__RapidTypeVisitor__add_monomorphic_se val* NEW_range__Range(const struct type* type); extern const struct type type_range__Rangekernel__Int; extern const int COLOR_model__MSignature__arity; +val* BOX_kernel__Int(long); extern const int COLOR_range__Range__without_last; extern const int COLOR_model__MPropDef__mproperty; extern const int COLOR_model__MProperty__intro; -extern const int COLOR_model__MType__need_anchor; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__add_cast; extern const int COLOR_abstract_collection__MapRead__has_key; extern const int COLOR_model__MProperty__name; @@ -97,11 +139,11 @@ extern const int COLOR_modelize_property__AClassdef__super_inits; extern const int COLOR_rapid_type_analysis__RapidTypeVisitor__receiver; extern const struct type type_parser_nodes__AConcreteMethPropdef; extern const int COLOR_auto_super_init__AConcreteMethPropdef__auto_super_inits; +extern const int COLOR_rapid_type_analysis__RapidTypeVisitor__add_callsite; extern const struct type type_parser_nodes__AInternMethPropdef; extern const struct type type_parser_nodes__AExternMethPropdef; extern const int COLOR_parser_nodes__AExternPropdef__n_extern; extern const int COLOR_model__MSignature__return_mtype; -extern const struct type type_model__MClassType; extern const int COLOR_model__MClass__kind; extern const int COLOR_model__Object__abstract_kind; extern const int COLOR_kernel__Object___33d_61d; @@ -113,30 +155,18 @@ extern const struct type type_parser_nodes__AExternInitPropdef; val* NEW_list__List(const struct type* type); extern const struct type type_list__Listmodel__MClassType; extern const int COLOR_list__List__init; -extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_types; -extern const int COLOR_abstract_collection__SimpleCollection__add_all; -extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_open_types; extern const int COLOR_model__MType__can_resolve_for; extern const int COLOR_model__MType__anchor_to; -extern const int COLOR_abstract_collection__Collection__has; extern const int COLOR_abstract_collection__SimpleCollection__add; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__check_depth; -extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_open_cast_types; -extern const struct type type_model__MNullableType; -extern const int COLOR_model__MNullableType__mtype; -extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_cast_types; void rapid_type_analysis__RapidTypeAnalysis__run_analysis(val* self); extern const int COLOR_model__MType__length; extern const int COLOR_modelbuilder__ModelBuilder__toolcontext; -extern const struct type type_array__Arraykernel__Object; -extern const struct type type_array__NativeArraykernel__Object; -extern const int COLOR_string__Object__to_s; extern const int COLOR_toolcontext__ToolContext__fatal_error; void rapid_type_analysis__RapidTypeAnalysis__check_depth(val* self, val* p0); extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_classes; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__totry_methods; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__try_send; -extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_super_sends; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__try_super_send; extern const int COLOR_model__MType__collect_mclassdefs; extern const int COLOR_parser_nodes__AClassdef__n_propdefs; @@ -150,13 +180,10 @@ extern const int COLOR_model__MType__has_mproperty; extern const int COLOR_model__MProperty__lookup_first_definition; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__add_call; void rapid_type_analysis__RapidTypeAnalysis__try_send(val* self, val* p0, val* p1); -extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_methoddefs; -extern const int COLOR_model__MProperty__mpropdefs; extern const int COLOR_abstract_collection__Collection__length; extern const int COLOR_model__MMethodDef__is_abstract; extern const int COLOR_abstract_collection__RemovableCollection__remove; void rapid_type_analysis__RapidTypeAnalysis__add_call(val* self, val* p0); -extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_methods; extern const int COLOR_abstract_collection__Collection__first; void rapid_type_analysis__RapidTypeAnalysis__add_send(val* self, val* p0, val* p1); extern const int COLOR_model__MPropDef__lookup_next_definition; @@ -186,6 +213,8 @@ extern const int COLOR_parser_nodes__ANode__visit_all; void rapid_type_analysis__RapidTypeVisitor__visit(val* self, val* p0); extern const int COLOR_rapid_type_analysis__RapidTypeVisitor__analysis; extern const struct type type_model__MNullType; +extern const struct type type_model__MNullableType; +extern const int COLOR_model__MNullableType__mtype; val* rapid_type_analysis__RapidTypeVisitor__cleanup_type(val* self, val* p0); val* rapid_type_analysis__RapidTypeVisitor__get_class(val* self, val* p0); extern const int COLOR_rapid_type_analysis__RapidTypeVisitor__cleanup_type; @@ -195,6 +224,9 @@ void rapid_type_analysis__RapidTypeVisitor__add_type(val* self, val* p0); void rapid_type_analysis__RapidTypeVisitor__add_monomorphic_send(val* self, val* p0, val* p1); void rapid_type_analysis__RapidTypeVisitor__add_send(val* self, val* p0, val* p1); void rapid_type_analysis__RapidTypeVisitor__add_cast_type(val* self, val* p0); +extern const int COLOR_typing__CallSite__recv; +extern const int COLOR_typing__CallSite__mproperty; +void rapid_type_analysis__RapidTypeVisitor__add_callsite(val* self, val* p0); void rapid_type_analysis__ANode__accept_rapid_type_visitor(val* self, val* p0); extern const int COLOR_typing__AExpr__mtype; void rapid_type_analysis__AIntExpr__accept_rapid_type_visitor(val* self, val* p0); @@ -215,25 +247,21 @@ void rapid_type_analysis__AFalseExpr__accept_rapid_type_visitor(val* self, val* extern const int COLOR_typing__AIsaExpr__cast_type; void rapid_type_analysis__AIsaExpr__accept_rapid_type_visitor(val* self, val* p0); void rapid_type_analysis__AAsCastExpr__accept_rapid_type_visitor(val* self, val* p0); -extern const int COLOR_typing__ASendExpr__mproperty; -extern const int COLOR_parser_nodes__ASendExpr__n_expr; -extern const int COLOR_rapid_type_analysis__RapidTypeVisitor__add_send; +extern const int COLOR_typing__ASendExpr__callsite; void rapid_type_analysis__ASendExpr__accept_rapid_type_visitor(val* self, val* p0); -extern const int COLOR_typing__AReassignFormExpr__read_type; -extern const int COLOR_typing__AReassignFormExpr__reassign_property; -extern const int COLOR_typing__ASendReassignFormExpr__write_mproperty; -extern const struct type type_parser_nodes__ASelfExpr; +extern const int COLOR_typing__AReassignFormExpr__reassign_callsite; +extern const int COLOR_typing__ASendReassignFormExpr__write_callsite; void rapid_type_analysis__ASendReassignFormExpr__accept_rapid_type_visitor(val* self, val* p0); void rapid_type_analysis__AVarReassignExpr__accept_rapid_type_visitor(val* self, val* p0); void rapid_type_analysis__AAttrReassignExpr__accept_rapid_type_visitor(val* self, val* p0); -extern const int COLOR_typing__ASuperExpr__mproperty; -extern const int COLOR_rapid_type_analysis__RapidTypeVisitor__mpropdef; -extern const struct type type_model__MMethodDef; +extern const int COLOR_typing__ASuperExpr__callsite; +extern const int COLOR_typing__ASuperExpr__mpropdef; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__add_super_send; void rapid_type_analysis__ASuperExpr__accept_rapid_type_visitor(val* self, val* p0); extern const int COLOR_parser_nodes__AForExpr__n_expr; extern const int COLOR_typing__AForExpr__coltype; +extern const int COLOR_rapid_type_analysis__RapidTypeVisitor__add_send; extern const int COLOR_scope__AForExpr__variables; void rapid_type_analysis__AForExpr__accept_rapid_type_visitor(val* self, val* p0); -extern const int COLOR_typing__ANewExpr__mproperty; +extern const int COLOR_typing__ANewExpr__callsite; void rapid_type_analysis__ANewExpr__accept_rapid_type_visitor(val* self, val* p0);