X-Git-Url: http://nitlanguage.org diff --git a/c_src/nitg.classes.10.c b/c_src/nitg.classes.10.c new file mode 100644 index 0000000..2bf6929 --- /dev/null +++ b/c_src/nitg.classes.10.c @@ -0,0 +1,8823 @@ +#include "nitg.classes.0.h" +/* runtime class parser_nodes__AIdAtid */ +const struct class class_parser_nodes__AIdAtid = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to parser_nodes:AIdAtid:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to parser_nodes:AIdAtid:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to parser_nodes:AIdAtid:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to parser_nodes:AIdAtid:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to parser_nodes:AIdAtid:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to parser_nodes:AIdAtid:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to parser_nodes:AIdAtid:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to parser_nodes:AIdAtid:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to parser_nodes:AIdAtid:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to parser_nodes:AIdAtid:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to parser_nodes:AIdAtid:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to parser_nodes:AIdAtid:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to parser_nodes:AIdAtid:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to parser_nodes:AIdAtid:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to parser_nodes:AIdAtid:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to parser_nodes:AIdAtid:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to parser_nodes:AIdAtid:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to parser_nodes:AIdAtid:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to parser_nodes:AIdAtid:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to parser_nodes:AIdAtid:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to parser_nodes:AIdAtid:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to parser_nodes:AIdAtid:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to parser_nodes:AIdAtid:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to parser_nodes:AIdAtid:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to parser_nodes:AIdAtid:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to parser_nodes:AIdAtid:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to parser_nodes:AIdAtid:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to parser_nodes:AIdAtid:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to parser_nodes:AIdAtid:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to parser_nodes:AIdAtid:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to parser_nodes:AIdAtid:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to parser_nodes:AIdAtid:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to parser_nodes:AIdAtid:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to parser_nodes:AIdAtid:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to parser_nodes:AIdAtid:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to parser_nodes:AIdAtid:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to parser_nodes:AIdAtid:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to parser_nodes:AIdAtid:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to parser_nodes:AIdAtid:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to parser_nodes:AIdAtid:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to parser_nodes:AIdAtid:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__location, /* pointer to parser_nodes:AIdAtid:parser_nodes#ANode#location */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__hot_location, /* pointer to parser_nodes:AIdAtid:parser_nodes#ANode#hot_location */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__debug, /* pointer to parser_nodes:AIdAtid:parser_nodes#ANode#debug */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__parent, /* pointer to parser_nodes:AIdAtid:parser_nodes#ANode#parent */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__parent_61d, /* pointer to parser_nodes:AIdAtid:parser_nodes#ANode#parent= */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__init, /* pointer to parser_nodes:AIdAtid:parser_nodes#ANode#init */ +(nitmethod_t)VIRTUAL_parser_prod__AIdAtid__replace_child, /* pointer to parser_nodes:AIdAtid:parser_prod#AIdAtid#replace_child */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__detach, /* pointer to parser_nodes:AIdAtid:parser_nodes#ANode#detach */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__replace_with, /* pointer to parser_nodes:AIdAtid:parser_nodes#Prod#replace_with */ +(nitmethod_t)VIRTUAL_parser_prod__AIdAtid__visit_all, /* pointer to parser_nodes:AIdAtid:parser_prod#AIdAtid#visit_all */ +(nitmethod_t)VIRTUAL_parser_util__ANode__collect_tokens_by_text, /* pointer to parser_nodes:AIdAtid:parser_util#ANode#collect_tokens_by_text */ +(nitmethod_t)VIRTUAL_parser_util__ANode__collect_annotations_by_name, /* pointer to parser_nodes:AIdAtid:parser_util#ANode#collect_annotations_by_name */ +(nitmethod_t)VIRTUAL_simple_misc_analysis__ANode__accept_simple_misc, /* pointer to parser_nodes:AIdAtid:simple_misc_analysis#ANode#accept_simple_misc */ +(nitmethod_t)VIRTUAL_simple_misc_analysis__ANode__after_simple_misc, /* pointer to parser_nodes:AIdAtid:simple_misc_analysis#ANode#after_simple_misc */ +(nitmethod_t)VIRTUAL_literal__ANode__accept_literal, /* pointer to parser_nodes:AIdAtid:literal#ANode#accept_literal */ +(nitmethod_t)VIRTUAL_scope__ANode__accept_scope_visitor, /* pointer to parser_nodes:AIdAtid:scope#ANode#accept_scope_visitor */ +(nitmethod_t)VIRTUAL_flow__ANode__accept_flow_visitor, /* pointer to parser_nodes:AIdAtid:flow#ANode#accept_flow_visitor */ +(nitmethod_t)VIRTUAL_local_var_init__ANode__accept_local_var_visitor, /* pointer to parser_nodes:AIdAtid:local_var_init#ANode#accept_local_var_visitor */ +(nitmethod_t)VIRTUAL_auto_super_init__ANode__accept_auto_super_init, /* pointer to parser_nodes:AIdAtid:auto_super_init#ANode#accept_auto_super_init */ +(nitmethod_t)VIRTUAL_rapid_type_analysis__ANode__accept_rapid_type_visitor, /* pointer to parser_nodes:AIdAtid:rapid_type_analysis#ANode#accept_rapid_type_visitor */ +(nitmethod_t)VIRTUAL_astvalidation__ANode__accept_ast_validation, /* pointer to parser_nodes:AIdAtid:astvalidation#ANode#accept_ast_validation */ +(nitmethod_t)VIRTUAL_transform__ANode__accept_transform_visitor, /* pointer to parser_nodes:AIdAtid:transform#ANode#accept_transform_visitor */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__location_61d, /* pointer to parser_nodes:AIdAtid:parser_nodes#Prod#location= */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__n_annotations, /* pointer to parser_nodes:AIdAtid:parser_nodes#Prod#n_annotations */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__n_annotations_61d, /* pointer to parser_nodes:AIdAtid:parser_nodes#Prod#n_annotations= */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__init, /* pointer to parser_nodes:AIdAtid:parser_nodes#Prod#init */ +(nitmethod_t)VIRTUAL_modelize_property__Prod__collect_text, /* pointer to parser_nodes:AIdAtid:modelize_property#Prod#collect_text */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__replace_with, /* pointer to parser_nodes:AIdAtid:parser_nodes#ANode#replace_with */ +(nitmethod_t)VIRTUAL_parser_nodes__AAtid__n_id, /* pointer to parser_nodes:AIdAtid:parser_nodes#AAtid#n_id */ +(nitmethod_t)VIRTUAL_parser_prod__AIdAtid__n_id_61d, /* pointer to parser_nodes:AIdAtid:parser_prod#AIdAtid#n_id= */ +(nitmethod_t)VIRTUAL_parser_nodes__AAtid__init, /* pointer to parser_nodes:AIdAtid:parser_nodes#AAtid#init */ +(nitmethod_t)VIRTUAL_parser_nodes__AIdAtid__init, /* pointer to parser_nodes:AIdAtid:parser_nodes#AIdAtid#init */ +(nitmethod_t)VIRTUAL_parser_prod__AIdAtid__empty_init, /* pointer to parser_nodes:AIdAtid:parser_prod#AIdAtid#empty_init */ +(nitmethod_t)VIRTUAL_parser_prod__AIdAtid__init_aidatid, /* pointer to parser_nodes:AIdAtid:parser_prod#AIdAtid#init_aidatid */ +} +}; +/* allocate AIdAtid */ +val* NEW_parser_nodes__AIdAtid(const struct type* type) { +val* self /* : AIdAtid */; +val* var /* : null */; +val* var1 /* : null */; +val* var2 /* : null */; +self = nit_alloc(sizeof(struct instance) + 5*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_parser_nodes__AIdAtid; +var = NULL; +self->attrs[COLOR_parser_nodes__ANode___location].val = var; /* _location on */ +var1 = NULL; +self->attrs[COLOR_parser_nodes__ANode___64dparent].val = var1; /* @parent on */ +var2 = NULL; +self->attrs[COLOR_parser_nodes__Prod___n_annotations].val = var2; /* _n_annotations on */ +return self; +} +/* allocate AIdAtid */ +void CHECK_NEW_parser_nodes__AIdAtid(val* self) { +val* var /* : nullable Location */; +val* var1 /* : Token */; +var = self->attrs[COLOR_parser__Prod___first_location].val; /* _first_location on */ +var1 = self->attrs[COLOR_parser_nodes__AAtid___n_id].val; /* _n_id on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _n_id", "src/parser/parser_nodes.nit", 1743); +exit(1); +} +} +/* runtime class parser_nodes__AKwexternAtid */ +/* allocate AKwexternAtid */ +val* NEW_parser_nodes__AKwexternAtid(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "AKwexternAtid is DEAD"); +exit(1); +} +/* allocate AKwexternAtid */ +void CHECK_NEW_parser_nodes__AKwexternAtid(val* self) { +fprintf(stderr, "Runtime error: %s\n", "AKwexternAtid is DEAD"); +exit(1); +} +/* runtime class parser_nodes__AKwinternAtid */ +/* allocate AKwinternAtid */ +val* NEW_parser_nodes__AKwinternAtid(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "AKwinternAtid is DEAD"); +exit(1); +} +/* allocate AKwinternAtid */ +void CHECK_NEW_parser_nodes__AKwinternAtid(val* self) { +fprintf(stderr, "Runtime error: %s\n", "AKwinternAtid is DEAD"); +exit(1); +} +/* runtime class parser_nodes__AKwreadableAtid */ +const struct class class_parser_nodes__AKwreadableAtid = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to parser_nodes:AKwreadableAtid:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to parser_nodes:AKwreadableAtid:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to parser_nodes:AKwreadableAtid:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to parser_nodes:AKwreadableAtid:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to parser_nodes:AKwreadableAtid:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to parser_nodes:AKwreadableAtid:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to parser_nodes:AKwreadableAtid:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to parser_nodes:AKwreadableAtid:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to parser_nodes:AKwreadableAtid:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to parser_nodes:AKwreadableAtid:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to parser_nodes:AKwreadableAtid:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to parser_nodes:AKwreadableAtid:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to parser_nodes:AKwreadableAtid:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to parser_nodes:AKwreadableAtid:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to parser_nodes:AKwreadableAtid:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to parser_nodes:AKwreadableAtid:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to parser_nodes:AKwreadableAtid:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to parser_nodes:AKwreadableAtid:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to parser_nodes:AKwreadableAtid:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to parser_nodes:AKwreadableAtid:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to parser_nodes:AKwreadableAtid:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to parser_nodes:AKwreadableAtid:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to parser_nodes:AKwreadableAtid:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to parser_nodes:AKwreadableAtid:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to parser_nodes:AKwreadableAtid:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to parser_nodes:AKwreadableAtid:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to parser_nodes:AKwreadableAtid:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to parser_nodes:AKwreadableAtid:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to parser_nodes:AKwreadableAtid:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to parser_nodes:AKwreadableAtid:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to parser_nodes:AKwreadableAtid:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to parser_nodes:AKwreadableAtid:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to parser_nodes:AKwreadableAtid:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to parser_nodes:AKwreadableAtid:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to parser_nodes:AKwreadableAtid:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to parser_nodes:AKwreadableAtid:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to parser_nodes:AKwreadableAtid:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to parser_nodes:AKwreadableAtid:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to parser_nodes:AKwreadableAtid:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to parser_nodes:AKwreadableAtid:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to parser_nodes:AKwreadableAtid:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__location, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#ANode#location */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__hot_location, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#ANode#hot_location */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__debug, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#ANode#debug */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__parent, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#ANode#parent */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__parent_61d, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#ANode#parent= */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__init, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#ANode#init */ +(nitmethod_t)VIRTUAL_parser_prod__AKwreadableAtid__replace_child, /* pointer to parser_nodes:AKwreadableAtid:parser_prod#AKwreadableAtid#replace_child */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__detach, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#ANode#detach */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__replace_with, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#Prod#replace_with */ +(nitmethod_t)VIRTUAL_parser_prod__AKwreadableAtid__visit_all, /* pointer to parser_nodes:AKwreadableAtid:parser_prod#AKwreadableAtid#visit_all */ +(nitmethod_t)VIRTUAL_parser_util__ANode__collect_tokens_by_text, /* pointer to parser_nodes:AKwreadableAtid:parser_util#ANode#collect_tokens_by_text */ +(nitmethod_t)VIRTUAL_parser_util__ANode__collect_annotations_by_name, /* pointer to parser_nodes:AKwreadableAtid:parser_util#ANode#collect_annotations_by_name */ +(nitmethod_t)VIRTUAL_simple_misc_analysis__ANode__accept_simple_misc, /* pointer to parser_nodes:AKwreadableAtid:simple_misc_analysis#ANode#accept_simple_misc */ +(nitmethod_t)VIRTUAL_simple_misc_analysis__ANode__after_simple_misc, /* pointer to parser_nodes:AKwreadableAtid:simple_misc_analysis#ANode#after_simple_misc */ +(nitmethod_t)VIRTUAL_literal__ANode__accept_literal, /* pointer to parser_nodes:AKwreadableAtid:literal#ANode#accept_literal */ +(nitmethod_t)VIRTUAL_scope__ANode__accept_scope_visitor, /* pointer to parser_nodes:AKwreadableAtid:scope#ANode#accept_scope_visitor */ +(nitmethod_t)VIRTUAL_flow__ANode__accept_flow_visitor, /* pointer to parser_nodes:AKwreadableAtid:flow#ANode#accept_flow_visitor */ +(nitmethod_t)VIRTUAL_local_var_init__ANode__accept_local_var_visitor, /* pointer to parser_nodes:AKwreadableAtid:local_var_init#ANode#accept_local_var_visitor */ +(nitmethod_t)VIRTUAL_auto_super_init__ANode__accept_auto_super_init, /* pointer to parser_nodes:AKwreadableAtid:auto_super_init#ANode#accept_auto_super_init */ +(nitmethod_t)VIRTUAL_rapid_type_analysis__ANode__accept_rapid_type_visitor, /* pointer to parser_nodes:AKwreadableAtid:rapid_type_analysis#ANode#accept_rapid_type_visitor */ +(nitmethod_t)VIRTUAL_astvalidation__ANode__accept_ast_validation, /* pointer to parser_nodes:AKwreadableAtid:astvalidation#ANode#accept_ast_validation */ +(nitmethod_t)VIRTUAL_transform__ANode__accept_transform_visitor, /* pointer to parser_nodes:AKwreadableAtid:transform#ANode#accept_transform_visitor */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__location_61d, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#Prod#location= */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__n_annotations, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#Prod#n_annotations */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__n_annotations_61d, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#Prod#n_annotations= */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__init, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#Prod#init */ +(nitmethod_t)VIRTUAL_modelize_property__Prod__collect_text, /* pointer to parser_nodes:AKwreadableAtid:modelize_property#Prod#collect_text */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__replace_with, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#ANode#replace_with */ +(nitmethod_t)VIRTUAL_parser_nodes__AAtid__n_id, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#AAtid#n_id */ +(nitmethod_t)VIRTUAL_parser_prod__AKwreadableAtid__n_id_61d, /* pointer to parser_nodes:AKwreadableAtid:parser_prod#AKwreadableAtid#n_id= */ +(nitmethod_t)VIRTUAL_parser_nodes__AAtid__init, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#AAtid#init */ +(nitmethod_t)VIRTUAL_parser_nodes__AKwreadableAtid__init, /* pointer to parser_nodes:AKwreadableAtid:parser_nodes#AKwreadableAtid#init */ +(nitmethod_t)VIRTUAL_parser_prod__AKwreadableAtid__empty_init, /* pointer to parser_nodes:AKwreadableAtid:parser_prod#AKwreadableAtid#empty_init */ +(nitmethod_t)VIRTUAL_parser_prod__AKwreadableAtid__init_akwreadableatid, /* pointer to parser_nodes:AKwreadableAtid:parser_prod#AKwreadableAtid#init_akwreadableatid */ +} +}; +/* allocate AKwreadableAtid */ +val* NEW_parser_nodes__AKwreadableAtid(const struct type* type) { +val* self /* : AKwreadableAtid */; +val* var /* : null */; +val* var1 /* : null */; +val* var2 /* : null */; +self = nit_alloc(sizeof(struct instance) + 5*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_parser_nodes__AKwreadableAtid; +var = NULL; +self->attrs[COLOR_parser_nodes__ANode___location].val = var; /* _location on */ +var1 = NULL; +self->attrs[COLOR_parser_nodes__ANode___64dparent].val = var1; /* @parent on */ +var2 = NULL; +self->attrs[COLOR_parser_nodes__Prod___n_annotations].val = var2; /* _n_annotations on */ +return self; +} +/* allocate AKwreadableAtid */ +void CHECK_NEW_parser_nodes__AKwreadableAtid(val* self) { +val* var /* : nullable Location */; +val* var1 /* : Token */; +var = self->attrs[COLOR_parser__Prod___first_location].val; /* _first_location on */ +var1 = self->attrs[COLOR_parser_nodes__AAtid___n_id].val; /* _n_id on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _n_id", "src/parser/parser_nodes.nit", 1743); +exit(1); +} +} +/* runtime class parser_nodes__AKwwritableAtid */ +const struct class class_parser_nodes__AKwwritableAtid = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to parser_nodes:AKwwritableAtid:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to parser_nodes:AKwwritableAtid:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to parser_nodes:AKwwritableAtid:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to parser_nodes:AKwwritableAtid:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to parser_nodes:AKwwritableAtid:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to parser_nodes:AKwwritableAtid:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to parser_nodes:AKwwritableAtid:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to parser_nodes:AKwwritableAtid:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to parser_nodes:AKwwritableAtid:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to parser_nodes:AKwwritableAtid:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to parser_nodes:AKwwritableAtid:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to parser_nodes:AKwwritableAtid:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to parser_nodes:AKwwritableAtid:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to parser_nodes:AKwwritableAtid:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to parser_nodes:AKwwritableAtid:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to parser_nodes:AKwwritableAtid:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to parser_nodes:AKwwritableAtid:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to parser_nodes:AKwwritableAtid:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to parser_nodes:AKwwritableAtid:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to parser_nodes:AKwwritableAtid:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to parser_nodes:AKwwritableAtid:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to parser_nodes:AKwwritableAtid:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to parser_nodes:AKwwritableAtid:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to parser_nodes:AKwwritableAtid:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to parser_nodes:AKwwritableAtid:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to parser_nodes:AKwwritableAtid:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to parser_nodes:AKwwritableAtid:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to parser_nodes:AKwwritableAtid:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to parser_nodes:AKwwritableAtid:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to parser_nodes:AKwwritableAtid:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to parser_nodes:AKwwritableAtid:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to parser_nodes:AKwwritableAtid:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to parser_nodes:AKwwritableAtid:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to parser_nodes:AKwwritableAtid:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to parser_nodes:AKwwritableAtid:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to parser_nodes:AKwwritableAtid:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to parser_nodes:AKwwritableAtid:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to parser_nodes:AKwwritableAtid:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to parser_nodes:AKwwritableAtid:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to parser_nodes:AKwwritableAtid:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to parser_nodes:AKwwritableAtid:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__location, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#ANode#location */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__hot_location, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#ANode#hot_location */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__debug, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#ANode#debug */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__parent, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#ANode#parent */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__parent_61d, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#ANode#parent= */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__init, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#ANode#init */ +(nitmethod_t)VIRTUAL_parser_prod__AKwwritableAtid__replace_child, /* pointer to parser_nodes:AKwwritableAtid:parser_prod#AKwwritableAtid#replace_child */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__detach, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#ANode#detach */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__replace_with, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#Prod#replace_with */ +(nitmethod_t)VIRTUAL_parser_prod__AKwwritableAtid__visit_all, /* pointer to parser_nodes:AKwwritableAtid:parser_prod#AKwwritableAtid#visit_all */ +(nitmethod_t)VIRTUAL_parser_util__ANode__collect_tokens_by_text, /* pointer to parser_nodes:AKwwritableAtid:parser_util#ANode#collect_tokens_by_text */ +(nitmethod_t)VIRTUAL_parser_util__ANode__collect_annotations_by_name, /* pointer to parser_nodes:AKwwritableAtid:parser_util#ANode#collect_annotations_by_name */ +(nitmethod_t)VIRTUAL_simple_misc_analysis__ANode__accept_simple_misc, /* pointer to parser_nodes:AKwwritableAtid:simple_misc_analysis#ANode#accept_simple_misc */ +(nitmethod_t)VIRTUAL_simple_misc_analysis__ANode__after_simple_misc, /* pointer to parser_nodes:AKwwritableAtid:simple_misc_analysis#ANode#after_simple_misc */ +(nitmethod_t)VIRTUAL_literal__ANode__accept_literal, /* pointer to parser_nodes:AKwwritableAtid:literal#ANode#accept_literal */ +(nitmethod_t)VIRTUAL_scope__ANode__accept_scope_visitor, /* pointer to parser_nodes:AKwwritableAtid:scope#ANode#accept_scope_visitor */ +(nitmethod_t)VIRTUAL_flow__ANode__accept_flow_visitor, /* pointer to parser_nodes:AKwwritableAtid:flow#ANode#accept_flow_visitor */ +(nitmethod_t)VIRTUAL_local_var_init__ANode__accept_local_var_visitor, /* pointer to parser_nodes:AKwwritableAtid:local_var_init#ANode#accept_local_var_visitor */ +(nitmethod_t)VIRTUAL_auto_super_init__ANode__accept_auto_super_init, /* pointer to parser_nodes:AKwwritableAtid:auto_super_init#ANode#accept_auto_super_init */ +(nitmethod_t)VIRTUAL_rapid_type_analysis__ANode__accept_rapid_type_visitor, /* pointer to parser_nodes:AKwwritableAtid:rapid_type_analysis#ANode#accept_rapid_type_visitor */ +(nitmethod_t)VIRTUAL_astvalidation__ANode__accept_ast_validation, /* pointer to parser_nodes:AKwwritableAtid:astvalidation#ANode#accept_ast_validation */ +(nitmethod_t)VIRTUAL_transform__ANode__accept_transform_visitor, /* pointer to parser_nodes:AKwwritableAtid:transform#ANode#accept_transform_visitor */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__location_61d, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#Prod#location= */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__n_annotations, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#Prod#n_annotations */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__n_annotations_61d, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#Prod#n_annotations= */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__init, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#Prod#init */ +(nitmethod_t)VIRTUAL_modelize_property__Prod__collect_text, /* pointer to parser_nodes:AKwwritableAtid:modelize_property#Prod#collect_text */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__replace_with, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#ANode#replace_with */ +(nitmethod_t)VIRTUAL_parser_nodes__AAtid__n_id, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#AAtid#n_id */ +(nitmethod_t)VIRTUAL_parser_prod__AKwwritableAtid__n_id_61d, /* pointer to parser_nodes:AKwwritableAtid:parser_prod#AKwwritableAtid#n_id= */ +(nitmethod_t)VIRTUAL_parser_nodes__AAtid__init, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#AAtid#init */ +(nitmethod_t)VIRTUAL_parser_nodes__AKwwritableAtid__init, /* pointer to parser_nodes:AKwwritableAtid:parser_nodes#AKwwritableAtid#init */ +(nitmethod_t)VIRTUAL_parser_prod__AKwwritableAtid__empty_init, /* pointer to parser_nodes:AKwwritableAtid:parser_prod#AKwwritableAtid#empty_init */ +(nitmethod_t)VIRTUAL_parser_prod__AKwwritableAtid__init_akwwritableatid, /* pointer to parser_nodes:AKwwritableAtid:parser_prod#AKwwritableAtid#init_akwwritableatid */ +} +}; +/* allocate AKwwritableAtid */ +val* NEW_parser_nodes__AKwwritableAtid(const struct type* type) { +val* self /* : AKwwritableAtid */; +val* var /* : null */; +val* var1 /* : null */; +val* var2 /* : null */; +self = nit_alloc(sizeof(struct instance) + 5*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_parser_nodes__AKwwritableAtid; +var = NULL; +self->attrs[COLOR_parser_nodes__ANode___location].val = var; /* _location on */ +var1 = NULL; +self->attrs[COLOR_parser_nodes__ANode___64dparent].val = var1; /* @parent on */ +var2 = NULL; +self->attrs[COLOR_parser_nodes__Prod___n_annotations].val = var2; /* _n_annotations on */ +return self; +} +/* allocate AKwwritableAtid */ +void CHECK_NEW_parser_nodes__AKwwritableAtid(val* self) { +val* var /* : nullable Location */; +val* var1 /* : Token */; +var = self->attrs[COLOR_parser__Prod___first_location].val; /* _first_location on */ +var1 = self->attrs[COLOR_parser_nodes__AAtid___n_id].val; /* _n_id on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _n_id", "src/parser/parser_nodes.nit", 1743); +exit(1); +} +} +/* runtime class parser_nodes__AKwimportAtid */ +const struct class class_parser_nodes__AKwimportAtid = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to parser_nodes:AKwimportAtid:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to parser_nodes:AKwimportAtid:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to parser_nodes:AKwimportAtid:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to parser_nodes:AKwimportAtid:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to parser_nodes:AKwimportAtid:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to parser_nodes:AKwimportAtid:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to parser_nodes:AKwimportAtid:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to parser_nodes:AKwimportAtid:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to parser_nodes:AKwimportAtid:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to parser_nodes:AKwimportAtid:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to parser_nodes:AKwimportAtid:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to parser_nodes:AKwimportAtid:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to parser_nodes:AKwimportAtid:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to parser_nodes:AKwimportAtid:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to parser_nodes:AKwimportAtid:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to parser_nodes:AKwimportAtid:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to parser_nodes:AKwimportAtid:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to parser_nodes:AKwimportAtid:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to parser_nodes:AKwimportAtid:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to parser_nodes:AKwimportAtid:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to parser_nodes:AKwimportAtid:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to parser_nodes:AKwimportAtid:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to parser_nodes:AKwimportAtid:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to parser_nodes:AKwimportAtid:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to parser_nodes:AKwimportAtid:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to parser_nodes:AKwimportAtid:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to parser_nodes:AKwimportAtid:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to parser_nodes:AKwimportAtid:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to parser_nodes:AKwimportAtid:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to parser_nodes:AKwimportAtid:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to parser_nodes:AKwimportAtid:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to parser_nodes:AKwimportAtid:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to parser_nodes:AKwimportAtid:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to parser_nodes:AKwimportAtid:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to parser_nodes:AKwimportAtid:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to parser_nodes:AKwimportAtid:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to parser_nodes:AKwimportAtid:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to parser_nodes:AKwimportAtid:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to parser_nodes:AKwimportAtid:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to parser_nodes:AKwimportAtid:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to parser_nodes:AKwimportAtid:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__location, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#ANode#location */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__hot_location, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#ANode#hot_location */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__debug, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#ANode#debug */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__parent, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#ANode#parent */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__parent_61d, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#ANode#parent= */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__init, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#ANode#init */ +(nitmethod_t)VIRTUAL_parser_prod__AKwimportAtid__replace_child, /* pointer to parser_nodes:AKwimportAtid:parser_prod#AKwimportAtid#replace_child */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__detach, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#ANode#detach */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__replace_with, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#Prod#replace_with */ +(nitmethod_t)VIRTUAL_parser_prod__AKwimportAtid__visit_all, /* pointer to parser_nodes:AKwimportAtid:parser_prod#AKwimportAtid#visit_all */ +(nitmethod_t)VIRTUAL_parser_util__ANode__collect_tokens_by_text, /* pointer to parser_nodes:AKwimportAtid:parser_util#ANode#collect_tokens_by_text */ +(nitmethod_t)VIRTUAL_parser_util__ANode__collect_annotations_by_name, /* pointer to parser_nodes:AKwimportAtid:parser_util#ANode#collect_annotations_by_name */ +(nitmethod_t)VIRTUAL_simple_misc_analysis__ANode__accept_simple_misc, /* pointer to parser_nodes:AKwimportAtid:simple_misc_analysis#ANode#accept_simple_misc */ +(nitmethod_t)VIRTUAL_simple_misc_analysis__ANode__after_simple_misc, /* pointer to parser_nodes:AKwimportAtid:simple_misc_analysis#ANode#after_simple_misc */ +(nitmethod_t)VIRTUAL_literal__ANode__accept_literal, /* pointer to parser_nodes:AKwimportAtid:literal#ANode#accept_literal */ +(nitmethod_t)VIRTUAL_scope__ANode__accept_scope_visitor, /* pointer to parser_nodes:AKwimportAtid:scope#ANode#accept_scope_visitor */ +(nitmethod_t)VIRTUAL_flow__ANode__accept_flow_visitor, /* pointer to parser_nodes:AKwimportAtid:flow#ANode#accept_flow_visitor */ +(nitmethod_t)VIRTUAL_local_var_init__ANode__accept_local_var_visitor, /* pointer to parser_nodes:AKwimportAtid:local_var_init#ANode#accept_local_var_visitor */ +(nitmethod_t)VIRTUAL_auto_super_init__ANode__accept_auto_super_init, /* pointer to parser_nodes:AKwimportAtid:auto_super_init#ANode#accept_auto_super_init */ +(nitmethod_t)VIRTUAL_rapid_type_analysis__ANode__accept_rapid_type_visitor, /* pointer to parser_nodes:AKwimportAtid:rapid_type_analysis#ANode#accept_rapid_type_visitor */ +(nitmethod_t)VIRTUAL_astvalidation__ANode__accept_ast_validation, /* pointer to parser_nodes:AKwimportAtid:astvalidation#ANode#accept_ast_validation */ +(nitmethod_t)VIRTUAL_transform__ANode__accept_transform_visitor, /* pointer to parser_nodes:AKwimportAtid:transform#ANode#accept_transform_visitor */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__location_61d, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#Prod#location= */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__n_annotations, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#Prod#n_annotations */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__n_annotations_61d, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#Prod#n_annotations= */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__init, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#Prod#init */ +(nitmethod_t)VIRTUAL_modelize_property__Prod__collect_text, /* pointer to parser_nodes:AKwimportAtid:modelize_property#Prod#collect_text */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__replace_with, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#ANode#replace_with */ +(nitmethod_t)VIRTUAL_parser_nodes__AAtid__n_id, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#AAtid#n_id */ +(nitmethod_t)VIRTUAL_parser_prod__AKwimportAtid__n_id_61d, /* pointer to parser_nodes:AKwimportAtid:parser_prod#AKwimportAtid#n_id= */ +(nitmethod_t)VIRTUAL_parser_nodes__AAtid__init, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#AAtid#init */ +(nitmethod_t)VIRTUAL_parser_nodes__AKwimportAtid__init, /* pointer to parser_nodes:AKwimportAtid:parser_nodes#AKwimportAtid#init */ +(nitmethod_t)VIRTUAL_parser_prod__AKwimportAtid__empty_init, /* pointer to parser_nodes:AKwimportAtid:parser_prod#AKwimportAtid#empty_init */ +(nitmethod_t)VIRTUAL_parser_prod__AKwimportAtid__init_akwimportatid, /* pointer to parser_nodes:AKwimportAtid:parser_prod#AKwimportAtid#init_akwimportatid */ +} +}; +/* allocate AKwimportAtid */ +val* NEW_parser_nodes__AKwimportAtid(const struct type* type) { +val* self /* : AKwimportAtid */; +val* var /* : null */; +val* var1 /* : null */; +val* var2 /* : null */; +self = nit_alloc(sizeof(struct instance) + 5*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_parser_nodes__AKwimportAtid; +var = NULL; +self->attrs[COLOR_parser_nodes__ANode___location].val = var; /* _location on */ +var1 = NULL; +self->attrs[COLOR_parser_nodes__ANode___64dparent].val = var1; /* @parent on */ +var2 = NULL; +self->attrs[COLOR_parser_nodes__Prod___n_annotations].val = var2; /* _n_annotations on */ +return self; +} +/* allocate AKwimportAtid */ +void CHECK_NEW_parser_nodes__AKwimportAtid(val* self) { +val* var /* : nullable Location */; +val* var1 /* : Token */; +var = self->attrs[COLOR_parser__Prod___first_location].val; /* _first_location on */ +var1 = self->attrs[COLOR_parser_nodes__AAtid___n_id].val; /* _n_id on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _n_id", "src/parser/parser_nodes.nit", 1743); +exit(1); +} +} +/* runtime class parser_nodes__Start */ +const struct class class_parser_nodes__Start = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to parser_nodes:Start:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to parser_nodes:Start:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to parser_nodes:Start:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to parser_nodes:Start:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to parser_nodes:Start:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to parser_nodes:Start:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to parser_nodes:Start:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to parser_nodes:Start:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to parser_nodes:Start:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to parser_nodes:Start:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to parser_nodes:Start:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to parser_nodes:Start:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to parser_nodes:Start:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to parser_nodes:Start:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to parser_nodes:Start:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to parser_nodes:Start:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to parser_nodes:Start:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to parser_nodes:Start:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to parser_nodes:Start:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to parser_nodes:Start:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to parser_nodes:Start:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to parser_nodes:Start:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to parser_nodes:Start:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to parser_nodes:Start:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to parser_nodes:Start:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to parser_nodes:Start:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to parser_nodes:Start:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to parser_nodes:Start:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to parser_nodes:Start:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to parser_nodes:Start:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to parser_nodes:Start:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to parser_nodes:Start:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to parser_nodes:Start:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to parser_nodes:Start:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to parser_nodes:Start:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to parser_nodes:Start:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to parser_nodes:Start:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to parser_nodes:Start:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to parser_nodes:Start:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to parser_nodes:Start:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to parser_nodes:Start:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__location, /* pointer to parser_nodes:Start:parser_nodes#ANode#location */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__hot_location, /* pointer to parser_nodes:Start:parser_nodes#ANode#hot_location */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__debug, /* pointer to parser_nodes:Start:parser_nodes#ANode#debug */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__parent, /* pointer to parser_nodes:Start:parser_nodes#ANode#parent */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__parent_61d, /* pointer to parser_nodes:Start:parser_nodes#ANode#parent= */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__init, /* pointer to parser_nodes:Start:parser_nodes#ANode#init */ +(nitmethod_t)VIRTUAL_parser_prod__Start__replace_child, /* pointer to parser_nodes:Start:parser_prod#Start#replace_child */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__detach, /* pointer to parser_nodes:Start:parser_nodes#ANode#detach */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__replace_with, /* pointer to parser_nodes:Start:parser_nodes#Prod#replace_with */ +(nitmethod_t)VIRTUAL_parser_prod__Start__visit_all, /* pointer to parser_nodes:Start:parser_prod#Start#visit_all */ +(nitmethod_t)VIRTUAL_parser_util__ANode__collect_tokens_by_text, /* pointer to parser_nodes:Start:parser_util#ANode#collect_tokens_by_text */ +(nitmethod_t)VIRTUAL_parser_util__ANode__collect_annotations_by_name, /* pointer to parser_nodes:Start:parser_util#ANode#collect_annotations_by_name */ +(nitmethod_t)VIRTUAL_simple_misc_analysis__ANode__accept_simple_misc, /* pointer to parser_nodes:Start:simple_misc_analysis#ANode#accept_simple_misc */ +(nitmethod_t)VIRTUAL_simple_misc_analysis__ANode__after_simple_misc, /* pointer to parser_nodes:Start:simple_misc_analysis#ANode#after_simple_misc */ +(nitmethod_t)VIRTUAL_literal__ANode__accept_literal, /* pointer to parser_nodes:Start:literal#ANode#accept_literal */ +(nitmethod_t)VIRTUAL_scope__ANode__accept_scope_visitor, /* pointer to parser_nodes:Start:scope#ANode#accept_scope_visitor */ +(nitmethod_t)VIRTUAL_flow__ANode__accept_flow_visitor, /* pointer to parser_nodes:Start:flow#ANode#accept_flow_visitor */ +(nitmethod_t)VIRTUAL_local_var_init__ANode__accept_local_var_visitor, /* pointer to parser_nodes:Start:local_var_init#ANode#accept_local_var_visitor */ +(nitmethod_t)VIRTUAL_auto_super_init__ANode__accept_auto_super_init, /* pointer to parser_nodes:Start:auto_super_init#ANode#accept_auto_super_init */ +(nitmethod_t)VIRTUAL_rapid_type_analysis__ANode__accept_rapid_type_visitor, /* pointer to parser_nodes:Start:rapid_type_analysis#ANode#accept_rapid_type_visitor */ +(nitmethod_t)VIRTUAL_astvalidation__ANode__accept_ast_validation, /* pointer to parser_nodes:Start:astvalidation#ANode#accept_ast_validation */ +(nitmethod_t)VIRTUAL_transform__ANode__accept_transform_visitor, /* pointer to parser_nodes:Start:transform#ANode#accept_transform_visitor */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__location_61d, /* pointer to parser_nodes:Start:parser_nodes#Prod#location= */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__n_annotations, /* pointer to parser_nodes:Start:parser_nodes#Prod#n_annotations */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__n_annotations_61d, /* pointer to parser_nodes:Start:parser_nodes#Prod#n_annotations= */ +(nitmethod_t)VIRTUAL_parser_nodes__Prod__init, /* pointer to parser_nodes:Start:parser_nodes#Prod#init */ +(nitmethod_t)VIRTUAL_modelize_property__Prod__collect_text, /* pointer to parser_nodes:Start:modelize_property#Prod#collect_text */ +(nitmethod_t)VIRTUAL_parser_nodes__ANode__replace_with, /* pointer to parser_nodes:Start:parser_nodes#ANode#replace_with */ +(nitmethod_t)VIRTUAL_parser_nodes__Start__n_base, /* pointer to parser_nodes:Start:parser_nodes#Start#n_base */ +(nitmethod_t)VIRTUAL_parser_nodes__Start__n_base_61d, /* pointer to parser_nodes:Start:parser_nodes#Start#n_base= */ +(nitmethod_t)VIRTUAL_parser_nodes__Start__n_eof, /* pointer to parser_nodes:Start:parser_nodes#Start#n_eof */ +(nitmethod_t)VIRTUAL_parser_nodes__Start__n_eof_61d, /* pointer to parser_nodes:Start:parser_nodes#Start#n_eof= */ +(nitmethod_t)VIRTUAL_parser_nodes__Start__init, /* pointer to parser_nodes:Start:parser_nodes#Start#init */ +} +}; +/* allocate Start */ +val* NEW_parser_nodes__Start(const struct type* type) { +val* self /* : Start */; +val* var /* : null */; +val* var1 /* : null */; +val* var2 /* : null */; +self = nit_alloc(sizeof(struct instance) + 6*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_parser_nodes__Start; +var = NULL; +self->attrs[COLOR_parser_nodes__ANode___location].val = var; /* _location on */ +var1 = NULL; +self->attrs[COLOR_parser_nodes__ANode___64dparent].val = var1; /* @parent on */ +var2 = NULL; +self->attrs[COLOR_parser_nodes__Prod___n_annotations].val = var2; /* _n_annotations on */ +return self; +} +/* allocate Start */ +void CHECK_NEW_parser_nodes__Start(val* self) { +val* var /* : nullable Location */; +val* var1 /* : nullable AModule */; +val* var2 /* : EOF */; +var = self->attrs[COLOR_parser__Prod___first_location].val; /* _first_location on */ +var1 = self->attrs[COLOR_parser_nodes__Start___n_base].val; /* _n_base on */ +var2 = self->attrs[COLOR_parser_nodes__Start___n_eof].val; /* _n_eof on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _n_eof", "src/parser/parser_nodes.nit", 1768); +exit(1); +} +} +/* runtime class location__SourceFile */ +const struct class class_location__SourceFile = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to location:SourceFile:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to location:SourceFile:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to location:SourceFile:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to location:SourceFile:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to location:SourceFile:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to location:SourceFile:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to location:SourceFile:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to location:SourceFile:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to location:SourceFile:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to location:SourceFile:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to location:SourceFile:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to location:SourceFile:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to location:SourceFile:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to location:SourceFile:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to location:SourceFile:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to location:SourceFile:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to location:SourceFile:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to location:SourceFile:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to location:SourceFile:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to location:SourceFile:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to location:SourceFile:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to location:SourceFile:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to location:SourceFile:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to location:SourceFile:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to location:SourceFile:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to location:SourceFile:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to location:SourceFile:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to location:SourceFile:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to location:SourceFile:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to location:SourceFile:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to location:SourceFile:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to location:SourceFile:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to location:SourceFile:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to location:SourceFile:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to location:SourceFile:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to location:SourceFile:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to location:SourceFile:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to location:SourceFile:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to location:SourceFile:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to location:SourceFile:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to location:SourceFile:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_location__SourceFile__filename, /* pointer to location:SourceFile:location#SourceFile#filename */ +(nitmethod_t)VIRTUAL_location__SourceFile__filename_61d, /* pointer to location:SourceFile:location#SourceFile#filename= */ +(nitmethod_t)VIRTUAL_location__SourceFile__string, /* pointer to location:SourceFile:location#SourceFile#string */ +(nitmethod_t)VIRTUAL_location__SourceFile__string_61d, /* pointer to location:SourceFile:location#SourceFile#string= */ +(nitmethod_t)VIRTUAL_location__SourceFile__init, /* pointer to location:SourceFile:location#SourceFile#init */ +(nitmethod_t)VIRTUAL_location__SourceFile__from_string, /* pointer to location:SourceFile:location#SourceFile#from_string */ +(nitmethod_t)VIRTUAL_location__SourceFile__line_starts, /* pointer to location:SourceFile:location#SourceFile#line_starts */ +(nitmethod_t)VIRTUAL_location__SourceFile__line_starts_61d, /* pointer to location:SourceFile:location#SourceFile#line_starts= */ +} +}; +/* allocate SourceFile */ +val* NEW_location__SourceFile(const struct type* type) { +val* self /* : SourceFile */; +val* var /* : Array[Int] */; +self = nit_alloc(sizeof(struct instance) + 3*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_location__SourceFile; +var = NEW_array__Array(&type_array__Arraykernel__Int); +((void (*)(val*))(var->class->vft[COLOR_array__Array__init]))(var) /* init on */; +CHECK_NEW_array__Array(var); +self->attrs[COLOR_location__SourceFile___64dline_starts].val = var; /* @line_starts on */ +return self; +} +/* allocate SourceFile */ +void CHECK_NEW_location__SourceFile(val* self) { +val* var /* : String */; +val* var1 /* : String */; +var = self->attrs[COLOR_location__SourceFile___64dfilename].val; /* @filename on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @filename", "src/location.nit", 22); +exit(1); +} +var1 = self->attrs[COLOR_location__SourceFile___64dstring].val; /* @string on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @string", "src/location.nit", 25); +exit(1); +} +} +/* runtime class location__Location */ +const struct class class_location__Location = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to location:Location:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to location:Location:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_location__Location___61d_61d, /* pointer to location:Location:location#Location#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to location:Location:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to location:Location:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to location:Location:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to location:Location:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to location:Location:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to location:Location:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_location__Location__to_s, /* pointer to location:Location:location#Location#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to location:Location:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to location:Location:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to location:Location:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to location:Location:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to location:Location:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to location:Location:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to location:Location:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to location:Location:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to location:Location:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to location:Location:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to location:Location:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to location:Location:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to location:Location:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to location:Location:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to location:Location:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to location:Location:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to location:Location:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to location:Location:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to location:Location:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to location:Location:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to location:Location:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to location:Location:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to location:Location:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to location:Location:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to location:Location:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to location:Location:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to location:Location:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to location:Location:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to location:Location:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to location:Location:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to location:Location:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_location__Location___60d, /* pointer to location:Location:location#Location#< */ +(nitmethod_t)VIRTUAL_kernel__Comparable___60d_61d, /* pointer to location:Location:kernel#Comparable#<= */ +(nitmethod_t)VIRTUAL_kernel__Comparable___62d_61d, /* pointer to location:Location:kernel#Comparable#>= */ +(nitmethod_t)VIRTUAL_kernel__Comparable___62d, /* pointer to location:Location:kernel#Comparable#> */ +(nitmethod_t)VIRTUAL_kernel__Comparable___60d_61d_62d, /* pointer to location:Location:kernel#Comparable#<=> */ +(nitmethod_t)VIRTUAL_kernel__Comparable__is_between, /* pointer to location:Location:kernel#Comparable#is_between */ +(nitmethod_t)VIRTUAL_kernel__Comparable__max, /* pointer to location:Location:kernel#Comparable#max */ +(nitmethod_t)VIRTUAL_kernel__Comparable__min, /* pointer to location:Location:kernel#Comparable#min */ +(nitmethod_t)VIRTUAL_location__Location__file, /* pointer to location:Location:location#Location#file */ +(nitmethod_t)VIRTUAL_location__Location__file_61d, /* pointer to location:Location:location#Location#file= */ +(nitmethod_t)VIRTUAL_location__Location__line_start, /* pointer to location:Location:location#Location#line_start */ +(nitmethod_t)VIRTUAL_location__Location__line_start_61d, /* pointer to location:Location:location#Location#line_start= */ +(nitmethod_t)VIRTUAL_location__Location__line_end, /* pointer to location:Location:location#Location#line_end */ +(nitmethod_t)VIRTUAL_location__Location__line_end_61d, /* pointer to location:Location:location#Location#line_end= */ +(nitmethod_t)VIRTUAL_location__Location__column_start, /* pointer to location:Location:location#Location#column_start */ +(nitmethod_t)VIRTUAL_location__Location__column_start_61d, /* pointer to location:Location:location#Location#column_start= */ +(nitmethod_t)VIRTUAL_location__Location__column_end, /* pointer to location:Location:location#Location#column_end */ +(nitmethod_t)VIRTUAL_location__Location__column_end_61d, /* pointer to location:Location:location#Location#column_end= */ +(nitmethod_t)VIRTUAL_location__Location__init, /* pointer to location:Location:location#Location#init */ +(nitmethod_t)VIRTUAL_location__Location__pstart, /* pointer to location:Location:location#Location#pstart */ +(nitmethod_t)VIRTUAL_location__Location__pend, /* pointer to location:Location:location#Location#pend */ +(nitmethod_t)VIRTUAL_location__Location__text, /* pointer to location:Location:location#Location#text */ +(nitmethod_t)VIRTUAL_location__Location__text_cache, /* pointer to location:Location:location#Location#text_cache */ +(nitmethod_t)VIRTUAL_location__Location__text_cache_61d, /* pointer to location:Location:location#Location#text_cache= */ +(nitmethod_t)VIRTUAL_location__Location__with_file, /* pointer to location:Location:location#Location#with_file */ +(nitmethod_t)VIRTUAL_location__Location__located_in, /* pointer to location:Location:location#Location#located_in */ +(nitmethod_t)VIRTUAL_location__Location__relative_to, /* pointer to location:Location:location#Location#relative_to */ +(nitmethod_t)VIRTUAL_location__Location__colored_line, /* pointer to location:Location:location#Location#colored_line */ +} +}; +/* allocate Location */ +val* NEW_location__Location(const struct type* type) { +val* self /* : Location */; +self = nit_alloc(sizeof(struct instance) + 6*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_location__Location; +return self; +} +/* allocate Location */ +void CHECK_NEW_location__Location(val* self) { +val* var /* : nullable SourceFile */; +long var1 /* : Int */; +long var2 /* : Int */; +long var3 /* : Int */; +long var4 /* : Int */; +val* var5 /* : nullable String */; +var = self->attrs[COLOR_location__Location___64dfile].val; /* @file on */ +var1 = self->attrs[COLOR_location__Location___64dline_start].l; /* @line_start on */ +var2 = self->attrs[COLOR_location__Location___64dline_end].l; /* @line_end on */ +var3 = self->attrs[COLOR_location__Location___64dcolumn_start].l; /* @column_start on */ +var4 = self->attrs[COLOR_location__Location___64dcolumn_end].l; /* @column_end on */ +var5 = self->attrs[COLOR_location__Location___64dtext_cache].val; /* @text_cache on */ +} +/* runtime class posix__Passwd */ +const struct class class_posix__Passwd = { +6, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to posix:Passwd:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to posix:Passwd:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to posix:Passwd:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to posix:Passwd:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to posix:Passwd:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to posix:Passwd:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to posix:Passwd:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to posix:Passwd:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to posix:Passwd:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to posix:Passwd:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to posix:Passwd:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to posix:Passwd:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to posix:Passwd:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to posix:Passwd:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to posix:Passwd:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to posix:Passwd:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to posix:Passwd:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to posix:Passwd:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to posix:Passwd:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to posix:Passwd:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to posix:Passwd:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to posix:Passwd:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to posix:Passwd:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to posix:Passwd:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to posix:Passwd:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to posix:Passwd:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to posix:Passwd:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to posix:Passwd:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to posix:Passwd:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to posix:Passwd:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to posix:Passwd:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to posix:Passwd:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to posix:Passwd:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to posix:Passwd:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to posix:Passwd:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to posix:Passwd:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to posix:Passwd:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to posix:Passwd:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to posix:Passwd:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to posix:Passwd:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to posix:Passwd:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_kernel__Pointer__address_is_null, /* pointer to posix:Passwd:kernel#Pointer#address_is_null */ +(nitmethod_t)VIRTUAL_posix__Passwd__from_uid, /* pointer to posix:Passwd:posix#Passwd#from_uid */ +(nitmethod_t)VIRTUAL_posix__Passwd__from_name, /* pointer to posix:Passwd:posix#Passwd#from_name */ +(nitmethod_t)VIRTUAL_posix__Passwd__name, /* pointer to posix:Passwd:posix#Passwd#name */ +(nitmethod_t)VIRTUAL_posix__Passwd__passwd, /* pointer to posix:Passwd:posix#Passwd#passwd */ +(nitmethod_t)VIRTUAL_posix__Passwd__uid, /* pointer to posix:Passwd:posix#Passwd#uid */ +(nitmethod_t)VIRTUAL_posix__Passwd__gid, /* pointer to posix:Passwd:posix#Passwd#gid */ +(nitmethod_t)VIRTUAL_posix__Passwd__gecos, /* pointer to posix:Passwd:posix#Passwd#gecos */ +(nitmethod_t)VIRTUAL_posix__Passwd__dir, /* pointer to posix:Passwd:posix#Passwd#dir */ +(nitmethod_t)VIRTUAL_posix__Passwd__shell, /* pointer to posix:Passwd:posix#Passwd#shell */ +} +}; +/* runtime class posix__Group */ +const struct class class_posix__Group = { +6, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to posix:Group:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to posix:Group:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to posix:Group:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to posix:Group:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to posix:Group:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to posix:Group:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to posix:Group:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to posix:Group:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to posix:Group:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to posix:Group:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to posix:Group:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to posix:Group:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to posix:Group:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to posix:Group:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to posix:Group:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to posix:Group:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to posix:Group:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to posix:Group:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to posix:Group:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to posix:Group:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to posix:Group:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to posix:Group:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to posix:Group:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to posix:Group:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to posix:Group:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to posix:Group:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to posix:Group:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to posix:Group:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to posix:Group:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to posix:Group:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to posix:Group:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to posix:Group:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to posix:Group:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to posix:Group:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to posix:Group:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to posix:Group:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to posix:Group:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to posix:Group:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to posix:Group:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to posix:Group:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to posix:Group:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_kernel__Pointer__address_is_null, /* pointer to posix:Group:kernel#Pointer#address_is_null */ +(nitmethod_t)VIRTUAL_posix__Group__from_gid, /* pointer to posix:Group:posix#Group#from_gid */ +(nitmethod_t)VIRTUAL_posix__Group__from_name, /* pointer to posix:Group:posix#Group#from_name */ +(nitmethod_t)VIRTUAL_posix__Group__name, /* pointer to posix:Group:posix#Group#name */ +(nitmethod_t)VIRTUAL_posix__Group__passwd, /* pointer to posix:Group:posix#Group#passwd */ +(nitmethod_t)VIRTUAL_posix__Group__gid, /* pointer to posix:Group:posix#Group#gid */ +(nitmethod_t)VIRTUAL_posix__Group__mem, /* pointer to posix:Group:posix#Group#mem */ +} +}; +/* runtime class string__String */ +const struct class class_string__String = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to string:String:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to string:String:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_ropes__String___61d_61d, /* pointer to string:String:ropes#String#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to string:String:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_string__String__output, /* pointer to string:String:string#String#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to string:String:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to string:String:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to string:String:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_string__String__hash, /* pointer to string:String:string#String#hash */ +(nitmethod_t)VIRTUAL_string__String__to_s, /* pointer to string:String:string#String#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to string:String:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to string:String:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to string:String:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to string:String:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to string:String:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to string:String:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to string:String:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to string:String:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to string:String:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to string:String:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to string:String:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to string:String:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to string:String:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to string:String:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to string:String:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to string:String:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to string:String:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to string:String:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to string:String:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to string:String:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to string:String:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to string:String:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to string:String:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to string:String:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to string:String:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to string:String:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to string:String:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to string:String:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to string:String:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to string:String:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to string:String:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_string__String___60d, /* pointer to string:String:string#String#< */ +(nitmethod_t)VIRTUAL_kernel__Comparable___60d_61d, /* pointer to string:String:kernel#Comparable#<= */ +(nitmethod_t)VIRTUAL_kernel__Comparable___62d_61d, /* pointer to string:String:kernel#Comparable#>= */ +(nitmethod_t)VIRTUAL_kernel__Comparable___62d, /* pointer to string:String:kernel#Comparable#> */ +(nitmethod_t)VIRTUAL_kernel__Comparable___60d_61d_62d, /* pointer to string:String:kernel#Comparable#<=> */ +(nitmethod_t)VIRTUAL_kernel__Comparable__is_between, /* pointer to string:String:kernel#Comparable#is_between */ +(nitmethod_t)VIRTUAL_kernel__Comparable__max, /* pointer to string:String:kernel#Comparable#max */ +(nitmethod_t)VIRTUAL_kernel__Comparable__min, /* pointer to string:String:kernel#Comparable#min */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_string_search__String__search_index_in, /* pointer to string:String:string_search#String#search_index_in */ +(nitmethod_t)VIRTUAL_string_search__String__search_in, /* pointer to string:String:string_search#String#search_in */ +(nitmethod_t)VIRTUAL_string_search__Pattern__search_all_in, /* pointer to string:String:string_search#Pattern#search_all_in */ +(nitmethod_t)VIRTUAL_string_search__Pattern__split_in, /* pointer to string:String:string_search#Pattern#split_in */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__iterator, /* pointer to string:String:array#AbstractArrayRead#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__iterate, /* pointer to string:String:abstract_collection#Collection#iterate */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__is_empty, /* pointer to string:String:array#AbstractArrayRead#is_empty */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__length, /* pointer to string:String:array#AbstractArrayRead#length */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__has, /* pointer to string:String:array#AbstractArrayRead#has */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__has_only, /* pointer to string:String:array#AbstractArrayRead#has_only */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__count, /* pointer to string:String:array#AbstractArrayRead#count */ +(nitmethod_t)VIRTUAL_abstract_collection__SequenceRead__first, /* pointer to string:String:abstract_collection#SequenceRead#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to string:String:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to string:String:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to string:String:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to string:String:math#Collection#rand */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_string__String___91d_93d, /* pointer to string:String:string#String#[] */ +(nitmethod_t)VIRTUAL_abstract_collection__SequenceRead__last, /* pointer to string:String:abstract_collection#SequenceRead#last */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__index_of, /* pointer to string:String:array#AbstractArrayRead#index_of */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__last_index_of, /* pointer to string:String:array#AbstractArrayRead#last_index_of */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__index_of_from, /* pointer to string:String:array#AbstractArrayRead#index_of_from */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__last_index_of_from, /* pointer to string:String:array#AbstractArrayRead#last_index_of_from */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__reversed, /* pointer to string:String:array#AbstractArrayRead#reversed */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__copy_to, /* pointer to string:String:array#AbstractArrayRead#copy_to */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__init, /* pointer to string:String:array#AbstractArrayRead#init */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_string__AbstractString__items, /* pointer to string:String:string#AbstractString#items */ +(nitmethod_t)VIRTUAL_string__String__substring, /* pointer to string:String:string#String#substring */ +(nitmethod_t)VIRTUAL_string__String__substring_from, /* pointer to string:String:string#String#substring_from */ +(nitmethod_t)VIRTUAL_string__String__has_substring, /* pointer to string:String:string#String#has_substring */ +(nitmethod_t)VIRTUAL_string__AbstractString__has_prefix, /* pointer to string:String:string#AbstractString#has_prefix */ +(nitmethod_t)VIRTUAL_string__AbstractString__has_suffix, /* pointer to string:String:string#AbstractString#has_suffix */ +(nitmethod_t)VIRTUAL_string__AbstractString__to_i, /* pointer to string:String:string#AbstractString#to_i */ +(nitmethod_t)VIRTUAL_string__AbstractString__to_f, /* pointer to string:String:string#AbstractString#to_f */ +(nitmethod_t)VIRTUAL_string__AbstractString__to_hex, /* pointer to string:String:string#AbstractString#to_hex */ +(nitmethod_t)VIRTUAL_string__AbstractString__a_to, /* pointer to string:String:string#AbstractString#a_to */ +(nitmethod_t)VIRTUAL_string__AbstractString__is_numeric, /* pointer to string:String:string#AbstractString#is_numeric */ +(nitmethod_t)VIRTUAL_string__String__to_upper, /* pointer to string:String:string#String#to_upper */ +(nitmethod_t)VIRTUAL_string__String__to_lower, /* pointer to string:String:string#String#to_lower */ +(nitmethod_t)VIRTUAL_string__String__trim, /* pointer to string:String:string#String#trim */ +(nitmethod_t)VIRTUAL_string__AbstractString__to_cmangle, /* pointer to string:String:string#AbstractString#to_cmangle */ +(nitmethod_t)VIRTUAL_string__AbstractString__escape_to_c, /* pointer to string:String:string#AbstractString#escape_to_c */ +(nitmethod_t)VIRTUAL_string__AbstractString__escape_more_to_c, /* pointer to string:String:string#AbstractString#escape_more_to_c */ +(nitmethod_t)VIRTUAL_string__AbstractString__escape_to_nit, /* pointer to string:String:string#AbstractString#escape_to_nit */ +(nitmethod_t)VIRTUAL_string__AbstractString__unescape_nit, /* pointer to string:String:string#AbstractString#unescape_nit */ +(nitmethod_t)VIRTUAL_string__AbstractString__init, /* pointer to string:String:string#AbstractString#init */ +(nitmethod_t)VIRTUAL_string__StringCapable__calloc_string, /* pointer to string:String:string#StringCapable#calloc_string */ +(nitmethod_t)VIRTUAL_string__String__index_from, /* pointer to string:String:string#String#index_from */ +(nitmethod_t)VIRTUAL_string__String__index_to, /* pointer to string:String:string#String#index_to */ +(nitmethod_t)VIRTUAL_string__String__from_substring, /* pointer to string:String:string#String#from_substring */ +(nitmethod_t)VIRTUAL_string__String__with_infos, /* pointer to string:String:string#String#with_infos */ +(nitmethod_t)VIRTUAL_string__String__to_cstring, /* pointer to string:String:string#String#to_cstring */ +(nitmethod_t)VIRTUAL_string__String___43d, /* pointer to string:String:string#String#+ */ +(nitmethod_t)VIRTUAL_string__String___42d, /* pointer to string:String:string#String#* */ +(nitmethod_t)VIRTUAL_string_search__String__search, /* pointer to string:String:string_search#String#search */ +(nitmethod_t)VIRTUAL_string_search__String__search_from, /* pointer to string:String:string_search#String#search_from */ +(nitmethod_t)VIRTUAL_string_search__String__search_all, /* pointer to string:String:string_search#String#search_all */ +(nitmethod_t)VIRTUAL_string_search__String__split, /* pointer to string:String:string_search#String#split */ +(nitmethod_t)VIRTUAL_string_search__String__split_with, /* pointer to string:String:string_search#String#split_with */ +(nitmethod_t)VIRTUAL_string_search__String__replace, /* pointer to string:String:string_search#String#replace */ +(nitmethod_t)VIRTUAL_string_search__String__html_escape, /* pointer to string:String:string_search#String#html_escape */ +(nitmethod_t)VIRTUAL_environ__String__environ, /* pointer to string:String:environ#String#environ */ +(nitmethod_t)VIRTUAL_environ__String__setenv, /* pointer to string:String:environ#String#setenv */ +(nitmethod_t)VIRTUAL_file__String__file_exists, /* pointer to string:String:file#String#file_exists */ +(nitmethod_t)VIRTUAL_file__String__file_stat, /* pointer to string:String:file#String#file_stat */ +(nitmethod_t)VIRTUAL_file__String__file_lstat, /* pointer to string:String:file#String#file_lstat */ +(nitmethod_t)VIRTUAL_file__String__file_delete, /* pointer to string:String:file#String#file_delete */ +(nitmethod_t)VIRTUAL_file__String__strip_extension, /* pointer to string:String:file#String#strip_extension */ +(nitmethod_t)VIRTUAL_file__String__basename, /* pointer to string:String:file#String#basename */ +(nitmethod_t)VIRTUAL_file__String__dirname, /* pointer to string:String:file#String#dirname */ +(nitmethod_t)VIRTUAL_file__String__simplify_path, /* pointer to string:String:file#String#simplify_path */ +(nitmethod_t)VIRTUAL_file__String__join_path, /* pointer to string:String:file#String#join_path */ +(nitmethod_t)VIRTUAL_file__String__mkdir, /* pointer to string:String:file#String#mkdir */ +(nitmethod_t)VIRTUAL_file__String__chdir, /* pointer to string:String:file#String#chdir */ +(nitmethod_t)VIRTUAL_file__String__file_extension, /* pointer to string:String:file#String#file_extension */ +(nitmethod_t)VIRTUAL_file__String__files, /* pointer to string:String:file#String#files */ +(nitmethod_t)VIRTUAL_string__String___61d_61d, /* pointer to string:String:string#String#== */ +} +}; +/* allocate String */ +val* NEW_string__String(const struct type* type) { +val* self /* : String */; +long var /* : Int */; +self = nit_alloc(sizeof(struct instance) + 4*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_string__String; +var = 0; +self->attrs[COLOR_array__AbstractArrayRead___length].l = var; /* _length on */ +return self; +} +/* allocate String */ +void CHECK_NEW_string__String(val* self) { +char* var /* : NativeString */; +long var1 /* : Int */; +long var2 /* : Int */; +var = self->attrs[COLOR_string__AbstractString___items].str; /* _items on */ +var1 = self->attrs[COLOR_string__String___index_from].l; /* _index_from on */ +var2 = self->attrs[COLOR_string__String___index_to].l; /* _index_to on */ +} +/* runtime class string__Buffer */ +const struct class class_string__Buffer = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to string:Buffer:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to string:Buffer:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_ropes__Buffer___61d_61d, /* pointer to string:Buffer:ropes#Buffer#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to string:Buffer:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_string__AbstractString__output, /* pointer to string:Buffer:string#AbstractString#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to string:Buffer:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to string:Buffer:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to string:Buffer:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_abstract_collection__SequenceRead__hash, /* pointer to string:Buffer:abstract_collection#SequenceRead#hash */ +(nitmethod_t)VIRTUAL_string__Buffer__to_s, /* pointer to string:Buffer:string#Buffer#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to string:Buffer:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to string:Buffer:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to string:Buffer:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to string:Buffer:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to string:Buffer:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to string:Buffer:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to string:Buffer:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to string:Buffer:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to string:Buffer:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to string:Buffer:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to string:Buffer:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to string:Buffer:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to string:Buffer:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to string:Buffer:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to string:Buffer:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to string:Buffer:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to string:Buffer:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to string:Buffer:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to string:Buffer:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to string:Buffer:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to string:Buffer:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to string:Buffer:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to string:Buffer:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to string:Buffer:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to string:Buffer:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to string:Buffer:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to string:Buffer:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to string:Buffer:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to string:Buffer:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to string:Buffer:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to string:Buffer:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_string__Buffer___60d, /* pointer to string:Buffer:string#Buffer#< */ +(nitmethod_t)VIRTUAL_kernel__Comparable___60d_61d, /* pointer to string:Buffer:kernel#Comparable#<= */ +(nitmethod_t)VIRTUAL_kernel__Comparable___62d_61d, /* pointer to string:Buffer:kernel#Comparable#>= */ +(nitmethod_t)VIRTUAL_kernel__Comparable___62d, /* pointer to string:Buffer:kernel#Comparable#> */ +(nitmethod_t)VIRTUAL_kernel__Comparable___60d_61d_62d, /* pointer to string:Buffer:kernel#Comparable#<=> */ +(nitmethod_t)VIRTUAL_kernel__Comparable__is_between, /* pointer to string:Buffer:kernel#Comparable#is_between */ +(nitmethod_t)VIRTUAL_kernel__Comparable__max, /* pointer to string:Buffer:kernel#Comparable#max */ +(nitmethod_t)VIRTUAL_kernel__Comparable__min, /* pointer to string:Buffer:kernel#Comparable#min */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__iterator, /* pointer to string:Buffer:array#AbstractArrayRead#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__iterate, /* pointer to string:Buffer:abstract_collection#Collection#iterate */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__is_empty, /* pointer to string:Buffer:array#AbstractArrayRead#is_empty */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__length, /* pointer to string:Buffer:array#AbstractArrayRead#length */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__has, /* pointer to string:Buffer:array#AbstractArrayRead#has */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__has_only, /* pointer to string:Buffer:array#AbstractArrayRead#has_only */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__count, /* pointer to string:Buffer:array#AbstractArrayRead#count */ +(nitmethod_t)VIRTUAL_abstract_collection__SequenceRead__first, /* pointer to string:Buffer:abstract_collection#SequenceRead#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to string:Buffer:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to string:Buffer:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to string:Buffer:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to string:Buffer:math#Collection#rand */ +(nitmethod_t)VIRTUAL_array__AbstractArray__clear, /* pointer to string:Buffer:array#AbstractArray#clear */ +(nitmethod_t)VIRTUAL_array__AbstractArray__remove, /* pointer to string:Buffer:array#AbstractArray#remove */ +(nitmethod_t)VIRTUAL_array__AbstractArray__remove_all, /* pointer to string:Buffer:array#AbstractArray#remove_all */ +(nitmethod_t)VIRTUAL_string__Buffer__add, /* pointer to string:Buffer:string#Buffer#add */ +(nitmethod_t)VIRTUAL_abstract_collection__SimpleCollection__add_all, /* pointer to string:Buffer:abstract_collection#SimpleCollection#add_all */ +(nitmethod_t)VIRTUAL_string__AbstractString___91d_93d, /* pointer to string:Buffer:string#AbstractString#[] */ +(nitmethod_t)VIRTUAL_abstract_collection__SequenceRead__last, /* pointer to string:Buffer:abstract_collection#SequenceRead#last */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__index_of, /* pointer to string:Buffer:array#AbstractArrayRead#index_of */ +(nitmethod_t)VIRTUAL_abstract_collection__Sequence__first_61d, /* pointer to string:Buffer:abstract_collection#Sequence#first= */ +(nitmethod_t)VIRTUAL_abstract_collection__Sequence__last_61d, /* pointer to string:Buffer:abstract_collection#Sequence#last= */ +(nitmethod_t)VIRTUAL_array__AbstractArray__push, /* pointer to string:Buffer:array#AbstractArray#push */ +(nitmethod_t)VIRTUAL_string__Buffer__append, /* pointer to string:Buffer:string#Buffer#append */ +(nitmethod_t)VIRTUAL_array__AbstractArray__pop, /* pointer to string:Buffer:array#AbstractArray#pop */ +(nitmethod_t)VIRTUAL_array__AbstractArray__unshift, /* pointer to string:Buffer:array#AbstractArray#unshift */ +(nitmethod_t)VIRTUAL_array__AbstractArray__shift, /* pointer to string:Buffer:array#AbstractArray#shift */ +(nitmethod_t)VIRTUAL_string__Buffer___91d_93d_61d, /* pointer to string:Buffer:string#Buffer#[]= */ +(nitmethod_t)VIRTUAL_array__AbstractArray__remove_at, /* pointer to string:Buffer:array#AbstractArray#remove_at */ +(nitmethod_t)VIRTUAL_collection__Sequence__subarray, /* pointer to string:Buffer:collection#Sequence#subarray */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__last_index_of, /* pointer to string:Buffer:array#AbstractArrayRead#last_index_of */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__index_of_from, /* pointer to string:Buffer:array#AbstractArrayRead#index_of_from */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__last_index_of_from, /* pointer to string:Buffer:array#AbstractArrayRead#last_index_of_from */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__reversed, /* pointer to string:Buffer:array#AbstractArrayRead#reversed */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__copy_to, /* pointer to string:Buffer:array#AbstractArrayRead#copy_to */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__init, /* pointer to string:Buffer:array#AbstractArrayRead#init */ +(nitmethod_t)VIRTUAL_string__Buffer__enlarge, /* pointer to string:Buffer:string#Buffer#enlarge */ +(nitmethod_t)VIRTUAL_array__AbstractArray__insert, /* pointer to string:Buffer:array#AbstractArray#insert */ +(nitmethod_t)VIRTUAL_array__AbstractArray__swap_at, /* pointer to string:Buffer:array#AbstractArray#swap_at */ +(nitmethod_t)VIRTUAL_array__AbstractArray__init, /* pointer to string:Buffer:array#AbstractArray#init */ +(nitmethod_t)VIRTUAL_string__AbstractString__items, /* pointer to string:Buffer:string#AbstractString#items */ +(nitmethod_t)VIRTUAL_string__AbstractString__substring, /* pointer to string:Buffer:string#AbstractString#substring */ +(nitmethod_t)VIRTUAL_string__AbstractString__substring_from, /* pointer to string:Buffer:string#AbstractString#substring_from */ +(nitmethod_t)VIRTUAL_string__AbstractString__has_substring, /* pointer to string:Buffer:string#AbstractString#has_substring */ +(nitmethod_t)VIRTUAL_string__AbstractString__has_prefix, /* pointer to string:Buffer:string#AbstractString#has_prefix */ +(nitmethod_t)VIRTUAL_string__AbstractString__has_suffix, /* pointer to string:Buffer:string#AbstractString#has_suffix */ +(nitmethod_t)VIRTUAL_string__AbstractString__to_i, /* pointer to string:Buffer:string#AbstractString#to_i */ +(nitmethod_t)VIRTUAL_string__AbstractString__to_f, /* pointer to string:Buffer:string#AbstractString#to_f */ +(nitmethod_t)VIRTUAL_string__AbstractString__to_hex, /* pointer to string:Buffer:string#AbstractString#to_hex */ +(nitmethod_t)VIRTUAL_string__AbstractString__a_to, /* pointer to string:Buffer:string#AbstractString#a_to */ +(nitmethod_t)VIRTUAL_string__AbstractString__is_numeric, /* pointer to string:Buffer:string#AbstractString#is_numeric */ +(nitmethod_t)VIRTUAL_string__AbstractString__to_upper, /* pointer to string:Buffer:string#AbstractString#to_upper */ +(nitmethod_t)VIRTUAL_string__AbstractString__to_lower, /* pointer to string:Buffer:string#AbstractString#to_lower */ +(nitmethod_t)VIRTUAL_string__AbstractString__trim, /* pointer to string:Buffer:string#AbstractString#trim */ +(nitmethod_t)VIRTUAL_string__AbstractString__to_cmangle, /* pointer to string:Buffer:string#AbstractString#to_cmangle */ +(nitmethod_t)VIRTUAL_string__AbstractString__escape_to_c, /* pointer to string:Buffer:string#AbstractString#escape_to_c */ +(nitmethod_t)VIRTUAL_string__AbstractString__escape_more_to_c, /* pointer to string:Buffer:string#AbstractString#escape_more_to_c */ +(nitmethod_t)VIRTUAL_string__AbstractString__escape_to_nit, /* pointer to string:Buffer:string#AbstractString#escape_to_nit */ +(nitmethod_t)VIRTUAL_string__AbstractString__unescape_nit, /* pointer to string:Buffer:string#AbstractString#unescape_nit */ +(nitmethod_t)VIRTUAL_string__AbstractString__init, /* pointer to string:Buffer:string#AbstractString#init */ +(nitmethod_t)VIRTUAL_string__StringCapable__calloc_string, /* pointer to string:Buffer:string#StringCapable#calloc_string */ +(nitmethod_t)VIRTUAL_string__Buffer__init, /* pointer to string:Buffer:string#Buffer#init */ +(nitmethod_t)VIRTUAL_string__Buffer__from, /* pointer to string:Buffer:string#Buffer#from */ +(nitmethod_t)VIRTUAL_string__Buffer__with_capacity, /* pointer to string:Buffer:string#Buffer#with_capacity */ +(nitmethod_t)VIRTUAL_string__Buffer__capacity, /* pointer to string:Buffer:string#Buffer#capacity */ +(nitmethod_t)VIRTUAL_string__Buffer___61d_61d, /* pointer to string:Buffer:string#Buffer#== */ +(nitmethod_t)VIRTUAL_abstract_collection__Sequence__append, /* pointer to string:Buffer:abstract_collection#Sequence#append */ +} +}; +/* allocate Buffer */ +val* NEW_string__Buffer(const struct type* type) { +val* self /* : Buffer */; +long var /* : Int */; +self = nit_alloc(sizeof(struct instance) + 3*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_string__Buffer; +var = 0; +self->attrs[COLOR_array__AbstractArrayRead___length].l = var; /* _length on */ +return self; +} +/* allocate Buffer */ +void CHECK_NEW_string__Buffer(val* self) { +char* var /* : NativeString */; +long var1 /* : Int */; +var = self->attrs[COLOR_string__AbstractString___items].str; /* _items on */ +var1 = self->attrs[COLOR_string__Buffer___capacity].l; /* _capacity on */ +} +/* runtime class string__NativeString */ +const struct class class_string__NativeString = { +5, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to string:NativeString:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to string:NativeString:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to string:NativeString:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to string:NativeString:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to string:NativeString:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to string:NativeString:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to string:NativeString:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to string:NativeString:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to string:NativeString:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__NativeString__to_s, /* pointer to string:NativeString:string#NativeString#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to string:NativeString:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to string:NativeString:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to string:NativeString:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to string:NativeString:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to string:NativeString:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to string:NativeString:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to string:NativeString:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to string:NativeString:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to string:NativeString:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to string:NativeString:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to string:NativeString:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to string:NativeString:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to string:NativeString:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to string:NativeString:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to string:NativeString:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to string:NativeString:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to string:NativeString:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to string:NativeString:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to string:NativeString:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to string:NativeString:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to string:NativeString:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to string:NativeString:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to string:NativeString:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to string:NativeString:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to string:NativeString:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to string:NativeString:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to string:NativeString:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to string:NativeString:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to string:NativeString:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to string:NativeString:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to string:NativeString:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_string__StringCapable__calloc_string, /* pointer to string:NativeString:string#StringCapable#calloc_string */ +(nitmethod_t)VIRTUAL_string__NativeString___91d_93d, /* pointer to string:NativeString:string#NativeString#[] */ +(nitmethod_t)VIRTUAL_string__NativeString___91d_93d_61d, /* pointer to string:NativeString:string#NativeString#[]= */ +(nitmethod_t)VIRTUAL_string__NativeString__copy_to, /* pointer to string:NativeString:string#NativeString#copy_to */ +(nitmethod_t)VIRTUAL_string__NativeString__cstring_length, /* pointer to string:NativeString:string#NativeString#cstring_length */ +(nitmethod_t)VIRTUAL_string__NativeString__atoi, /* pointer to string:NativeString:string#NativeString#atoi */ +(nitmethod_t)VIRTUAL_string__NativeString__atof, /* pointer to string:NativeString:string#NativeString#atof */ +(nitmethod_t)VIRTUAL_string__NativeString__to_s_with_length, /* pointer to string:NativeString:string#NativeString#to_s_with_length */ +(nitmethod_t)VIRTUAL_string__NativeString__to_s_with_copy, /* pointer to string:NativeString:string#NativeString#to_s_with_copy */ +(nitmethod_t)VIRTUAL_string__NativeString__init, /* pointer to string:NativeString:string#NativeString#init */ +(nitmethod_t)VIRTUAL_environ__NativeString__get_environ, /* pointer to string:NativeString:environ#NativeString#get_environ */ +(nitmethod_t)VIRTUAL_environ__NativeString__setenv, /* pointer to string:NativeString:environ#NativeString#setenv */ +(nitmethod_t)VIRTUAL_exec__NativeString__system, /* pointer to string:NativeString:exec#NativeString#system */ +(nitmethod_t)VIRTUAL_file__NativeString__file_exists, /* pointer to string:NativeString:file#NativeString#file_exists */ +(nitmethod_t)VIRTUAL_file__NativeString__file_stat, /* pointer to string:NativeString:file#NativeString#file_stat */ +(nitmethod_t)VIRTUAL_file__NativeString__file_lstat, /* pointer to string:NativeString:file#NativeString#file_lstat */ +(nitmethod_t)VIRTUAL_file__NativeString__file_mkdir, /* pointer to string:NativeString:file#NativeString#file_mkdir */ +(nitmethod_t)VIRTUAL_file__NativeString__file_delete, /* pointer to string:NativeString:file#NativeString#file_delete */ +(nitmethod_t)VIRTUAL_file__NativeString__file_chdir, /* pointer to string:NativeString:file#NativeString#file_chdir */ +} +}; +/* allocate NativeString */ +val* BOX_string__NativeString(char* value) { +struct instance_string__NativeString*res = nit_alloc(sizeof(struct instance_string__NativeString)); +res->type = &type_string__NativeString; +res->class = &class_string__NativeString; +res->value = value; +return (val*)res; +} +/* runtime class abstract_collection__Container */ +/* allocate Container[nullable Object] */ +val* NEW_abstract_collection__Container(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "Container is DEAD"); +exit(1); +} +/* allocate Container[nullable Object] */ +void CHECK_NEW_abstract_collection__Container(val* self) { +fprintf(stderr, "Runtime error: %s\n", "Container is DEAD"); +exit(1); +} +/* runtime class abstract_collection__ContainerIterator */ +const struct class class_abstract_collection__ContainerIterator = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to abstract_collection:ContainerIterator:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to abstract_collection:ContainerIterator:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to abstract_collection:ContainerIterator:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to abstract_collection:ContainerIterator:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to abstract_collection:ContainerIterator:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to abstract_collection:ContainerIterator:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to abstract_collection:ContainerIterator:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to abstract_collection:ContainerIterator:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to abstract_collection:ContainerIterator:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to abstract_collection:ContainerIterator:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to abstract_collection:ContainerIterator:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to abstract_collection:ContainerIterator:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to abstract_collection:ContainerIterator:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to abstract_collection:ContainerIterator:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to abstract_collection:ContainerIterator:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to abstract_collection:ContainerIterator:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to abstract_collection:ContainerIterator:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to abstract_collection:ContainerIterator:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to abstract_collection:ContainerIterator:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to abstract_collection:ContainerIterator:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to abstract_collection:ContainerIterator:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to abstract_collection:ContainerIterator:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to abstract_collection:ContainerIterator:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to abstract_collection:ContainerIterator:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to abstract_collection:ContainerIterator:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to abstract_collection:ContainerIterator:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to abstract_collection:ContainerIterator:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to abstract_collection:ContainerIterator:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to abstract_collection:ContainerIterator:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to abstract_collection:ContainerIterator:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to abstract_collection:ContainerIterator:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to abstract_collection:ContainerIterator:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to abstract_collection:ContainerIterator:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to abstract_collection:ContainerIterator:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to abstract_collection:ContainerIterator:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to abstract_collection:ContainerIterator:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to abstract_collection:ContainerIterator:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to abstract_collection:ContainerIterator:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to abstract_collection:ContainerIterator:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to abstract_collection:ContainerIterator:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to abstract_collection:ContainerIterator:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_abstract_collection__ContainerIterator__item, /* pointer to abstract_collection:ContainerIterator:abstract_collection#ContainerIterator#item */ +(nitmethod_t)VIRTUAL_abstract_collection__ContainerIterator__next, /* pointer to abstract_collection:ContainerIterator:abstract_collection#ContainerIterator#next */ +(nitmethod_t)VIRTUAL_abstract_collection__ContainerIterator__is_ok, /* pointer to abstract_collection:ContainerIterator:abstract_collection#ContainerIterator#is_ok */ +(nitmethod_t)VIRTUAL_array__Iterator__to_a, /* pointer to abstract_collection:ContainerIterator:array#Iterator#to_a */ +(nitmethod_t)VIRTUAL_abstract_collection__ContainerIterator__init, /* pointer to abstract_collection:ContainerIterator:abstract_collection#ContainerIterator#init */ +} +}; +/* allocate ContainerIterator[nullable Object] */ +val* NEW_abstract_collection__ContainerIterator(const struct type* type) { +val* self /* : ContainerIterator[nullable Object] */; +short int var /* : Bool */; +self = nit_alloc(sizeof(struct instance) + 2*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_abstract_collection__ContainerIterator; +var = 1; +self->attrs[COLOR_abstract_collection__ContainerIterator___is_ok].s = var; /* _is_ok on */ +return self; +} +/* allocate ContainerIterator[nullable Object] */ +void CHECK_NEW_abstract_collection__ContainerIterator(val* self) { +val* var /* : Container[nullable Object] */; +var = self->attrs[COLOR_abstract_collection__ContainerIterator___container].val; /* _container on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _container", "lib/standard/collection/abstract_collection.nit", 207); +exit(1); +} +} +/* runtime class abstract_collection__MapKeysIterator */ +const struct class class_abstract_collection__MapKeysIterator = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to abstract_collection:MapKeysIterator:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to abstract_collection:MapKeysIterator:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to abstract_collection:MapKeysIterator:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to abstract_collection:MapKeysIterator:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to abstract_collection:MapKeysIterator:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to abstract_collection:MapKeysIterator:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to abstract_collection:MapKeysIterator:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to abstract_collection:MapKeysIterator:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to abstract_collection:MapKeysIterator:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to abstract_collection:MapKeysIterator:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to abstract_collection:MapKeysIterator:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to abstract_collection:MapKeysIterator:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to abstract_collection:MapKeysIterator:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to abstract_collection:MapKeysIterator:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to abstract_collection:MapKeysIterator:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to abstract_collection:MapKeysIterator:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to abstract_collection:MapKeysIterator:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to abstract_collection:MapKeysIterator:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to abstract_collection:MapKeysIterator:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to abstract_collection:MapKeysIterator:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to abstract_collection:MapKeysIterator:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to abstract_collection:MapKeysIterator:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to abstract_collection:MapKeysIterator:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to abstract_collection:MapKeysIterator:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to abstract_collection:MapKeysIterator:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to abstract_collection:MapKeysIterator:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to abstract_collection:MapKeysIterator:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to abstract_collection:MapKeysIterator:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to abstract_collection:MapKeysIterator:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to abstract_collection:MapKeysIterator:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to abstract_collection:MapKeysIterator:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to abstract_collection:MapKeysIterator:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to abstract_collection:MapKeysIterator:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to abstract_collection:MapKeysIterator:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to abstract_collection:MapKeysIterator:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to abstract_collection:MapKeysIterator:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to abstract_collection:MapKeysIterator:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to abstract_collection:MapKeysIterator:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to abstract_collection:MapKeysIterator:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to abstract_collection:MapKeysIterator:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to abstract_collection:MapKeysIterator:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_abstract_collection__MapKeysIterator__item, /* pointer to abstract_collection:MapKeysIterator:abstract_collection#MapKeysIterator#item */ +(nitmethod_t)VIRTUAL_abstract_collection__MapKeysIterator__next, /* pointer to abstract_collection:MapKeysIterator:abstract_collection#MapKeysIterator#next */ +(nitmethod_t)VIRTUAL_abstract_collection__MapKeysIterator__is_ok, /* pointer to abstract_collection:MapKeysIterator:abstract_collection#MapKeysIterator#is_ok */ +(nitmethod_t)VIRTUAL_array__Iterator__to_a, /* pointer to abstract_collection:MapKeysIterator:array#Iterator#to_a */ +(nitmethod_t)VIRTUAL_abstract_collection__MapKeysIterator__iterator, /* pointer to abstract_collection:MapKeysIterator:abstract_collection#MapKeysIterator#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__MapKeysIterator__iterator_61d, /* pointer to abstract_collection:MapKeysIterator:abstract_collection#MapKeysIterator#iterator= */ +(nitmethod_t)VIRTUAL_abstract_collection__MapKeysIterator__init, /* pointer to abstract_collection:MapKeysIterator:abstract_collection#MapKeysIterator#init */ +} +}; +/* allocate MapKeysIterator[Object, nullable Object] */ +val* NEW_abstract_collection__MapKeysIterator(const struct type* type) { +val* self /* : MapKeysIterator[Object, nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_abstract_collection__MapKeysIterator; +return self; +} +/* allocate MapKeysIterator[Object, nullable Object] */ +void CHECK_NEW_abstract_collection__MapKeysIterator(val* self) { +val* var /* : MapIterator[Object, nullable Object] */; +var = self->attrs[COLOR_abstract_collection__MapKeysIterator___64diterator].val; /* @iterator on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @iterator", "lib/standard/collection/abstract_collection.nit", 406); +exit(1); +} +} +/* runtime class abstract_collection__MapValuesIterator */ +const struct class class_abstract_collection__MapValuesIterator = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to abstract_collection:MapValuesIterator:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to abstract_collection:MapValuesIterator:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to abstract_collection:MapValuesIterator:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to abstract_collection:MapValuesIterator:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to abstract_collection:MapValuesIterator:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to abstract_collection:MapValuesIterator:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to abstract_collection:MapValuesIterator:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to abstract_collection:MapValuesIterator:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to abstract_collection:MapValuesIterator:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to abstract_collection:MapValuesIterator:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to abstract_collection:MapValuesIterator:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to abstract_collection:MapValuesIterator:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to abstract_collection:MapValuesIterator:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to abstract_collection:MapValuesIterator:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to abstract_collection:MapValuesIterator:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to abstract_collection:MapValuesIterator:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to abstract_collection:MapValuesIterator:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to abstract_collection:MapValuesIterator:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to abstract_collection:MapValuesIterator:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to abstract_collection:MapValuesIterator:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to abstract_collection:MapValuesIterator:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to abstract_collection:MapValuesIterator:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to abstract_collection:MapValuesIterator:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to abstract_collection:MapValuesIterator:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to abstract_collection:MapValuesIterator:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to abstract_collection:MapValuesIterator:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to abstract_collection:MapValuesIterator:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to abstract_collection:MapValuesIterator:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to abstract_collection:MapValuesIterator:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to abstract_collection:MapValuesIterator:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to abstract_collection:MapValuesIterator:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to abstract_collection:MapValuesIterator:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to abstract_collection:MapValuesIterator:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to abstract_collection:MapValuesIterator:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to abstract_collection:MapValuesIterator:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to abstract_collection:MapValuesIterator:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to abstract_collection:MapValuesIterator:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to abstract_collection:MapValuesIterator:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to abstract_collection:MapValuesIterator:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to abstract_collection:MapValuesIterator:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to abstract_collection:MapValuesIterator:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_abstract_collection__MapValuesIterator__item, /* pointer to abstract_collection:MapValuesIterator:abstract_collection#MapValuesIterator#item */ +(nitmethod_t)VIRTUAL_abstract_collection__MapValuesIterator__next, /* pointer to abstract_collection:MapValuesIterator:abstract_collection#MapValuesIterator#next */ +(nitmethod_t)VIRTUAL_abstract_collection__MapValuesIterator__is_ok, /* pointer to abstract_collection:MapValuesIterator:abstract_collection#MapValuesIterator#is_ok */ +(nitmethod_t)VIRTUAL_array__Iterator__to_a, /* pointer to abstract_collection:MapValuesIterator:array#Iterator#to_a */ +(nitmethod_t)VIRTUAL_abstract_collection__MapValuesIterator__iterator, /* pointer to abstract_collection:MapValuesIterator:abstract_collection#MapValuesIterator#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__MapValuesIterator__iterator_61d, /* pointer to abstract_collection:MapValuesIterator:abstract_collection#MapValuesIterator#iterator= */ +(nitmethod_t)VIRTUAL_abstract_collection__MapValuesIterator__init, /* pointer to abstract_collection:MapValuesIterator:abstract_collection#MapValuesIterator#init */ +} +}; +/* allocate MapValuesIterator[Object, nullable Object] */ +val* NEW_abstract_collection__MapValuesIterator(const struct type* type) { +val* self /* : MapValuesIterator[Object, nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_abstract_collection__MapValuesIterator; +return self; +} +/* allocate MapValuesIterator[Object, nullable Object] */ +void CHECK_NEW_abstract_collection__MapValuesIterator(val* self) { +val* var /* : MapIterator[Object, nullable Object] */; +var = self->attrs[COLOR_abstract_collection__MapValuesIterator___64diterator].val; /* @iterator on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @iterator", "lib/standard/collection/abstract_collection.nit", 417); +exit(1); +} +} +/* runtime class abstract_collection__CoupleMapIterator */ +const struct class class_abstract_collection__CoupleMapIterator = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to abstract_collection:CoupleMapIterator:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to abstract_collection:CoupleMapIterator:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to abstract_collection:CoupleMapIterator:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to abstract_collection:CoupleMapIterator:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to abstract_collection:CoupleMapIterator:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to abstract_collection:CoupleMapIterator:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to abstract_collection:CoupleMapIterator:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to abstract_collection:CoupleMapIterator:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to abstract_collection:CoupleMapIterator:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to abstract_collection:CoupleMapIterator:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to abstract_collection:CoupleMapIterator:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to abstract_collection:CoupleMapIterator:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to abstract_collection:CoupleMapIterator:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to abstract_collection:CoupleMapIterator:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to abstract_collection:CoupleMapIterator:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to abstract_collection:CoupleMapIterator:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to abstract_collection:CoupleMapIterator:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to abstract_collection:CoupleMapIterator:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to abstract_collection:CoupleMapIterator:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to abstract_collection:CoupleMapIterator:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to abstract_collection:CoupleMapIterator:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to abstract_collection:CoupleMapIterator:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to abstract_collection:CoupleMapIterator:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to abstract_collection:CoupleMapIterator:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to abstract_collection:CoupleMapIterator:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to abstract_collection:CoupleMapIterator:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to abstract_collection:CoupleMapIterator:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to abstract_collection:CoupleMapIterator:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to abstract_collection:CoupleMapIterator:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to abstract_collection:CoupleMapIterator:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to abstract_collection:CoupleMapIterator:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to abstract_collection:CoupleMapIterator:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to abstract_collection:CoupleMapIterator:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to abstract_collection:CoupleMapIterator:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to abstract_collection:CoupleMapIterator:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to abstract_collection:CoupleMapIterator:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to abstract_collection:CoupleMapIterator:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to abstract_collection:CoupleMapIterator:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to abstract_collection:CoupleMapIterator:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to abstract_collection:CoupleMapIterator:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to abstract_collection:CoupleMapIterator:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_abstract_collection__CoupleMapIterator__item, /* pointer to abstract_collection:CoupleMapIterator:abstract_collection#CoupleMapIterator#item */ +(nitmethod_t)VIRTUAL_abstract_collection__CoupleMapIterator__key, /* pointer to abstract_collection:CoupleMapIterator:abstract_collection#CoupleMapIterator#key */ +(nitmethod_t)VIRTUAL_abstract_collection__CoupleMapIterator__next, /* pointer to abstract_collection:CoupleMapIterator:abstract_collection#CoupleMapIterator#next */ +(nitmethod_t)VIRTUAL_abstract_collection__CoupleMapIterator__is_ok, /* pointer to abstract_collection:CoupleMapIterator:abstract_collection#CoupleMapIterator#is_ok */ +(nitmethod_t)VIRTUAL_abstract_collection__CoupleMapIterator__init, /* pointer to abstract_collection:CoupleMapIterator:abstract_collection#CoupleMapIterator#init */ +} +}; +/* allocate CoupleMapIterator[Object, nullable Object] */ +val* NEW_abstract_collection__CoupleMapIterator(const struct type* type) { +val* self /* : CoupleMapIterator[Object, nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_abstract_collection__CoupleMapIterator; +return self; +} +/* allocate CoupleMapIterator[Object, nullable Object] */ +void CHECK_NEW_abstract_collection__CoupleMapIterator(val* self) { +val* var /* : Iterator[Couple[Object, nullable Object]] */; +var = self->attrs[COLOR_abstract_collection__CoupleMapIterator___iter].val; /* _iter on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _iter", "lib/standard/collection/abstract_collection.nit", 580); +exit(1); +} +} +/* runtime class abstract_collection__Couple */ +const struct class class_abstract_collection__Couple = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to abstract_collection:Couple:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to abstract_collection:Couple:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to abstract_collection:Couple:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to abstract_collection:Couple:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to abstract_collection:Couple:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to abstract_collection:Couple:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to abstract_collection:Couple:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to abstract_collection:Couple:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to abstract_collection:Couple:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to abstract_collection:Couple:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to abstract_collection:Couple:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to abstract_collection:Couple:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to abstract_collection:Couple:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to abstract_collection:Couple:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to abstract_collection:Couple:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to abstract_collection:Couple:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to abstract_collection:Couple:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to abstract_collection:Couple:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to abstract_collection:Couple:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to abstract_collection:Couple:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to abstract_collection:Couple:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to abstract_collection:Couple:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to abstract_collection:Couple:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to abstract_collection:Couple:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to abstract_collection:Couple:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to abstract_collection:Couple:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to abstract_collection:Couple:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to abstract_collection:Couple:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to abstract_collection:Couple:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to abstract_collection:Couple:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to abstract_collection:Couple:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to abstract_collection:Couple:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to abstract_collection:Couple:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to abstract_collection:Couple:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to abstract_collection:Couple:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to abstract_collection:Couple:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to abstract_collection:Couple:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to abstract_collection:Couple:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to abstract_collection:Couple:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to abstract_collection:Couple:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to abstract_collection:Couple:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_abstract_collection__Couple__first, /* pointer to abstract_collection:Couple:abstract_collection#Couple#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Couple__first_61d, /* pointer to abstract_collection:Couple:abstract_collection#Couple#first= */ +(nitmethod_t)VIRTUAL_abstract_collection__Couple__second, /* pointer to abstract_collection:Couple:abstract_collection#Couple#second */ +(nitmethod_t)VIRTUAL_abstract_collection__Couple__second_61d, /* pointer to abstract_collection:Couple:abstract_collection#Couple#second= */ +(nitmethod_t)VIRTUAL_abstract_collection__Couple__init, /* pointer to abstract_collection:Couple:abstract_collection#Couple#init */ +} +}; +/* allocate Couple[nullable Object, nullable Object] */ +val* NEW_abstract_collection__Couple(const struct type* type) { +val* self /* : Couple[nullable Object, nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 2*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_abstract_collection__Couple; +return self; +} +/* allocate Couple[nullable Object, nullable Object] */ +void CHECK_NEW_abstract_collection__Couple(val* self) { +val* var /* : nullable Object */; +val* var1 /* : nullable Object */; +var = self->attrs[COLOR_abstract_collection__Couple___first].val; /* _first on */ +var1 = self->attrs[COLOR_abstract_collection__Couple___second].val; /* _second on */ +} +/* runtime class kernel__Sys */ +const struct class class_kernel__Sys = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to kernel:Sys:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to kernel:Sys:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to kernel:Sys:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to kernel:Sys:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to kernel:Sys:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to kernel:Sys:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to kernel:Sys:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to kernel:Sys:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to kernel:Sys:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to kernel:Sys:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to kernel:Sys:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to kernel:Sys:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to kernel:Sys:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to kernel:Sys:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Sys__args, /* pointer to kernel:Sys:string#Sys#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to kernel:Sys:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to kernel:Sys:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to kernel:Sys:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to kernel:Sys:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to kernel:Sys:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to kernel:Sys:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to kernel:Sys:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to kernel:Sys:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to kernel:Sys:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to kernel:Sys:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to kernel:Sys:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to kernel:Sys:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to kernel:Sys:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to kernel:Sys:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to kernel:Sys:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to kernel:Sys:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to kernel:Sys:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to kernel:Sys:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to kernel:Sys:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to kernel:Sys:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to kernel:Sys:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to kernel:Sys:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to kernel:Sys:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to kernel:Sys:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to kernel:Sys:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to kernel:Sys:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_nitg__Sys__main, /* pointer to kernel:Sys:nitg#Sys#main */ +(nitmethod_t)VIRTUAL_kernel__Sys__init, /* pointer to kernel:Sys:kernel#Sys#init */ +(nitmethod_t)VIRTUAL_gc__Sys__force_garbage_collection, /* pointer to kernel:Sys:gc#Sys#force_garbage_collection */ +(nitmethod_t)VIRTUAL_string__Sys__program_name, /* pointer to kernel:Sys:string#Sys#program_name */ +(nitmethod_t)VIRTUAL_string__Sys__init_args, /* pointer to kernel:Sys:string#Sys#init_args */ +(nitmethod_t)VIRTUAL_string__Sys__native_argc, /* pointer to kernel:Sys:string#Sys#native_argc */ +(nitmethod_t)VIRTUAL_string__Sys__native_argv, /* pointer to kernel:Sys:string#Sys#native_argv */ +(nitmethod_t)VIRTUAL_posix__Sys__uid_61d, /* pointer to kernel:Sys:posix#Sys#uid= */ +(nitmethod_t)VIRTUAL_posix__Sys__uid, /* pointer to kernel:Sys:posix#Sys#uid */ +(nitmethod_t)VIRTUAL_posix__Sys__gid_61d, /* pointer to kernel:Sys:posix#Sys#gid= */ +(nitmethod_t)VIRTUAL_posix__Sys__gid, /* pointer to kernel:Sys:posix#Sys#gid */ +(nitmethod_t)VIRTUAL_posix__Sys__euid_61d, /* pointer to kernel:Sys:posix#Sys#euid= */ +(nitmethod_t)VIRTUAL_posix__Sys__euid, /* pointer to kernel:Sys:posix#Sys#euid */ +(nitmethod_t)VIRTUAL_posix__Sys__egid_61d, /* pointer to kernel:Sys:posix#Sys#egid= */ +(nitmethod_t)VIRTUAL_posix__Sys__egid, /* pointer to kernel:Sys:posix#Sys#egid */ +(nitmethod_t)VIRTUAL_time__Sys__nanosleep, /* pointer to kernel:Sys:time#Sys#nanosleep */ +(nitmethod_t)VIRTUAL_exec__Sys__system, /* pointer to kernel:Sys:exec#Sys#system */ +} +}; +/* allocate Sys */ +val* NEW_kernel__Sys(const struct type* type) { +val* self /* : Sys */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_kernel__Sys; +return self; +} +/* allocate Sys */ +void CHECK_NEW_kernel__Sys(val* self) { +val* var /* : nullable Sequence[String] */; +var = self->attrs[COLOR_string__Sys___args_cache].val; /* _args_cache on */ +} +/* runtime class kernel__Bool */ +const struct class class_kernel__Bool = { +2, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Bool__object_id, /* pointer to kernel:Bool:kernel#Bool#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to kernel:Bool:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Bool___61d_61d, /* pointer to kernel:Bool:kernel#Bool#== */ +(nitmethod_t)VIRTUAL_kernel__Bool___33d_61d, /* pointer to kernel:Bool:kernel#Bool#!= */ +(nitmethod_t)VIRTUAL_kernel__Bool__output, /* pointer to kernel:Bool:kernel#Bool#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to kernel:Bool:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to kernel:Bool:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to kernel:Bool:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Bool__hash, /* pointer to kernel:Bool:kernel#Bool#hash */ +(nitmethod_t)VIRTUAL_string__Bool__to_s, /* pointer to kernel:Bool:string#Bool#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to kernel:Bool:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to kernel:Bool:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to kernel:Bool:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to kernel:Bool:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to kernel:Bool:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to kernel:Bool:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to kernel:Bool:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to kernel:Bool:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to kernel:Bool:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to kernel:Bool:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to kernel:Bool:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to kernel:Bool:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to kernel:Bool:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to kernel:Bool:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to kernel:Bool:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to kernel:Bool:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to kernel:Bool:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to kernel:Bool:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to kernel:Bool:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to kernel:Bool:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to kernel:Bool:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to kernel:Bool:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to kernel:Bool:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to kernel:Bool:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to kernel:Bool:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to kernel:Bool:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to kernel:Bool:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to kernel:Bool:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to kernel:Bool:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to kernel:Bool:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to kernel:Bool:model#Object#extern_kind */ +} +}; +/* allocate Bool */ +val* BOX_kernel__Bool(short int value) { +struct instance_kernel__Bool*res = nit_alloc(sizeof(struct instance_kernel__Bool)); +res->type = &type_kernel__Bool; +res->class = &class_kernel__Bool; +res->value = value; +return (val*)res; +} +/* runtime class kernel__Float */ +const struct class class_kernel__Float = { +4, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Float__object_id, /* pointer to kernel:Float:kernel#Float#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to kernel:Float:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to kernel:Float:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to kernel:Float:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Float__output, /* pointer to kernel:Float:kernel#Float#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to kernel:Float:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to kernel:Float:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to kernel:Float:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to kernel:Float:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Float__to_s, /* pointer to kernel:Float:string#Float#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to kernel:Float:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to kernel:Float:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to kernel:Float:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to kernel:Float:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to kernel:Float:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to kernel:Float:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to kernel:Float:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to kernel:Float:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to kernel:Float:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to kernel:Float:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to kernel:Float:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to kernel:Float:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to kernel:Float:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to kernel:Float:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to kernel:Float:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to kernel:Float:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to kernel:Float:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to kernel:Float:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to kernel:Float:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to kernel:Float:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to kernel:Float:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to kernel:Float:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to kernel:Float:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to kernel:Float:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to kernel:Float:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to kernel:Float:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to kernel:Float:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to kernel:Float:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to kernel:Float:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to kernel:Float:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to kernel:Float:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_kernel__Float___60d_61d, /* pointer to kernel:Float:kernel#Float#<= */ +(nitmethod_t)VIRTUAL_kernel__Float___60d, /* pointer to kernel:Float:kernel#Float#< */ +(nitmethod_t)VIRTUAL_kernel__Float___62d_61d, /* pointer to kernel:Float:kernel#Float#>= */ +(nitmethod_t)VIRTUAL_kernel__Float___62d, /* pointer to kernel:Float:kernel#Float#> */ +(nitmethod_t)VIRTUAL_kernel__Float___43d, /* pointer to kernel:Float:kernel#Float#+ */ +(nitmethod_t)VIRTUAL_kernel__Float__unary_32d_45d, /* pointer to kernel:Float:kernel#Float#unary - */ +(nitmethod_t)VIRTUAL_kernel__Float___45d, /* pointer to kernel:Float:kernel#Float#- */ +(nitmethod_t)VIRTUAL_kernel__Float___42d, /* pointer to kernel:Float:kernel#Float#* */ +(nitmethod_t)VIRTUAL_kernel__Float___47d, /* pointer to kernel:Float:kernel#Float#/ */ +(nitmethod_t)VIRTUAL_kernel__Float__to_i, /* pointer to kernel:Float:kernel#Float#to_i */ +(nitmethod_t)VIRTUAL_string__Float__to_precision, /* pointer to kernel:Float:string#Float#to_precision */ +(nitmethod_t)VIRTUAL_string__Float__to_precision_native, /* pointer to kernel:Float:string#Float#to_precision_native */ +(nitmethod_t)VIRTUAL_math__Float__sqrt, /* pointer to kernel:Float:math#Float#sqrt */ +(nitmethod_t)VIRTUAL_math__Float__cos, /* pointer to kernel:Float:math#Float#cos */ +(nitmethod_t)VIRTUAL_math__Float__sin, /* pointer to kernel:Float:math#Float#sin */ +(nitmethod_t)VIRTUAL_math__Float__tan, /* pointer to kernel:Float:math#Float#tan */ +(nitmethod_t)VIRTUAL_math__Float__acos, /* pointer to kernel:Float:math#Float#acos */ +(nitmethod_t)VIRTUAL_math__Float__asin, /* pointer to kernel:Float:math#Float#asin */ +(nitmethod_t)VIRTUAL_math__Float__atan, /* pointer to kernel:Float:math#Float#atan */ +(nitmethod_t)VIRTUAL_math__Float__pow, /* pointer to kernel:Float:math#Float#pow */ +(nitmethod_t)VIRTUAL_math__Float__log, /* pointer to kernel:Float:math#Float#log */ +(nitmethod_t)VIRTUAL_math__Float__exp, /* pointer to kernel:Float:math#Float#exp */ +(nitmethod_t)VIRTUAL_math__Float__rand, /* pointer to kernel:Float:math#Float#rand */ +(nitmethod_t)VIRTUAL_math__Float__hypot_with, /* pointer to kernel:Float:math#Float#hypot_with */ +} +}; +/* allocate Float */ +val* BOX_kernel__Float(double value) { +struct instance_kernel__Float*res = nit_alloc(sizeof(struct instance_kernel__Float)); +res->type = &type_kernel__Float; +res->class = &class_kernel__Float; +res->value = value; +return (val*)res; +} +/* runtime class kernel__Int */ +const struct class class_kernel__Int = { +1, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Int__object_id, /* pointer to kernel:Int:kernel#Int#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to kernel:Int:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Int___61d_61d, /* pointer to kernel:Int:kernel#Int#== */ +(nitmethod_t)VIRTUAL_kernel__Int___33d_61d, /* pointer to kernel:Int:kernel#Int#!= */ +(nitmethod_t)VIRTUAL_kernel__Int__output, /* pointer to kernel:Int:kernel#Int#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to kernel:Int:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to kernel:Int:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to kernel:Int:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Int__hash, /* pointer to kernel:Int:kernel#Int#hash */ +(nitmethod_t)VIRTUAL_string__Int__to_s, /* pointer to kernel:Int:string#Int#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to kernel:Int:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to kernel:Int:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to kernel:Int:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to kernel:Int:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to kernel:Int:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to kernel:Int:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to kernel:Int:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to kernel:Int:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to kernel:Int:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to kernel:Int:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to kernel:Int:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to kernel:Int:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to kernel:Int:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to kernel:Int:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to kernel:Int:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to kernel:Int:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to kernel:Int:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to kernel:Int:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to kernel:Int:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to kernel:Int:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to kernel:Int:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to kernel:Int:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to kernel:Int:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to kernel:Int:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to kernel:Int:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to kernel:Int:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to kernel:Int:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to kernel:Int:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to kernel:Int:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to kernel:Int:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to kernel:Int:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_kernel__Int___60d, /* pointer to kernel:Int:kernel#Int#< */ +(nitmethod_t)VIRTUAL_kernel__Int___60d_61d, /* pointer to kernel:Int:kernel#Int#<= */ +(nitmethod_t)VIRTUAL_kernel__Int___62d_61d, /* pointer to kernel:Int:kernel#Int#>= */ +(nitmethod_t)VIRTUAL_kernel__Int___62d, /* pointer to kernel:Int:kernel#Int#> */ +(nitmethod_t)VIRTUAL_kernel__Int___60d_61d_62d, /* pointer to kernel:Int:kernel#Int#<=> */ +(nitmethod_t)VIRTUAL_kernel__Int__is_between, /* pointer to kernel:Int:kernel#Int#is_between */ +(nitmethod_t)VIRTUAL_kernel__Int__max, /* pointer to kernel:Int:kernel#Int#max */ +(nitmethod_t)VIRTUAL_kernel__Int__min, /* pointer to kernel:Int:kernel#Int#min */ +(nitmethod_t)VIRTUAL_kernel__Int__succ, /* pointer to kernel:Int:kernel#Int#succ */ +(nitmethod_t)VIRTUAL_kernel__Int__prec, /* pointer to kernel:Int:kernel#Int#prec */ +(nitmethod_t)VIRTUAL_kernel__Int___43d, /* pointer to kernel:Int:kernel#Int#+ */ +(nitmethod_t)VIRTUAL_kernel__Int___45d, /* pointer to kernel:Int:kernel#Int#- */ +(nitmethod_t)VIRTUAL_kernel__Int__distance, /* pointer to kernel:Int:kernel#Int#distance */ +(nitmethod_t)VIRTUAL_range__Discrete__times, /* pointer to kernel:Int:range#Discrete#times */ +(nitmethod_t)VIRTUAL_kernel__Int__unary_32d_45d, /* pointer to kernel:Int:kernel#Int#unary - */ +(nitmethod_t)VIRTUAL_kernel__Int___42d, /* pointer to kernel:Int:kernel#Int#* */ +(nitmethod_t)VIRTUAL_kernel__Int___47d, /* pointer to kernel:Int:kernel#Int#/ */ +(nitmethod_t)VIRTUAL_kernel__Int___37d, /* pointer to kernel:Int:kernel#Int#% */ +(nitmethod_t)VIRTUAL_kernel__Int__lshift, /* pointer to kernel:Int:kernel#Int#lshift */ +(nitmethod_t)VIRTUAL_kernel__Int__rshift, /* pointer to kernel:Int:kernel#Int#rshift */ +(nitmethod_t)VIRTUAL_kernel__Int__to_f, /* pointer to kernel:Int:kernel#Int#to_f */ +(nitmethod_t)VIRTUAL_kernel__Int__ascii, /* pointer to kernel:Int:kernel#Int#ascii */ +(nitmethod_t)VIRTUAL_kernel__Int__digit_count, /* pointer to kernel:Int:kernel#Int#digit_count */ +(nitmethod_t)VIRTUAL_kernel__Int__digit_count_base_95d10, /* pointer to kernel:Int:kernel#Int#digit_count_base_10 */ +(nitmethod_t)VIRTUAL_kernel__Int__to_c, /* pointer to kernel:Int:kernel#Int#to_c */ +(nitmethod_t)VIRTUAL_kernel__Int__enumerate_to, /* pointer to kernel:Int:kernel#Int#enumerate_to */ +(nitmethod_t)VIRTUAL_kernel__Int__enumerate_before, /* pointer to kernel:Int:kernel#Int#enumerate_before */ +(nitmethod_t)VIRTUAL_kernel__Int__abs, /* pointer to kernel:Int:kernel#Int#abs */ +(nitmethod_t)VIRTUAL_string__Int__fill_buffer, /* pointer to kernel:Int:string#Int#fill_buffer */ +(nitmethod_t)VIRTUAL_string__Int__native_int_to_s, /* pointer to kernel:Int:string#Int#native_int_to_s */ +(nitmethod_t)VIRTUAL_string__Int__to_hex, /* pointer to kernel:Int:string#Int#to_hex */ +(nitmethod_t)VIRTUAL_string__Int__to_base, /* pointer to kernel:Int:string#Int#to_base */ +(nitmethod_t)VIRTUAL_math__Int__rand, /* pointer to kernel:Int:math#Int#rand */ +(nitmethod_t)VIRTUAL_math__Int__bin_and, /* pointer to kernel:Int:math#Int#bin_and */ +(nitmethod_t)VIRTUAL_math__Int__bin_or, /* pointer to kernel:Int:math#Int#bin_or */ +(nitmethod_t)VIRTUAL_math__Int__bin_xor, /* pointer to kernel:Int:math#Int#bin_xor */ +(nitmethod_t)VIRTUAL_math__Int__sqrt, /* pointer to kernel:Int:math#Int#sqrt */ +(nitmethod_t)VIRTUAL_math__Int__sin, /* pointer to kernel:Int:math#Int#sin */ +(nitmethod_t)VIRTUAL_math__Int__cos, /* pointer to kernel:Int:math#Int#cos */ +} +}; +/* allocate Int */ +val* BOX_kernel__Int(long value) { +struct instance_kernel__Int*res = nit_alloc(sizeof(struct instance_kernel__Int)); +res->type = &type_kernel__Int; +res->class = &class_kernel__Int; +res->value = value; +return (val*)res; +} +/* runtime class kernel__Char */ +const struct class class_kernel__Char = { +3, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Char__object_id, /* pointer to kernel:Char:kernel#Char#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to kernel:Char:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Char___61d_61d, /* pointer to kernel:Char:kernel#Char#== */ +(nitmethod_t)VIRTUAL_kernel__Char___33d_61d, /* pointer to kernel:Char:kernel#Char#!= */ +(nitmethod_t)VIRTUAL_kernel__Char__output, /* pointer to kernel:Char:kernel#Char#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to kernel:Char:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to kernel:Char:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to kernel:Char:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Char__hash, /* pointer to kernel:Char:kernel#Char#hash */ +(nitmethod_t)VIRTUAL_string__Char__to_s, /* pointer to kernel:Char:string#Char#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to kernel:Char:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to kernel:Char:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to kernel:Char:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to kernel:Char:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to kernel:Char:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to kernel:Char:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to kernel:Char:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to kernel:Char:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to kernel:Char:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to kernel:Char:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to kernel:Char:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to kernel:Char:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to kernel:Char:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to kernel:Char:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to kernel:Char:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to kernel:Char:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to kernel:Char:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to kernel:Char:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to kernel:Char:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to kernel:Char:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to kernel:Char:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to kernel:Char:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to kernel:Char:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to kernel:Char:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to kernel:Char:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to kernel:Char:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to kernel:Char:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to kernel:Char:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to kernel:Char:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to kernel:Char:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to kernel:Char:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_kernel__Char___60d, /* pointer to kernel:Char:kernel#Char#< */ +(nitmethod_t)VIRTUAL_kernel__Char___60d_61d, /* pointer to kernel:Char:kernel#Char#<= */ +(nitmethod_t)VIRTUAL_kernel__Char___62d_61d, /* pointer to kernel:Char:kernel#Char#>= */ +(nitmethod_t)VIRTUAL_kernel__Char___62d, /* pointer to kernel:Char:kernel#Char#> */ +(nitmethod_t)VIRTUAL_kernel__Comparable___60d_61d_62d, /* pointer to kernel:Char:kernel#Comparable#<=> */ +(nitmethod_t)VIRTUAL_kernel__Comparable__is_between, /* pointer to kernel:Char:kernel#Comparable#is_between */ +(nitmethod_t)VIRTUAL_kernel__Comparable__max, /* pointer to kernel:Char:kernel#Comparable#max */ +(nitmethod_t)VIRTUAL_kernel__Comparable__min, /* pointer to kernel:Char:kernel#Comparable#min */ +(nitmethod_t)VIRTUAL_kernel__Char__succ, /* pointer to kernel:Char:kernel#Char#succ */ +(nitmethod_t)VIRTUAL_kernel__Char__prec, /* pointer to kernel:Char:kernel#Char#prec */ +(nitmethod_t)VIRTUAL_kernel__Char___43d, /* pointer to kernel:Char:kernel#Char#+ */ +(nitmethod_t)VIRTUAL_kernel__Char___45d, /* pointer to kernel:Char:kernel#Char#- */ +(nitmethod_t)VIRTUAL_kernel__Char__distance, /* pointer to kernel:Char:kernel#Char#distance */ +(nitmethod_t)VIRTUAL_range__Discrete__times, /* pointer to kernel:Char:range#Discrete#times */ +(nitmethod_t)VIRTUAL_string_search__Char__search_index_in, /* pointer to kernel:Char:string_search#Char#search_index_in */ +(nitmethod_t)VIRTUAL_string_search__Char__search_in, /* pointer to kernel:Char:string_search#Char#search_in */ +(nitmethod_t)VIRTUAL_string_search__Pattern__search_all_in, /* pointer to kernel:Char:string_search#Pattern#search_all_in */ +(nitmethod_t)VIRTUAL_string_search__Pattern__split_in, /* pointer to kernel:Char:string_search#Pattern#split_in */ +(nitmethod_t)VIRTUAL_kernel__Char__to_i, /* pointer to kernel:Char:kernel#Char#to_i */ +(nitmethod_t)VIRTUAL_kernel__Char__ascii, /* pointer to kernel:Char:kernel#Char#ascii */ +(nitmethod_t)VIRTUAL_kernel__Char__to_lower, /* pointer to kernel:Char:kernel#Char#to_lower */ +(nitmethod_t)VIRTUAL_kernel__Char__to_upper, /* pointer to kernel:Char:kernel#Char#to_upper */ +(nitmethod_t)VIRTUAL_kernel__Char__is_digit, /* pointer to kernel:Char:kernel#Char#is_digit */ +(nitmethod_t)VIRTUAL_kernel__Char__is_lower, /* pointer to kernel:Char:kernel#Char#is_lower */ +(nitmethod_t)VIRTUAL_kernel__Char__is_upper, /* pointer to kernel:Char:kernel#Char#is_upper */ +(nitmethod_t)VIRTUAL_kernel__Char__is_letter, /* pointer to kernel:Char:kernel#Char#is_letter */ +(nitmethod_t)VIRTUAL_string__Char__is_numeric, /* pointer to kernel:Char:string#Char#is_numeric */ +(nitmethod_t)VIRTUAL_string__Char__is_alpha, /* pointer to kernel:Char:string#Char#is_alpha */ +(nitmethod_t)VIRTUAL_string__Char__is_alphanumeric, /* pointer to kernel:Char:string#Char#is_alphanumeric */ +} +}; +/* allocate Char */ +val* BOX_kernel__Char(char value) { +struct instance_kernel__Char*res = nit_alloc(sizeof(struct instance_kernel__Char)); +res->type = &type_kernel__Char; +res->class = &class_kernel__Char; +res->value = value; +return (val*)res; +} +/* runtime class kernel__Pointer */ +const struct class class_kernel__Pointer = { +6, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to kernel:Pointer:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to kernel:Pointer:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to kernel:Pointer:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to kernel:Pointer:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to kernel:Pointer:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to kernel:Pointer:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to kernel:Pointer:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to kernel:Pointer:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to kernel:Pointer:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to kernel:Pointer:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to kernel:Pointer:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to kernel:Pointer:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to kernel:Pointer:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to kernel:Pointer:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to kernel:Pointer:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to kernel:Pointer:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to kernel:Pointer:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to kernel:Pointer:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to kernel:Pointer:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to kernel:Pointer:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to kernel:Pointer:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to kernel:Pointer:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to kernel:Pointer:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to kernel:Pointer:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to kernel:Pointer:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to kernel:Pointer:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to kernel:Pointer:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to kernel:Pointer:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to kernel:Pointer:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to kernel:Pointer:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to kernel:Pointer:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to kernel:Pointer:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to kernel:Pointer:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to kernel:Pointer:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to kernel:Pointer:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to kernel:Pointer:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to kernel:Pointer:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to kernel:Pointer:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to kernel:Pointer:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to kernel:Pointer:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to kernel:Pointer:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_kernel__Pointer__address_is_null, /* pointer to kernel:Pointer:kernel#Pointer#address_is_null */ +} +}; +/* runtime class range__Range */ +const struct class class_range__Range = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to range:Range:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to range:Range:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to range:Range:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to range:Range:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to range:Range:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to range:Range:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to range:Range:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to range:Range:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to range:Range:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Collection__to_s, /* pointer to range:Range:string#Collection#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to range:Range:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to range:Range:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to range:Range:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to range:Range:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to range:Range:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to range:Range:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to range:Range:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to range:Range:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to range:Range:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to range:Range:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to range:Range:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to range:Range:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to range:Range:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to range:Range:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to range:Range:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to range:Range:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to range:Range:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to range:Range:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to range:Range:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to range:Range:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to range:Range:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to range:Range:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to range:Range:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to range:Range:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to range:Range:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to range:Range:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to range:Range:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to range:Range:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to range:Range:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to range:Range:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to range:Range:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_range__Range__iterator, /* pointer to range:Range:range#Range#iterator */ +(nitmethod_t)VIRTUAL_range__Range__iterate, /* pointer to range:Range:range#Range#iterate */ +(nitmethod_t)VIRTUAL_range__Range__is_empty, /* pointer to range:Range:range#Range#is_empty */ +(nitmethod_t)VIRTUAL_range__Range__length, /* pointer to range:Range:range#Range#length */ +(nitmethod_t)VIRTUAL_range__Range__has, /* pointer to range:Range:range#Range#has */ +(nitmethod_t)VIRTUAL_range__Range__has_only, /* pointer to range:Range:range#Range#has_only */ +(nitmethod_t)VIRTUAL_range__Range__count, /* pointer to range:Range:range#Range#count */ +(nitmethod_t)VIRTUAL_range__Range__first, /* pointer to range:Range:range#Range#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to range:Range:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to range:Range:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to range:Range:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to range:Range:math#Collection#rand */ +(nitmethod_t)VIRTUAL_range__Range__last, /* pointer to range:Range:range#Range#last */ +(nitmethod_t)VIRTUAL_range__Range__after, /* pointer to range:Range:range#Range#after */ +(nitmethod_t)VIRTUAL_range__Range__init, /* pointer to range:Range:range#Range#init */ +(nitmethod_t)VIRTUAL_range__Range__without_last, /* pointer to range:Range:range#Range#without_last */ +} +}; +/* allocate Range[Discrete] */ +val* NEW_range__Range(const struct type* type) { +val* self /* : Range[Discrete] */; +self = nit_alloc(sizeof(struct instance) + 3*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_range__Range; +return self; +} +/* allocate Range[Discrete] */ +void CHECK_NEW_range__Range(val* self) { +val* var /* : Discrete */; +val* var1 /* : Discrete */; +val* var2 /* : Discrete */; +var = self->attrs[COLOR_range__Range___first].val; /* _first on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _first", "lib/standard/collection/range.nit", 22); +exit(1); +} +var1 = self->attrs[COLOR_range__Range___last].val; /* _last on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _last", "lib/standard/collection/range.nit", 24); +exit(1); +} +var2 = self->attrs[COLOR_range__Range___after].val; /* _after on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _after", "lib/standard/collection/range.nit", 27); +exit(1); +} +} +/* runtime class range__IteratorRange */ +const struct class class_range__IteratorRange = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to range:IteratorRange:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to range:IteratorRange:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to range:IteratorRange:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to range:IteratorRange:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to range:IteratorRange:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to range:IteratorRange:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to range:IteratorRange:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to range:IteratorRange:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to range:IteratorRange:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to range:IteratorRange:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to range:IteratorRange:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to range:IteratorRange:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to range:IteratorRange:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to range:IteratorRange:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to range:IteratorRange:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to range:IteratorRange:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to range:IteratorRange:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to range:IteratorRange:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to range:IteratorRange:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to range:IteratorRange:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to range:IteratorRange:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to range:IteratorRange:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to range:IteratorRange:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to range:IteratorRange:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to range:IteratorRange:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to range:IteratorRange:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to range:IteratorRange:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to range:IteratorRange:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to range:IteratorRange:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to range:IteratorRange:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to range:IteratorRange:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to range:IteratorRange:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to range:IteratorRange:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to range:IteratorRange:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to range:IteratorRange:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to range:IteratorRange:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to range:IteratorRange:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to range:IteratorRange:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to range:IteratorRange:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to range:IteratorRange:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to range:IteratorRange:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_range__IteratorRange__item, /* pointer to range:IteratorRange:range#IteratorRange#item */ +(nitmethod_t)VIRTUAL_range__IteratorRange__next, /* pointer to range:IteratorRange:range#IteratorRange#next */ +(nitmethod_t)VIRTUAL_range__IteratorRange__is_ok, /* pointer to range:IteratorRange:range#IteratorRange#is_ok */ +(nitmethod_t)VIRTUAL_array__Iterator__to_a, /* pointer to range:IteratorRange:array#Iterator#to_a */ +(nitmethod_t)VIRTUAL_range__IteratorRange__init, /* pointer to range:IteratorRange:range#IteratorRange#init */ +} +}; +/* allocate IteratorRange[Discrete] */ +val* NEW_range__IteratorRange(const struct type* type) { +val* self /* : IteratorRange[Discrete] */; +self = nit_alloc(sizeof(struct instance) + 2*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_range__IteratorRange; +return self; +} +/* allocate IteratorRange[Discrete] */ +void CHECK_NEW_range__IteratorRange(val* self) { +val* var /* : Range[Discrete] */; +val* var1 /* : Discrete */; +var = self->attrs[COLOR_range__IteratorRange___range].val; /* _range on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _range", "lib/standard/collection/range.nit", 90); +exit(1); +} +var1 = self->attrs[COLOR_range__IteratorRange___item].val; /* _item on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _item", "lib/standard/collection/range.nit", 91); +exit(1); +} +} +/* runtime class list__List */ +const struct class class_list__List = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to list:List:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to list:List:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_abstract_collection__SequenceRead___61d_61d, /* pointer to list:List:abstract_collection#SequenceRead#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to list:List:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to list:List:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to list:List:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to list:List:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to list:List:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_abstract_collection__SequenceRead__hash, /* pointer to list:List:abstract_collection#SequenceRead#hash */ +(nitmethod_t)VIRTUAL_string__Collection__to_s, /* pointer to list:List:string#Collection#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to list:List:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to list:List:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to list:List:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to list:List:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to list:List:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to list:List:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to list:List:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to list:List:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to list:List:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to list:List:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to list:List:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to list:List:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to list:List:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to list:List:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to list:List:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to list:List:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to list:List:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to list:List:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to list:List:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to list:List:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to list:List:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to list:List:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to list:List:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to list:List:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to list:List:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to list:List:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to list:List:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to list:List:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to list:List:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to list:List:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to list:List:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_list__List__iterator, /* pointer to list:List:list#List#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__iterate, /* pointer to list:List:abstract_collection#Collection#iterate */ +(nitmethod_t)VIRTUAL_list__List__is_empty, /* pointer to list:List:list#List#is_empty */ +(nitmethod_t)VIRTUAL_list__List__length, /* pointer to list:List:list#List#length */ +(nitmethod_t)VIRTUAL_list__List__has, /* pointer to list:List:list#List#has */ +(nitmethod_t)VIRTUAL_list__List__has_only, /* pointer to list:List:list#List#has_only */ +(nitmethod_t)VIRTUAL_list__List__count, /* pointer to list:List:list#List#count */ +(nitmethod_t)VIRTUAL_list__List__first, /* pointer to list:List:list#List#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to list:List:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to list:List:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to list:List:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to list:List:math#Collection#rand */ +(nitmethod_t)VIRTUAL_list__List__clear, /* pointer to list:List:list#List#clear */ +(nitmethod_t)VIRTUAL_list__List__remove, /* pointer to list:List:list#List#remove */ +(nitmethod_t)VIRTUAL_abstract_collection__RemovableCollection__remove_all, /* pointer to list:List:abstract_collection#RemovableCollection#remove_all */ +(nitmethod_t)VIRTUAL_abstract_collection__Sequence__add, /* pointer to list:List:abstract_collection#Sequence#add */ +(nitmethod_t)VIRTUAL_abstract_collection__SimpleCollection__add_all, /* pointer to list:List:abstract_collection#SimpleCollection#add_all */ +(nitmethod_t)VIRTUAL_list__List___91d_93d, /* pointer to list:List:list#List#[] */ +(nitmethod_t)VIRTUAL_list__List__last, /* pointer to list:List:list#List#last */ +(nitmethod_t)VIRTUAL_abstract_collection__SequenceRead__index_of, /* pointer to list:List:abstract_collection#SequenceRead#index_of */ +(nitmethod_t)VIRTUAL_list__List__first_61d, /* pointer to list:List:list#List#first= */ +(nitmethod_t)VIRTUAL_list__List__last_61d, /* pointer to list:List:list#List#last= */ +(nitmethod_t)VIRTUAL_list__List__push, /* pointer to list:List:list#List#push */ +(nitmethod_t)VIRTUAL_abstract_collection__Sequence__append, /* pointer to list:List:abstract_collection#Sequence#append */ +(nitmethod_t)VIRTUAL_list__List__pop, /* pointer to list:List:list#List#pop */ +(nitmethod_t)VIRTUAL_list__List__unshift, /* pointer to list:List:list#List#unshift */ +(nitmethod_t)VIRTUAL_list__List__shift, /* pointer to list:List:list#List#shift */ +(nitmethod_t)VIRTUAL_list__List___91d_93d_61d, /* pointer to list:List:list#List#[]= */ +(nitmethod_t)VIRTUAL_list__List__remove_at, /* pointer to list:List:list#List#remove_at */ +(nitmethod_t)VIRTUAL_collection__Sequence__subarray, /* pointer to list:List:collection#Sequence#subarray */ +(nitmethod_t)VIRTUAL_list__List__slice, /* pointer to list:List:list#List#slice */ +(nitmethod_t)VIRTUAL_list__List__link, /* pointer to list:List:list#List#link */ +(nitmethod_t)VIRTUAL_list__List__init, /* pointer to list:List:list#List#init */ +(nitmethod_t)VIRTUAL_list__List__from, /* pointer to list:List:list#List#from */ +(nitmethod_t)VIRTUAL_list__List__get_node, /* pointer to list:List:list#List#get_node */ +(nitmethod_t)VIRTUAL_list__List__search_node_after, /* pointer to list:List:list#List#search_node_after */ +(nitmethod_t)VIRTUAL_list__List__remove_node, /* pointer to list:List:list#List#remove_node */ +(nitmethod_t)VIRTUAL_list__List__insert_before, /* pointer to list:List:list#List#insert_before */ +} +}; +/* allocate List[nullable Object] */ +val* NEW_list__List(const struct type* type) { +val* self /* : List[nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 2*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_list__List; +return self; +} +/* allocate List[nullable Object] */ +void CHECK_NEW_list__List(val* self) { +val* var /* : nullable ListNode[nullable Object] */; +val* var1 /* : nullable ListNode[nullable Object] */; +var = self->attrs[COLOR_list__List___head].val; /* _head on */ +var1 = self->attrs[COLOR_list__List___tail].val; /* _tail on */ +} +/* runtime class list__ListIterator */ +const struct class class_list__ListIterator = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to list:ListIterator:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to list:ListIterator:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to list:ListIterator:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to list:ListIterator:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to list:ListIterator:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to list:ListIterator:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to list:ListIterator:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to list:ListIterator:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to list:ListIterator:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to list:ListIterator:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to list:ListIterator:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to list:ListIterator:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to list:ListIterator:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to list:ListIterator:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to list:ListIterator:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to list:ListIterator:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to list:ListIterator:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to list:ListIterator:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to list:ListIterator:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to list:ListIterator:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to list:ListIterator:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to list:ListIterator:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to list:ListIterator:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to list:ListIterator:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to list:ListIterator:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to list:ListIterator:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to list:ListIterator:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to list:ListIterator:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to list:ListIterator:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to list:ListIterator:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to list:ListIterator:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to list:ListIterator:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to list:ListIterator:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to list:ListIterator:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to list:ListIterator:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to list:ListIterator:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to list:ListIterator:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to list:ListIterator:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to list:ListIterator:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to list:ListIterator:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to list:ListIterator:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_list__ListIterator__item, /* pointer to list:ListIterator:list#ListIterator#item */ +(nitmethod_t)VIRTUAL_list__ListIterator__next, /* pointer to list:ListIterator:list#ListIterator#next */ +(nitmethod_t)VIRTUAL_list__ListIterator__is_ok, /* pointer to list:ListIterator:list#ListIterator#is_ok */ +(nitmethod_t)VIRTUAL_array__Iterator__to_a, /* pointer to list:ListIterator:array#Iterator#to_a */ +(nitmethod_t)VIRTUAL_list__ListIterator__index, /* pointer to list:ListIterator:list#ListIterator#index */ +(nitmethod_t)VIRTUAL_list__ListIterator__item_61d, /* pointer to list:ListIterator:list#ListIterator#item= */ +(nitmethod_t)VIRTUAL_list__ListIterator__init, /* pointer to list:ListIterator:list#ListIterator#init */ +(nitmethod_t)VIRTUAL_list__ListIterator__delete, /* pointer to list:ListIterator:list#ListIterator#delete */ +(nitmethod_t)VIRTUAL_list__ListIterator__insert_before, /* pointer to list:ListIterator:list#ListIterator#insert_before */ +} +}; +/* allocate ListIterator[nullable Object] */ +val* NEW_list__ListIterator(const struct type* type) { +val* self /* : ListIterator[nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 3*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_list__ListIterator; +return self; +} +/* allocate ListIterator[nullable Object] */ +void CHECK_NEW_list__ListIterator(val* self) { +val* var /* : List[nullable Object] */; +val* var1 /* : nullable ListNode[nullable Object] */; +long var2 /* : Int */; +var = self->attrs[COLOR_list__ListIterator___list].val; /* _list on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _list", "lib/standard/collection/list.nit", 276); +exit(1); +} +var1 = self->attrs[COLOR_list__ListIterator___node].val; /* _node on */ +var2 = self->attrs[COLOR_list__ListIterator___index].l; /* _index on */ +} +/* runtime class list__ListNode */ +const struct class class_list__ListNode = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to list:ListNode:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to list:ListNode:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to list:ListNode:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to list:ListNode:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to list:ListNode:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to list:ListNode:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to list:ListNode:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to list:ListNode:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to list:ListNode:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Collection__to_s, /* pointer to list:ListNode:string#Collection#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to list:ListNode:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to list:ListNode:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to list:ListNode:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to list:ListNode:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to list:ListNode:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to list:ListNode:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to list:ListNode:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to list:ListNode:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to list:ListNode:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to list:ListNode:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to list:ListNode:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to list:ListNode:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to list:ListNode:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to list:ListNode:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to list:ListNode:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to list:ListNode:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to list:ListNode:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to list:ListNode:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to list:ListNode:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to list:ListNode:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to list:ListNode:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to list:ListNode:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to list:ListNode:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to list:ListNode:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to list:ListNode:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to list:ListNode:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to list:ListNode:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to list:ListNode:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to list:ListNode:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to list:ListNode:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to list:ListNode:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_abstract_collection__Container__iterator, /* pointer to list:ListNode:abstract_collection#Container#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__iterate, /* pointer to list:ListNode:abstract_collection#Collection#iterate */ +(nitmethod_t)VIRTUAL_abstract_collection__Container__is_empty, /* pointer to list:ListNode:abstract_collection#Container#is_empty */ +(nitmethod_t)VIRTUAL_abstract_collection__Container__length, /* pointer to list:ListNode:abstract_collection#Container#length */ +(nitmethod_t)VIRTUAL_abstract_collection__Container__has, /* pointer to list:ListNode:abstract_collection#Container#has */ +(nitmethod_t)VIRTUAL_abstract_collection__Container__has_only, /* pointer to list:ListNode:abstract_collection#Container#has_only */ +(nitmethod_t)VIRTUAL_abstract_collection__Container__count, /* pointer to list:ListNode:abstract_collection#Container#count */ +(nitmethod_t)VIRTUAL_abstract_collection__Container__first, /* pointer to list:ListNode:abstract_collection#Container#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to list:ListNode:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to list:ListNode:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to list:ListNode:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to list:ListNode:math#Collection#rand */ +(nitmethod_t)VIRTUAL_abstract_collection__Container__init, /* pointer to list:ListNode:abstract_collection#Container#init */ +(nitmethod_t)VIRTUAL_abstract_collection__Container__item, /* pointer to list:ListNode:abstract_collection#Container#item */ +(nitmethod_t)VIRTUAL_abstract_collection__Container__item_61d, /* pointer to list:ListNode:abstract_collection#Container#item= */ +(nitmethod_t)VIRTUAL_list__ListNode__init, /* pointer to list:ListNode:list#ListNode#init */ +(nitmethod_t)VIRTUAL_list__ListNode__next, /* pointer to list:ListNode:list#ListNode#next */ +(nitmethod_t)VIRTUAL_list__ListNode__next_61d, /* pointer to list:ListNode:list#ListNode#next= */ +(nitmethod_t)VIRTUAL_list__ListNode__prev, /* pointer to list:ListNode:list#ListNode#prev */ +(nitmethod_t)VIRTUAL_list__ListNode__prev_61d, /* pointer to list:ListNode:list#ListNode#prev= */ +} +}; +/* allocate ListNode[nullable Object] */ +val* NEW_list__ListNode(const struct type* type) { +val* self /* : ListNode[nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 3*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_list__ListNode; +return self; +} +/* allocate ListNode[nullable Object] */ +void CHECK_NEW_list__ListNode(val* self) { +val* var /* : nullable Object */; +val* var1 /* : nullable ListNode[nullable Object] */; +val* var2 /* : nullable ListNode[nullable Object] */; +var = self->attrs[COLOR_abstract_collection__Container___item].val; /* _item on */ +var1 = self->attrs[COLOR_list__ListNode___next].val; /* _next on */ +var2 = self->attrs[COLOR_list__ListNode___prev].val; /* _prev on */ +} +/* runtime class array__Array */ +const struct class class_array__Array = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to array:Array:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to array:Array:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_abstract_collection__SequenceRead___61d_61d, /* pointer to array:Array:abstract_collection#SequenceRead#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to array:Array:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__output, /* pointer to array:Array:array#AbstractArrayRead#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to array:Array:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to array:Array:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to array:Array:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_abstract_collection__SequenceRead__hash, /* pointer to array:Array:abstract_collection#SequenceRead#hash */ +(nitmethod_t)VIRTUAL_string__Array__to_s, /* pointer to array:Array:string#Array#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to array:Array:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to array:Array:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to array:Array:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to array:Array:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to array:Array:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to array:Array:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to array:Array:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to array:Array:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to array:Array:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to array:Array:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to array:Array:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to array:Array:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to array:Array:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to array:Array:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to array:Array:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to array:Array:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to array:Array:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to array:Array:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to array:Array:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to array:Array:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to array:Array:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to array:Array:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to array:Array:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to array:Array:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to array:Array:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to array:Array:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to array:Array:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to array:Array:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to array:Array:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to array:Array:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to array:Array:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__iterator, /* pointer to array:Array:array#AbstractArrayRead#iterator */ +(nitmethod_t)VIRTUAL_array__Array__iterate, /* pointer to array:Array:array#Array#iterate */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__is_empty, /* pointer to array:Array:array#AbstractArrayRead#is_empty */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__length, /* pointer to array:Array:array#AbstractArrayRead#length */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__has, /* pointer to array:Array:array#AbstractArrayRead#has */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__has_only, /* pointer to array:Array:array#AbstractArrayRead#has_only */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__count, /* pointer to array:Array:array#AbstractArrayRead#count */ +(nitmethod_t)VIRTUAL_abstract_collection__SequenceRead__first, /* pointer to array:Array:abstract_collection#SequenceRead#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to array:Array:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to array:Array:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to array:Array:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to array:Array:math#Collection#rand */ +(nitmethod_t)VIRTUAL_array__AbstractArray__clear, /* pointer to array:Array:array#AbstractArray#clear */ +(nitmethod_t)VIRTUAL_array__AbstractArray__remove, /* pointer to array:Array:array#AbstractArray#remove */ +(nitmethod_t)VIRTUAL_array__AbstractArray__remove_all, /* pointer to array:Array:array#AbstractArray#remove_all */ +(nitmethod_t)VIRTUAL_array__Array__add, /* pointer to array:Array:array#Array#add */ +(nitmethod_t)VIRTUAL_abstract_collection__SimpleCollection__add_all, /* pointer to array:Array:abstract_collection#SimpleCollection#add_all */ +(nitmethod_t)VIRTUAL_array__Array___91d_93d, /* pointer to array:Array:array#Array#[] */ +(nitmethod_t)VIRTUAL_abstract_collection__SequenceRead__last, /* pointer to array:Array:abstract_collection#SequenceRead#last */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__index_of, /* pointer to array:Array:array#AbstractArrayRead#index_of */ +(nitmethod_t)VIRTUAL_abstract_collection__Sequence__first_61d, /* pointer to array:Array:abstract_collection#Sequence#first= */ +(nitmethod_t)VIRTUAL_abstract_collection__Sequence__last_61d, /* pointer to array:Array:abstract_collection#Sequence#last= */ +(nitmethod_t)VIRTUAL_array__AbstractArray__push, /* pointer to array:Array:array#AbstractArray#push */ +(nitmethod_t)VIRTUAL_abstract_collection__Sequence__append, /* pointer to array:Array:abstract_collection#Sequence#append */ +(nitmethod_t)VIRTUAL_array__AbstractArray__pop, /* pointer to array:Array:array#AbstractArray#pop */ +(nitmethod_t)VIRTUAL_array__AbstractArray__unshift, /* pointer to array:Array:array#AbstractArray#unshift */ +(nitmethod_t)VIRTUAL_array__AbstractArray__shift, /* pointer to array:Array:array#AbstractArray#shift */ +(nitmethod_t)VIRTUAL_array__Array___91d_93d_61d, /* pointer to array:Array:array#Array#[]= */ +(nitmethod_t)VIRTUAL_array__AbstractArray__remove_at, /* pointer to array:Array:array#AbstractArray#remove_at */ +(nitmethod_t)VIRTUAL_collection__Sequence__subarray, /* pointer to array:Array:collection#Sequence#subarray */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__last_index_of, /* pointer to array:Array:array#AbstractArrayRead#last_index_of */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__index_of_from, /* pointer to array:Array:array#AbstractArrayRead#index_of_from */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__last_index_of_from, /* pointer to array:Array:array#AbstractArrayRead#last_index_of_from */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__reversed, /* pointer to array:Array:array#AbstractArrayRead#reversed */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__copy_to, /* pointer to array:Array:array#AbstractArrayRead#copy_to */ +(nitmethod_t)VIRTUAL_array__AbstractArrayRead__init, /* pointer to array:Array:array#AbstractArrayRead#init */ +(nitmethod_t)VIRTUAL_array__Array__enlarge, /* pointer to array:Array:array#Array#enlarge */ +(nitmethod_t)VIRTUAL_array__AbstractArray__insert, /* pointer to array:Array:array#AbstractArray#insert */ +(nitmethod_t)VIRTUAL_array__AbstractArray__swap_at, /* pointer to array:Array:array#AbstractArray#swap_at */ +(nitmethod_t)VIRTUAL_array__AbstractArray__init, /* pointer to array:Array:array#AbstractArray#init */ +(nitmethod_t)VIRTUAL_array__ArrayCapable__calloc_array, /* pointer to array:Array:array#ArrayCapable#calloc_array */ +(nitmethod_t)VIRTUAL_array__Array__init, /* pointer to array:Array:array#Array#init */ +(nitmethod_t)VIRTUAL_array__Array__from, /* pointer to array:Array:array#Array#from */ +(nitmethod_t)VIRTUAL_array__Array__with_items, /* pointer to array:Array:array#Array#with_items */ +(nitmethod_t)VIRTUAL_array__Array__with_capacity, /* pointer to array:Array:array#Array#with_capacity */ +(nitmethod_t)VIRTUAL_array__Array__filled_with, /* pointer to array:Array:array#Array#filled_with */ +(nitmethod_t)VIRTUAL_array__Array__with_native, /* pointer to array:Array:array#Array#with_native */ +(nitmethod_t)VIRTUAL_array__Array__intern_items, /* pointer to array:Array:array#Array#intern_items */ +(nitmethod_t)VIRTUAL_array__Array__sort, /* pointer to array:Array:array#Array#sort */ +(nitmethod_t)VIRTUAL_array__Array__sub_sort, /* pointer to array:Array:array#Array#sub_sort */ +(nitmethod_t)VIRTUAL_abstract_compiler__Array___45d, /* pointer to array:Array:abstract_compiler#Array#- */ +} +}; +/* allocate Array[nullable Object] */ +val* NEW_array__Array(const struct type* type) { +val* self /* : Array[nullable Object] */; +long var /* : Int */; +val* var1 /* : null */; +long var2 /* : Int */; +self = nit_alloc(sizeof(struct instance) + 3*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_array__Array; +var = 0; +self->attrs[COLOR_array__AbstractArrayRead___length].l = var; /* _length on */ +var1 = NULL; +self->attrs[COLOR_array__Array___items].val = var1; /* _items on */ +var2 = 0; +self->attrs[COLOR_array__Array___capacity].l = var2; /* _capacity on */ +return self; +} +/* allocate Array[nullable Object] */ +void CHECK_NEW_array__Array(val* self) { +} +/* runtime class array__ArrayIterator */ +const struct class class_array__ArrayIterator = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to array:ArrayIterator:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to array:ArrayIterator:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to array:ArrayIterator:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to array:ArrayIterator:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to array:ArrayIterator:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to array:ArrayIterator:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to array:ArrayIterator:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to array:ArrayIterator:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to array:ArrayIterator:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to array:ArrayIterator:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to array:ArrayIterator:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to array:ArrayIterator:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to array:ArrayIterator:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to array:ArrayIterator:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to array:ArrayIterator:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to array:ArrayIterator:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to array:ArrayIterator:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to array:ArrayIterator:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to array:ArrayIterator:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to array:ArrayIterator:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to array:ArrayIterator:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to array:ArrayIterator:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to array:ArrayIterator:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to array:ArrayIterator:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to array:ArrayIterator:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to array:ArrayIterator:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to array:ArrayIterator:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to array:ArrayIterator:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to array:ArrayIterator:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to array:ArrayIterator:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to array:ArrayIterator:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to array:ArrayIterator:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to array:ArrayIterator:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to array:ArrayIterator:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to array:ArrayIterator:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to array:ArrayIterator:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to array:ArrayIterator:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to array:ArrayIterator:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to array:ArrayIterator:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to array:ArrayIterator:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to array:ArrayIterator:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_array__ArrayIterator__item, /* pointer to array:ArrayIterator:array#ArrayIterator#item */ +(nitmethod_t)VIRTUAL_array__ArrayIterator__next, /* pointer to array:ArrayIterator:array#ArrayIterator#next */ +(nitmethod_t)VIRTUAL_array__ArrayIterator__is_ok, /* pointer to array:ArrayIterator:array#ArrayIterator#is_ok */ +(nitmethod_t)VIRTUAL_array__Iterator__to_a, /* pointer to array:ArrayIterator:array#Iterator#to_a */ +(nitmethod_t)VIRTUAL_array__ArrayIterator__index, /* pointer to array:ArrayIterator:array#ArrayIterator#index */ +(nitmethod_t)VIRTUAL_array__ArrayIterator__init, /* pointer to array:ArrayIterator:array#ArrayIterator#init */ +} +}; +/* allocate ArrayIterator[nullable Object] */ +val* NEW_array__ArrayIterator(const struct type* type) { +val* self /* : ArrayIterator[nullable Object] */; +long var /* : Int */; +self = nit_alloc(sizeof(struct instance) + 2*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_array__ArrayIterator; +var = 0; +self->attrs[COLOR_array__ArrayIterator___index].l = var; /* _index on */ +return self; +} +/* allocate ArrayIterator[nullable Object] */ +void CHECK_NEW_array__ArrayIterator(val* self) { +val* var /* : AbstractArrayRead[nullable Object] */; +var = self->attrs[COLOR_array__ArrayIterator___array].val; /* _array on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _array", "lib/standard/collection/array.nit", 439); +exit(1); +} +} +/* runtime class array__ArraySet */ +const struct class class_array__ArraySet = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to array:ArraySet:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to array:ArraySet:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_abstract_collection__Set___61d_61d, /* pointer to array:ArraySet:abstract_collection#Set#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to array:ArraySet:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to array:ArraySet:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to array:ArraySet:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to array:ArraySet:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to array:ArraySet:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_abstract_collection__Set__hash, /* pointer to array:ArraySet:abstract_collection#Set#hash */ +(nitmethod_t)VIRTUAL_string__Collection__to_s, /* pointer to array:ArraySet:string#Collection#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to array:ArraySet:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to array:ArraySet:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to array:ArraySet:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to array:ArraySet:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to array:ArraySet:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to array:ArraySet:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to array:ArraySet:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to array:ArraySet:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to array:ArraySet:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to array:ArraySet:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to array:ArraySet:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to array:ArraySet:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to array:ArraySet:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to array:ArraySet:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to array:ArraySet:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to array:ArraySet:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to array:ArraySet:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to array:ArraySet:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to array:ArraySet:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to array:ArraySet:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to array:ArraySet:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to array:ArraySet:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to array:ArraySet:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to array:ArraySet:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to array:ArraySet:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to array:ArraySet:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to array:ArraySet:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to array:ArraySet:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to array:ArraySet:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to array:ArraySet:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to array:ArraySet:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_array__ArraySet__iterator, /* pointer to array:ArraySet:array#ArraySet#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__iterate, /* pointer to array:ArraySet:abstract_collection#Collection#iterate */ +(nitmethod_t)VIRTUAL_array__ArraySet__is_empty, /* pointer to array:ArraySet:array#ArraySet#is_empty */ +(nitmethod_t)VIRTUAL_array__ArraySet__length, /* pointer to array:ArraySet:array#ArraySet#length */ +(nitmethod_t)VIRTUAL_array__ArraySet__has, /* pointer to array:ArraySet:array#ArraySet#has */ +(nitmethod_t)VIRTUAL_abstract_collection__Set__has_only, /* pointer to array:ArraySet:abstract_collection#Set#has_only */ +(nitmethod_t)VIRTUAL_abstract_collection__Set__count, /* pointer to array:ArraySet:abstract_collection#Set#count */ +(nitmethod_t)VIRTUAL_array__ArraySet__first, /* pointer to array:ArraySet:array#ArraySet#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to array:ArraySet:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to array:ArraySet:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to array:ArraySet:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to array:ArraySet:math#Collection#rand */ +(nitmethod_t)VIRTUAL_array__ArraySet__clear, /* pointer to array:ArraySet:array#ArraySet#clear */ +(nitmethod_t)VIRTUAL_array__ArraySet__remove, /* pointer to array:ArraySet:array#ArraySet#remove */ +(nitmethod_t)VIRTUAL_array__ArraySet__remove_all, /* pointer to array:ArraySet:array#ArraySet#remove_all */ +(nitmethod_t)VIRTUAL_array__ArraySet__add, /* pointer to array:ArraySet:array#ArraySet#add */ +(nitmethod_t)VIRTUAL_abstract_collection__SimpleCollection__add_all, /* pointer to array:ArraySet:abstract_collection#SimpleCollection#add_all */ +(nitmethod_t)VIRTUAL_array__ArraySet__enlarge, /* pointer to array:ArraySet:array#ArraySet#enlarge */ +(nitmethod_t)VIRTUAL_array__ArraySet__remove_at, /* pointer to array:ArraySet:array#ArraySet#remove_at */ +(nitmethod_t)VIRTUAL_array__ArraySet__init, /* pointer to array:ArraySet:array#ArraySet#init */ +(nitmethod_t)VIRTUAL_array__ArraySet__with_capacity, /* pointer to array:ArraySet:array#ArraySet#with_capacity */ +} +}; +/* allocate ArraySet[Object] */ +val* NEW_array__ArraySet(const struct type* type) { +val* self /* : ArraySet[Object] */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_array__ArraySet; +return self; +} +/* allocate ArraySet[Object] */ +void CHECK_NEW_array__ArraySet(val* self) { +val* var /* : Array[Object] */; +var = self->attrs[COLOR_array__ArraySet___array].val; /* _array on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _array", "lib/standard/collection/array.nit", 448); +exit(1); +} +} +/* runtime class array__ArraySetIterator */ +const struct class class_array__ArraySetIterator = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to array:ArraySetIterator:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to array:ArraySetIterator:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to array:ArraySetIterator:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to array:ArraySetIterator:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to array:ArraySetIterator:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to array:ArraySetIterator:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to array:ArraySetIterator:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to array:ArraySetIterator:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to array:ArraySetIterator:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to array:ArraySetIterator:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to array:ArraySetIterator:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to array:ArraySetIterator:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to array:ArraySetIterator:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to array:ArraySetIterator:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to array:ArraySetIterator:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to array:ArraySetIterator:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to array:ArraySetIterator:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to array:ArraySetIterator:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to array:ArraySetIterator:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to array:ArraySetIterator:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to array:ArraySetIterator:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to array:ArraySetIterator:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to array:ArraySetIterator:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to array:ArraySetIterator:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to array:ArraySetIterator:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to array:ArraySetIterator:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to array:ArraySetIterator:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to array:ArraySetIterator:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to array:ArraySetIterator:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to array:ArraySetIterator:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to array:ArraySetIterator:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to array:ArraySetIterator:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to array:ArraySetIterator:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to array:ArraySetIterator:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to array:ArraySetIterator:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to array:ArraySetIterator:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to array:ArraySetIterator:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to array:ArraySetIterator:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to array:ArraySetIterator:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to array:ArraySetIterator:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to array:ArraySetIterator:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_array__ArraySetIterator__item, /* pointer to array:ArraySetIterator:array#ArraySetIterator#item */ +(nitmethod_t)VIRTUAL_array__ArraySetIterator__next, /* pointer to array:ArraySetIterator:array#ArraySetIterator#next */ +(nitmethod_t)VIRTUAL_array__ArraySetIterator__is_ok, /* pointer to array:ArraySetIterator:array#ArraySetIterator#is_ok */ +(nitmethod_t)VIRTUAL_array__Iterator__to_a, /* pointer to array:ArraySetIterator:array#Iterator#to_a */ +(nitmethod_t)VIRTUAL_array__ArraySetIterator__init, /* pointer to array:ArraySetIterator:array#ArraySetIterator#init */ +} +}; +/* allocate ArraySetIterator[Object] */ +val* NEW_array__ArraySetIterator(const struct type* type) { +val* self /* : ArraySetIterator[Object] */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_array__ArraySetIterator; +return self; +} +/* allocate ArraySetIterator[Object] */ +void CHECK_NEW_array__ArraySetIterator(val* self) { +val* var /* : ArrayIterator[Object] */; +var = self->attrs[COLOR_array__ArraySetIterator___iter].val; /* _iter on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _iter", "lib/standard/collection/array.nit", 505); +exit(1); +} +} +/* runtime class array__ArrayMap */ +const struct class class_array__ArrayMap = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to array:ArrayMap:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to array:ArrayMap:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to array:ArrayMap:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to array:ArrayMap:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to array:ArrayMap:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to array:ArrayMap:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to array:ArrayMap:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to array:ArrayMap:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to array:ArrayMap:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to array:ArrayMap:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to array:ArrayMap:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to array:ArrayMap:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to array:ArrayMap:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to array:ArrayMap:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to array:ArrayMap:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to array:ArrayMap:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to array:ArrayMap:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to array:ArrayMap:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to array:ArrayMap:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to array:ArrayMap:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to array:ArrayMap:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to array:ArrayMap:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to array:ArrayMap:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to array:ArrayMap:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to array:ArrayMap:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to array:ArrayMap:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to array:ArrayMap:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to array:ArrayMap:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to array:ArrayMap:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to array:ArrayMap:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to array:ArrayMap:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to array:ArrayMap:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to array:ArrayMap:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to array:ArrayMap:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to array:ArrayMap:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to array:ArrayMap:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to array:ArrayMap:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to array:ArrayMap:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to array:ArrayMap:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to array:ArrayMap:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to array:ArrayMap:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_array__ArrayMap___91d_93d, /* pointer to array:ArrayMap:array#ArrayMap#[] */ +(nitmethod_t)VIRTUAL_abstract_collection__MapRead__get_or_default, /* pointer to array:ArrayMap:abstract_collection#MapRead#get_or_default */ +(nitmethod_t)VIRTUAL_abstract_collection__MapRead__has_key, /* pointer to array:ArrayMap:abstract_collection#MapRead#has_key */ +(nitmethod_t)VIRTUAL_array__ArrayMap__iterator, /* pointer to array:ArrayMap:array#ArrayMap#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__MapRead__iterate, /* pointer to array:ArrayMap:abstract_collection#MapRead#iterate */ +(nitmethod_t)VIRTUAL_array__ArrayMap__values, /* pointer to array:ArrayMap:array#ArrayMap#values */ +(nitmethod_t)VIRTUAL_array__ArrayMap__keys, /* pointer to array:ArrayMap:array#ArrayMap#keys */ +(nitmethod_t)VIRTUAL_array__ArrayMap__is_empty, /* pointer to array:ArrayMap:array#ArrayMap#is_empty */ +(nitmethod_t)VIRTUAL_array__ArrayMap__length, /* pointer to array:ArrayMap:array#ArrayMap#length */ +(nitmethod_t)VIRTUAL_array__ArrayMap___91d_93d_61d, /* pointer to array:ArrayMap:array#ArrayMap#[]= */ +(nitmethod_t)VIRTUAL_abstract_collection__Map__recover_with, /* pointer to array:ArrayMap:abstract_collection#Map#recover_with */ +(nitmethod_t)VIRTUAL_array__ArrayMap__clear, /* pointer to array:ArrayMap:array#ArrayMap#clear */ +(nitmethod_t)VIRTUAL_string__Map__join, /* pointer to array:ArrayMap:string#Map#join */ +(nitmethod_t)VIRTUAL_array__ArrayMap__couple_at, /* pointer to array:ArrayMap:array#ArrayMap#couple_at */ +(nitmethod_t)VIRTUAL_array__ArrayMap__keys_61d, /* pointer to array:ArrayMap:array#ArrayMap#keys= */ +(nitmethod_t)VIRTUAL_array__ArrayMap__values_61d, /* pointer to array:ArrayMap:array#ArrayMap#values= */ +(nitmethod_t)VIRTUAL_array__ArrayMap__enlarge, /* pointer to array:ArrayMap:array#ArrayMap#enlarge */ +(nitmethod_t)VIRTUAL_array__ArrayMap__remove_at_index, /* pointer to array:ArrayMap:array#ArrayMap#remove_at_index */ +(nitmethod_t)VIRTUAL_array__ArrayMap__index, /* pointer to array:ArrayMap:array#ArrayMap#index */ +(nitmethod_t)VIRTUAL_array__ArrayMap__init, /* pointer to array:ArrayMap:array#ArrayMap#init */ +} +}; +/* allocate ArrayMap[Object, nullable Object] */ +val* NEW_array__ArrayMap(const struct type* type) { +val* self /* : ArrayMap[Object, nullable Object] */; +val* var /* : ArrayMapKeys[Object, nullable Object] */; +val* var1 /* : ArrayMapValues[Object, nullable Object] */; +long var2 /* : Int */; +self = nit_alloc(sizeof(struct instance) + 4*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_array__ArrayMap; +var = NEW_array__ArrayMapKeys(self->type->resolution_table->types[COLOR_array__ArrayMapKeysarray__ArrayMap_FT0array__ArrayMap_FT1]); +((void (*)(val*, val*))(var->class->vft[COLOR_array__ArrayMapKeys__init]))(var, self) /* init on */; +CHECK_NEW_array__ArrayMapKeys(var); +self->attrs[COLOR_array__ArrayMap___64dkeys].val = var; /* @keys on */ +var1 = NEW_array__ArrayMapValues(self->type->resolution_table->types[COLOR_array__ArrayMapValuesarray__ArrayMap_FT0array__ArrayMap_FT1]); +((void (*)(val*, val*))(var1->class->vft[COLOR_array__ArrayMapValues__init]))(var1, self) /* init on */; +CHECK_NEW_array__ArrayMapValues(var1); +self->attrs[COLOR_array__ArrayMap___64dvalues].val = var1; /* @values on */ +var2 = 0; +self->attrs[COLOR_array__ArrayMap___last_index].l = var2; /* _last_index on */ +return self; +} +/* allocate ArrayMap[Object, nullable Object] */ +void CHECK_NEW_array__ArrayMap(val* self) { +val* var /* : Array[Couple[Object, nullable Object]] */; +var = self->attrs[COLOR_array__ArrayMap___items].val; /* _items on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _items", "lib/standard/collection/array.nit", 560); +exit(1); +} +} +/* runtime class array__ArrayMapKeys */ +const struct class class_array__ArrayMapKeys = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to array:ArrayMapKeys:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to array:ArrayMapKeys:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to array:ArrayMapKeys:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to array:ArrayMapKeys:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to array:ArrayMapKeys:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to array:ArrayMapKeys:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to array:ArrayMapKeys:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to array:ArrayMapKeys:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to array:ArrayMapKeys:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Collection__to_s, /* pointer to array:ArrayMapKeys:string#Collection#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to array:ArrayMapKeys:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to array:ArrayMapKeys:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to array:ArrayMapKeys:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to array:ArrayMapKeys:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to array:ArrayMapKeys:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to array:ArrayMapKeys:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to array:ArrayMapKeys:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to array:ArrayMapKeys:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to array:ArrayMapKeys:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to array:ArrayMapKeys:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to array:ArrayMapKeys:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to array:ArrayMapKeys:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to array:ArrayMapKeys:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to array:ArrayMapKeys:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to array:ArrayMapKeys:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to array:ArrayMapKeys:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to array:ArrayMapKeys:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to array:ArrayMapKeys:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to array:ArrayMapKeys:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to array:ArrayMapKeys:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to array:ArrayMapKeys:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to array:ArrayMapKeys:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to array:ArrayMapKeys:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to array:ArrayMapKeys:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to array:ArrayMapKeys:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to array:ArrayMapKeys:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to array:ArrayMapKeys:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to array:ArrayMapKeys:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to array:ArrayMapKeys:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to array:ArrayMapKeys:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to array:ArrayMapKeys:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__iterator, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__iterate, /* pointer to array:ArrayMapKeys:abstract_collection#Collection#iterate */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__is_empty, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#is_empty */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__length, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#length */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__has, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#has */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__has_only, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#has_only */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__count, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#count */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__first, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to array:ArrayMapKeys:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to array:ArrayMapKeys:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to array:ArrayMapKeys:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to array:ArrayMapKeys:math#Collection#rand */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__clear, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#clear */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__remove, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#remove */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__remove_all, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#remove_all */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__map, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#map */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__map_61d, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#map= */ +(nitmethod_t)VIRTUAL_array__ArrayMapKeys__init, /* pointer to array:ArrayMapKeys:array#ArrayMapKeys#init */ +} +}; +/* allocate ArrayMapKeys[Object, nullable Object] */ +val* NEW_array__ArrayMapKeys(const struct type* type) { +val* self /* : ArrayMapKeys[Object, nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_array__ArrayMapKeys; +return self; +} +/* allocate ArrayMapKeys[Object, nullable Object] */ +void CHECK_NEW_array__ArrayMapKeys(val* self) { +val* var /* : ArrayMap[Object, nullable Object] */; +var = self->attrs[COLOR_array__ArrayMapKeys___64dmap].val; /* @map on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @map", "lib/standard/collection/array.nit", 600); +exit(1); +} +} +/* runtime class array__ArrayMapValues */ +const struct class class_array__ArrayMapValues = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to array:ArrayMapValues:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to array:ArrayMapValues:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to array:ArrayMapValues:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to array:ArrayMapValues:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to array:ArrayMapValues:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to array:ArrayMapValues:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to array:ArrayMapValues:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to array:ArrayMapValues:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to array:ArrayMapValues:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Collection__to_s, /* pointer to array:ArrayMapValues:string#Collection#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to array:ArrayMapValues:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to array:ArrayMapValues:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to array:ArrayMapValues:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to array:ArrayMapValues:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to array:ArrayMapValues:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to array:ArrayMapValues:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to array:ArrayMapValues:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to array:ArrayMapValues:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to array:ArrayMapValues:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to array:ArrayMapValues:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to array:ArrayMapValues:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to array:ArrayMapValues:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to array:ArrayMapValues:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to array:ArrayMapValues:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to array:ArrayMapValues:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to array:ArrayMapValues:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to array:ArrayMapValues:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to array:ArrayMapValues:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to array:ArrayMapValues:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to array:ArrayMapValues:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to array:ArrayMapValues:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to array:ArrayMapValues:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to array:ArrayMapValues:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to array:ArrayMapValues:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to array:ArrayMapValues:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to array:ArrayMapValues:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to array:ArrayMapValues:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to array:ArrayMapValues:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to array:ArrayMapValues:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to array:ArrayMapValues:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to array:ArrayMapValues:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__iterator, /* pointer to array:ArrayMapValues:array#ArrayMapValues#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__iterate, /* pointer to array:ArrayMapValues:abstract_collection#Collection#iterate */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__is_empty, /* pointer to array:ArrayMapValues:array#ArrayMapValues#is_empty */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__length, /* pointer to array:ArrayMapValues:array#ArrayMapValues#length */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__has, /* pointer to array:ArrayMapValues:array#ArrayMapValues#has */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__has_only, /* pointer to array:ArrayMapValues:array#ArrayMapValues#has_only */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__count, /* pointer to array:ArrayMapValues:array#ArrayMapValues#count */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__first, /* pointer to array:ArrayMapValues:array#ArrayMapValues#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to array:ArrayMapValues:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to array:ArrayMapValues:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to array:ArrayMapValues:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to array:ArrayMapValues:math#Collection#rand */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__clear, /* pointer to array:ArrayMapValues:array#ArrayMapValues#clear */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__remove, /* pointer to array:ArrayMapValues:array#ArrayMapValues#remove */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__remove_all, /* pointer to array:ArrayMapValues:array#ArrayMapValues#remove_all */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__map, /* pointer to array:ArrayMapValues:array#ArrayMapValues#map */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__map_61d, /* pointer to array:ArrayMapValues:array#ArrayMapValues#map= */ +(nitmethod_t)VIRTUAL_array__ArrayMapValues__init, /* pointer to array:ArrayMapValues:array#ArrayMapValues#init */ +} +}; +/* allocate ArrayMapValues[Object, nullable Object] */ +val* NEW_array__ArrayMapValues(const struct type* type) { +val* self /* : ArrayMapValues[Object, nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_array__ArrayMapValues; +return self; +} +/* allocate ArrayMapValues[Object, nullable Object] */ +void CHECK_NEW_array__ArrayMapValues(val* self) { +val* var /* : ArrayMap[Object, nullable Object] */; +var = self->attrs[COLOR_array__ArrayMapValues___64dmap].val; /* @map on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @map", "lib/standard/collection/array.nit", 620); +exit(1); +} +} +/* runtime class array__NativeArray */ +const struct class class_array__NativeArray = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to array:NativeArray:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to array:NativeArray:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to array:NativeArray:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to array:NativeArray:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to array:NativeArray:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to array:NativeArray:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to array:NativeArray:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to array:NativeArray:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to array:NativeArray:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to array:NativeArray:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to array:NativeArray:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to array:NativeArray:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to array:NativeArray:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to array:NativeArray:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to array:NativeArray:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to array:NativeArray:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to array:NativeArray:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to array:NativeArray:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to array:NativeArray:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to array:NativeArray:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to array:NativeArray:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to array:NativeArray:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to array:NativeArray:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to array:NativeArray:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to array:NativeArray:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to array:NativeArray:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to array:NativeArray:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to array:NativeArray:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to array:NativeArray:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to array:NativeArray:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to array:NativeArray:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to array:NativeArray:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to array:NativeArray:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to array:NativeArray:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to array:NativeArray:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to array:NativeArray:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to array:NativeArray:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to array:NativeArray:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to array:NativeArray:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to array:NativeArray:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to array:NativeArray:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_array__NativeArray___91d_93d, /* pointer to array:NativeArray:array#NativeArray#[] */ +(nitmethod_t)VIRTUAL_array__NativeArray___91d_93d_61d, /* pointer to array:NativeArray:array#NativeArray#[]= */ +(nitmethod_t)VIRTUAL_array__NativeArray__copy_to, /* pointer to array:NativeArray:array#NativeArray#copy_to */ +} +}; +/* allocate NativeArray[nullable Object] */ +val* NEW_array__NativeArray(int length, const struct type* type) { +val* self /* : NativeArray[nullable Object] */; +self = nit_alloc(sizeof(struct instance_array__NativeArray) + length*sizeof(val*)); +self->type = type; +self->class = &class_array__NativeArray; +return self; +} +/* runtime class sorter__ComparableSorter */ +const struct class class_sorter__ComparableSorter = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to sorter:ComparableSorter:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to sorter:ComparableSorter:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to sorter:ComparableSorter:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to sorter:ComparableSorter:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to sorter:ComparableSorter:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to sorter:ComparableSorter:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to sorter:ComparableSorter:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to sorter:ComparableSorter:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to sorter:ComparableSorter:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to sorter:ComparableSorter:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to sorter:ComparableSorter:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to sorter:ComparableSorter:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to sorter:ComparableSorter:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to sorter:ComparableSorter:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to sorter:ComparableSorter:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to sorter:ComparableSorter:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to sorter:ComparableSorter:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to sorter:ComparableSorter:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to sorter:ComparableSorter:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to sorter:ComparableSorter:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to sorter:ComparableSorter:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to sorter:ComparableSorter:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to sorter:ComparableSorter:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to sorter:ComparableSorter:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to sorter:ComparableSorter:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to sorter:ComparableSorter:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to sorter:ComparableSorter:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to sorter:ComparableSorter:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to sorter:ComparableSorter:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to sorter:ComparableSorter:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to sorter:ComparableSorter:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to sorter:ComparableSorter:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to sorter:ComparableSorter:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to sorter:ComparableSorter:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to sorter:ComparableSorter:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to sorter:ComparableSorter:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to sorter:ComparableSorter:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to sorter:ComparableSorter:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to sorter:ComparableSorter:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to sorter:ComparableSorter:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to sorter:ComparableSorter:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_sorter__ComparableSorter__compare, /* pointer to sorter:ComparableSorter:sorter#ComparableSorter#compare */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__sort, /* pointer to sorter:ComparableSorter:sorter#AbstractSorter#sort */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__sub_sort, /* pointer to sorter:ComparableSorter:sorter#AbstractSorter#sub_sort */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__quick_sort, /* pointer to sorter:ComparableSorter:sorter#AbstractSorter#quick_sort */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__bubble_sort, /* pointer to sorter:ComparableSorter:sorter#AbstractSorter#bubble_sort */ +(nitmethod_t)VIRTUAL_sorter__ComparableSorter__init, /* pointer to sorter:ComparableSorter:sorter#ComparableSorter#init */ +} +}; +/* allocate ComparableSorter[Comparable] */ +val* NEW_sorter__ComparableSorter(const struct type* type) { +val* self /* : ComparableSorter[Comparable] */; +self = nit_alloc(sizeof(struct instance) + 0*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_sorter__ComparableSorter; +return self; +} +/* allocate ComparableSorter[Comparable] */ +void CHECK_NEW_sorter__ComparableSorter(val* self) { +} +/* runtime class hash_collection__HashMap */ +const struct class class_hash_collection__HashMap = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to hash_collection:HashMap:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to hash_collection:HashMap:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to hash_collection:HashMap:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to hash_collection:HashMap:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to hash_collection:HashMap:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to hash_collection:HashMap:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to hash_collection:HashMap:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to hash_collection:HashMap:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to hash_collection:HashMap:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to hash_collection:HashMap:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to hash_collection:HashMap:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to hash_collection:HashMap:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to hash_collection:HashMap:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to hash_collection:HashMap:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to hash_collection:HashMap:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to hash_collection:HashMap:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to hash_collection:HashMap:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to hash_collection:HashMap:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to hash_collection:HashMap:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to hash_collection:HashMap:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to hash_collection:HashMap:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to hash_collection:HashMap:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to hash_collection:HashMap:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to hash_collection:HashMap:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to hash_collection:HashMap:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to hash_collection:HashMap:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to hash_collection:HashMap:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to hash_collection:HashMap:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to hash_collection:HashMap:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to hash_collection:HashMap:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to hash_collection:HashMap:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to hash_collection:HashMap:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to hash_collection:HashMap:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to hash_collection:HashMap:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to hash_collection:HashMap:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to hash_collection:HashMap:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to hash_collection:HashMap:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to hash_collection:HashMap:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to hash_collection:HashMap:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to hash_collection:HashMap:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to hash_collection:HashMap:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap___91d_93d, /* pointer to hash_collection:HashMap:hash_collection#HashMap#[] */ +(nitmethod_t)VIRTUAL_abstract_collection__MapRead__get_or_default, /* pointer to hash_collection:HashMap:abstract_collection#MapRead#get_or_default */ +(nitmethod_t)VIRTUAL_abstract_collection__MapRead__has_key, /* pointer to hash_collection:HashMap:abstract_collection#MapRead#has_key */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__iterator, /* pointer to hash_collection:HashMap:hash_collection#HashMap#iterator */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__iterate, /* pointer to hash_collection:HashMap:hash_collection#HashMap#iterate */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__values, /* pointer to hash_collection:HashMap:hash_collection#HashMap#values */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__keys, /* pointer to hash_collection:HashMap:hash_collection#HashMap#keys */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__is_empty, /* pointer to hash_collection:HashMap:hash_collection#HashMap#is_empty */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__length, /* pointer to hash_collection:HashMap:hash_collection#HashMap#length */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap___91d_93d_61d, /* pointer to hash_collection:HashMap:hash_collection#HashMap#[]= */ +(nitmethod_t)VIRTUAL_abstract_collection__Map__recover_with, /* pointer to hash_collection:HashMap:abstract_collection#Map#recover_with */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__clear, /* pointer to hash_collection:HashMap:hash_collection#HashMap#clear */ +(nitmethod_t)VIRTUAL_string__Map__join, /* pointer to hash_collection:HashMap:string#Map#join */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_array__ArrayCapable__calloc_array, /* pointer to hash_collection:HashMap:array#ArrayCapable#calloc_array */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__first_item, /* pointer to hash_collection:HashMap:hash_collection#HashCollection#first_item */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__index_at, /* pointer to hash_collection:HashMap:hash_collection#HashCollection#index_at */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__node_at, /* pointer to hash_collection:HashMap:hash_collection#HashCollection#node_at */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__node_at_idx, /* pointer to hash_collection:HashMap:hash_collection#HashCollection#node_at_idx */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__store, /* pointer to hash_collection:HashMap:hash_collection#HashCollection#store */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__remove_node, /* pointer to hash_collection:HashMap:hash_collection#HashCollection#remove_node */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__raz, /* pointer to hash_collection:HashMap:hash_collection#HashCollection#raz */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__enlarge, /* pointer to hash_collection:HashMap:hash_collection#HashCollection#enlarge */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__init, /* pointer to hash_collection:HashMap:hash_collection#HashCollection#init */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__init, /* pointer to hash_collection:HashMap:hash_collection#HashMap#init */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__keys_61d, /* pointer to hash_collection:HashMap:hash_collection#HashMap#keys= */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__values_61d, /* pointer to hash_collection:HashMap:hash_collection#HashMap#values= */ +} +}; +/* allocate HashMap[Object, nullable Object] */ +val* NEW_hash_collection__HashMap(const struct type* type) { +val* self /* : HashMap[Object, nullable Object] */; +val* var /* : null */; +long var1 /* : Int */; +long var2 /* : Int */; +val* var3 /* : null */; +val* var4 /* : null */; +val* var5 /* : null */; +val* var6 /* : null */; +val* var7 /* : HashMapKeys[Object, nullable Object] */; +val* var8 /* : HashMapValues[Object, nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 9*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_hash_collection__HashMap; +var = NULL; +self->attrs[COLOR_hash_collection__HashCollection___array].val = var; /* _array on */ +var1 = 0; +self->attrs[COLOR_hash_collection__HashCollection___capacity].l = var1; /* _capacity on */ +var2 = 0; +self->attrs[COLOR_hash_collection__HashCollection___length].l = var2; /* _length on */ +var3 = NULL; +self->attrs[COLOR_hash_collection__HashCollection___first_item].val = var3; /* _first_item on */ +var4 = NULL; +self->attrs[COLOR_hash_collection__HashCollection___last_item].val = var4; /* _last_item on */ +var5 = NULL; +self->attrs[COLOR_hash_collection__HashCollection___last_accessed_key].val = var5; /* _last_accessed_key on */ +var6 = NULL; +self->attrs[COLOR_hash_collection__HashCollection___last_accessed_node].val = var6; /* _last_accessed_node on */ +var7 = NEW_hash_collection__HashMapKeys(self->type->resolution_table->types[COLOR_hash_collection__HashMapKeyshash_collection__HashMap_FT0hash_collection__HashMap_FT1]); +((void (*)(val*, val*))(var7->class->vft[COLOR_hash_collection__HashMapKeys__init]))(var7, self) /* init on */; +CHECK_NEW_hash_collection__HashMapKeys(var7); +self->attrs[COLOR_hash_collection__HashMap___64dkeys].val = var7; /* @keys on */ +var8 = NEW_hash_collection__HashMapValues(self->type->resolution_table->types[COLOR_hash_collection__HashMapValueshash_collection__HashMap_FT0hash_collection__HashMap_FT1]); +((void (*)(val*, val*))(var8->class->vft[COLOR_hash_collection__HashMapValues__init]))(var8, self) /* init on */; +CHECK_NEW_hash_collection__HashMapValues(var8); +self->attrs[COLOR_hash_collection__HashMap___64dvalues].val = var8; /* @values on */ +return self; +} +/* allocate HashMap[Object, nullable Object] */ +void CHECK_NEW_hash_collection__HashMap(val* self) { +} +/* runtime class hash_collection__HashMapKeys */ +const struct class class_hash_collection__HashMapKeys = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to hash_collection:HashMapKeys:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to hash_collection:HashMapKeys:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to hash_collection:HashMapKeys:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to hash_collection:HashMapKeys:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to hash_collection:HashMapKeys:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to hash_collection:HashMapKeys:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to hash_collection:HashMapKeys:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to hash_collection:HashMapKeys:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to hash_collection:HashMapKeys:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Collection__to_s, /* pointer to hash_collection:HashMapKeys:string#Collection#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to hash_collection:HashMapKeys:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to hash_collection:HashMapKeys:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to hash_collection:HashMapKeys:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to hash_collection:HashMapKeys:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to hash_collection:HashMapKeys:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to hash_collection:HashMapKeys:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to hash_collection:HashMapKeys:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to hash_collection:HashMapKeys:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to hash_collection:HashMapKeys:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to hash_collection:HashMapKeys:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to hash_collection:HashMapKeys:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to hash_collection:HashMapKeys:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to hash_collection:HashMapKeys:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to hash_collection:HashMapKeys:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to hash_collection:HashMapKeys:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to hash_collection:HashMapKeys:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to hash_collection:HashMapKeys:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to hash_collection:HashMapKeys:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to hash_collection:HashMapKeys:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to hash_collection:HashMapKeys:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to hash_collection:HashMapKeys:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to hash_collection:HashMapKeys:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to hash_collection:HashMapKeys:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to hash_collection:HashMapKeys:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to hash_collection:HashMapKeys:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to hash_collection:HashMapKeys:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to hash_collection:HashMapKeys:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to hash_collection:HashMapKeys:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to hash_collection:HashMapKeys:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to hash_collection:HashMapKeys:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to hash_collection:HashMapKeys:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__iterator, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__iterate, /* pointer to hash_collection:HashMapKeys:abstract_collection#Collection#iterate */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__is_empty, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#is_empty */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__length, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#length */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__has, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#has */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__has_only, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#has_only */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__count, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#count */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__first, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to hash_collection:HashMapKeys:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to hash_collection:HashMapKeys:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to hash_collection:HashMapKeys:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to hash_collection:HashMapKeys:math#Collection#rand */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__clear, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#clear */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__remove, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#remove */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__remove_all, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#remove_all */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__map, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#map */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__map_61d, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#map= */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapKeys__init, /* pointer to hash_collection:HashMapKeys:hash_collection#HashMapKeys#init */ +} +}; +/* allocate HashMapKeys[Object, nullable Object] */ +val* NEW_hash_collection__HashMapKeys(const struct type* type) { +val* self /* : HashMapKeys[Object, nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_hash_collection__HashMapKeys; +return self; +} +/* allocate HashMapKeys[Object, nullable Object] */ +void CHECK_NEW_hash_collection__HashMapKeys(val* self) { +val* var /* : HashMap[Object, nullable Object] */; +var = self->attrs[COLOR_hash_collection__HashMapKeys___64dmap].val; /* @map on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @map", "lib/standard/collection/hash_collection.nit", 261); +exit(1); +} +} +/* runtime class hash_collection__HashMapValues */ +const struct class class_hash_collection__HashMapValues = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to hash_collection:HashMapValues:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to hash_collection:HashMapValues:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to hash_collection:HashMapValues:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to hash_collection:HashMapValues:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to hash_collection:HashMapValues:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to hash_collection:HashMapValues:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to hash_collection:HashMapValues:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to hash_collection:HashMapValues:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to hash_collection:HashMapValues:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Collection__to_s, /* pointer to hash_collection:HashMapValues:string#Collection#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to hash_collection:HashMapValues:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to hash_collection:HashMapValues:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to hash_collection:HashMapValues:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to hash_collection:HashMapValues:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to hash_collection:HashMapValues:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to hash_collection:HashMapValues:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to hash_collection:HashMapValues:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to hash_collection:HashMapValues:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to hash_collection:HashMapValues:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to hash_collection:HashMapValues:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to hash_collection:HashMapValues:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to hash_collection:HashMapValues:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to hash_collection:HashMapValues:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to hash_collection:HashMapValues:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to hash_collection:HashMapValues:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to hash_collection:HashMapValues:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to hash_collection:HashMapValues:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to hash_collection:HashMapValues:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to hash_collection:HashMapValues:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to hash_collection:HashMapValues:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to hash_collection:HashMapValues:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to hash_collection:HashMapValues:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to hash_collection:HashMapValues:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to hash_collection:HashMapValues:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to hash_collection:HashMapValues:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to hash_collection:HashMapValues:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to hash_collection:HashMapValues:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to hash_collection:HashMapValues:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to hash_collection:HashMapValues:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to hash_collection:HashMapValues:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to hash_collection:HashMapValues:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__iterator, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__iterate, /* pointer to hash_collection:HashMapValues:abstract_collection#Collection#iterate */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__is_empty, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#is_empty */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__length, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#length */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__has, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#has */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__has_only, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#has_only */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__count, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#count */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__first, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to hash_collection:HashMapValues:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to hash_collection:HashMapValues:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to hash_collection:HashMapValues:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to hash_collection:HashMapValues:math#Collection#rand */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__clear, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#clear */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__remove, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#remove */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__remove_all, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#remove_all */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__map, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#map */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__map_61d, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#map= */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapValues__init, /* pointer to hash_collection:HashMapValues:hash_collection#HashMapValues#init */ +} +}; +/* allocate HashMapValues[Object, nullable Object] */ +val* NEW_hash_collection__HashMapValues(const struct type* type) { +val* self /* : HashMapValues[Object, nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_hash_collection__HashMapValues; +return self; +} +/* allocate HashMapValues[Object, nullable Object] */ +void CHECK_NEW_hash_collection__HashMapValues(val* self) { +val* var /* : HashMap[Object, nullable Object] */; +var = self->attrs[COLOR_hash_collection__HashMapValues___64dmap].val; /* @map on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @map", "lib/standard/collection/hash_collection.nit", 282); +exit(1); +} +} +/* runtime class hash_collection__HashMapNode */ +const struct class class_hash_collection__HashMapNode = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to hash_collection:HashMapNode:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to hash_collection:HashMapNode:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to hash_collection:HashMapNode:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to hash_collection:HashMapNode:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to hash_collection:HashMapNode:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to hash_collection:HashMapNode:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to hash_collection:HashMapNode:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to hash_collection:HashMapNode:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to hash_collection:HashMapNode:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to hash_collection:HashMapNode:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to hash_collection:HashMapNode:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to hash_collection:HashMapNode:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to hash_collection:HashMapNode:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to hash_collection:HashMapNode:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to hash_collection:HashMapNode:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to hash_collection:HashMapNode:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to hash_collection:HashMapNode:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to hash_collection:HashMapNode:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to hash_collection:HashMapNode:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to hash_collection:HashMapNode:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to hash_collection:HashMapNode:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to hash_collection:HashMapNode:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to hash_collection:HashMapNode:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to hash_collection:HashMapNode:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to hash_collection:HashMapNode:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to hash_collection:HashMapNode:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to hash_collection:HashMapNode:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to hash_collection:HashMapNode:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to hash_collection:HashMapNode:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to hash_collection:HashMapNode:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to hash_collection:HashMapNode:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to hash_collection:HashMapNode:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to hash_collection:HashMapNode:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to hash_collection:HashMapNode:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to hash_collection:HashMapNode:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to hash_collection:HashMapNode:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to hash_collection:HashMapNode:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to hash_collection:HashMapNode:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to hash_collection:HashMapNode:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to hash_collection:HashMapNode:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to hash_collection:HashMapNode:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_hash_collection__HashNode__next_item, /* pointer to hash_collection:HashMapNode:hash_collection#HashNode#next_item */ +(nitmethod_t)VIRTUAL_hash_collection__HashNode__next_item_61d, /* pointer to hash_collection:HashMapNode:hash_collection#HashNode#next_item= */ +(nitmethod_t)VIRTUAL_hash_collection__HashNode__prev_item, /* pointer to hash_collection:HashMapNode:hash_collection#HashNode#prev_item */ +(nitmethod_t)VIRTUAL_hash_collection__HashNode__prev_item_61d, /* pointer to hash_collection:HashMapNode:hash_collection#HashNode#prev_item= */ +(nitmethod_t)VIRTUAL_hash_collection__HashNode__init, /* pointer to hash_collection:HashMapNode:hash_collection#HashNode#init */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapNode__init, /* pointer to hash_collection:HashMapNode:hash_collection#HashMapNode#init */ +} +}; +/* allocate HashMapNode[Object, nullable Object] */ +val* NEW_hash_collection__HashMapNode(const struct type* type) { +val* self /* : HashMapNode[Object, nullable Object] */; +val* var /* : null */; +val* var1 /* : null */; +val* var2 /* : null */; +val* var3 /* : null */; +self = nit_alloc(sizeof(struct instance) + 6*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_hash_collection__HashMapNode; +var = NULL; +self->attrs[COLOR_hash_collection__HashNode___next_item].val = var; /* _next_item on */ +var1 = NULL; +self->attrs[COLOR_hash_collection__HashNode___prev_item].val = var1; /* _prev_item on */ +var2 = NULL; +self->attrs[COLOR_hash_collection__HashNode___prev_in_bucklet].val = var2; /* _prev_in_bucklet on */ +var3 = NULL; +self->attrs[COLOR_hash_collection__HashNode___next_in_bucklet].val = var3; /* _next_in_bucklet on */ +return self; +} +/* allocate HashMapNode[Object, nullable Object] */ +void CHECK_NEW_hash_collection__HashMapNode(val* self) { +val* var /* : Object */; +val* var1 /* : nullable Object */; +var = self->attrs[COLOR_hash_collection__HashNode___key].val; /* _key on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _key", "lib/standard/collection/hash_collection.nit", 189); +exit(1); +} +var1 = self->attrs[COLOR_hash_collection__HashMapNode___value].val; /* _value on */ +} +/* runtime class hash_collection__HashMapIterator */ +const struct class class_hash_collection__HashMapIterator = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to hash_collection:HashMapIterator:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to hash_collection:HashMapIterator:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to hash_collection:HashMapIterator:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to hash_collection:HashMapIterator:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to hash_collection:HashMapIterator:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to hash_collection:HashMapIterator:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to hash_collection:HashMapIterator:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to hash_collection:HashMapIterator:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to hash_collection:HashMapIterator:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to hash_collection:HashMapIterator:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to hash_collection:HashMapIterator:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to hash_collection:HashMapIterator:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to hash_collection:HashMapIterator:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to hash_collection:HashMapIterator:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to hash_collection:HashMapIterator:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to hash_collection:HashMapIterator:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to hash_collection:HashMapIterator:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to hash_collection:HashMapIterator:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to hash_collection:HashMapIterator:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to hash_collection:HashMapIterator:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to hash_collection:HashMapIterator:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to hash_collection:HashMapIterator:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to hash_collection:HashMapIterator:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to hash_collection:HashMapIterator:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to hash_collection:HashMapIterator:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to hash_collection:HashMapIterator:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to hash_collection:HashMapIterator:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to hash_collection:HashMapIterator:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to hash_collection:HashMapIterator:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to hash_collection:HashMapIterator:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to hash_collection:HashMapIterator:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to hash_collection:HashMapIterator:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to hash_collection:HashMapIterator:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to hash_collection:HashMapIterator:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to hash_collection:HashMapIterator:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to hash_collection:HashMapIterator:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to hash_collection:HashMapIterator:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to hash_collection:HashMapIterator:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to hash_collection:HashMapIterator:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to hash_collection:HashMapIterator:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to hash_collection:HashMapIterator:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapIterator__item, /* pointer to hash_collection:HashMapIterator:hash_collection#HashMapIterator#item */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapIterator__key, /* pointer to hash_collection:HashMapIterator:hash_collection#HashMapIterator#key */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapIterator__next, /* pointer to hash_collection:HashMapIterator:hash_collection#HashMapIterator#next */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapIterator__is_ok, /* pointer to hash_collection:HashMapIterator:hash_collection#HashMapIterator#is_ok */ +(nitmethod_t)VIRTUAL_hash_collection__HashMapIterator__init, /* pointer to hash_collection:HashMapIterator:hash_collection#HashMapIterator#init */ +} +}; +/* allocate HashMapIterator[Object, nullable Object] */ +val* NEW_hash_collection__HashMapIterator(const struct type* type) { +val* self /* : HashMapIterator[Object, nullable Object] */; +self = nit_alloc(sizeof(struct instance) + 2*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_hash_collection__HashMapIterator; +return self; +} +/* allocate HashMapIterator[Object, nullable Object] */ +void CHECK_NEW_hash_collection__HashMapIterator(val* self) { +val* var /* : HashMap[Object, nullable Object] */; +val* var1 /* : nullable HashMapNode[Object, nullable Object] */; +var = self->attrs[COLOR_hash_collection__HashMapIterator___map].val; /* _map on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _map", "lib/standard/collection/hash_collection.nit", 390); +exit(1); +} +var1 = self->attrs[COLOR_hash_collection__HashMapIterator___node].val; /* _node on */ +} +/* runtime class hash_collection__HashSet */ +const struct class class_hash_collection__HashSet = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to hash_collection:HashSet:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to hash_collection:HashSet:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_abstract_collection__Set___61d_61d, /* pointer to hash_collection:HashSet:abstract_collection#Set#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to hash_collection:HashSet:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to hash_collection:HashSet:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to hash_collection:HashSet:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to hash_collection:HashSet:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to hash_collection:HashSet:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_abstract_collection__Set__hash, /* pointer to hash_collection:HashSet:abstract_collection#Set#hash */ +(nitmethod_t)VIRTUAL_string__Collection__to_s, /* pointer to hash_collection:HashSet:string#Collection#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to hash_collection:HashSet:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to hash_collection:HashSet:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to hash_collection:HashSet:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to hash_collection:HashSet:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to hash_collection:HashSet:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to hash_collection:HashSet:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to hash_collection:HashSet:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to hash_collection:HashSet:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to hash_collection:HashSet:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to hash_collection:HashSet:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to hash_collection:HashSet:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to hash_collection:HashSet:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to hash_collection:HashSet:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to hash_collection:HashSet:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to hash_collection:HashSet:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to hash_collection:HashSet:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to hash_collection:HashSet:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to hash_collection:HashSet:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to hash_collection:HashSet:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to hash_collection:HashSet:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to hash_collection:HashSet:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to hash_collection:HashSet:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to hash_collection:HashSet:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to hash_collection:HashSet:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to hash_collection:HashSet:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to hash_collection:HashSet:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to hash_collection:HashSet:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to hash_collection:HashSet:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to hash_collection:HashSet:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to hash_collection:HashSet:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to hash_collection:HashSet:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_hash_collection__HashSet__iterator, /* pointer to hash_collection:HashSet:hash_collection#HashSet#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__iterate, /* pointer to hash_collection:HashSet:abstract_collection#Collection#iterate */ +(nitmethod_t)VIRTUAL_hash_collection__HashSet__is_empty, /* pointer to hash_collection:HashSet:hash_collection#HashSet#is_empty */ +(nitmethod_t)VIRTUAL_hash_collection__HashSet__length, /* pointer to hash_collection:HashSet:hash_collection#HashSet#length */ +(nitmethod_t)VIRTUAL_hash_collection__HashSet__has, /* pointer to hash_collection:HashSet:hash_collection#HashSet#has */ +(nitmethod_t)VIRTUAL_abstract_collection__Set__has_only, /* pointer to hash_collection:HashSet:abstract_collection#Set#has_only */ +(nitmethod_t)VIRTUAL_abstract_collection__Set__count, /* pointer to hash_collection:HashSet:abstract_collection#Set#count */ +(nitmethod_t)VIRTUAL_hash_collection__HashSet__first, /* pointer to hash_collection:HashSet:hash_collection#HashSet#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to hash_collection:HashSet:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to hash_collection:HashSet:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to hash_collection:HashSet:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to hash_collection:HashSet:math#Collection#rand */ +(nitmethod_t)VIRTUAL_hash_collection__HashSet__clear, /* pointer to hash_collection:HashSet:hash_collection#HashSet#clear */ +(nitmethod_t)VIRTUAL_hash_collection__HashSet__remove, /* pointer to hash_collection:HashSet:hash_collection#HashSet#remove */ +(nitmethod_t)VIRTUAL_abstract_collection__Set__remove_all, /* pointer to hash_collection:HashSet:abstract_collection#Set#remove_all */ +(nitmethod_t)VIRTUAL_hash_collection__HashSet__add, /* pointer to hash_collection:HashSet:hash_collection#HashSet#add */ +(nitmethod_t)VIRTUAL_abstract_collection__SimpleCollection__add_all, /* pointer to hash_collection:HashSet:abstract_collection#SimpleCollection#add_all */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_array__ArrayCapable__calloc_array, /* pointer to hash_collection:HashSet:array#ArrayCapable#calloc_array */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__first_item, /* pointer to hash_collection:HashSet:hash_collection#HashCollection#first_item */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__index_at, /* pointer to hash_collection:HashSet:hash_collection#HashCollection#index_at */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__node_at, /* pointer to hash_collection:HashSet:hash_collection#HashCollection#node_at */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__node_at_idx, /* pointer to hash_collection:HashSet:hash_collection#HashCollection#node_at_idx */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__store, /* pointer to hash_collection:HashSet:hash_collection#HashCollection#store */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__remove_node, /* pointer to hash_collection:HashSet:hash_collection#HashCollection#remove_node */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__raz, /* pointer to hash_collection:HashSet:hash_collection#HashCollection#raz */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__enlarge, /* pointer to hash_collection:HashSet:hash_collection#HashCollection#enlarge */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__init, /* pointer to hash_collection:HashSet:hash_collection#HashCollection#init */ +(nitmethod_t)VIRTUAL_hash_collection__HashSet__init, /* pointer to hash_collection:HashSet:hash_collection#HashSet#init */ +(nitmethod_t)VIRTUAL_hash_collection__HashSet__from, /* pointer to hash_collection:HashSet:hash_collection#HashSet#from */ +} +}; +/* allocate HashSet[Object] */ +val* NEW_hash_collection__HashSet(const struct type* type) { +val* self /* : HashSet[Object] */; +val* var /* : null */; +long var1 /* : Int */; +long var2 /* : Int */; +val* var3 /* : null */; +val* var4 /* : null */; +val* var5 /* : null */; +val* var6 /* : null */; +self = nit_alloc(sizeof(struct instance) + 7*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_hash_collection__HashSet; +var = NULL; +self->attrs[COLOR_hash_collection__HashCollection___array].val = var; /* _array on */ +var1 = 0; +self->attrs[COLOR_hash_collection__HashCollection___capacity].l = var1; /* _capacity on */ +var2 = 0; +self->attrs[COLOR_hash_collection__HashCollection___length].l = var2; /* _length on */ +var3 = NULL; +self->attrs[COLOR_hash_collection__HashCollection___first_item].val = var3; /* _first_item on */ +var4 = NULL; +self->attrs[COLOR_hash_collection__HashCollection___last_item].val = var4; /* _last_item on */ +var5 = NULL; +self->attrs[COLOR_hash_collection__HashCollection___last_accessed_key].val = var5; /* _last_accessed_key on */ +var6 = NULL; +self->attrs[COLOR_hash_collection__HashCollection___last_accessed_node].val = var6; /* _last_accessed_node on */ +return self; +} +/* allocate HashSet[Object] */ +void CHECK_NEW_hash_collection__HashSet(val* self) { +} +/* runtime class hash_collection__HashSetNode */ +const struct class class_hash_collection__HashSetNode = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to hash_collection:HashSetNode:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to hash_collection:HashSetNode:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to hash_collection:HashSetNode:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to hash_collection:HashSetNode:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to hash_collection:HashSetNode:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to hash_collection:HashSetNode:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to hash_collection:HashSetNode:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to hash_collection:HashSetNode:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to hash_collection:HashSetNode:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to hash_collection:HashSetNode:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to hash_collection:HashSetNode:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to hash_collection:HashSetNode:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to hash_collection:HashSetNode:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to hash_collection:HashSetNode:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to hash_collection:HashSetNode:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to hash_collection:HashSetNode:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to hash_collection:HashSetNode:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to hash_collection:HashSetNode:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to hash_collection:HashSetNode:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to hash_collection:HashSetNode:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to hash_collection:HashSetNode:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to hash_collection:HashSetNode:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to hash_collection:HashSetNode:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to hash_collection:HashSetNode:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to hash_collection:HashSetNode:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to hash_collection:HashSetNode:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to hash_collection:HashSetNode:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to hash_collection:HashSetNode:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to hash_collection:HashSetNode:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to hash_collection:HashSetNode:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to hash_collection:HashSetNode:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to hash_collection:HashSetNode:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to hash_collection:HashSetNode:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to hash_collection:HashSetNode:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to hash_collection:HashSetNode:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to hash_collection:HashSetNode:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to hash_collection:HashSetNode:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to hash_collection:HashSetNode:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to hash_collection:HashSetNode:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to hash_collection:HashSetNode:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to hash_collection:HashSetNode:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_hash_collection__HashNode__next_item, /* pointer to hash_collection:HashSetNode:hash_collection#HashNode#next_item */ +(nitmethod_t)VIRTUAL_hash_collection__HashNode__next_item_61d, /* pointer to hash_collection:HashSetNode:hash_collection#HashNode#next_item= */ +(nitmethod_t)VIRTUAL_hash_collection__HashNode__prev_item, /* pointer to hash_collection:HashSetNode:hash_collection#HashNode#prev_item */ +(nitmethod_t)VIRTUAL_hash_collection__HashNode__prev_item_61d, /* pointer to hash_collection:HashSetNode:hash_collection#HashNode#prev_item= */ +(nitmethod_t)VIRTUAL_hash_collection__HashNode__init, /* pointer to hash_collection:HashSetNode:hash_collection#HashNode#init */ +(nitmethod_t)VIRTUAL_hash_collection__HashSetNode__init, /* pointer to hash_collection:HashSetNode:hash_collection#HashSetNode#init */ +} +}; +/* allocate HashSetNode[Object] */ +val* NEW_hash_collection__HashSetNode(const struct type* type) { +val* self /* : HashSetNode[Object] */; +val* var /* : null */; +val* var1 /* : null */; +val* var2 /* : null */; +val* var3 /* : null */; +self = nit_alloc(sizeof(struct instance) + 5*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_hash_collection__HashSetNode; +var = NULL; +self->attrs[COLOR_hash_collection__HashNode___next_item].val = var; /* _next_item on */ +var1 = NULL; +self->attrs[COLOR_hash_collection__HashNode___prev_item].val = var1; /* _prev_item on */ +var2 = NULL; +self->attrs[COLOR_hash_collection__HashNode___prev_in_bucklet].val = var2; /* _prev_in_bucklet on */ +var3 = NULL; +self->attrs[COLOR_hash_collection__HashNode___next_in_bucklet].val = var3; /* _next_in_bucklet on */ +return self; +} +/* allocate HashSetNode[Object] */ +void CHECK_NEW_hash_collection__HashSetNode(val* self) { +val* var /* : Object */; +var = self->attrs[COLOR_hash_collection__HashNode___key].val; /* _key on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _key", "lib/standard/collection/hash_collection.nit", 189); +exit(1); +} +} +/* runtime class hash_collection__HashSetIterator */ +const struct class class_hash_collection__HashSetIterator = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to hash_collection:HashSetIterator:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to hash_collection:HashSetIterator:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to hash_collection:HashSetIterator:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to hash_collection:HashSetIterator:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to hash_collection:HashSetIterator:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to hash_collection:HashSetIterator:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to hash_collection:HashSetIterator:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to hash_collection:HashSetIterator:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to hash_collection:HashSetIterator:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to hash_collection:HashSetIterator:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to hash_collection:HashSetIterator:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to hash_collection:HashSetIterator:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to hash_collection:HashSetIterator:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to hash_collection:HashSetIterator:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to hash_collection:HashSetIterator:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to hash_collection:HashSetIterator:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to hash_collection:HashSetIterator:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to hash_collection:HashSetIterator:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to hash_collection:HashSetIterator:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to hash_collection:HashSetIterator:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to hash_collection:HashSetIterator:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to hash_collection:HashSetIterator:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to hash_collection:HashSetIterator:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to hash_collection:HashSetIterator:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to hash_collection:HashSetIterator:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to hash_collection:HashSetIterator:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to hash_collection:HashSetIterator:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to hash_collection:HashSetIterator:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to hash_collection:HashSetIterator:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to hash_collection:HashSetIterator:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to hash_collection:HashSetIterator:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to hash_collection:HashSetIterator:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to hash_collection:HashSetIterator:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to hash_collection:HashSetIterator:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to hash_collection:HashSetIterator:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to hash_collection:HashSetIterator:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to hash_collection:HashSetIterator:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to hash_collection:HashSetIterator:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to hash_collection:HashSetIterator:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to hash_collection:HashSetIterator:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to hash_collection:HashSetIterator:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_hash_collection__HashSetIterator__item, /* pointer to hash_collection:HashSetIterator:hash_collection#HashSetIterator#item */ +(nitmethod_t)VIRTUAL_hash_collection__HashSetIterator__next, /* pointer to hash_collection:HashSetIterator:hash_collection#HashSetIterator#next */ +(nitmethod_t)VIRTUAL_hash_collection__HashSetIterator__is_ok, /* pointer to hash_collection:HashSetIterator:hash_collection#HashSetIterator#is_ok */ +(nitmethod_t)VIRTUAL_array__Iterator__to_a, /* pointer to hash_collection:HashSetIterator:array#Iterator#to_a */ +(nitmethod_t)VIRTUAL_hash_collection__HashSetIterator__init, /* pointer to hash_collection:HashSetIterator:hash_collection#HashSetIterator#init */ +} +}; +/* allocate HashSetIterator[Object] */ +val* NEW_hash_collection__HashSetIterator(const struct type* type) { +val* self /* : HashSetIterator[Object] */; +self = nit_alloc(sizeof(struct instance) + 2*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_hash_collection__HashSetIterator; +return self; +} +/* allocate HashSetIterator[Object] */ +void CHECK_NEW_hash_collection__HashSetIterator(val* self) { +val* var /* : HashSet[Object] */; +val* var1 /* : nullable HashSetNode[Object] */; +var = self->attrs[COLOR_hash_collection__HashSetIterator___set].val; /* _set on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _set", "lib/standard/collection/hash_collection.nit", 481); +exit(1); +} +var1 = self->attrs[COLOR_hash_collection__HashSetIterator___node].val; /* _node on */ +} +/* runtime class ropes__TupleLeafNodePos */ +/* allocate TupleLeafNodePos */ +val* NEW_ropes__TupleLeafNodePos(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "TupleLeafNodePos is DEAD"); +exit(1); +} +/* allocate TupleLeafNodePos */ +void CHECK_NEW_ropes__TupleLeafNodePos(val* self) { +fprintf(stderr, "Runtime error: %s\n", "TupleLeafNodePos is DEAD"); +exit(1); +} +/* runtime class ropes__BufferRope */ +/* allocate BufferRope */ +val* NEW_ropes__BufferRope(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "BufferRope is DEAD"); +exit(1); +} +/* allocate BufferRope */ +void CHECK_NEW_ropes__BufferRope(val* self) { +fprintf(stderr, "Runtime error: %s\n", "BufferRope is DEAD"); +exit(1); +} +/* runtime class ropes__ImmutableRope */ +/* allocate ImmutableRope */ +val* NEW_ropes__ImmutableRope(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "ImmutableRope is DEAD"); +exit(1); +} +/* allocate ImmutableRope */ +void CHECK_NEW_ropes__ImmutableRope(val* self) { +fprintf(stderr, "Runtime error: %s\n", "ImmutableRope is DEAD"); +exit(1); +} +/* runtime class ropes__CharRopeView */ +/* allocate CharRopeView */ +val* NEW_ropes__CharRopeView(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "CharRopeView is DEAD"); +exit(1); +} +/* allocate CharRopeView */ +void CHECK_NEW_ropes__CharRopeView(val* self) { +fprintf(stderr, "Runtime error: %s\n", "CharRopeView is DEAD"); +exit(1); +} +/* runtime class ropes__TupleVisitNode */ +/* allocate TupleVisitNode */ +val* NEW_ropes__TupleVisitNode(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "TupleVisitNode is DEAD"); +exit(1); +} +/* allocate TupleVisitNode */ +void CHECK_NEW_ropes__TupleVisitNode(val* self) { +fprintf(stderr, "Runtime error: %s\n", "TupleVisitNode is DEAD"); +exit(1); +} +/* runtime class ropes__RopeCharIterator */ +/* allocate RopeCharIterator */ +val* NEW_ropes__RopeCharIterator(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "RopeCharIterator is DEAD"); +exit(1); +} +/* allocate RopeCharIterator */ +void CHECK_NEW_ropes__RopeCharIterator(val* self) { +fprintf(stderr, "Runtime error: %s\n", "RopeCharIterator is DEAD"); +exit(1); +} +/* runtime class ropes__DFSRopeLeafIterator */ +/* allocate DFSRopeLeafIterator */ +val* NEW_ropes__DFSRopeLeafIterator(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "DFSRopeLeafIterator is DEAD"); +exit(1); +} +/* allocate DFSRopeLeafIterator */ +void CHECK_NEW_ropes__DFSRopeLeafIterator(val* self) { +fprintf(stderr, "Runtime error: %s\n", "DFSRopeLeafIterator is DEAD"); +exit(1); +} +/* runtime class ropes__ConcatNode */ +/* allocate ConcatNode */ +val* NEW_ropes__ConcatNode(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "ConcatNode is DEAD"); +exit(1); +} +/* allocate ConcatNode */ +void CHECK_NEW_ropes__ConcatNode(val* self) { +fprintf(stderr, "Runtime error: %s\n", "ConcatNode is DEAD"); +exit(1); +} +/* runtime class ropes__LeafNode */ +/* allocate LeafNode */ +val* NEW_ropes__LeafNode(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "LeafNode is DEAD"); +exit(1); +} +/* allocate LeafNode */ +void CHECK_NEW_ropes__LeafNode(val* self) { +fprintf(stderr, "Runtime error: %s\n", "LeafNode is DEAD"); +exit(1); +} +/* runtime class file__IFStream */ +const struct class class_file__IFStream = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to file:IFStream:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to file:IFStream:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to file:IFStream:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to file:IFStream:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to file:IFStream:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to file:IFStream:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to file:IFStream:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to file:IFStream:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to file:IFStream:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to file:IFStream:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to file:IFStream:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to file:IFStream:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to file:IFStream:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to file:IFStream:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to file:IFStream:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to file:IFStream:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to file:IFStream:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to file:IFStream:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to file:IFStream:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to file:IFStream:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to file:IFStream:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to file:IFStream:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to file:IFStream:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to file:IFStream:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to file:IFStream:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to file:IFStream:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to file:IFStream:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to file:IFStream:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to file:IFStream:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to file:IFStream:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to file:IFStream:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to file:IFStream:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to file:IFStream:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to file:IFStream:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to file:IFStream:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to file:IFStream:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to file:IFStream:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to file:IFStream:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to file:IFStream:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to file:IFStream:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to file:IFStream:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_file__IFStream__close, /* pointer to file:IFStream:file#IFStream#close */ +(nitmethod_t)VIRTUAL_stream__BufferedIStream__read_char, /* pointer to file:IFStream:stream#BufferedIStream#read_char */ +(nitmethod_t)VIRTUAL_stream__BufferedIStream__read, /* pointer to file:IFStream:stream#BufferedIStream#read */ +(nitmethod_t)VIRTUAL_stream__IStream__read_line, /* pointer to file:IFStream:stream#IStream#read_line */ +(nitmethod_t)VIRTUAL_stream__BufferedIStream__read_all, /* pointer to file:IFStream:stream#BufferedIStream#read_all */ +(nitmethod_t)VIRTUAL_stream__BufferedIStream__append_line_to, /* pointer to file:IFStream:stream#BufferedIStream#append_line_to */ +(nitmethod_t)VIRTUAL_stream__BufferedIStream__eof, /* pointer to file:IFStream:stream#BufferedIStream#eof */ +(nitmethod_t)VIRTUAL_file__IFStream__fill_buffer, /* pointer to file:IFStream:file#IFStream#fill_buffer */ +(nitmethod_t)VIRTUAL_file__IFStream__end_reached, /* pointer to file:IFStream:file#IFStream#end_reached */ +(nitmethod_t)VIRTUAL_stream__BufferedIStream__prepare_buffer, /* pointer to file:IFStream:stream#BufferedIStream#prepare_buffer */ +(nitmethod_t)VIRTUAL_stream__BufferedIStream__init, /* pointer to file:IFStream:stream#BufferedIStream#init */ +(nitmethod_t)VIRTUAL_file__FStream__path, /* pointer to file:IFStream:file#FStream#path */ +(nitmethod_t)VIRTUAL_file__FStream__file_stat, /* pointer to file:IFStream:file#FStream#file_stat */ +(nitmethod_t)VIRTUAL_file__FStream__init, /* pointer to file:IFStream:file#FStream#init */ +(nitmethod_t)VIRTUAL_file__IFStream__reopen, /* pointer to file:IFStream:file#IFStream#reopen */ +(nitmethod_t)VIRTUAL_file__IFStream__open, /* pointer to file:IFStream:file#IFStream#open */ +(nitmethod_t)VIRTUAL_file__IFStream__init, /* pointer to file:IFStream:file#IFStream#init */ +(nitmethod_t)VIRTUAL_file__IFStream__without_file, /* pointer to file:IFStream:file#IFStream#without_file */ +} +}; +/* allocate IFStream */ +val* NEW_file__IFStream(const struct type* type) { +val* self /* : IFStream */; +val* var /* : null */; +val* var1 /* : null */; +val* var2 /* : null */; +long var3 /* : Int */; +short int var4 /* : Bool */; +self = nit_alloc(sizeof(struct instance) + 5*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_file__IFStream; +var = NULL; +self->attrs[COLOR_file__FStream___path].val = var; /* _path on */ +var1 = NULL; +self->attrs[COLOR_file__FStream___file].val = var1; /* _file on */ +var2 = NULL; +self->attrs[COLOR_stream__BufferedIStream___buffer].val = var2; /* _buffer on */ +var3 = 0; +self->attrs[COLOR_stream__BufferedIStream___buffer_pos].l = var3; /* _buffer_pos on */ +var4 = 0; +self->attrs[COLOR_file__IFStream___end_reached].s = var4; /* _end_reached on */ +return self; +} +/* allocate IFStream */ +void CHECK_NEW_file__IFStream(val* self) { +} +/* runtime class file__OFStream */ +const struct class class_file__OFStream = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to file:OFStream:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to file:OFStream:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to file:OFStream:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to file:OFStream:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to file:OFStream:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to file:OFStream:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to file:OFStream:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to file:OFStream:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to file:OFStream:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to file:OFStream:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to file:OFStream:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to file:OFStream:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to file:OFStream:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to file:OFStream:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to file:OFStream:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to file:OFStream:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to file:OFStream:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to file:OFStream:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to file:OFStream:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to file:OFStream:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to file:OFStream:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to file:OFStream:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to file:OFStream:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to file:OFStream:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to file:OFStream:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to file:OFStream:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to file:OFStream:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to file:OFStream:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to file:OFStream:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to file:OFStream:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to file:OFStream:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to file:OFStream:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to file:OFStream:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to file:OFStream:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to file:OFStream:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to file:OFStream:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to file:OFStream:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to file:OFStream:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to file:OFStream:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to file:OFStream:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to file:OFStream:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_file__OFStream__close, /* pointer to file:OFStream:file#OFStream#close */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_file__OFStream__write, /* pointer to file:OFStream:file#OFStream#write */ +(nitmethod_t)VIRTUAL_file__OFStream__is_writable, /* pointer to file:OFStream:file#OFStream#is_writable */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_file__FStream__path, /* pointer to file:OFStream:file#FStream#path */ +(nitmethod_t)VIRTUAL_file__FStream__file_stat, /* pointer to file:OFStream:file#FStream#file_stat */ +(nitmethod_t)VIRTUAL_file__FStream__init, /* pointer to file:OFStream:file#FStream#init */ +(nitmethod_t)VIRTUAL_file__OFStream__write_native, /* pointer to file:OFStream:file#OFStream#write_native */ +(nitmethod_t)VIRTUAL_file__OFStream__open, /* pointer to file:OFStream:file#OFStream#open */ +(nitmethod_t)VIRTUAL_file__OFStream__init, /* pointer to file:OFStream:file#OFStream#init */ +(nitmethod_t)VIRTUAL_file__OFStream__without_file, /* pointer to file:OFStream:file#OFStream#without_file */ +} +}; +/* allocate OFStream */ +val* NEW_file__OFStream(const struct type* type) { +val* self /* : OFStream */; +val* var /* : null */; +val* var1 /* : null */; +self = nit_alloc(sizeof(struct instance) + 5*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_file__OFStream; +var = NULL; +self->attrs[COLOR_file__FStream___path].val = var; /* _path on */ +var1 = NULL; +self->attrs[COLOR_file__FStream___file].val = var1; /* _file on */ +return self; +} +/* allocate OFStream */ +void CHECK_NEW_file__OFStream(val* self) { +short int var /* : Bool */; +var = self->attrs[COLOR_file__OFStream___writable].s; /* _writable on */ +} +/* runtime class file__Stdin */ +/* allocate Stdin */ +val* NEW_file__Stdin(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "Stdin is DEAD"); +exit(1); +} +/* allocate Stdin */ +void CHECK_NEW_file__Stdin(val* self) { +fprintf(stderr, "Runtime error: %s\n", "Stdin is DEAD"); +exit(1); +} +/* runtime class file__Stdout */ +const struct class class_file__Stdout = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to file:Stdout:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to file:Stdout:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to file:Stdout:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to file:Stdout:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to file:Stdout:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to file:Stdout:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to file:Stdout:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to file:Stdout:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to file:Stdout:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to file:Stdout:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to file:Stdout:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to file:Stdout:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to file:Stdout:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to file:Stdout:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to file:Stdout:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to file:Stdout:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to file:Stdout:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to file:Stdout:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to file:Stdout:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to file:Stdout:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to file:Stdout:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to file:Stdout:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to file:Stdout:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to file:Stdout:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to file:Stdout:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to file:Stdout:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to file:Stdout:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to file:Stdout:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to file:Stdout:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to file:Stdout:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to file:Stdout:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to file:Stdout:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to file:Stdout:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to file:Stdout:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to file:Stdout:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to file:Stdout:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to file:Stdout:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to file:Stdout:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to file:Stdout:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to file:Stdout:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to file:Stdout:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_file__OFStream__close, /* pointer to file:Stdout:file#OFStream#close */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_file__OFStream__write, /* pointer to file:Stdout:file#OFStream#write */ +(nitmethod_t)VIRTUAL_file__OFStream__is_writable, /* pointer to file:Stdout:file#OFStream#is_writable */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_file__FStream__path, /* pointer to file:Stdout:file#FStream#path */ +(nitmethod_t)VIRTUAL_file__FStream__file_stat, /* pointer to file:Stdout:file#FStream#file_stat */ +(nitmethod_t)VIRTUAL_file__FStream__init, /* pointer to file:Stdout:file#FStream#init */ +(nitmethod_t)VIRTUAL_file__OFStream__write_native, /* pointer to file:Stdout:file#OFStream#write_native */ +(nitmethod_t)VIRTUAL_file__OFStream__open, /* pointer to file:Stdout:file#OFStream#open */ +(nitmethod_t)VIRTUAL_file__OFStream__init, /* pointer to file:Stdout:file#OFStream#init */ +(nitmethod_t)VIRTUAL_file__OFStream__without_file, /* pointer to file:Stdout:file#OFStream#without_file */ +(nitmethod_t)VIRTUAL_file__Stdout__init, /* pointer to file:Stdout:file#Stdout#init */ +} +}; +/* allocate Stdout */ +val* NEW_file__Stdout(const struct type* type) { +val* self /* : Stdout */; +val* var /* : null */; +val* var1 /* : null */; +self = nit_alloc(sizeof(struct instance) + 5*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_file__Stdout; +var = NULL; +self->attrs[COLOR_file__FStream___path].val = var; /* _path on */ +var1 = NULL; +self->attrs[COLOR_file__FStream___file].val = var1; /* _file on */ +return self; +} +/* allocate Stdout */ +void CHECK_NEW_file__Stdout(val* self) { +short int var /* : Bool */; +var = self->attrs[COLOR_file__OFStream___writable].s; /* _writable on */ +} +/* runtime class file__Stderr */ +const struct class class_file__Stderr = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to file:Stderr:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to file:Stderr:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to file:Stderr:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to file:Stderr:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to file:Stderr:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to file:Stderr:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to file:Stderr:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to file:Stderr:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to file:Stderr:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to file:Stderr:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to file:Stderr:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to file:Stderr:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to file:Stderr:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to file:Stderr:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to file:Stderr:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to file:Stderr:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to file:Stderr:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to file:Stderr:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to file:Stderr:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to file:Stderr:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to file:Stderr:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to file:Stderr:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to file:Stderr:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to file:Stderr:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to file:Stderr:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to file:Stderr:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to file:Stderr:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to file:Stderr:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to file:Stderr:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to file:Stderr:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to file:Stderr:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to file:Stderr:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to file:Stderr:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to file:Stderr:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to file:Stderr:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to file:Stderr:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to file:Stderr:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to file:Stderr:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to file:Stderr:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to file:Stderr:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to file:Stderr:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_file__OFStream__close, /* pointer to file:Stderr:file#OFStream#close */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_file__OFStream__write, /* pointer to file:Stderr:file#OFStream#write */ +(nitmethod_t)VIRTUAL_file__OFStream__is_writable, /* pointer to file:Stderr:file#OFStream#is_writable */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_file__FStream__path, /* pointer to file:Stderr:file#FStream#path */ +(nitmethod_t)VIRTUAL_file__FStream__file_stat, /* pointer to file:Stderr:file#FStream#file_stat */ +(nitmethod_t)VIRTUAL_file__FStream__init, /* pointer to file:Stderr:file#FStream#init */ +(nitmethod_t)VIRTUAL_file__OFStream__write_native, /* pointer to file:Stderr:file#OFStream#write_native */ +(nitmethod_t)VIRTUAL_file__OFStream__open, /* pointer to file:Stderr:file#OFStream#open */ +(nitmethod_t)VIRTUAL_file__OFStream__init, /* pointer to file:Stderr:file#OFStream#init */ +(nitmethod_t)VIRTUAL_file__OFStream__without_file, /* pointer to file:Stderr:file#OFStream#without_file */ +(nitmethod_t)VIRTUAL_file__Stderr__init, /* pointer to file:Stderr:file#Stderr#init */ +} +}; +/* allocate Stderr */ +val* NEW_file__Stderr(const struct type* type) { +val* self /* : Stderr */; +val* var /* : null */; +val* var1 /* : null */; +self = nit_alloc(sizeof(struct instance) + 5*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_file__Stderr; +var = NULL; +self->attrs[COLOR_file__FStream___path].val = var; /* _path on */ +var1 = NULL; +self->attrs[COLOR_file__FStream___file].val = var1; /* _file on */ +return self; +} +/* allocate Stderr */ +void CHECK_NEW_file__Stderr(val* self) { +short int var /* : Bool */; +var = self->attrs[COLOR_file__OFStream___writable].s; /* _writable on */ +} +/* runtime class file__FileStat */ +const struct class class_file__FileStat = { +6, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to file:FileStat:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to file:FileStat:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to file:FileStat:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to file:FileStat:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to file:FileStat:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to file:FileStat:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to file:FileStat:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to file:FileStat:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to file:FileStat:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to file:FileStat:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to file:FileStat:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to file:FileStat:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to file:FileStat:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to file:FileStat:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to file:FileStat:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to file:FileStat:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to file:FileStat:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to file:FileStat:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to file:FileStat:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to file:FileStat:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to file:FileStat:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to file:FileStat:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to file:FileStat:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to file:FileStat:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to file:FileStat:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to file:FileStat:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to file:FileStat:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to file:FileStat:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to file:FileStat:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to file:FileStat:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to file:FileStat:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to file:FileStat:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to file:FileStat:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to file:FileStat:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to file:FileStat:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to file:FileStat:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to file:FileStat:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to file:FileStat:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to file:FileStat:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to file:FileStat:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to file:FileStat:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_kernel__Pointer__address_is_null, /* pointer to file:FileStat:kernel#Pointer#address_is_null */ +(nitmethod_t)VIRTUAL_file__FileStat__mode, /* pointer to file:FileStat:file#FileStat#mode */ +(nitmethod_t)VIRTUAL_file__FileStat__atime, /* pointer to file:FileStat:file#FileStat#atime */ +(nitmethod_t)VIRTUAL_file__FileStat__ctime, /* pointer to file:FileStat:file#FileStat#ctime */ +(nitmethod_t)VIRTUAL_file__FileStat__mtime, /* pointer to file:FileStat:file#FileStat#mtime */ +(nitmethod_t)VIRTUAL_file__FileStat__size, /* pointer to file:FileStat:file#FileStat#size */ +(nitmethod_t)VIRTUAL_file__FileStat__is_reg, /* pointer to file:FileStat:file#FileStat#is_reg */ +(nitmethod_t)VIRTUAL_file__FileStat__is_dir, /* pointer to file:FileStat:file#FileStat#is_dir */ +(nitmethod_t)VIRTUAL_file__FileStat__is_chr, /* pointer to file:FileStat:file#FileStat#is_chr */ +(nitmethod_t)VIRTUAL_file__FileStat__is_blk, /* pointer to file:FileStat:file#FileStat#is_blk */ +(nitmethod_t)VIRTUAL_file__FileStat__is_fifo, /* pointer to file:FileStat:file#FileStat#is_fifo */ +(nitmethod_t)VIRTUAL_file__FileStat__is_lnk, /* pointer to file:FileStat:file#FileStat#is_lnk */ +(nitmethod_t)VIRTUAL_file__FileStat__is_sock, /* pointer to file:FileStat:file#FileStat#is_sock */ +} +}; +/* runtime class file__NativeFile */ +const struct class class_file__NativeFile = { +6, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to file:NativeFile:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to file:NativeFile:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to file:NativeFile:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to file:NativeFile:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to file:NativeFile:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to file:NativeFile:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to file:NativeFile:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to file:NativeFile:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to file:NativeFile:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to file:NativeFile:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to file:NativeFile:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to file:NativeFile:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to file:NativeFile:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to file:NativeFile:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to file:NativeFile:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to file:NativeFile:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to file:NativeFile:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to file:NativeFile:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to file:NativeFile:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to file:NativeFile:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to file:NativeFile:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to file:NativeFile:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to file:NativeFile:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to file:NativeFile:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to file:NativeFile:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to file:NativeFile:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to file:NativeFile:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to file:NativeFile:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to file:NativeFile:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to file:NativeFile:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to file:NativeFile:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to file:NativeFile:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to file:NativeFile:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to file:NativeFile:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to file:NativeFile:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to file:NativeFile:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to file:NativeFile:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to file:NativeFile:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to file:NativeFile:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to file:NativeFile:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to file:NativeFile:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_kernel__Pointer__address_is_null, /* pointer to file:NativeFile:kernel#Pointer#address_is_null */ +(nitmethod_t)VIRTUAL_file__NativeFile__io_read, /* pointer to file:NativeFile:file#NativeFile#io_read */ +(nitmethod_t)VIRTUAL_file__NativeFile__io_write, /* pointer to file:NativeFile:file#NativeFile#io_write */ +(nitmethod_t)VIRTUAL_file__NativeFile__io_close, /* pointer to file:NativeFile:file#NativeFile#io_close */ +(nitmethod_t)VIRTUAL_file__NativeFile__file_stat, /* pointer to file:NativeFile:file#NativeFile#file_stat */ +(nitmethod_t)VIRTUAL_file__NativeFile__io_open_read, /* pointer to file:NativeFile:file#NativeFile#io_open_read */ +(nitmethod_t)VIRTUAL_file__NativeFile__io_open_write, /* pointer to file:NativeFile:file#NativeFile#io_open_write */ +(nitmethod_t)VIRTUAL_file__NativeFile__native_stdin, /* pointer to file:NativeFile:file#NativeFile#native_stdin */ +(nitmethod_t)VIRTUAL_file__NativeFile__native_stdout, /* pointer to file:NativeFile:file#NativeFile#native_stdout */ +(nitmethod_t)VIRTUAL_file__NativeFile__native_stderr, /* pointer to file:NativeFile:file#NativeFile#native_stderr */ +} +}; +/* allocate NativeFile */ +val* BOX_file__NativeFile(void* value) { +struct instance_file__NativeFile*res = nit_alloc(sizeof(struct instance_file__NativeFile)); +res->type = &type_file__NativeFile; +res->class = &class_file__NativeFile; +res->value = value; +return (val*)res; +} +/* runtime class stream__FDIStream */ +/* allocate FDIStream */ +val* NEW_stream__FDIStream(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "FDIStream is DEAD"); +exit(1); +} +/* allocate FDIStream */ +void CHECK_NEW_stream__FDIStream(val* self) { +fprintf(stderr, "Runtime error: %s\n", "FDIStream is DEAD"); +exit(1); +} +/* runtime class stream__FDOStream */ +/* allocate FDOStream */ +val* NEW_stream__FDOStream(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "FDOStream is DEAD"); +exit(1); +} +/* allocate FDOStream */ +void CHECK_NEW_stream__FDOStream(val* self) { +fprintf(stderr, "Runtime error: %s\n", "FDOStream is DEAD"); +exit(1); +} +/* runtime class stream__FDIOStream */ +/* allocate FDIOStream */ +val* NEW_stream__FDIOStream(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "FDIOStream is DEAD"); +exit(1); +} +/* allocate FDIOStream */ +void CHECK_NEW_stream__FDIOStream(val* self) { +fprintf(stderr, "Runtime error: %s\n", "FDIOStream is DEAD"); +exit(1); +} +/* runtime class string_search__BM_Pattern */ +/* allocate BM_Pattern */ +val* NEW_string_search__BM_Pattern(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "BM_Pattern is DEAD"); +exit(1); +} +/* allocate BM_Pattern */ +void CHECK_NEW_string_search__BM_Pattern(val* self) { +fprintf(stderr, "Runtime error: %s\n", "BM_Pattern is DEAD"); +exit(1); +} +/* runtime class string_search__Match */ +const struct class class_string_search__Match = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to string_search:Match:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to string_search:Match:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to string_search:Match:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to string_search:Match:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to string_search:Match:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to string_search:Match:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to string_search:Match:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to string_search:Match:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to string_search:Match:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string_search__Match__to_s, /* pointer to string_search:Match:string_search#Match#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to string_search:Match:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to string_search:Match:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to string_search:Match:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to string_search:Match:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to string_search:Match:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to string_search:Match:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to string_search:Match:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to string_search:Match:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to string_search:Match:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to string_search:Match:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to string_search:Match:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to string_search:Match:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to string_search:Match:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to string_search:Match:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to string_search:Match:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to string_search:Match:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to string_search:Match:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to string_search:Match:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to string_search:Match:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to string_search:Match:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to string_search:Match:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to string_search:Match:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to string_search:Match:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to string_search:Match:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to string_search:Match:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to string_search:Match:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to string_search:Match:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to string_search:Match:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to string_search:Match:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to string_search:Match:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to string_search:Match:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_string_search__Match__string, /* pointer to string_search:Match:string_search#Match#string */ +(nitmethod_t)VIRTUAL_string_search__Match__from, /* pointer to string_search:Match:string_search#Match#from */ +(nitmethod_t)VIRTUAL_string_search__Match__length, /* pointer to string_search:Match:string_search#Match#length */ +(nitmethod_t)VIRTUAL_string_search__Match__after, /* pointer to string_search:Match:string_search#Match#after */ +(nitmethod_t)VIRTUAL_string_search__Match__init, /* pointer to string_search:Match:string_search#Match#init */ +} +}; +/* allocate Match */ +val* NEW_string_search__Match(const struct type* type) { +val* self /* : Match */; +self = nit_alloc(sizeof(struct instance) + 3*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_string_search__Match; +return self; +} +/* allocate Match */ +void CHECK_NEW_string_search__Match(val* self) { +val* var /* : String */; +long var1 /* : Int */; +long var2 /* : Int */; +var = self->attrs[COLOR_string_search__Match___string].val; /* _string on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _string", "lib/standard/string_search.nit", 207); +exit(1); +} +var1 = self->attrs[COLOR_string_search__Match___from].l; /* _from on */ +var2 = self->attrs[COLOR_string_search__Match___length].l; /* _length on */ +} +/* runtime class time__TimeT */ +const struct class class_time__TimeT = { +6, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to time:TimeT:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to time:TimeT:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to time:TimeT:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to time:TimeT:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to time:TimeT:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to time:TimeT:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to time:TimeT:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to time:TimeT:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to time:TimeT:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_time__TimeT__to_s, /* pointer to time:TimeT:time#TimeT#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to time:TimeT:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to time:TimeT:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to time:TimeT:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to time:TimeT:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to time:TimeT:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to time:TimeT:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to time:TimeT:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to time:TimeT:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to time:TimeT:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to time:TimeT:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to time:TimeT:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to time:TimeT:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to time:TimeT:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to time:TimeT:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to time:TimeT:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to time:TimeT:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to time:TimeT:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to time:TimeT:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to time:TimeT:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to time:TimeT:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to time:TimeT:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to time:TimeT:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to time:TimeT:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to time:TimeT:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to time:TimeT:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to time:TimeT:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to time:TimeT:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to time:TimeT:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to time:TimeT:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to time:TimeT:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to time:TimeT:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_kernel__Pointer__address_is_null, /* pointer to time:TimeT:kernel#Pointer#address_is_null */ +(nitmethod_t)VIRTUAL_time__TimeT__init, /* pointer to time:TimeT:time#TimeT#init */ +(nitmethod_t)VIRTUAL_time__TimeT__from_i, /* pointer to time:TimeT:time#TimeT#from_i */ +(nitmethod_t)VIRTUAL_time__TimeT__update, /* pointer to time:TimeT:time#TimeT#update */ +(nitmethod_t)VIRTUAL_time__TimeT__ctime, /* pointer to time:TimeT:time#TimeT#ctime */ +(nitmethod_t)VIRTUAL_time__TimeT__difftime, /* pointer to time:TimeT:time#TimeT#difftime */ +(nitmethod_t)VIRTUAL_time__TimeT__to_i, /* pointer to time:TimeT:time#TimeT#to_i */ +} +}; +/* runtime class time__Tm */ +const struct class class_time__Tm = { +6, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to time:Tm:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to time:Tm:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to time:Tm:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to time:Tm:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to time:Tm:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to time:Tm:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to time:Tm:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to time:Tm:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to time:Tm:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_time__Tm__to_s, /* pointer to time:Tm:time#Tm#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to time:Tm:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to time:Tm:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to time:Tm:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to time:Tm:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to time:Tm:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to time:Tm:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to time:Tm:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to time:Tm:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to time:Tm:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to time:Tm:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to time:Tm:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to time:Tm:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to time:Tm:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to time:Tm:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to time:Tm:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to time:Tm:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to time:Tm:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to time:Tm:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to time:Tm:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to time:Tm:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to time:Tm:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to time:Tm:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to time:Tm:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to time:Tm:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to time:Tm:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to time:Tm:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to time:Tm:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to time:Tm:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to time:Tm:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to time:Tm:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to time:Tm:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_kernel__Pointer__address_is_null, /* pointer to time:Tm:kernel#Pointer#address_is_null */ +(nitmethod_t)VIRTUAL_time__Tm__gmtime, /* pointer to time:Tm:time#Tm#gmtime */ +(nitmethod_t)VIRTUAL_time__Tm__gmtime_from_timet, /* pointer to time:Tm:time#Tm#gmtime_from_timet */ +(nitmethod_t)VIRTUAL_time__Tm__localtime, /* pointer to time:Tm:time#Tm#localtime */ +(nitmethod_t)VIRTUAL_time__Tm__localtime_from_timet, /* pointer to time:Tm:time#Tm#localtime_from_timet */ +(nitmethod_t)VIRTUAL_time__Tm__to_timet, /* pointer to time:Tm:time#Tm#to_timet */ +(nitmethod_t)VIRTUAL_time__Tm__sec, /* pointer to time:Tm:time#Tm#sec */ +(nitmethod_t)VIRTUAL_time__Tm__min, /* pointer to time:Tm:time#Tm#min */ +(nitmethod_t)VIRTUAL_time__Tm__hour, /* pointer to time:Tm:time#Tm#hour */ +(nitmethod_t)VIRTUAL_time__Tm__mday, /* pointer to time:Tm:time#Tm#mday */ +(nitmethod_t)VIRTUAL_time__Tm__mon, /* pointer to time:Tm:time#Tm#mon */ +(nitmethod_t)VIRTUAL_time__Tm__year, /* pointer to time:Tm:time#Tm#year */ +(nitmethod_t)VIRTUAL_time__Tm__wday, /* pointer to time:Tm:time#Tm#wday */ +(nitmethod_t)VIRTUAL_time__Tm__yday, /* pointer to time:Tm:time#Tm#yday */ +(nitmethod_t)VIRTUAL_time__Tm__is_dst, /* pointer to time:Tm:time#Tm#is_dst */ +(nitmethod_t)VIRTUAL_time__Tm__asctime, /* pointer to time:Tm:time#Tm#asctime */ +(nitmethod_t)VIRTUAL_time__Tm__strftime, /* pointer to time:Tm:time#Tm#strftime */ +} +}; +/* runtime class exec__Process */ +/* allocate Process */ +val* NEW_exec__Process(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "Process is DEAD"); +exit(1); +} +/* allocate Process */ +void CHECK_NEW_exec__Process(val* self) { +fprintf(stderr, "Runtime error: %s\n", "Process is DEAD"); +exit(1); +} +/* runtime class exec__IProcess */ +/* allocate IProcess */ +val* NEW_exec__IProcess(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "IProcess is DEAD"); +exit(1); +} +/* allocate IProcess */ +void CHECK_NEW_exec__IProcess(val* self) { +fprintf(stderr, "Runtime error: %s\n", "IProcess is DEAD"); +exit(1); +} +/* runtime class exec__OProcess */ +/* allocate OProcess */ +val* NEW_exec__OProcess(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "OProcess is DEAD"); +exit(1); +} +/* allocate OProcess */ +void CHECK_NEW_exec__OProcess(val* self) { +fprintf(stderr, "Runtime error: %s\n", "OProcess is DEAD"); +exit(1); +} +/* runtime class exec__IOProcess */ +/* allocate IOProcess */ +val* NEW_exec__IOProcess(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "IOProcess is DEAD"); +exit(1); +} +/* allocate IOProcess */ +void CHECK_NEW_exec__IOProcess(val* self) { +fprintf(stderr, "Runtime error: %s\n", "IOProcess is DEAD"); +exit(1); +} +/* runtime class exec__NativeProcess */ +const struct class class_exec__NativeProcess = { +6, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to exec:NativeProcess:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to exec:NativeProcess:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to exec:NativeProcess:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to exec:NativeProcess:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to exec:NativeProcess:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to exec:NativeProcess:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to exec:NativeProcess:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to exec:NativeProcess:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to exec:NativeProcess:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to exec:NativeProcess:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to exec:NativeProcess:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to exec:NativeProcess:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to exec:NativeProcess:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to exec:NativeProcess:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to exec:NativeProcess:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to exec:NativeProcess:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to exec:NativeProcess:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to exec:NativeProcess:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to exec:NativeProcess:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to exec:NativeProcess:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to exec:NativeProcess:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to exec:NativeProcess:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to exec:NativeProcess:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to exec:NativeProcess:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to exec:NativeProcess:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to exec:NativeProcess:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to exec:NativeProcess:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to exec:NativeProcess:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to exec:NativeProcess:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to exec:NativeProcess:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to exec:NativeProcess:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to exec:NativeProcess:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to exec:NativeProcess:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to exec:NativeProcess:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to exec:NativeProcess:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to exec:NativeProcess:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to exec:NativeProcess:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to exec:NativeProcess:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to exec:NativeProcess:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to exec:NativeProcess:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to exec:NativeProcess:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_kernel__Pointer__address_is_null, /* pointer to exec:NativeProcess:kernel#Pointer#address_is_null */ +(nitmethod_t)VIRTUAL_exec__NativeProcess__id, /* pointer to exec:NativeProcess:exec#NativeProcess#id */ +(nitmethod_t)VIRTUAL_exec__NativeProcess__is_finished, /* pointer to exec:NativeProcess:exec#NativeProcess#is_finished */ +(nitmethod_t)VIRTUAL_exec__NativeProcess__status, /* pointer to exec:NativeProcess:exec#NativeProcess#status */ +(nitmethod_t)VIRTUAL_exec__NativeProcess__wait, /* pointer to exec:NativeProcess:exec#NativeProcess#wait */ +(nitmethod_t)VIRTUAL_exec__NativeProcess__in_fd, /* pointer to exec:NativeProcess:exec#NativeProcess#in_fd */ +(nitmethod_t)VIRTUAL_exec__NativeProcess__out_fd, /* pointer to exec:NativeProcess:exec#NativeProcess#out_fd */ +(nitmethod_t)VIRTUAL_exec__NativeProcess__err_fd, /* pointer to exec:NativeProcess:exec#NativeProcess#err_fd */ +} +}; +/* runtime class model__MClassDefSorter */ +const struct class class_model__MClassDefSorter = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MClassDefSorter:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MClassDefSorter:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MClassDefSorter:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MClassDefSorter:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MClassDefSorter:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MClassDefSorter:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MClassDefSorter:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MClassDefSorter:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MClassDefSorter:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to model:MClassDefSorter:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MClassDefSorter:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MClassDefSorter:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MClassDefSorter:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MClassDefSorter:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MClassDefSorter:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MClassDefSorter:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MClassDefSorter:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MClassDefSorter:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MClassDefSorter:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MClassDefSorter:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MClassDefSorter:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MClassDefSorter:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MClassDefSorter:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MClassDefSorter:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MClassDefSorter:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MClassDefSorter:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MClassDefSorter:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MClassDefSorter:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MClassDefSorter:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MClassDefSorter:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MClassDefSorter:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MClassDefSorter:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MClassDefSorter:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MClassDefSorter:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MClassDefSorter:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MClassDefSorter:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MClassDefSorter:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MClassDefSorter:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MClassDefSorter:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MClassDefSorter:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MClassDefSorter:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_model__MClassDefSorter__compare, /* pointer to model:MClassDefSorter:model#MClassDefSorter#compare */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__sort, /* pointer to model:MClassDefSorter:sorter#AbstractSorter#sort */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__sub_sort, /* pointer to model:MClassDefSorter:sorter#AbstractSorter#sub_sort */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__quick_sort, /* pointer to model:MClassDefSorter:sorter#AbstractSorter#quick_sort */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__bubble_sort, /* pointer to model:MClassDefSorter:sorter#AbstractSorter#bubble_sort */ +(nitmethod_t)VIRTUAL_model__MClassDefSorter__mmodule, /* pointer to model:MClassDefSorter:model#MClassDefSorter#mmodule */ +(nitmethod_t)VIRTUAL_model__MClassDefSorter__mmodule_61d, /* pointer to model:MClassDefSorter:model#MClassDefSorter#mmodule= */ +(nitmethod_t)VIRTUAL_model__MClassDefSorter__init, /* pointer to model:MClassDefSorter:model#MClassDefSorter#init */ +} +}; +/* allocate MClassDefSorter */ +val* NEW_model__MClassDefSorter(const struct type* type) { +val* self /* : MClassDefSorter */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MClassDefSorter; +return self; +} +/* allocate MClassDefSorter */ +void CHECK_NEW_model__MClassDefSorter(val* self) { +val* var /* : MModule */; +var = self->attrs[COLOR_model__MClassDefSorter___64dmmodule].val; /* @mmodule on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mmodule", "src/model/model.nit", 255); +exit(1); +} +} +/* runtime class model__MPropDefSorter */ +const struct class class_model__MPropDefSorter = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MPropDefSorter:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MPropDefSorter:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MPropDefSorter:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MPropDefSorter:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MPropDefSorter:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MPropDefSorter:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MPropDefSorter:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MPropDefSorter:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MPropDefSorter:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to model:MPropDefSorter:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MPropDefSorter:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MPropDefSorter:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MPropDefSorter:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MPropDefSorter:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MPropDefSorter:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MPropDefSorter:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MPropDefSorter:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MPropDefSorter:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MPropDefSorter:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MPropDefSorter:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MPropDefSorter:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MPropDefSorter:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MPropDefSorter:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MPropDefSorter:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MPropDefSorter:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MPropDefSorter:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MPropDefSorter:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MPropDefSorter:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MPropDefSorter:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MPropDefSorter:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MPropDefSorter:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MPropDefSorter:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MPropDefSorter:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MPropDefSorter:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MPropDefSorter:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MPropDefSorter:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MPropDefSorter:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MPropDefSorter:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MPropDefSorter:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MPropDefSorter:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MPropDefSorter:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_model__MPropDefSorter__compare, /* pointer to model:MPropDefSorter:model#MPropDefSorter#compare */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__sort, /* pointer to model:MPropDefSorter:sorter#AbstractSorter#sort */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__sub_sort, /* pointer to model:MPropDefSorter:sorter#AbstractSorter#sub_sort */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__quick_sort, /* pointer to model:MPropDefSorter:sorter#AbstractSorter#quick_sort */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__bubble_sort, /* pointer to model:MPropDefSorter:sorter#AbstractSorter#bubble_sort */ +(nitmethod_t)VIRTUAL_model__MPropDefSorter__mmodule, /* pointer to model:MPropDefSorter:model#MPropDefSorter#mmodule */ +(nitmethod_t)VIRTUAL_model__MPropDefSorter__mmodule_61d, /* pointer to model:MPropDefSorter:model#MPropDefSorter#mmodule= */ +(nitmethod_t)VIRTUAL_model__MPropDefSorter__init, /* pointer to model:MPropDefSorter:model#MPropDefSorter#init */ +} +}; +/* allocate MPropDefSorter */ +val* NEW_model__MPropDefSorter(const struct type* type) { +val* self /* : MPropDefSorter */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MPropDefSorter; +return self; +} +/* allocate MPropDefSorter */ +void CHECK_NEW_model__MPropDefSorter(val* self) { +val* var /* : MModule */; +var = self->attrs[COLOR_model__MPropDefSorter___64dmmodule].val; /* @mmodule on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mmodule", "src/model/model.nit", 267); +exit(1); +} +} +/* runtime class model__MClass */ +const struct class class_model__MClass = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MClass:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MClass:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MClass:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MClass:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MClass:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MClass:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MClass:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MClass:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MClass:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MClass__to_s, /* pointer to model:MClass:model#MClass#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MClass:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MClass:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MClass:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MClass:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MClass:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MClass:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MClass:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MClass:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MClass:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MClass:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MClass:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MClass:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MClass:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MClass:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MClass:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MClass:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MClass:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MClass:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MClass:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MClass:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MClass:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MClass:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MClass:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MClass:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MClass:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MClass:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MClass:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MClass:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MClass:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MClass:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MClass:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MClass__intro_mmodule, /* pointer to model:MClass:model#MClass#intro_mmodule */ +(nitmethod_t)VIRTUAL_model__MClass__intro_mmodule_61d, /* pointer to model:MClass:model#MClass#intro_mmodule= */ +(nitmethod_t)VIRTUAL_model__MClass__name, /* pointer to model:MClass:model#MClass#name */ +(nitmethod_t)VIRTUAL_model__MClass__name_61d, /* pointer to model:MClass:model#MClass#name= */ +(nitmethod_t)VIRTUAL_model__MClass__full_name, /* pointer to model:MClass:model#MClass#full_name */ +(nitmethod_t)VIRTUAL_model__MClass__arity, /* pointer to model:MClass:model#MClass#arity */ +(nitmethod_t)VIRTUAL_model__MClass__arity_61d, /* pointer to model:MClass:model#MClass#arity= */ +(nitmethod_t)VIRTUAL_model__MClass__kind, /* pointer to model:MClass:model#MClass#kind */ +(nitmethod_t)VIRTUAL_model__MClass__kind_61d, /* pointer to model:MClass:model#MClass#kind= */ +(nitmethod_t)VIRTUAL_model__MClass__visibility, /* pointer to model:MClass:model#MClass#visibility */ +(nitmethod_t)VIRTUAL_model__MClass__visibility_61d, /* pointer to model:MClass:model#MClass#visibility= */ +(nitmethod_t)VIRTUAL_model__MClass__init, /* pointer to model:MClass:model#MClass#init */ +(nitmethod_t)VIRTUAL_model__MClass__mclassdefs, /* pointer to model:MClass:model#MClass#mclassdefs */ +(nitmethod_t)VIRTUAL_model__MClass__mclassdefs_61d, /* pointer to model:MClass:model#MClass#mclassdefs= */ +(nitmethod_t)VIRTUAL_model__MClass__intro, /* pointer to model:MClass:model#MClass#intro */ +(nitmethod_t)VIRTUAL_model__MClass__in_hierarchy, /* pointer to model:MClass:model#MClass#in_hierarchy */ +(nitmethod_t)VIRTUAL_model__MClass__mclass_type, /* pointer to model:MClass:model#MClass#mclass_type */ +(nitmethod_t)VIRTUAL_model__MClass__mclass_type_61d, /* pointer to model:MClass:model#MClass#mclass_type= */ +(nitmethod_t)VIRTUAL_model__MClass__get_mtype, /* pointer to model:MClass:model#MClass#get_mtype */ +(nitmethod_t)VIRTUAL_model__MClass__get_mtype_cache, /* pointer to model:MClass:model#MClass#get_mtype_cache */ +(nitmethod_t)VIRTUAL_model__MClass__get_mtype_cache_61d, /* pointer to model:MClass:model#MClass#get_mtype_cache= */ +(nitmethod_t)VIRTUAL_modelize_property__MClass__inherit_init_from, /* pointer to model:MClass:modelize_property#MClass#inherit_init_from */ +(nitmethod_t)VIRTUAL_modelize_property__MClass__inherit_init_from_61d, /* pointer to model:MClass:modelize_property#MClass#inherit_init_from= */ +(nitmethod_t)VIRTUAL_abstract_compiler__MClass__c_name, /* pointer to model:MClass:abstract_compiler#MClass#c_name */ +(nitmethod_t)VIRTUAL_abstract_compiler__MClass__c_name_cache, /* pointer to model:MClass:abstract_compiler#MClass#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MClass__c_name_cache_61d, /* pointer to model:MClass:abstract_compiler#MClass#c_name_cache= */ +} +}; +/* allocate MClass */ +val* NEW_model__MClass(const struct type* type) { +val* self /* : MClass */; +val* var /* : Array[MClassDef] */; +val* var1 /* : Array[MGenericType] */; +val* var2 /* : null */; +self = nit_alloc(sizeof(struct instance) + 10*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MClass; +var = NEW_array__Array(&type_array__Arraymodel__MClassDef); +((void (*)(val*))(var->class->vft[COLOR_array__Array__init]))(var) /* init on */; +CHECK_NEW_array__Array(var); +self->attrs[COLOR_model__MClass___64dmclassdefs].val = var; /* @mclassdefs on */ +var1 = NEW_array__Array(&type_array__Arraymodel__MGenericType); +((void (*)(val*))(var1->class->vft[COLOR_array__Array__init]))(var1) /* init on */; +CHECK_NEW_array__Array(var1); +self->attrs[COLOR_model__MClass___64dget_mtype_cache].val = var1; /* @get_mtype_cache on */ +var2 = NULL; +self->attrs[COLOR_modelize_property__MClass___64dinherit_init_from].val = var2; /* @inherit_init_from on */ +return self; +} +/* allocate MClass */ +void CHECK_NEW_model__MClass(val* self) { +val* var /* : MModule */; +val* var1 /* : String */; +long var2 /* : Int */; +val* var3 /* : MClassKind */; +val* var4 /* : MVisibility */; +val* var5 /* : MClassType */; +val* var6 /* : nullable String */; +var = self->attrs[COLOR_model__MClass___64dintro_mmodule].val; /* @intro_mmodule on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @intro_mmodule", "src/model/model.nit", 290); +exit(1); +} +var1 = self->attrs[COLOR_model__MClass___64dname].val; /* @name on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @name", "src/model/model.nit", 295); +exit(1); +} +var2 = self->attrs[COLOR_model__MClass___64darity].l; /* @arity on */ +var3 = self->attrs[COLOR_model__MClass___64dkind].val; /* @kind on */ +if (var3 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @kind", "src/model/model.nit", 310); +exit(1); +} +var4 = self->attrs[COLOR_model__MClass___64dvisibility].val; /* @visibility on */ +if (var4 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @visibility", "src/model/model.nit", 314); +exit(1); +} +var5 = self->attrs[COLOR_model__MClass___64dmclass_type].val; /* @mclass_type on */ +if (var5 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mclass_type", "src/model/model.nit", 370); +exit(1); +} +var6 = self->attrs[COLOR_abstract_compiler__MClass___64dc_name_cache].val; /* @c_name_cache on */ +} +/* runtime class model__MClassDef */ +const struct class class_model__MClassDef = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MClassDef:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MClassDef:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MClassDef:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MClassDef:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MClassDef:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MClassDef:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MClassDef:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MClassDef:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MClassDef:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MClassDef__to_s, /* pointer to model:MClassDef:model#MClassDef#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MClassDef:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MClassDef:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MClassDef:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MClassDef:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MClassDef:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MClassDef:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MClassDef:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MClassDef:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MClassDef:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MClassDef:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MClassDef:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MClassDef:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MClassDef:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MClassDef:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MClassDef:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MClassDef:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MClassDef:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MClassDef:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MClassDef:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MClassDef:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MClassDef:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MClassDef:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MClassDef:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MClassDef:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MClassDef:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MClassDef:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MClassDef:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MClassDef:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MClassDef:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MClassDef:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MClassDef:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MClassDef__mmodule, /* pointer to model:MClassDef:model#MClassDef#mmodule */ +(nitmethod_t)VIRTUAL_model__MClassDef__mmodule_61d, /* pointer to model:MClassDef:model#MClassDef#mmodule= */ +(nitmethod_t)VIRTUAL_model__MClassDef__mclass, /* pointer to model:MClassDef:model#MClassDef#mclass */ +(nitmethod_t)VIRTUAL_model__MClassDef__mclass_61d, /* pointer to model:MClassDef:model#MClassDef#mclass= */ +(nitmethod_t)VIRTUAL_model__MClassDef__bound_mtype, /* pointer to model:MClassDef:model#MClassDef#bound_mtype */ +(nitmethod_t)VIRTUAL_model__MClassDef__bound_mtype_61d, /* pointer to model:MClassDef:model#MClassDef#bound_mtype= */ +(nitmethod_t)VIRTUAL_model__MClassDef__parameter_names, /* pointer to model:MClassDef:model#MClassDef#parameter_names */ +(nitmethod_t)VIRTUAL_model__MClassDef__parameter_names_61d, /* pointer to model:MClassDef:model#MClassDef#parameter_names= */ +(nitmethod_t)VIRTUAL_model__MClassDef__location, /* pointer to model:MClassDef:model#MClassDef#location */ +(nitmethod_t)VIRTUAL_model__MClassDef__location_61d, /* pointer to model:MClassDef:model#MClassDef#location= */ +(nitmethod_t)VIRTUAL_model__MClassDef__to_s_61d, /* pointer to model:MClassDef:model#MClassDef#to_s= */ +(nitmethod_t)VIRTUAL_model__MClassDef__init, /* pointer to model:MClassDef:model#MClassDef#init */ +(nitmethod_t)VIRTUAL_model__MClassDef__supertypes, /* pointer to model:MClassDef:model#MClassDef#supertypes */ +(nitmethod_t)VIRTUAL_model__MClassDef__supertypes_61d, /* pointer to model:MClassDef:model#MClassDef#supertypes= */ +(nitmethod_t)VIRTUAL_model__MClassDef__set_supertypes, /* pointer to model:MClassDef:model#MClassDef#set_supertypes */ +(nitmethod_t)VIRTUAL_model__MClassDef__add_in_hierarchy, /* pointer to model:MClassDef:model#MClassDef#add_in_hierarchy */ +(nitmethod_t)VIRTUAL_model__MClassDef__in_hierarchy, /* pointer to model:MClassDef:model#MClassDef#in_hierarchy */ +(nitmethod_t)VIRTUAL_model__MClassDef__in_hierarchy_61d, /* pointer to model:MClassDef:model#MClassDef#in_hierarchy= */ +(nitmethod_t)VIRTUAL_model__MClassDef__is_intro, /* pointer to model:MClassDef:model#MClassDef#is_intro */ +(nitmethod_t)VIRTUAL_model__MClassDef__intro_mproperties, /* pointer to model:MClassDef:model#MClassDef#intro_mproperties */ +(nitmethod_t)VIRTUAL_model__MClassDef__intro_mproperties_61d, /* pointer to model:MClassDef:model#MClassDef#intro_mproperties= */ +(nitmethod_t)VIRTUAL_model__MClassDef__mpropdefs, /* pointer to model:MClassDef:model#MClassDef#mpropdefs */ +(nitmethod_t)VIRTUAL_model__MClassDef__mpropdefs_61d, /* pointer to model:MClassDef:model#MClassDef#mpropdefs= */ +} +}; +/* allocate MClassDef */ +val* NEW_model__MClassDef(const struct type* type) { +val* self /* : MClassDef */; +val* var /* : Array[MClassType] */; +val* var1 /* : null */; +val* var2 /* : Array[MProperty] */; +val* var3 /* : Array[MPropDef] */; +self = nit_alloc(sizeof(struct instance) + 10*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MClassDef; +var = NEW_array__Array(&type_array__Arraymodel__MClassType); +((void (*)(val*))(var->class->vft[COLOR_array__Array__init]))(var) /* init on */; +CHECK_NEW_array__Array(var); +self->attrs[COLOR_model__MClassDef___64dsupertypes].val = var; /* @supertypes on */ +var1 = NULL; +self->attrs[COLOR_model__MClassDef___64din_hierarchy].val = var1; /* @in_hierarchy on */ +var2 = NEW_array__Array(&type_array__Arraymodel__MProperty); +((void (*)(val*))(var2->class->vft[COLOR_array__Array__init]))(var2) /* init on */; +CHECK_NEW_array__Array(var2); +self->attrs[COLOR_model__MClassDef___64dintro_mproperties].val = var2; /* @intro_mproperties on */ +var3 = NEW_array__Array(&type_array__Arraymodel__MPropDef); +((void (*)(val*))(var3->class->vft[COLOR_array__Array__init]))(var3) /* init on */; +CHECK_NEW_array__Array(var3); +self->attrs[COLOR_model__MClassDef___64dmpropdefs].val = var3; /* @mpropdefs on */ +return self; +} +/* allocate MClassDef */ +void CHECK_NEW_model__MClassDef(val* self) { +val* var /* : MModule */; +val* var1 /* : MClass */; +val* var2 /* : MClassType */; +val* var3 /* : Array[String] */; +val* var4 /* : Location */; +val* var5 /* : String */; +var = self->attrs[COLOR_model__MClassDef___64dmmodule].val; /* @mmodule on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mmodule", "src/model/model.nit", 415); +exit(1); +} +var1 = self->attrs[COLOR_model__MClassDef___64dmclass].val; /* @mclass on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mclass", "src/model/model.nit", 418); +exit(1); +} +var2 = self->attrs[COLOR_model__MClassDef___64dbound_mtype].val; /* @bound_mtype on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @bound_mtype", "src/model/model.nit", 421); +exit(1); +} +var3 = self->attrs[COLOR_model__MClassDef___64dparameter_names].val; /* @parameter_names on */ +if (var3 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @parameter_names", "src/model/model.nit", 433); +exit(1); +} +var4 = self->attrs[COLOR_model__MClassDef___64dlocation].val; /* @location on */ +if (var4 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @location", "src/model/model.nit", 436); +exit(1); +} +var5 = self->attrs[COLOR_model__MClassDef___64dto_s].val; /* @to_s on */ +if (var5 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @to_s", "src/model/model.nit", 439); +exit(1); +} +} +/* runtime class model__MClassType */ +const struct class class_model__MClassType = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MClassType:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MClassType:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MClassType:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MClassType:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MClassType:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MClassType:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MClassType:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MClassType:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MClassType:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MClassType__to_s, /* pointer to model:MClassType:model#MClassType#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MClassType:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MClassType:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MClassType:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MClassType:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MClassType:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MClassType:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MClassType:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MClassType:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MClassType:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MClassType:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MClassType:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MClassType:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MClassType:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MClassType:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MClassType:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MClassType:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MClassType:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MClassType:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MClassType:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MClassType:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MClassType:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MClassType:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MClassType:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MClassType:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MClassType:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MClassType:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MClassType:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MClassType:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MClassType:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MClassType:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MClassType:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MClassType__model, /* pointer to model:MClassType:model#MClassType#model */ +(nitmethod_t)VIRTUAL_model__MType__is_subtype, /* pointer to model:MClassType:model#MType#is_subtype */ +(nitmethod_t)VIRTUAL_model__MClassType__anchor_to, /* pointer to model:MClassType:model#MClassType#anchor_to */ +(nitmethod_t)VIRTUAL_model__MClassType__need_anchor, /* pointer to model:MClassType:model#MClassType#need_anchor */ +(nitmethod_t)VIRTUAL_model__MType__supertype_to, /* pointer to model:MClassType:model#MType#supertype_to */ +(nitmethod_t)VIRTUAL_model__MClassType__resolve_for, /* pointer to model:MClassType:model#MClassType#resolve_for */ +(nitmethod_t)VIRTUAL_model__MClassType__can_resolve_for, /* pointer to model:MClassType:model#MClassType#can_resolve_for */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable, /* pointer to model:MClassType:model#MType#as_nullable */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache, /* pointer to model:MClassType:model#MType#as_nullable_cache */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache_61d, /* pointer to model:MClassType:model#MType#as_nullable_cache= */ +(nitmethod_t)VIRTUAL_model__MType__depth, /* pointer to model:MClassType:model#MType#depth */ +(nitmethod_t)VIRTUAL_model__MType__length, /* pointer to model:MClassType:model#MType#length */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mclassdefs, /* pointer to model:MClassType:model#MClassType#collect_mclassdefs */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mclasses, /* pointer to model:MClassType:model#MClassType#collect_mclasses */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mtypes, /* pointer to model:MClassType:model#MClassType#collect_mtypes */ +(nitmethod_t)VIRTUAL_model__MType__has_mproperty, /* pointer to model:MClassType:model#MType#has_mproperty */ +(nitmethod_t)VIRTUAL_model__MType__init, /* pointer to model:MClassType:model#MType#init */ +(nitmethod_t)VIRTUAL_abstract_compiler__MClassType__ctype, /* pointer to model:MClassType:abstract_compiler#MClassType#ctype */ +(nitmethod_t)VIRTUAL_abstract_compiler__MClassType__ctypename, /* pointer to model:MClassType:abstract_compiler#MClassType#ctypename */ +(nitmethod_t)VIRTUAL_abstract_compiler__MClassType__c_name, /* pointer to model:MClassType:abstract_compiler#MClassType#c_name */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache, /* pointer to model:MClassType:abstract_compiler#MType#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache_61d, /* pointer to model:MClassType:abstract_compiler#MType#c_name_cache= */ +(nitmethod_t)VIRTUAL_separate_compiler__MType__const_color, /* pointer to model:MClassType:separate_compiler#MType#const_color */ +(nitmethod_t)VIRTUAL_model__MClassType__mclass, /* pointer to model:MClassType:model#MClassType#mclass */ +(nitmethod_t)VIRTUAL_model__MClassType__mclass_61d, /* pointer to model:MClassType:model#MClassType#mclass= */ +(nitmethod_t)VIRTUAL_model__MClassType__init, /* pointer to model:MClassType:model#MClassType#init */ +(nitmethod_t)VIRTUAL_model__MClassType__arguments, /* pointer to model:MClassType:model#MClassType#arguments */ +(nitmethod_t)VIRTUAL_model__MClassType__arguments_61d, /* pointer to model:MClassType:model#MClassType#arguments= */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_things, /* pointer to model:MClassType:model#MClassType#collect_things */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mclassdefs_cache, /* pointer to model:MClassType:model#MClassType#collect_mclassdefs_cache */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mclassdefs_cache_61d, /* pointer to model:MClassType:model#MClassType#collect_mclassdefs_cache= */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mclasses_cache, /* pointer to model:MClassType:model#MClassType#collect_mclasses_cache */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mclasses_cache_61d, /* pointer to model:MClassType:model#MClassType#collect_mclasses_cache= */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mtypes_cache, /* pointer to model:MClassType:model#MClassType#collect_mtypes_cache */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mtypes_cache_61d, /* pointer to model:MClassType:model#MClassType#collect_mtypes_cache= */ +(nitmethod_t)VIRTUAL_model__MType__anchor_to, /* pointer to model:MClassType:model#MType#anchor_to */ +} +}; +/* allocate MClassType */ +val* NEW_model__MClassType(const struct type* type) { +val* self /* : MClassType */; +val* var /* : null */; +val* var1 /* : Array[MType] */; +val* var2 /* : HashMap[MModule, Set[MClassDef]] */; +val* var3 /* : HashMap[MModule, Set[MClass]] */; +val* var4 /* : HashMap[MModule, Set[MClassType]] */; +self = nit_alloc(sizeof(struct instance) + 7*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MClassType; +var = NULL; +self->attrs[COLOR_model__MType___64das_nullable_cache].val = var; /* @as_nullable_cache on */ +var1 = NEW_array__Array(&type_array__Arraymodel__MType); +((void (*)(val*))(var1->class->vft[COLOR_array__Array__init]))(var1) /* init on */; +CHECK_NEW_array__Array(var1); +self->attrs[COLOR_model__MClassType___64darguments].val = var1; /* @arguments on */ +var2 = NEW_hash_collection__HashMap(&type_hash_collection__HashMapmodel_base__MModuleabstract_collection__Setmodel__MClassDef); +((void (*)(val*))(var2->class->vft[COLOR_hash_collection__HashMap__init]))(var2) /* init on */; +CHECK_NEW_hash_collection__HashMap(var2); +self->attrs[COLOR_model__MClassType___64dcollect_mclassdefs_cache].val = var2; /* @collect_mclassdefs_cache on */ +var3 = NEW_hash_collection__HashMap(&type_hash_collection__HashMapmodel_base__MModuleabstract_collection__Setmodel__MClass); +((void (*)(val*))(var3->class->vft[COLOR_hash_collection__HashMap__init]))(var3) /* init on */; +CHECK_NEW_hash_collection__HashMap(var3); +self->attrs[COLOR_model__MClassType___64dcollect_mclasses_cache].val = var3; /* @collect_mclasses_cache on */ +var4 = NEW_hash_collection__HashMap(&type_hash_collection__HashMapmodel_base__MModuleabstract_collection__Setmodel__MClassType); +((void (*)(val*))(var4->class->vft[COLOR_hash_collection__HashMap__init]))(var4) /* init on */; +CHECK_NEW_hash_collection__HashMap(var4); +self->attrs[COLOR_model__MClassType___64dcollect_mtypes_cache].val = var4; /* @collect_mtypes_cache on */ +return self; +} +/* allocate MClassType */ +void CHECK_NEW_model__MClassType(val* self) { +val* var /* : nullable String */; +val* var1 /* : MClass */; +var = self->attrs[COLOR_abstract_compiler__MType___64dc_name_cache].val; /* @c_name_cache on */ +var1 = self->attrs[COLOR_model__MClassType___64dmclass].val; /* @mclass on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mclass", "src/model/model.nit", 900); +exit(1); +} +} +/* runtime class model__MGenericType */ +const struct class class_model__MGenericType = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MGenericType:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MGenericType:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MGenericType:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MGenericType:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MGenericType:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MGenericType:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MGenericType:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MGenericType:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MGenericType:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MGenericType__to_s, /* pointer to model:MGenericType:model#MGenericType#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MGenericType:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MGenericType:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MGenericType:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MGenericType:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MGenericType:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MGenericType:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MGenericType:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MGenericType:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MGenericType:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MGenericType:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MGenericType:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MGenericType:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MGenericType:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MGenericType:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MGenericType:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MGenericType:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MGenericType:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MGenericType:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MGenericType:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MGenericType:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MGenericType:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MGenericType:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MGenericType:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MGenericType:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MGenericType:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MGenericType:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MGenericType:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MGenericType:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MGenericType:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MGenericType:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MGenericType:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MClassType__model, /* pointer to model:MGenericType:model#MClassType#model */ +(nitmethod_t)VIRTUAL_model__MType__is_subtype, /* pointer to model:MGenericType:model#MType#is_subtype */ +(nitmethod_t)VIRTUAL_model__MClassType__anchor_to, /* pointer to model:MGenericType:model#MClassType#anchor_to */ +(nitmethod_t)VIRTUAL_model__MGenericType__need_anchor, /* pointer to model:MGenericType:model#MGenericType#need_anchor */ +(nitmethod_t)VIRTUAL_model__MType__supertype_to, /* pointer to model:MGenericType:model#MType#supertype_to */ +(nitmethod_t)VIRTUAL_model__MGenericType__resolve_for, /* pointer to model:MGenericType:model#MGenericType#resolve_for */ +(nitmethod_t)VIRTUAL_model__MGenericType__can_resolve_for, /* pointer to model:MGenericType:model#MGenericType#can_resolve_for */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable, /* pointer to model:MGenericType:model#MType#as_nullable */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache, /* pointer to model:MGenericType:model#MType#as_nullable_cache */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache_61d, /* pointer to model:MGenericType:model#MType#as_nullable_cache= */ +(nitmethod_t)VIRTUAL_model__MGenericType__depth, /* pointer to model:MGenericType:model#MGenericType#depth */ +(nitmethod_t)VIRTUAL_model__MGenericType__length, /* pointer to model:MGenericType:model#MGenericType#length */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mclassdefs, /* pointer to model:MGenericType:model#MClassType#collect_mclassdefs */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mclasses, /* pointer to model:MGenericType:model#MClassType#collect_mclasses */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mtypes, /* pointer to model:MGenericType:model#MClassType#collect_mtypes */ +(nitmethod_t)VIRTUAL_model__MType__has_mproperty, /* pointer to model:MGenericType:model#MType#has_mproperty */ +(nitmethod_t)VIRTUAL_model__MType__init, /* pointer to model:MGenericType:model#MType#init */ +(nitmethod_t)VIRTUAL_abstract_compiler__MClassType__ctype, /* pointer to model:MGenericType:abstract_compiler#MClassType#ctype */ +(nitmethod_t)VIRTUAL_abstract_compiler__MClassType__ctypename, /* pointer to model:MGenericType:abstract_compiler#MClassType#ctypename */ +(nitmethod_t)VIRTUAL_abstract_compiler__MGenericType__c_name, /* pointer to model:MGenericType:abstract_compiler#MGenericType#c_name */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache, /* pointer to model:MGenericType:abstract_compiler#MType#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache_61d, /* pointer to model:MGenericType:abstract_compiler#MType#c_name_cache= */ +(nitmethod_t)VIRTUAL_separate_compiler__MType__const_color, /* pointer to model:MGenericType:separate_compiler#MType#const_color */ +(nitmethod_t)VIRTUAL_model__MClassType__mclass, /* pointer to model:MGenericType:model#MClassType#mclass */ +(nitmethod_t)VIRTUAL_model__MClassType__mclass_61d, /* pointer to model:MGenericType:model#MClassType#mclass= */ +(nitmethod_t)VIRTUAL_model__MClassType__init, /* pointer to model:MGenericType:model#MClassType#init */ +(nitmethod_t)VIRTUAL_model__MClassType__arguments, /* pointer to model:MGenericType:model#MClassType#arguments */ +(nitmethod_t)VIRTUAL_model__MClassType__arguments_61d, /* pointer to model:MGenericType:model#MClassType#arguments= */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_things, /* pointer to model:MGenericType:model#MClassType#collect_things */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mclassdefs_cache, /* pointer to model:MGenericType:model#MClassType#collect_mclassdefs_cache */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mclassdefs_cache_61d, /* pointer to model:MGenericType:model#MClassType#collect_mclassdefs_cache= */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mclasses_cache, /* pointer to model:MGenericType:model#MClassType#collect_mclasses_cache */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mclasses_cache_61d, /* pointer to model:MGenericType:model#MClassType#collect_mclasses_cache= */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mtypes_cache, /* pointer to model:MGenericType:model#MClassType#collect_mtypes_cache */ +(nitmethod_t)VIRTUAL_model__MClassType__collect_mtypes_cache_61d, /* pointer to model:MGenericType:model#MClassType#collect_mtypes_cache= */ +(nitmethod_t)VIRTUAL_model__MType__anchor_to, /* pointer to model:MGenericType:model#MType#anchor_to */ +(nitmethod_t)VIRTUAL_model__MGenericType__init, /* pointer to model:MGenericType:model#MGenericType#init */ +(nitmethod_t)VIRTUAL_model__MGenericType__to_s_61d, /* pointer to model:MGenericType:model#MGenericType#to_s= */ +(nitmethod_t)VIRTUAL_model__MGenericType__need_anchor_61d, /* pointer to model:MGenericType:model#MGenericType#need_anchor= */ +(nitmethod_t)VIRTUAL_abstract_compiler__MClassType__c_name, /* pointer to model:MGenericType:abstract_compiler#MClassType#c_name */ +} +}; +/* allocate MGenericType */ +val* NEW_model__MGenericType(const struct type* type) { +val* self /* : MGenericType */; +val* var /* : null */; +val* var1 /* : Array[MType] */; +val* var2 /* : HashMap[MModule, Set[MClassDef]] */; +val* var3 /* : HashMap[MModule, Set[MClass]] */; +val* var4 /* : HashMap[MModule, Set[MClassType]] */; +self = nit_alloc(sizeof(struct instance) + 9*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MGenericType; +var = NULL; +self->attrs[COLOR_model__MType___64das_nullable_cache].val = var; /* @as_nullable_cache on */ +var1 = NEW_array__Array(&type_array__Arraymodel__MType); +((void (*)(val*))(var1->class->vft[COLOR_array__Array__init]))(var1) /* init on */; +CHECK_NEW_array__Array(var1); +self->attrs[COLOR_model__MClassType___64darguments].val = var1; /* @arguments on */ +var2 = NEW_hash_collection__HashMap(&type_hash_collection__HashMapmodel_base__MModuleabstract_collection__Setmodel__MClassDef); +((void (*)(val*))(var2->class->vft[COLOR_hash_collection__HashMap__init]))(var2) /* init on */; +CHECK_NEW_hash_collection__HashMap(var2); +self->attrs[COLOR_model__MClassType___64dcollect_mclassdefs_cache].val = var2; /* @collect_mclassdefs_cache on */ +var3 = NEW_hash_collection__HashMap(&type_hash_collection__HashMapmodel_base__MModuleabstract_collection__Setmodel__MClass); +((void (*)(val*))(var3->class->vft[COLOR_hash_collection__HashMap__init]))(var3) /* init on */; +CHECK_NEW_hash_collection__HashMap(var3); +self->attrs[COLOR_model__MClassType___64dcollect_mclasses_cache].val = var3; /* @collect_mclasses_cache on */ +var4 = NEW_hash_collection__HashMap(&type_hash_collection__HashMapmodel_base__MModuleabstract_collection__Setmodel__MClassType); +((void (*)(val*))(var4->class->vft[COLOR_hash_collection__HashMap__init]))(var4) /* init on */; +CHECK_NEW_hash_collection__HashMap(var4); +self->attrs[COLOR_model__MClassType___64dcollect_mtypes_cache].val = var4; /* @collect_mtypes_cache on */ +return self; +} +/* allocate MGenericType */ +void CHECK_NEW_model__MGenericType(val* self) { +val* var /* : nullable String */; +val* var1 /* : MClass */; +val* var2 /* : String */; +short int var3 /* : Bool */; +var = self->attrs[COLOR_abstract_compiler__MType___64dc_name_cache].val; /* @c_name_cache on */ +var1 = self->attrs[COLOR_model__MClassType___64dmclass].val; /* @mclass on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mclass", "src/model/model.nit", 900); +exit(1); +} +var2 = self->attrs[COLOR_model__MGenericType___64dto_s].val; /* @to_s on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @to_s", "src/model/model.nit", 1015); +exit(1); +} +var3 = self->attrs[COLOR_model__MGenericType___64dneed_anchor].s; /* @need_anchor on */ +} +/* runtime class model__MVirtualType */ +const struct class class_model__MVirtualType = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MVirtualType:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MVirtualType:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MVirtualType:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MVirtualType:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MVirtualType:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MVirtualType:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MVirtualType:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MVirtualType:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MVirtualType:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MVirtualType__to_s, /* pointer to model:MVirtualType:model#MVirtualType#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MVirtualType:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MVirtualType:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MVirtualType:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MVirtualType:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MVirtualType:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MVirtualType:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MVirtualType:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MVirtualType:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MVirtualType:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MVirtualType:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MVirtualType:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MVirtualType:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MVirtualType:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MVirtualType:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MVirtualType:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MVirtualType:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MVirtualType:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MVirtualType:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MVirtualType:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MVirtualType:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MVirtualType:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MVirtualType:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MVirtualType:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MVirtualType:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MVirtualType:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MVirtualType:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MVirtualType:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MVirtualType:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MVirtualType:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MVirtualType:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MVirtualType:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MVirtualType__model, /* pointer to model:MVirtualType:model#MVirtualType#model */ +(nitmethod_t)VIRTUAL_model__MType__is_subtype, /* pointer to model:MVirtualType:model#MType#is_subtype */ +(nitmethod_t)VIRTUAL_model__MType__anchor_to, /* pointer to model:MVirtualType:model#MType#anchor_to */ +(nitmethod_t)VIRTUAL_model__MType__need_anchor, /* pointer to model:MVirtualType:model#MType#need_anchor */ +(nitmethod_t)VIRTUAL_model__MType__supertype_to, /* pointer to model:MVirtualType:model#MType#supertype_to */ +(nitmethod_t)VIRTUAL_model__MVirtualType__resolve_for, /* pointer to model:MVirtualType:model#MVirtualType#resolve_for */ +(nitmethod_t)VIRTUAL_model__MVirtualType__can_resolve_for, /* pointer to model:MVirtualType:model#MVirtualType#can_resolve_for */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable, /* pointer to model:MVirtualType:model#MType#as_nullable */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache, /* pointer to model:MVirtualType:model#MType#as_nullable_cache */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache_61d, /* pointer to model:MVirtualType:model#MType#as_nullable_cache= */ +(nitmethod_t)VIRTUAL_model__MType__depth, /* pointer to model:MVirtualType:model#MType#depth */ +(nitmethod_t)VIRTUAL_model__MType__length, /* pointer to model:MVirtualType:model#MType#length */ +(nitmethod_t)VIRTUAL_model__MType__collect_mclassdefs, /* pointer to model:MVirtualType:model#MType#collect_mclassdefs */ +(nitmethod_t)VIRTUAL_model__MType__collect_mclasses, /* pointer to model:MVirtualType:model#MType#collect_mclasses */ +(nitmethod_t)VIRTUAL_model__MType__collect_mtypes, /* pointer to model:MVirtualType:model#MType#collect_mtypes */ +(nitmethod_t)VIRTUAL_model__MType__has_mproperty, /* pointer to model:MVirtualType:model#MType#has_mproperty */ +(nitmethod_t)VIRTUAL_model__MType__init, /* pointer to model:MVirtualType:model#MType#init */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__ctype, /* pointer to model:MVirtualType:abstract_compiler#MType#ctype */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__ctypename, /* pointer to model:MVirtualType:abstract_compiler#MType#ctypename */ +(nitmethod_t)VIRTUAL_abstract_compiler__MVirtualType__c_name, /* pointer to model:MVirtualType:abstract_compiler#MVirtualType#c_name */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache, /* pointer to model:MVirtualType:abstract_compiler#MType#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache_61d, /* pointer to model:MVirtualType:abstract_compiler#MType#c_name_cache= */ +(nitmethod_t)VIRTUAL_separate_compiler__MType__const_color, /* pointer to model:MVirtualType:separate_compiler#MType#const_color */ +(nitmethod_t)VIRTUAL_model__MVirtualType__mproperty, /* pointer to model:MVirtualType:model#MVirtualType#mproperty */ +(nitmethod_t)VIRTUAL_model__MVirtualType__mproperty_61d, /* pointer to model:MVirtualType:model#MVirtualType#mproperty= */ +(nitmethod_t)VIRTUAL_model__MVirtualType__lookup_bound, /* pointer to model:MVirtualType:model#MVirtualType#lookup_bound */ +(nitmethod_t)VIRTUAL_model__MVirtualType__init, /* pointer to model:MVirtualType:model#MVirtualType#init */ +} +}; +/* allocate MVirtualType */ +val* NEW_model__MVirtualType(const struct type* type) { +val* self /* : MVirtualType */; +val* var /* : null */; +self = nit_alloc(sizeof(struct instance) + 3*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MVirtualType; +var = NULL; +self->attrs[COLOR_model__MType___64das_nullable_cache].val = var; /* @as_nullable_cache on */ +return self; +} +/* allocate MVirtualType */ +void CHECK_NEW_model__MVirtualType(val* self) { +val* var /* : nullable String */; +val* var1 /* : MProperty */; +var = self->attrs[COLOR_abstract_compiler__MType___64dc_name_cache].val; /* @c_name_cache on */ +var1 = self->attrs[COLOR_model__MVirtualType___64dmproperty].val; /* @mproperty on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mproperty", "src/model/model.nit", 1066); +exit(1); +} +} +/* runtime class model__MParameterType */ +const struct class class_model__MParameterType = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MParameterType:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MParameterType:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MParameterType:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MParameterType:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MParameterType:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MParameterType:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MParameterType:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MParameterType:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MParameterType:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MParameterType__to_s, /* pointer to model:MParameterType:model#MParameterType#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MParameterType:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MParameterType:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MParameterType:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MParameterType:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MParameterType:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MParameterType:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MParameterType:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MParameterType:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MParameterType:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MParameterType:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MParameterType:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MParameterType:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MParameterType:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MParameterType:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MParameterType:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MParameterType:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MParameterType:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MParameterType:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MParameterType:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MParameterType:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MParameterType:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MParameterType:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MParameterType:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MParameterType:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MParameterType:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MParameterType:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MParameterType:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MParameterType:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MParameterType:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MParameterType:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MParameterType:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MParameterType__model, /* pointer to model:MParameterType:model#MParameterType#model */ +(nitmethod_t)VIRTUAL_model__MType__is_subtype, /* pointer to model:MParameterType:model#MType#is_subtype */ +(nitmethod_t)VIRTUAL_model__MType__anchor_to, /* pointer to model:MParameterType:model#MType#anchor_to */ +(nitmethod_t)VIRTUAL_model__MType__need_anchor, /* pointer to model:MParameterType:model#MType#need_anchor */ +(nitmethod_t)VIRTUAL_model__MType__supertype_to, /* pointer to model:MParameterType:model#MType#supertype_to */ +(nitmethod_t)VIRTUAL_model__MParameterType__resolve_for, /* pointer to model:MParameterType:model#MParameterType#resolve_for */ +(nitmethod_t)VIRTUAL_model__MParameterType__can_resolve_for, /* pointer to model:MParameterType:model#MParameterType#can_resolve_for */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable, /* pointer to model:MParameterType:model#MType#as_nullable */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache, /* pointer to model:MParameterType:model#MType#as_nullable_cache */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache_61d, /* pointer to model:MParameterType:model#MType#as_nullable_cache= */ +(nitmethod_t)VIRTUAL_model__MType__depth, /* pointer to model:MParameterType:model#MType#depth */ +(nitmethod_t)VIRTUAL_model__MType__length, /* pointer to model:MParameterType:model#MType#length */ +(nitmethod_t)VIRTUAL_model__MType__collect_mclassdefs, /* pointer to model:MParameterType:model#MType#collect_mclassdefs */ +(nitmethod_t)VIRTUAL_model__MType__collect_mclasses, /* pointer to model:MParameterType:model#MType#collect_mclasses */ +(nitmethod_t)VIRTUAL_model__MType__collect_mtypes, /* pointer to model:MParameterType:model#MType#collect_mtypes */ +(nitmethod_t)VIRTUAL_model__MType__has_mproperty, /* pointer to model:MParameterType:model#MType#has_mproperty */ +(nitmethod_t)VIRTUAL_model__MType__init, /* pointer to model:MParameterType:model#MType#init */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__ctype, /* pointer to model:MParameterType:abstract_compiler#MType#ctype */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__ctypename, /* pointer to model:MParameterType:abstract_compiler#MType#ctypename */ +(nitmethod_t)VIRTUAL_abstract_compiler__MParameterType__c_name, /* pointer to model:MParameterType:abstract_compiler#MParameterType#c_name */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache, /* pointer to model:MParameterType:abstract_compiler#MType#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache_61d, /* pointer to model:MParameterType:abstract_compiler#MType#c_name_cache= */ +(nitmethod_t)VIRTUAL_separate_compiler__MType__const_color, /* pointer to model:MParameterType:separate_compiler#MType#const_color */ +(nitmethod_t)VIRTUAL_model__MParameterType__mclass, /* pointer to model:MParameterType:model#MParameterType#mclass */ +(nitmethod_t)VIRTUAL_model__MParameterType__mclass_61d, /* pointer to model:MParameterType:model#MParameterType#mclass= */ +(nitmethod_t)VIRTUAL_model__MParameterType__rank, /* pointer to model:MParameterType:model#MParameterType#rank */ +(nitmethod_t)VIRTUAL_model__MParameterType__rank_61d, /* pointer to model:MParameterType:model#MParameterType#rank= */ +(nitmethod_t)VIRTUAL_model__MParameterType__lookup_bound, /* pointer to model:MParameterType:model#MParameterType#lookup_bound */ +(nitmethod_t)VIRTUAL_model__MParameterType__init, /* pointer to model:MParameterType:model#MParameterType#init */ +} +}; +/* allocate MParameterType */ +val* NEW_model__MParameterType(const struct type* type) { +val* self /* : MParameterType */; +val* var /* : null */; +self = nit_alloc(sizeof(struct instance) + 4*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MParameterType; +var = NULL; +self->attrs[COLOR_model__MType___64das_nullable_cache].val = var; /* @as_nullable_cache on */ +return self; +} +/* allocate MParameterType */ +void CHECK_NEW_model__MParameterType(val* self) { +val* var /* : nullable String */; +val* var1 /* : MClass */; +long var2 /* : Int */; +var = self->attrs[COLOR_abstract_compiler__MType___64dc_name_cache].val; /* @c_name_cache on */ +var1 = self->attrs[COLOR_model__MParameterType___64dmclass].val; /* @mclass on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mclass", "src/model/model.nit", 1180); +exit(1); +} +var2 = self->attrs[COLOR_model__MParameterType___64drank].l; /* @rank on */ +} +/* runtime class model__MNullableType */ +const struct class class_model__MNullableType = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MNullableType:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MNullableType:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MNullableType:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MNullableType:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MNullableType:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MNullableType:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MNullableType:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MNullableType:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MNullableType:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MNullableType__to_s, /* pointer to model:MNullableType:model#MNullableType#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MNullableType:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MNullableType:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MNullableType:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MNullableType:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MNullableType:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MNullableType:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MNullableType:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MNullableType:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MNullableType:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MNullableType:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MNullableType:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MNullableType:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MNullableType:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MNullableType:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MNullableType:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MNullableType:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MNullableType:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MNullableType:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MNullableType:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MNullableType:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MNullableType:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MNullableType:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MNullableType:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MNullableType:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MNullableType:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MNullableType:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MNullableType:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MNullableType:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MNullableType:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MNullableType:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MNullableType:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MNullableType__model, /* pointer to model:MNullableType:model#MNullableType#model */ +(nitmethod_t)VIRTUAL_model__MType__is_subtype, /* pointer to model:MNullableType:model#MType#is_subtype */ +(nitmethod_t)VIRTUAL_model__MType__anchor_to, /* pointer to model:MNullableType:model#MType#anchor_to */ +(nitmethod_t)VIRTUAL_model__MNullableType__need_anchor, /* pointer to model:MNullableType:model#MNullableType#need_anchor */ +(nitmethod_t)VIRTUAL_model__MType__supertype_to, /* pointer to model:MNullableType:model#MType#supertype_to */ +(nitmethod_t)VIRTUAL_model__MNullableType__resolve_for, /* pointer to model:MNullableType:model#MNullableType#resolve_for */ +(nitmethod_t)VIRTUAL_model__MNullableType__can_resolve_for, /* pointer to model:MNullableType:model#MNullableType#can_resolve_for */ +(nitmethod_t)VIRTUAL_model__MNullableType__as_nullable, /* pointer to model:MNullableType:model#MNullableType#as_nullable */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache, /* pointer to model:MNullableType:model#MType#as_nullable_cache */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache_61d, /* pointer to model:MNullableType:model#MType#as_nullable_cache= */ +(nitmethod_t)VIRTUAL_model__MNullableType__depth, /* pointer to model:MNullableType:model#MNullableType#depth */ +(nitmethod_t)VIRTUAL_model__MNullableType__length, /* pointer to model:MNullableType:model#MNullableType#length */ +(nitmethod_t)VIRTUAL_model__MNullableType__collect_mclassdefs, /* pointer to model:MNullableType:model#MNullableType#collect_mclassdefs */ +(nitmethod_t)VIRTUAL_model__MNullableType__collect_mclasses, /* pointer to model:MNullableType:model#MNullableType#collect_mclasses */ +(nitmethod_t)VIRTUAL_model__MNullableType__collect_mtypes, /* pointer to model:MNullableType:model#MNullableType#collect_mtypes */ +(nitmethod_t)VIRTUAL_model__MType__has_mproperty, /* pointer to model:MNullableType:model#MType#has_mproperty */ +(nitmethod_t)VIRTUAL_model__MType__init, /* pointer to model:MNullableType:model#MType#init */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__ctype, /* pointer to model:MNullableType:abstract_compiler#MType#ctype */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__ctypename, /* pointer to model:MNullableType:abstract_compiler#MType#ctypename */ +(nitmethod_t)VIRTUAL_abstract_compiler__MNullableType__c_name, /* pointer to model:MNullableType:abstract_compiler#MNullableType#c_name */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache, /* pointer to model:MNullableType:abstract_compiler#MType#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache_61d, /* pointer to model:MNullableType:abstract_compiler#MType#c_name_cache= */ +(nitmethod_t)VIRTUAL_separate_compiler__MType__const_color, /* pointer to model:MNullableType:separate_compiler#MType#const_color */ +(nitmethod_t)VIRTUAL_model__MNullableType__mtype, /* pointer to model:MNullableType:model#MNullableType#mtype */ +(nitmethod_t)VIRTUAL_model__MNullableType__mtype_61d, /* pointer to model:MNullableType:model#MNullableType#mtype= */ +(nitmethod_t)VIRTUAL_model__MNullableType__init, /* pointer to model:MNullableType:model#MNullableType#init */ +(nitmethod_t)VIRTUAL_model__MNullableType__to_s_61d, /* pointer to model:MNullableType:model#MNullableType#to_s= */ +} +}; +/* allocate MNullableType */ +val* NEW_model__MNullableType(const struct type* type) { +val* self /* : MNullableType */; +val* var /* : null */; +self = nit_alloc(sizeof(struct instance) + 4*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MNullableType; +var = NULL; +self->attrs[COLOR_model__MType___64das_nullable_cache].val = var; /* @as_nullable_cache on */ +return self; +} +/* allocate MNullableType */ +void CHECK_NEW_model__MNullableType(val* self) { +val* var /* : nullable String */; +val* var1 /* : MType */; +val* var2 /* : String */; +var = self->attrs[COLOR_abstract_compiler__MType___64dc_name_cache].val; /* @c_name_cache on */ +var1 = self->attrs[COLOR_model__MNullableType___64dmtype].val; /* @mtype on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mtype", "src/model/model.nit", 1284); +exit(1); +} +var2 = self->attrs[COLOR_model__MNullableType___64dto_s].val; /* @to_s on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @to_s", "src/model/model.nit", 1295); +exit(1); +} +} +/* runtime class model__MNullType */ +const struct class class_model__MNullType = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MNullType:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MNullType:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MNullType:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MNullType:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MNullType:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MNullType:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MNullType:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MNullType:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MNullType:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MNullType__to_s, /* pointer to model:MNullType:model#MNullType#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MNullType:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MNullType:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MNullType:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MNullType:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MNullType:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MNullType:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MNullType:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MNullType:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MNullType:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MNullType:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MNullType:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MNullType:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MNullType:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MNullType:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MNullType:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MNullType:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MNullType:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MNullType:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MNullType:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MNullType:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MNullType:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MNullType:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MNullType:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MNullType:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MNullType:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MNullType:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MNullType:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MNullType:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MNullType:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MNullType:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MNullType:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MNullType__model, /* pointer to model:MNullType:model#MNullType#model */ +(nitmethod_t)VIRTUAL_model__MType__is_subtype, /* pointer to model:MNullType:model#MType#is_subtype */ +(nitmethod_t)VIRTUAL_model__MType__anchor_to, /* pointer to model:MNullType:model#MType#anchor_to */ +(nitmethod_t)VIRTUAL_model__MNullType__need_anchor, /* pointer to model:MNullType:model#MNullType#need_anchor */ +(nitmethod_t)VIRTUAL_model__MType__supertype_to, /* pointer to model:MNullType:model#MType#supertype_to */ +(nitmethod_t)VIRTUAL_model__MNullType__resolve_for, /* pointer to model:MNullType:model#MNullType#resolve_for */ +(nitmethod_t)VIRTUAL_model__MNullType__can_resolve_for, /* pointer to model:MNullType:model#MNullType#can_resolve_for */ +(nitmethod_t)VIRTUAL_model__MNullType__as_nullable, /* pointer to model:MNullType:model#MNullType#as_nullable */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache, /* pointer to model:MNullType:model#MType#as_nullable_cache */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache_61d, /* pointer to model:MNullType:model#MType#as_nullable_cache= */ +(nitmethod_t)VIRTUAL_model__MType__depth, /* pointer to model:MNullType:model#MType#depth */ +(nitmethod_t)VIRTUAL_model__MType__length, /* pointer to model:MNullType:model#MType#length */ +(nitmethod_t)VIRTUAL_model__MNullType__collect_mclassdefs, /* pointer to model:MNullType:model#MNullType#collect_mclassdefs */ +(nitmethod_t)VIRTUAL_model__MNullType__collect_mclasses, /* pointer to model:MNullType:model#MNullType#collect_mclasses */ +(nitmethod_t)VIRTUAL_model__MNullType__collect_mtypes, /* pointer to model:MNullType:model#MNullType#collect_mtypes */ +(nitmethod_t)VIRTUAL_model__MType__has_mproperty, /* pointer to model:MNullType:model#MType#has_mproperty */ +(nitmethod_t)VIRTUAL_model__MType__init, /* pointer to model:MNullType:model#MType#init */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__ctype, /* pointer to model:MNullType:abstract_compiler#MType#ctype */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__ctypename, /* pointer to model:MNullType:abstract_compiler#MType#ctypename */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name, /* pointer to model:MNullType:abstract_compiler#MType#c_name */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache, /* pointer to model:MNullType:abstract_compiler#MType#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache_61d, /* pointer to model:MNullType:abstract_compiler#MType#c_name_cache= */ +(nitmethod_t)VIRTUAL_separate_compiler__MType__const_color, /* pointer to model:MNullType:separate_compiler#MType#const_color */ +(nitmethod_t)VIRTUAL_model__MNullType__model_61d, /* pointer to model:MNullType:model#MNullType#model= */ +(nitmethod_t)VIRTUAL_model__MNullType__init, /* pointer to model:MNullType:model#MNullType#init */ +} +}; +/* allocate MNullType */ +val* NEW_model__MNullType(const struct type* type) { +val* self /* : MNullType */; +val* var /* : null */; +self = nit_alloc(sizeof(struct instance) + 3*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MNullType; +var = NULL; +self->attrs[COLOR_model__MType___64das_nullable_cache].val = var; /* @as_nullable_cache on */ +return self; +} +/* allocate MNullType */ +void CHECK_NEW_model__MNullType(val* self) { +val* var /* : nullable String */; +val* var1 /* : Model */; +var = self->attrs[COLOR_abstract_compiler__MType___64dc_name_cache].val; /* @c_name_cache on */ +var1 = self->attrs[COLOR_model__MNullType___64dmodel].val; /* @model on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @model", "src/model/model.nit", 1338); +exit(1); +} +} +/* runtime class model__MSignature */ +const struct class class_model__MSignature = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MSignature:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MSignature:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MSignature:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MSignature:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MSignature:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MSignature:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MSignature:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MSignature:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MSignature:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MSignature__to_s, /* pointer to model:MSignature:model#MSignature#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MSignature:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MSignature:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MSignature:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MSignature:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MSignature:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MSignature:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MSignature:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MSignature:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MSignature:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MSignature:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MSignature:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MSignature:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MSignature:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MSignature:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MSignature:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MSignature:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MSignature:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MSignature:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MSignature:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MSignature:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MSignature:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MSignature:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MSignature:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MSignature:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MSignature:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MSignature:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MSignature:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MSignature:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MSignature:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MSignature:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MSignature:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MType__model, /* pointer to model:MSignature:model#MType#model */ +(nitmethod_t)VIRTUAL_model__MType__is_subtype, /* pointer to model:MSignature:model#MType#is_subtype */ +(nitmethod_t)VIRTUAL_model__MType__anchor_to, /* pointer to model:MSignature:model#MType#anchor_to */ +(nitmethod_t)VIRTUAL_model__MType__need_anchor, /* pointer to model:MSignature:model#MType#need_anchor */ +(nitmethod_t)VIRTUAL_model__MType__supertype_to, /* pointer to model:MSignature:model#MType#supertype_to */ +(nitmethod_t)VIRTUAL_model__MSignature__resolve_for, /* pointer to model:MSignature:model#MSignature#resolve_for */ +(nitmethod_t)VIRTUAL_model__MType__can_resolve_for, /* pointer to model:MSignature:model#MType#can_resolve_for */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable, /* pointer to model:MSignature:model#MType#as_nullable */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache, /* pointer to model:MSignature:model#MType#as_nullable_cache */ +(nitmethod_t)VIRTUAL_model__MType__as_nullable_cache_61d, /* pointer to model:MSignature:model#MType#as_nullable_cache= */ +(nitmethod_t)VIRTUAL_model__MSignature__depth, /* pointer to model:MSignature:model#MSignature#depth */ +(nitmethod_t)VIRTUAL_model__MSignature__length, /* pointer to model:MSignature:model#MSignature#length */ +(nitmethod_t)VIRTUAL_model__MType__collect_mclassdefs, /* pointer to model:MSignature:model#MType#collect_mclassdefs */ +(nitmethod_t)VIRTUAL_model__MType__collect_mclasses, /* pointer to model:MSignature:model#MType#collect_mclasses */ +(nitmethod_t)VIRTUAL_model__MType__collect_mtypes, /* pointer to model:MSignature:model#MType#collect_mtypes */ +(nitmethod_t)VIRTUAL_model__MType__has_mproperty, /* pointer to model:MSignature:model#MType#has_mproperty */ +(nitmethod_t)VIRTUAL_model__MType__init, /* pointer to model:MSignature:model#MType#init */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__ctype, /* pointer to model:MSignature:abstract_compiler#MType#ctype */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__ctypename, /* pointer to model:MSignature:abstract_compiler#MType#ctypename */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name, /* pointer to model:MSignature:abstract_compiler#MType#c_name */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache, /* pointer to model:MSignature:abstract_compiler#MType#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MType__c_name_cache_61d, /* pointer to model:MSignature:abstract_compiler#MType#c_name_cache= */ +(nitmethod_t)VIRTUAL_separate_compiler__MType__const_color, /* pointer to model:MSignature:separate_compiler#MType#const_color */ +(nitmethod_t)VIRTUAL_model__MSignature__mparameters, /* pointer to model:MSignature:model#MSignature#mparameters */ +(nitmethod_t)VIRTUAL_model__MSignature__mparameters_61d, /* pointer to model:MSignature:model#MSignature#mparameters= */ +(nitmethod_t)VIRTUAL_model__MSignature__mclosures, /* pointer to model:MSignature:model#MSignature#mclosures */ +(nitmethod_t)VIRTUAL_model__MSignature__mclosures_61d, /* pointer to model:MSignature:model#MSignature#mclosures= */ +(nitmethod_t)VIRTUAL_model__MSignature__return_mtype, /* pointer to model:MSignature:model#MSignature#return_mtype */ +(nitmethod_t)VIRTUAL_model__MSignature__return_mtype_61d, /* pointer to model:MSignature:model#MSignature#return_mtype= */ +(nitmethod_t)VIRTUAL_model__MSignature__init, /* pointer to model:MSignature:model#MSignature#init */ +(nitmethod_t)VIRTUAL_model__MSignature__vararg_rank, /* pointer to model:MSignature:model#MSignature#vararg_rank */ +(nitmethod_t)VIRTUAL_model__MSignature__vararg_rank_61d, /* pointer to model:MSignature:model#MSignature#vararg_rank= */ +(nitmethod_t)VIRTUAL_model__MSignature__arity, /* pointer to model:MSignature:model#MSignature#arity */ +} +}; +/* allocate MSignature */ +val* NEW_model__MSignature(const struct type* type) { +val* self /* : MSignature */; +val* var /* : null */; +val* var1 /* : Array[MParameter] */; +self = nit_alloc(sizeof(struct instance) + 6*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MSignature; +var = NULL; +self->attrs[COLOR_model__MType___64das_nullable_cache].val = var; /* @as_nullable_cache on */ +var1 = NEW_array__Array(&type_array__Arraymodel__MParameter); +((void (*)(val*))(var1->class->vft[COLOR_array__Array__init]))(var1) /* init on */; +CHECK_NEW_array__Array(var1); +self->attrs[COLOR_model__MSignature___64dmclosures].val = var1; /* @mclosures on */ +return self; +} +/* allocate MSignature */ +void CHECK_NEW_model__MSignature(val* self) { +val* var /* : nullable String */; +val* var1 /* : Array[MParameter] */; +val* var2 /* : nullable MType */; +long var3 /* : Int */; +var = self->attrs[COLOR_abstract_compiler__MType___64dc_name_cache].val; /* @c_name_cache on */ +var1 = self->attrs[COLOR_model__MSignature___64dmparameters].val; /* @mparameters on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mparameters", "src/model/model.nit", 1360); +exit(1); +} +var2 = self->attrs[COLOR_model__MSignature___64dreturn_mtype].val; /* @return_mtype on */ +var3 = self->attrs[COLOR_model__MSignature___64dvararg_rank].l; /* @vararg_rank on */ +} +/* runtime class model__MParameter */ +const struct class class_model__MParameter = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MParameter:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MParameter:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MParameter:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MParameter:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MParameter:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MParameter:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MParameter:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MParameter:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MParameter:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to model:MParameter:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MParameter:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MParameter:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MParameter:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MParameter:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MParameter:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MParameter:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MParameter:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MParameter:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MParameter:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MParameter:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MParameter:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MParameter:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MParameter:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MParameter:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MParameter:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MParameter:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MParameter:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MParameter:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MParameter:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MParameter:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MParameter:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MParameter:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MParameter:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MParameter:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MParameter:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MParameter:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MParameter:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MParameter:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MParameter:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MParameter:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MParameter:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MParameter__name, /* pointer to model:MParameter:model#MParameter#name */ +(nitmethod_t)VIRTUAL_model__MParameter__name_61d, /* pointer to model:MParameter:model#MParameter#name= */ +(nitmethod_t)VIRTUAL_model__MParameter__mtype, /* pointer to model:MParameter:model#MParameter#mtype */ +(nitmethod_t)VIRTUAL_model__MParameter__mtype_61d, /* pointer to model:MParameter:model#MParameter#mtype= */ +(nitmethod_t)VIRTUAL_model__MParameter__is_vararg, /* pointer to model:MParameter:model#MParameter#is_vararg */ +(nitmethod_t)VIRTUAL_model__MParameter__is_vararg_61d, /* pointer to model:MParameter:model#MParameter#is_vararg= */ +(nitmethod_t)VIRTUAL_model__MParameter__resolve_for, /* pointer to model:MParameter:model#MParameter#resolve_for */ +(nitmethod_t)VIRTUAL_model__MParameter__init, /* pointer to model:MParameter:model#MParameter#init */ +} +}; +/* allocate MParameter */ +val* NEW_model__MParameter(const struct type* type) { +val* self /* : MParameter */; +self = nit_alloc(sizeof(struct instance) + 3*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MParameter; +return self; +} +/* allocate MParameter */ +void CHECK_NEW_model__MParameter(val* self) { +val* var /* : String */; +val* var1 /* : MType */; +short int var2 /* : Bool */; +var = self->attrs[COLOR_model__MParameter___64dname].val; /* @name on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @name", "src/model/model.nit", 1467); +exit(1); +} +var1 = self->attrs[COLOR_model__MParameter___64dmtype].val; /* @mtype on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mtype", "src/model/model.nit", 1470); +exit(1); +} +var2 = self->attrs[COLOR_model__MParameter___64dis_vararg].s; /* @is_vararg on */ +} +/* runtime class model__MMethod */ +const struct class class_model__MMethod = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MMethod:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MMethod:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MMethod:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MMethod:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MMethod:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MMethod:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MMethod:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MMethod:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MMethod:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MProperty__to_s, /* pointer to model:MMethod:model#MProperty#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MMethod:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MMethod:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MMethod:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MMethod:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MMethod:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MMethod:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MMethod:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MMethod:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MMethod:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MMethod:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MMethod:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MMethod:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MMethod:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MMethod:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MMethod:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MMethod:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MMethod:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MMethod:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MMethod:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MMethod:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MMethod:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MMethod:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MMethod:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MMethod:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MMethod:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MMethod:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MMethod:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MMethod:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MMethod:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MMethod:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MMethod:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MProperty__intro_mclassdef, /* pointer to model:MMethod:model#MProperty#intro_mclassdef */ +(nitmethod_t)VIRTUAL_model__MProperty__intro_mclassdef_61d, /* pointer to model:MMethod:model#MProperty#intro_mclassdef= */ +(nitmethod_t)VIRTUAL_model__MProperty__name, /* pointer to model:MMethod:model#MProperty#name */ +(nitmethod_t)VIRTUAL_model__MProperty__name_61d, /* pointer to model:MMethod:model#MProperty#name= */ +(nitmethod_t)VIRTUAL_model__MProperty__full_name, /* pointer to model:MMethod:model#MProperty#full_name */ +(nitmethod_t)VIRTUAL_model__MProperty__visibility, /* pointer to model:MMethod:model#MProperty#visibility */ +(nitmethod_t)VIRTUAL_model__MProperty__visibility_61d, /* pointer to model:MMethod:model#MProperty#visibility= */ +(nitmethod_t)VIRTUAL_model__MProperty__init, /* pointer to model:MMethod:model#MProperty#init */ +(nitmethod_t)VIRTUAL_model__MProperty__mpropdefs, /* pointer to model:MMethod:model#MProperty#mpropdefs */ +(nitmethod_t)VIRTUAL_model__MProperty__mpropdefs_61d, /* pointer to model:MMethod:model#MProperty#mpropdefs= */ +(nitmethod_t)VIRTUAL_model__MProperty__intro, /* pointer to model:MMethod:model#MProperty#intro */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_definitions, /* pointer to model:MMethod:model#MProperty#lookup_definitions */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_definitions_cache, /* pointer to model:MMethod:model#MProperty#lookup_definitions_cache */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_definitions_cache_61d, /* pointer to model:MMethod:model#MProperty#lookup_definitions_cache= */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_super_definitions, /* pointer to model:MMethod:model#MProperty#lookup_super_definitions */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_first_definition, /* pointer to model:MMethod:model#MProperty#lookup_first_definition */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_all_definitions, /* pointer to model:MMethod:model#MProperty#lookup_all_definitions */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_all_definitions_cache, /* pointer to model:MMethod:model#MProperty#lookup_all_definitions_cache */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_all_definitions_cache_61d, /* pointer to model:MMethod:model#MProperty#lookup_all_definitions_cache= */ +(nitmethod_t)VIRTUAL_abstract_compiler__MProperty__c_name, /* pointer to model:MMethod:abstract_compiler#MProperty#c_name */ +(nitmethod_t)VIRTUAL_abstract_compiler__MProperty__c_name_cache, /* pointer to model:MMethod:abstract_compiler#MProperty#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MProperty__c_name_cache_61d, /* pointer to model:MMethod:abstract_compiler#MProperty#c_name_cache= */ +(nitmethod_t)VIRTUAL_separate_compiler__MProperty__const_color, /* pointer to model:MMethod:separate_compiler#MProperty#const_color */ +(nitmethod_t)VIRTUAL_model__MMethod__init, /* pointer to model:MMethod:model#MMethod#init */ +(nitmethod_t)VIRTUAL_model__MMethod__is_init, /* pointer to model:MMethod:model#MMethod#is_init */ +(nitmethod_t)VIRTUAL_model__MMethod__is_init_61d, /* pointer to model:MMethod:model#MMethod#is_init= */ +(nitmethod_t)VIRTUAL_model__MMethod__is_new, /* pointer to model:MMethod:model#MMethod#is_new */ +(nitmethod_t)VIRTUAL_model__MMethod__is_new_61d, /* pointer to model:MMethod:model#MMethod#is_new= */ +(nitmethod_t)VIRTUAL_model__MMethod__is_init_for, /* pointer to model:MMethod:model#MMethod#is_init_for */ +} +}; +/* allocate MMethod */ +val* NEW_model__MMethod(const struct type* type) { +val* self /* : MMethod */; +val* var /* : Array[MMethodDef] */; +val* var1 /* : HashMap2[MModule, MType, Array[MMethodDef]] */; +val* var2 /* : HashMap2[MModule, MType, Array[MMethodDef]] */; +short int var3 /* : Bool */; +short int var4 /* : Bool */; +self = nit_alloc(sizeof(struct instance) + 9*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MMethod; +var = NEW_array__Array(self->type->resolution_table->types[COLOR_array__Arraymodel__MProperty_VTMPROPDEF]); +((void (*)(val*))(var->class->vft[COLOR_array__Array__init]))(var) /* init on */; +CHECK_NEW_array__Array(var); +self->attrs[COLOR_model__MProperty___64dmpropdefs].val = var; /* @mpropdefs on */ +var1 = NEW_more_collections__HashMap2(self->type->resolution_table->types[COLOR_more_collections__HashMap2model_base__MModulemodel__MTypearray__Arraymodel__MProperty_VTMPROPDEF]); +((void (*)(val*))(var1->class->vft[COLOR_more_collections__HashMap2__init]))(var1) /* init on */; +CHECK_NEW_more_collections__HashMap2(var1); +self->attrs[COLOR_model__MProperty___64dlookup_definitions_cache].val = var1; /* @lookup_definitions_cache on */ +var2 = NEW_more_collections__HashMap2(self->type->resolution_table->types[COLOR_more_collections__HashMap2model_base__MModulemodel__MTypearray__Arraymodel__MProperty_VTMPROPDEF]); +((void (*)(val*))(var2->class->vft[COLOR_more_collections__HashMap2__init]))(var2) /* init on */; +CHECK_NEW_more_collections__HashMap2(var2); +self->attrs[COLOR_model__MProperty___64dlookup_all_definitions_cache].val = var2; /* @lookup_all_definitions_cache on */ +var3 = 0; +self->attrs[COLOR_model__MMethod___64dis_init].s = var3; /* @is_init on */ +var4 = 0; +self->attrs[COLOR_model__MMethod___64dis_new].s = var4; /* @is_new on */ +return self; +} +/* allocate MMethod */ +void CHECK_NEW_model__MMethod(val* self) { +val* var /* : MClassDef */; +val* var1 /* : String */; +val* var2 /* : MVisibility */; +val* var3 /* : nullable String */; +var = self->attrs[COLOR_model__MProperty___64dintro_mclassdef].val; /* @intro_mclassdef on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @intro_mclassdef", "src/model/model.nit", 1501); +exit(1); +} +var1 = self->attrs[COLOR_model__MProperty___64dname].val; /* @name on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @name", "src/model/model.nit", 1506); +exit(1); +} +var2 = self->attrs[COLOR_model__MProperty___64dvisibility].val; /* @visibility on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @visibility", "src/model/model.nit", 1516); +exit(1); +} +var3 = self->attrs[COLOR_abstract_compiler__MProperty___64dc_name_cache].val; /* @c_name_cache on */ +} +/* runtime class model__MAttribute */ +const struct class class_model__MAttribute = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MAttribute:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MAttribute:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MAttribute:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MAttribute:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MAttribute:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MAttribute:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MAttribute:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MAttribute:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MAttribute:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MProperty__to_s, /* pointer to model:MAttribute:model#MProperty#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MAttribute:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MAttribute:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MAttribute:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MAttribute:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MAttribute:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MAttribute:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MAttribute:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MAttribute:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MAttribute:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MAttribute:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MAttribute:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MAttribute:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MAttribute:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MAttribute:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MAttribute:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MAttribute:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MAttribute:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MAttribute:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MAttribute:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MAttribute:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MAttribute:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MAttribute:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MAttribute:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MAttribute:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MAttribute:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MAttribute:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MAttribute:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MAttribute:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MAttribute:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MAttribute:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MAttribute:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MProperty__intro_mclassdef, /* pointer to model:MAttribute:model#MProperty#intro_mclassdef */ +(nitmethod_t)VIRTUAL_model__MProperty__intro_mclassdef_61d, /* pointer to model:MAttribute:model#MProperty#intro_mclassdef= */ +(nitmethod_t)VIRTUAL_model__MProperty__name, /* pointer to model:MAttribute:model#MProperty#name */ +(nitmethod_t)VIRTUAL_model__MProperty__name_61d, /* pointer to model:MAttribute:model#MProperty#name= */ +(nitmethod_t)VIRTUAL_model__MProperty__full_name, /* pointer to model:MAttribute:model#MProperty#full_name */ +(nitmethod_t)VIRTUAL_model__MProperty__visibility, /* pointer to model:MAttribute:model#MProperty#visibility */ +(nitmethod_t)VIRTUAL_model__MProperty__visibility_61d, /* pointer to model:MAttribute:model#MProperty#visibility= */ +(nitmethod_t)VIRTUAL_model__MProperty__init, /* pointer to model:MAttribute:model#MProperty#init */ +(nitmethod_t)VIRTUAL_model__MProperty__mpropdefs, /* pointer to model:MAttribute:model#MProperty#mpropdefs */ +(nitmethod_t)VIRTUAL_model__MProperty__mpropdefs_61d, /* pointer to model:MAttribute:model#MProperty#mpropdefs= */ +(nitmethod_t)VIRTUAL_model__MProperty__intro, /* pointer to model:MAttribute:model#MProperty#intro */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_definitions, /* pointer to model:MAttribute:model#MProperty#lookup_definitions */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_definitions_cache, /* pointer to model:MAttribute:model#MProperty#lookup_definitions_cache */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_definitions_cache_61d, /* pointer to model:MAttribute:model#MProperty#lookup_definitions_cache= */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_super_definitions, /* pointer to model:MAttribute:model#MProperty#lookup_super_definitions */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_first_definition, /* pointer to model:MAttribute:model#MProperty#lookup_first_definition */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_all_definitions, /* pointer to model:MAttribute:model#MProperty#lookup_all_definitions */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_all_definitions_cache, /* pointer to model:MAttribute:model#MProperty#lookup_all_definitions_cache */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_all_definitions_cache_61d, /* pointer to model:MAttribute:model#MProperty#lookup_all_definitions_cache= */ +(nitmethod_t)VIRTUAL_abstract_compiler__MProperty__c_name, /* pointer to model:MAttribute:abstract_compiler#MProperty#c_name */ +(nitmethod_t)VIRTUAL_abstract_compiler__MProperty__c_name_cache, /* pointer to model:MAttribute:abstract_compiler#MProperty#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MProperty__c_name_cache_61d, /* pointer to model:MAttribute:abstract_compiler#MProperty#c_name_cache= */ +(nitmethod_t)VIRTUAL_separate_compiler__MProperty__const_color, /* pointer to model:MAttribute:separate_compiler#MProperty#const_color */ +(nitmethod_t)VIRTUAL_model__MAttribute__init, /* pointer to model:MAttribute:model#MAttribute#init */ +} +}; +/* allocate MAttribute */ +val* NEW_model__MAttribute(const struct type* type) { +val* self /* : MAttribute */; +val* var /* : Array[MAttributeDef] */; +val* var1 /* : HashMap2[MModule, MType, Array[MAttributeDef]] */; +val* var2 /* : HashMap2[MModule, MType, Array[MAttributeDef]] */; +self = nit_alloc(sizeof(struct instance) + 7*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MAttribute; +var = NEW_array__Array(self->type->resolution_table->types[COLOR_array__Arraymodel__MProperty_VTMPROPDEF]); +((void (*)(val*))(var->class->vft[COLOR_array__Array__init]))(var) /* init on */; +CHECK_NEW_array__Array(var); +self->attrs[COLOR_model__MProperty___64dmpropdefs].val = var; /* @mpropdefs on */ +var1 = NEW_more_collections__HashMap2(self->type->resolution_table->types[COLOR_more_collections__HashMap2model_base__MModulemodel__MTypearray__Arraymodel__MProperty_VTMPROPDEF]); +((void (*)(val*))(var1->class->vft[COLOR_more_collections__HashMap2__init]))(var1) /* init on */; +CHECK_NEW_more_collections__HashMap2(var1); +self->attrs[COLOR_model__MProperty___64dlookup_definitions_cache].val = var1; /* @lookup_definitions_cache on */ +var2 = NEW_more_collections__HashMap2(self->type->resolution_table->types[COLOR_more_collections__HashMap2model_base__MModulemodel__MTypearray__Arraymodel__MProperty_VTMPROPDEF]); +((void (*)(val*))(var2->class->vft[COLOR_more_collections__HashMap2__init]))(var2) /* init on */; +CHECK_NEW_more_collections__HashMap2(var2); +self->attrs[COLOR_model__MProperty___64dlookup_all_definitions_cache].val = var2; /* @lookup_all_definitions_cache on */ +return self; +} +/* allocate MAttribute */ +void CHECK_NEW_model__MAttribute(val* self) { +val* var /* : MClassDef */; +val* var1 /* : String */; +val* var2 /* : MVisibility */; +val* var3 /* : nullable String */; +var = self->attrs[COLOR_model__MProperty___64dintro_mclassdef].val; /* @intro_mclassdef on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @intro_mclassdef", "src/model/model.nit", 1501); +exit(1); +} +var1 = self->attrs[COLOR_model__MProperty___64dname].val; /* @name on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @name", "src/model/model.nit", 1506); +exit(1); +} +var2 = self->attrs[COLOR_model__MProperty___64dvisibility].val; /* @visibility on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @visibility", "src/model/model.nit", 1516); +exit(1); +} +var3 = self->attrs[COLOR_abstract_compiler__MProperty___64dc_name_cache].val; /* @c_name_cache on */ +} +/* runtime class model__MVirtualTypeProp */ +const struct class class_model__MVirtualTypeProp = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MVirtualTypeProp:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MVirtualTypeProp:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MVirtualTypeProp:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MVirtualTypeProp:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MVirtualTypeProp:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MVirtualTypeProp:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MVirtualTypeProp:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MVirtualTypeProp:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MVirtualTypeProp:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MProperty__to_s, /* pointer to model:MVirtualTypeProp:model#MProperty#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MVirtualTypeProp:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MVirtualTypeProp:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MVirtualTypeProp:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MVirtualTypeProp:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MVirtualTypeProp:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MVirtualTypeProp:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MVirtualTypeProp:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MVirtualTypeProp:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MVirtualTypeProp:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MVirtualTypeProp:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MVirtualTypeProp:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MVirtualTypeProp:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MVirtualTypeProp:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MVirtualTypeProp:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MVirtualTypeProp:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MVirtualTypeProp:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MVirtualTypeProp:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MVirtualTypeProp:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MVirtualTypeProp:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MVirtualTypeProp:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MVirtualTypeProp:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MVirtualTypeProp:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MVirtualTypeProp:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MVirtualTypeProp:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MVirtualTypeProp:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MVirtualTypeProp:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MVirtualTypeProp:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MVirtualTypeProp:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MVirtualTypeProp:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MVirtualTypeProp:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MVirtualTypeProp:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MProperty__intro_mclassdef, /* pointer to model:MVirtualTypeProp:model#MProperty#intro_mclassdef */ +(nitmethod_t)VIRTUAL_model__MProperty__intro_mclassdef_61d, /* pointer to model:MVirtualTypeProp:model#MProperty#intro_mclassdef= */ +(nitmethod_t)VIRTUAL_model__MProperty__name, /* pointer to model:MVirtualTypeProp:model#MProperty#name */ +(nitmethod_t)VIRTUAL_model__MProperty__name_61d, /* pointer to model:MVirtualTypeProp:model#MProperty#name= */ +(nitmethod_t)VIRTUAL_model__MProperty__full_name, /* pointer to model:MVirtualTypeProp:model#MProperty#full_name */ +(nitmethod_t)VIRTUAL_model__MProperty__visibility, /* pointer to model:MVirtualTypeProp:model#MProperty#visibility */ +(nitmethod_t)VIRTUAL_model__MProperty__visibility_61d, /* pointer to model:MVirtualTypeProp:model#MProperty#visibility= */ +(nitmethod_t)VIRTUAL_model__MProperty__init, /* pointer to model:MVirtualTypeProp:model#MProperty#init */ +(nitmethod_t)VIRTUAL_model__MProperty__mpropdefs, /* pointer to model:MVirtualTypeProp:model#MProperty#mpropdefs */ +(nitmethod_t)VIRTUAL_model__MProperty__mpropdefs_61d, /* pointer to model:MVirtualTypeProp:model#MProperty#mpropdefs= */ +(nitmethod_t)VIRTUAL_model__MProperty__intro, /* pointer to model:MVirtualTypeProp:model#MProperty#intro */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_definitions, /* pointer to model:MVirtualTypeProp:model#MProperty#lookup_definitions */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_definitions_cache, /* pointer to model:MVirtualTypeProp:model#MProperty#lookup_definitions_cache */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_definitions_cache_61d, /* pointer to model:MVirtualTypeProp:model#MProperty#lookup_definitions_cache= */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_super_definitions, /* pointer to model:MVirtualTypeProp:model#MProperty#lookup_super_definitions */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_first_definition, /* pointer to model:MVirtualTypeProp:model#MProperty#lookup_first_definition */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_all_definitions, /* pointer to model:MVirtualTypeProp:model#MProperty#lookup_all_definitions */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_all_definitions_cache, /* pointer to model:MVirtualTypeProp:model#MProperty#lookup_all_definitions_cache */ +(nitmethod_t)VIRTUAL_model__MProperty__lookup_all_definitions_cache_61d, /* pointer to model:MVirtualTypeProp:model#MProperty#lookup_all_definitions_cache= */ +(nitmethod_t)VIRTUAL_abstract_compiler__MProperty__c_name, /* pointer to model:MVirtualTypeProp:abstract_compiler#MProperty#c_name */ +(nitmethod_t)VIRTUAL_abstract_compiler__MProperty__c_name_cache, /* pointer to model:MVirtualTypeProp:abstract_compiler#MProperty#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MProperty__c_name_cache_61d, /* pointer to model:MVirtualTypeProp:abstract_compiler#MProperty#c_name_cache= */ +(nitmethod_t)VIRTUAL_separate_compiler__MProperty__const_color, /* pointer to model:MVirtualTypeProp:separate_compiler#MProperty#const_color */ +(nitmethod_t)VIRTUAL_model__MVirtualTypeProp__init, /* pointer to model:MVirtualTypeProp:model#MVirtualTypeProp#init */ +(nitmethod_t)VIRTUAL_model__MVirtualTypeProp__mvirtualtype, /* pointer to model:MVirtualTypeProp:model#MVirtualTypeProp#mvirtualtype */ +(nitmethod_t)VIRTUAL_model__MVirtualTypeProp__mvirtualtype_61d, /* pointer to model:MVirtualTypeProp:model#MVirtualTypeProp#mvirtualtype= */ +} +}; +/* allocate MVirtualTypeProp */ +val* NEW_model__MVirtualTypeProp(const struct type* type) { +val* self /* : MVirtualTypeProp */; +val* var /* : Array[MVirtualTypeDef] */; +val* var1 /* : HashMap2[MModule, MType, Array[MVirtualTypeDef]] */; +val* var2 /* : HashMap2[MModule, MType, Array[MVirtualTypeDef]] */; +val* var3 /* : MVirtualType */; +self = nit_alloc(sizeof(struct instance) + 8*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MVirtualTypeProp; +var = NEW_array__Array(self->type->resolution_table->types[COLOR_array__Arraymodel__MProperty_VTMPROPDEF]); +((void (*)(val*))(var->class->vft[COLOR_array__Array__init]))(var) /* init on */; +CHECK_NEW_array__Array(var); +self->attrs[COLOR_model__MProperty___64dmpropdefs].val = var; /* @mpropdefs on */ +var1 = NEW_more_collections__HashMap2(self->type->resolution_table->types[COLOR_more_collections__HashMap2model_base__MModulemodel__MTypearray__Arraymodel__MProperty_VTMPROPDEF]); +((void (*)(val*))(var1->class->vft[COLOR_more_collections__HashMap2__init]))(var1) /* init on */; +CHECK_NEW_more_collections__HashMap2(var1); +self->attrs[COLOR_model__MProperty___64dlookup_definitions_cache].val = var1; /* @lookup_definitions_cache on */ +var2 = NEW_more_collections__HashMap2(self->type->resolution_table->types[COLOR_more_collections__HashMap2model_base__MModulemodel__MTypearray__Arraymodel__MProperty_VTMPROPDEF]); +((void (*)(val*))(var2->class->vft[COLOR_more_collections__HashMap2__init]))(var2) /* init on */; +CHECK_NEW_more_collections__HashMap2(var2); +self->attrs[COLOR_model__MProperty___64dlookup_all_definitions_cache].val = var2; /* @lookup_all_definitions_cache on */ +var3 = NEW_model__MVirtualType(&type_model__MVirtualType); +((void (*)(val*, val*))(var3->class->vft[COLOR_model__MVirtualType__init]))(var3, self) /* init on */; +CHECK_NEW_model__MVirtualType(var3); +self->attrs[COLOR_model__MVirtualTypeProp___64dmvirtualtype].val = var3; /* @mvirtualtype on */ +return self; +} +/* allocate MVirtualTypeProp */ +void CHECK_NEW_model__MVirtualTypeProp(val* self) { +val* var /* : MClassDef */; +val* var1 /* : String */; +val* var2 /* : MVisibility */; +val* var3 /* : nullable String */; +var = self->attrs[COLOR_model__MProperty___64dintro_mclassdef].val; /* @intro_mclassdef on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @intro_mclassdef", "src/model/model.nit", 1501); +exit(1); +} +var1 = self->attrs[COLOR_model__MProperty___64dname].val; /* @name on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @name", "src/model/model.nit", 1506); +exit(1); +} +var2 = self->attrs[COLOR_model__MProperty___64dvisibility].val; /* @visibility on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @visibility", "src/model/model.nit", 1516); +exit(1); +} +var3 = self->attrs[COLOR_abstract_compiler__MProperty___64dc_name_cache].val; /* @c_name_cache on */ +} +/* runtime class model__MMethodDef */ +const struct class class_model__MMethodDef = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MMethodDef:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MMethodDef:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MMethodDef:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MMethodDef:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MMethodDef:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MMethodDef:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MMethodDef:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MMethodDef:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MMethodDef:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MPropDef__to_s, /* pointer to model:MMethodDef:model#MPropDef#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MMethodDef:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MMethodDef:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MMethodDef:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MMethodDef:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MMethodDef:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MMethodDef:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MMethodDef:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MMethodDef:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MMethodDef:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MMethodDef:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MMethodDef:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MMethodDef:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MMethodDef:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MMethodDef:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MMethodDef:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MMethodDef:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MMethodDef:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MMethodDef:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MMethodDef:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MMethodDef:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MMethodDef:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MMethodDef:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MMethodDef:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MMethodDef:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MMethodDef:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MMethodDef:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MMethodDef:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MMethodDef:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MMethodDef:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MMethodDef:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MMethodDef:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MPropDef__location, /* pointer to model:MMethodDef:model#MPropDef#location */ +(nitmethod_t)VIRTUAL_model__MPropDef__location_61d, /* pointer to model:MMethodDef:model#MPropDef#location= */ +(nitmethod_t)VIRTUAL_model__MPropDef__mclassdef, /* pointer to model:MMethodDef:model#MPropDef#mclassdef */ +(nitmethod_t)VIRTUAL_model__MPropDef__mclassdef_61d, /* pointer to model:MMethodDef:model#MPropDef#mclassdef= */ +(nitmethod_t)VIRTUAL_model__MPropDef__mproperty, /* pointer to model:MMethodDef:model#MPropDef#mproperty */ +(nitmethod_t)VIRTUAL_model__MPropDef__mproperty_61d, /* pointer to model:MMethodDef:model#MPropDef#mproperty= */ +(nitmethod_t)VIRTUAL_model__MPropDef__init, /* pointer to model:MMethodDef:model#MPropDef#init */ +(nitmethod_t)VIRTUAL_model__MPropDef__to_s_61d, /* pointer to model:MMethodDef:model#MPropDef#to_s= */ +(nitmethod_t)VIRTUAL_model__MPropDef__is_intro, /* pointer to model:MMethodDef:model#MPropDef#is_intro */ +(nitmethod_t)VIRTUAL_model__MPropDef__lookup_next_definition, /* pointer to model:MMethodDef:model#MPropDef#lookup_next_definition */ +(nitmethod_t)VIRTUAL_typing__MPropDef__has_supercall, /* pointer to model:MMethodDef:typing#MPropDef#has_supercall */ +(nitmethod_t)VIRTUAL_typing__MPropDef__has_supercall_61d, /* pointer to model:MMethodDef:typing#MPropDef#has_supercall= */ +(nitmethod_t)VIRTUAL_abstract_compiler__MPropDef__c_name_cache, /* pointer to model:MMethodDef:abstract_compiler#MPropDef#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MPropDef__c_name_cache_61d, /* pointer to model:MMethodDef:abstract_compiler#MPropDef#c_name_cache= */ +(nitmethod_t)VIRTUAL_abstract_compiler__MPropDef__c_name, /* pointer to model:MMethodDef:abstract_compiler#MPropDef#c_name */ +(nitmethod_t)VIRTUAL_separate_compiler__MPropDef__const_color, /* pointer to model:MMethodDef:separate_compiler#MPropDef#const_color */ +(nitmethod_t)VIRTUAL_model__MMethodDef__init, /* pointer to model:MMethodDef:model#MMethodDef#init */ +(nitmethod_t)VIRTUAL_model__MMethodDef__msignature, /* pointer to model:MMethodDef:model#MMethodDef#msignature */ +(nitmethod_t)VIRTUAL_model__MMethodDef__msignature_61d, /* pointer to model:MMethodDef:model#MMethodDef#msignature= */ +(nitmethod_t)VIRTUAL_model__MMethodDef__is_abstract, /* pointer to model:MMethodDef:model#MMethodDef#is_abstract */ +(nitmethod_t)VIRTUAL_model__MMethodDef__is_abstract_61d, /* pointer to model:MMethodDef:model#MMethodDef#is_abstract= */ +(nitmethod_t)VIRTUAL_abstract_compiler__MMethodDef__can_inline, /* pointer to model:MMethodDef:abstract_compiler#MMethodDef#can_inline */ +(nitmethod_t)VIRTUAL_abstract_compiler__MMethodDef__compile_inside_to_c, /* pointer to model:MMethodDef:abstract_compiler#MMethodDef#compile_inside_to_c */ +(nitmethod_t)VIRTUAL_abstract_compiler__MMethodDef__compile_parameter_check, /* pointer to model:MMethodDef:abstract_compiler#MMethodDef#compile_parameter_check */ +(nitmethod_t)VIRTUAL_separate_compiler__MMethodDef__separate_runtime_function, /* pointer to model:MMethodDef:separate_compiler#MMethodDef#separate_runtime_function */ +(nitmethod_t)VIRTUAL_separate_compiler__MMethodDef__separate_runtime_function_cache, /* pointer to model:MMethodDef:separate_compiler#MMethodDef#separate_runtime_function_cache */ +(nitmethod_t)VIRTUAL_separate_compiler__MMethodDef__separate_runtime_function_cache_61d, /* pointer to model:MMethodDef:separate_compiler#MMethodDef#separate_runtime_function_cache= */ +(nitmethod_t)VIRTUAL_separate_compiler__MMethodDef__virtual_runtime_function, /* pointer to model:MMethodDef:separate_compiler#MMethodDef#virtual_runtime_function */ +(nitmethod_t)VIRTUAL_separate_compiler__MMethodDef__virtual_runtime_function_cache, /* pointer to model:MMethodDef:separate_compiler#MMethodDef#virtual_runtime_function_cache */ +(nitmethod_t)VIRTUAL_separate_compiler__MMethodDef__virtual_runtime_function_cache_61d, /* pointer to model:MMethodDef:separate_compiler#MMethodDef#virtual_runtime_function_cache= */ +} +}; +/* allocate MMethodDef */ +val* NEW_model__MMethodDef(const struct type* type) { +val* self /* : MMethodDef */; +short int var /* : Bool */; +val* var1 /* : null */; +short int var2 /* : Bool */; +self = nit_alloc(sizeof(struct instance) + 10*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MMethodDef; +var = 0; +self->attrs[COLOR_typing__MPropDef___64dhas_supercall].s = var; /* @has_supercall on */ +var1 = NULL; +self->attrs[COLOR_model__MMethodDef___64dmsignature].val = var1; /* @msignature on */ +var2 = 0; +self->attrs[COLOR_model__MMethodDef___64dis_abstract].s = var2; /* @is_abstract on */ +return self; +} +/* allocate MMethodDef */ +void CHECK_NEW_model__MMethodDef(val* self) { +val* var /* : Location */; +val* var1 /* : MClassDef */; +val* var2 /* : MProperty */; +val* var3 /* : String */; +val* var4 /* : nullable String */; +val* var5 /* : nullable SeparateRuntimeFunction */; +val* var6 /* : nullable VirtualRuntimeFunction */; +var = self->attrs[COLOR_model__MPropDef___64dlocation].val; /* @location on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @location", "src/model/model.nit", 1791); +exit(1); +} +var1 = self->attrs[COLOR_model__MPropDef___64dmclassdef].val; /* @mclassdef on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mclassdef", "src/model/model.nit", 1794); +exit(1); +} +var2 = self->attrs[COLOR_model__MPropDef___64dmproperty].val; /* @mproperty on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mproperty", "src/model/model.nit", 1797); +exit(1); +} +var3 = self->attrs[COLOR_model__MPropDef___64dto_s].val; /* @to_s on */ +if (var3 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @to_s", "src/model/model.nit", 1810); +exit(1); +} +var4 = self->attrs[COLOR_abstract_compiler__MPropDef___64dc_name_cache].val; /* @c_name_cache on */ +var5 = self->attrs[COLOR_separate_compiler__MMethodDef___64dseparate_runtime_function_cache].val; /* @separate_runtime_function_cache on */ +var6 = self->attrs[COLOR_separate_compiler__MMethodDef___64dvirtual_runtime_function_cache].val; /* @virtual_runtime_function_cache on */ +} +/* runtime class model__MAttributeDef */ +const struct class class_model__MAttributeDef = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MAttributeDef:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MAttributeDef:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MAttributeDef:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MAttributeDef:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MAttributeDef:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MAttributeDef:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MAttributeDef:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MAttributeDef:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MAttributeDef:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MPropDef__to_s, /* pointer to model:MAttributeDef:model#MPropDef#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MAttributeDef:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MAttributeDef:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MAttributeDef:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MAttributeDef:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MAttributeDef:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MAttributeDef:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MAttributeDef:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MAttributeDef:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MAttributeDef:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MAttributeDef:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MAttributeDef:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MAttributeDef:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MAttributeDef:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MAttributeDef:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MAttributeDef:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MAttributeDef:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MAttributeDef:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MAttributeDef:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MAttributeDef:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MAttributeDef:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MAttributeDef:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MAttributeDef:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MAttributeDef:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MAttributeDef:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MAttributeDef:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MAttributeDef:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MAttributeDef:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MAttributeDef:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MAttributeDef:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MAttributeDef:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MAttributeDef:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MPropDef__location, /* pointer to model:MAttributeDef:model#MPropDef#location */ +(nitmethod_t)VIRTUAL_model__MPropDef__location_61d, /* pointer to model:MAttributeDef:model#MPropDef#location= */ +(nitmethod_t)VIRTUAL_model__MPropDef__mclassdef, /* pointer to model:MAttributeDef:model#MPropDef#mclassdef */ +(nitmethod_t)VIRTUAL_model__MPropDef__mclassdef_61d, /* pointer to model:MAttributeDef:model#MPropDef#mclassdef= */ +(nitmethod_t)VIRTUAL_model__MPropDef__mproperty, /* pointer to model:MAttributeDef:model#MPropDef#mproperty */ +(nitmethod_t)VIRTUAL_model__MPropDef__mproperty_61d, /* pointer to model:MAttributeDef:model#MPropDef#mproperty= */ +(nitmethod_t)VIRTUAL_model__MPropDef__init, /* pointer to model:MAttributeDef:model#MPropDef#init */ +(nitmethod_t)VIRTUAL_model__MPropDef__to_s_61d, /* pointer to model:MAttributeDef:model#MPropDef#to_s= */ +(nitmethod_t)VIRTUAL_model__MPropDef__is_intro, /* pointer to model:MAttributeDef:model#MPropDef#is_intro */ +(nitmethod_t)VIRTUAL_model__MPropDef__lookup_next_definition, /* pointer to model:MAttributeDef:model#MPropDef#lookup_next_definition */ +(nitmethod_t)VIRTUAL_typing__MPropDef__has_supercall, /* pointer to model:MAttributeDef:typing#MPropDef#has_supercall */ +(nitmethod_t)VIRTUAL_typing__MPropDef__has_supercall_61d, /* pointer to model:MAttributeDef:typing#MPropDef#has_supercall= */ +(nitmethod_t)VIRTUAL_abstract_compiler__MPropDef__c_name_cache, /* pointer to model:MAttributeDef:abstract_compiler#MPropDef#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MPropDef__c_name_cache_61d, /* pointer to model:MAttributeDef:abstract_compiler#MPropDef#c_name_cache= */ +(nitmethod_t)VIRTUAL_abstract_compiler__MPropDef__c_name, /* pointer to model:MAttributeDef:abstract_compiler#MPropDef#c_name */ +(nitmethod_t)VIRTUAL_separate_compiler__MPropDef__const_color, /* pointer to model:MAttributeDef:separate_compiler#MPropDef#const_color */ +(nitmethod_t)VIRTUAL_model__MAttributeDef__init, /* pointer to model:MAttributeDef:model#MAttributeDef#init */ +(nitmethod_t)VIRTUAL_model__MAttributeDef__static_mtype, /* pointer to model:MAttributeDef:model#MAttributeDef#static_mtype */ +(nitmethod_t)VIRTUAL_model__MAttributeDef__static_mtype_61d, /* pointer to model:MAttributeDef:model#MAttributeDef#static_mtype= */ +} +}; +/* allocate MAttributeDef */ +val* NEW_model__MAttributeDef(const struct type* type) { +val* self /* : MAttributeDef */; +short int var /* : Bool */; +val* var1 /* : null */; +self = nit_alloc(sizeof(struct instance) + 7*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MAttributeDef; +var = 0; +self->attrs[COLOR_typing__MPropDef___64dhas_supercall].s = var; /* @has_supercall on */ +var1 = NULL; +self->attrs[COLOR_model__MAttributeDef___64dstatic_mtype].val = var1; /* @static_mtype on */ +return self; +} +/* allocate MAttributeDef */ +void CHECK_NEW_model__MAttributeDef(val* self) { +val* var /* : Location */; +val* var1 /* : MClassDef */; +val* var2 /* : MProperty */; +val* var3 /* : String */; +val* var4 /* : nullable String */; +var = self->attrs[COLOR_model__MPropDef___64dlocation].val; /* @location on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @location", "src/model/model.nit", 1791); +exit(1); +} +var1 = self->attrs[COLOR_model__MPropDef___64dmclassdef].val; /* @mclassdef on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mclassdef", "src/model/model.nit", 1794); +exit(1); +} +var2 = self->attrs[COLOR_model__MPropDef___64dmproperty].val; /* @mproperty on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mproperty", "src/model/model.nit", 1797); +exit(1); +} +var3 = self->attrs[COLOR_model__MPropDef___64dto_s].val; /* @to_s on */ +if (var3 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @to_s", "src/model/model.nit", 1810); +exit(1); +} +var4 = self->attrs[COLOR_abstract_compiler__MPropDef___64dc_name_cache].val; /* @c_name_cache on */ +} +/* runtime class model__MVirtualTypeDef */ +const struct class class_model__MVirtualTypeDef = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MVirtualTypeDef:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MVirtualTypeDef:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MVirtualTypeDef:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MVirtualTypeDef:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MVirtualTypeDef:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MVirtualTypeDef:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MVirtualTypeDef:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MVirtualTypeDef:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MVirtualTypeDef:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MPropDef__to_s, /* pointer to model:MVirtualTypeDef:model#MPropDef#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MVirtualTypeDef:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MVirtualTypeDef:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MVirtualTypeDef:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MVirtualTypeDef:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MVirtualTypeDef:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MVirtualTypeDef:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MVirtualTypeDef:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MVirtualTypeDef:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MVirtualTypeDef:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MVirtualTypeDef:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MVirtualTypeDef:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MVirtualTypeDef:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MVirtualTypeDef:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MVirtualTypeDef:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MVirtualTypeDef:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MVirtualTypeDef:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MVirtualTypeDef:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MVirtualTypeDef:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MVirtualTypeDef:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MVirtualTypeDef:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MVirtualTypeDef:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MVirtualTypeDef:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MVirtualTypeDef:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MVirtualTypeDef:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MVirtualTypeDef:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MVirtualTypeDef:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MVirtualTypeDef:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MVirtualTypeDef:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MVirtualTypeDef:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MVirtualTypeDef:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MVirtualTypeDef:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MPropDef__location, /* pointer to model:MVirtualTypeDef:model#MPropDef#location */ +(nitmethod_t)VIRTUAL_model__MPropDef__location_61d, /* pointer to model:MVirtualTypeDef:model#MPropDef#location= */ +(nitmethod_t)VIRTUAL_model__MPropDef__mclassdef, /* pointer to model:MVirtualTypeDef:model#MPropDef#mclassdef */ +(nitmethod_t)VIRTUAL_model__MPropDef__mclassdef_61d, /* pointer to model:MVirtualTypeDef:model#MPropDef#mclassdef= */ +(nitmethod_t)VIRTUAL_model__MPropDef__mproperty, /* pointer to model:MVirtualTypeDef:model#MPropDef#mproperty */ +(nitmethod_t)VIRTUAL_model__MPropDef__mproperty_61d, /* pointer to model:MVirtualTypeDef:model#MPropDef#mproperty= */ +(nitmethod_t)VIRTUAL_model__MPropDef__init, /* pointer to model:MVirtualTypeDef:model#MPropDef#init */ +(nitmethod_t)VIRTUAL_model__MPropDef__to_s_61d, /* pointer to model:MVirtualTypeDef:model#MPropDef#to_s= */ +(nitmethod_t)VIRTUAL_model__MPropDef__is_intro, /* pointer to model:MVirtualTypeDef:model#MPropDef#is_intro */ +(nitmethod_t)VIRTUAL_model__MPropDef__lookup_next_definition, /* pointer to model:MVirtualTypeDef:model#MPropDef#lookup_next_definition */ +(nitmethod_t)VIRTUAL_typing__MPropDef__has_supercall, /* pointer to model:MVirtualTypeDef:typing#MPropDef#has_supercall */ +(nitmethod_t)VIRTUAL_typing__MPropDef__has_supercall_61d, /* pointer to model:MVirtualTypeDef:typing#MPropDef#has_supercall= */ +(nitmethod_t)VIRTUAL_abstract_compiler__MPropDef__c_name_cache, /* pointer to model:MVirtualTypeDef:abstract_compiler#MPropDef#c_name_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MPropDef__c_name_cache_61d, /* pointer to model:MVirtualTypeDef:abstract_compiler#MPropDef#c_name_cache= */ +(nitmethod_t)VIRTUAL_abstract_compiler__MPropDef__c_name, /* pointer to model:MVirtualTypeDef:abstract_compiler#MPropDef#c_name */ +(nitmethod_t)VIRTUAL_separate_compiler__MPropDef__const_color, /* pointer to model:MVirtualTypeDef:separate_compiler#MPropDef#const_color */ +(nitmethod_t)VIRTUAL_model__MVirtualTypeDef__init, /* pointer to model:MVirtualTypeDef:model#MVirtualTypeDef#init */ +(nitmethod_t)VIRTUAL_model__MVirtualTypeDef__bound, /* pointer to model:MVirtualTypeDef:model#MVirtualTypeDef#bound */ +(nitmethod_t)VIRTUAL_model__MVirtualTypeDef__bound_61d, /* pointer to model:MVirtualTypeDef:model#MVirtualTypeDef#bound= */ +} +}; +/* allocate MVirtualTypeDef */ +val* NEW_model__MVirtualTypeDef(const struct type* type) { +val* self /* : MVirtualTypeDef */; +short int var /* : Bool */; +val* var1 /* : null */; +self = nit_alloc(sizeof(struct instance) + 7*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MVirtualTypeDef; +var = 0; +self->attrs[COLOR_typing__MPropDef___64dhas_supercall].s = var; /* @has_supercall on */ +var1 = NULL; +self->attrs[COLOR_model__MVirtualTypeDef___64dbound].val = var1; /* @bound on */ +return self; +} +/* allocate MVirtualTypeDef */ +void CHECK_NEW_model__MVirtualTypeDef(val* self) { +val* var /* : Location */; +val* var1 /* : MClassDef */; +val* var2 /* : MProperty */; +val* var3 /* : String */; +val* var4 /* : nullable String */; +var = self->attrs[COLOR_model__MPropDef___64dlocation].val; /* @location on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @location", "src/model/model.nit", 1791); +exit(1); +} +var1 = self->attrs[COLOR_model__MPropDef___64dmclassdef].val; /* @mclassdef on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mclassdef", "src/model/model.nit", 1794); +exit(1); +} +var2 = self->attrs[COLOR_model__MPropDef___64dmproperty].val; /* @mproperty on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @mproperty", "src/model/model.nit", 1797); +exit(1); +} +var3 = self->attrs[COLOR_model__MPropDef___64dto_s].val; /* @to_s on */ +if (var3 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @to_s", "src/model/model.nit", 1810); +exit(1); +} +var4 = self->attrs[COLOR_abstract_compiler__MPropDef___64dc_name_cache].val; /* @c_name_cache on */ +} +/* runtime class model__MClassKind */ +const struct class class_model__MClassKind = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model:MClassKind:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model:MClassKind:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model:MClassKind:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model:MClassKind:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model:MClassKind:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model:MClassKind:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model:MClassKind:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model:MClassKind:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model:MClassKind:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model__MClassKind__to_s, /* pointer to model:MClassKind:model#MClassKind#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model:MClassKind:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model:MClassKind:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model:MClassKind:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model:MClassKind:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model:MClassKind:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model:MClassKind:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model:MClassKind:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model:MClassKind:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model:MClassKind:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model:MClassKind:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model:MClassKind:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model:MClassKind:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model:MClassKind:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model:MClassKind:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model:MClassKind:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model:MClassKind:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model:MClassKind:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model:MClassKind:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model:MClassKind:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model:MClassKind:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model:MClassKind:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model:MClassKind:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model:MClassKind:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model:MClassKind:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model:MClassKind:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model:MClassKind:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model:MClassKind:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model:MClassKind:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model:MClassKind:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model:MClassKind:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model:MClassKind:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model__MClassKind__to_s_61d, /* pointer to model:MClassKind:model#MClassKind#to_s= */ +(nitmethod_t)VIRTUAL_model__MClassKind__need_init, /* pointer to model:MClassKind:model#MClassKind#need_init */ +(nitmethod_t)VIRTUAL_model__MClassKind__need_init_61d, /* pointer to model:MClassKind:model#MClassKind#need_init= */ +(nitmethod_t)VIRTUAL_model__MClassKind__init, /* pointer to model:MClassKind:model#MClassKind#init */ +} +}; +/* allocate MClassKind */ +val* NEW_model__MClassKind(const struct type* type) { +val* self /* : MClassKind */; +self = nit_alloc(sizeof(struct instance) + 2*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model__MClassKind; +return self; +} +/* allocate MClassKind */ +void CHECK_NEW_model__MClassKind(val* self) { +val* var /* : String */; +short int var1 /* : Bool */; +var = self->attrs[COLOR_model__MClassKind___64dto_s].val; /* @to_s on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @to_s", "src/model/model.nit", 1898); +exit(1); +} +var1 = self->attrs[COLOR_model__MClassKind___64dneed_init].s; /* @need_init on */ +} +/* runtime class poset__POSet */ +const struct class class_poset__POSet = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to poset:POSet:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to poset:POSet:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to poset:POSet:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to poset:POSet:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to poset:POSet:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to poset:POSet:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to poset:POSet:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to poset:POSet:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to poset:POSet:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Collection__to_s, /* pointer to poset:POSet:string#Collection#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to poset:POSet:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to poset:POSet:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to poset:POSet:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to poset:POSet:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to poset:POSet:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to poset:POSet:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to poset:POSet:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to poset:POSet:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to poset:POSet:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to poset:POSet:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to poset:POSet:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to poset:POSet:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to poset:POSet:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to poset:POSet:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to poset:POSet:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to poset:POSet:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to poset:POSet:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to poset:POSet:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to poset:POSet:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to poset:POSet:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to poset:POSet:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to poset:POSet:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to poset:POSet:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to poset:POSet:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to poset:POSet:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to poset:POSet:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to poset:POSet:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to poset:POSet:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to poset:POSet:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to poset:POSet:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to poset:POSet:model#Object#extern_kind */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_poset__POSet__iterator, /* pointer to poset:POSet:poset#POSet#iterator */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__iterate, /* pointer to poset:POSet:abstract_collection#Collection#iterate */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__is_empty, /* pointer to poset:POSet:abstract_collection#Collection#is_empty */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__length, /* pointer to poset:POSet:abstract_collection#Collection#length */ +(nitmethod_t)VIRTUAL_poset__POSet__has, /* pointer to poset:POSet:poset#POSet#has */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_only, /* pointer to poset:POSet:abstract_collection#Collection#has_only */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__count, /* pointer to poset:POSet:abstract_collection#Collection#count */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__first, /* pointer to poset:POSet:abstract_collection#Collection#first */ +(nitmethod_t)VIRTUAL_abstract_collection__Collection__has_all, /* pointer to poset:POSet:abstract_collection#Collection#has_all */ +(nitmethod_t)VIRTUAL_array__Collection__to_a, /* pointer to poset:POSet:array#Collection#to_a */ +(nitmethod_t)VIRTUAL_string__Collection__join, /* pointer to poset:POSet:string#Collection#join */ +(nitmethod_t)VIRTUAL_math__Collection__rand, /* pointer to poset:POSet:math#Collection#rand */ +(nitmethod_t)VIRTUAL_poset__POSet__compare, /* pointer to poset:POSet:poset#POSet#compare */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__sort, /* pointer to poset:POSet:sorter#AbstractSorter#sort */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__sub_sort, /* pointer to poset:POSet:sorter#AbstractSorter#sub_sort */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__quick_sort, /* pointer to poset:POSet:sorter#AbstractSorter#quick_sort */ +(nitmethod_t)VIRTUAL_sorter__AbstractSorter__bubble_sort, /* pointer to poset:POSet:sorter#AbstractSorter#bubble_sort */ +(nitmethod_t)VIRTUAL_poset__POSet__elements, /* pointer to poset:POSet:poset#POSet#elements */ +(nitmethod_t)VIRTUAL_poset__POSet__elements_61d, /* pointer to poset:POSet:poset#POSet#elements= */ +(nitmethod_t)VIRTUAL_poset__POSet__add_node, /* pointer to poset:POSet:poset#POSet#add_node */ +(nitmethod_t)VIRTUAL_poset__POSet___91d_93d, /* pointer to poset:POSet:poset#POSet#[] */ +(nitmethod_t)VIRTUAL_poset__POSet__add_edge, /* pointer to poset:POSet:poset#POSet#add_edge */ +(nitmethod_t)VIRTUAL_poset__POSet__has_edge, /* pointer to poset:POSet:poset#POSet#has_edge */ +(nitmethod_t)VIRTUAL_poset__POSet__has_direct_edge, /* pointer to poset:POSet:poset#POSet#has_direct_edge */ +(nitmethod_t)VIRTUAL_poset__POSet__show_dot, /* pointer to poset:POSet:poset#POSet#show_dot */ +(nitmethod_t)VIRTUAL_poset__POSet__init, /* pointer to poset:POSet:poset#POSet#init */ +} +}; +/* allocate POSet[Object] */ +val* NEW_poset__POSet(const struct type* type) { +val* self /* : POSet[Object] */; +val* var /* : HashMap[Object, POSetElement[Object]] */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_poset__POSet; +var = NEW_hash_collection__HashMap(self->type->resolution_table->types[COLOR_hash_collection__HashMapposet__POSet_FT0poset__POSetElementposet__POSet_FT0]); +((void (*)(val*))(var->class->vft[COLOR_hash_collection__HashMap__init]))(var) /* init on */; +CHECK_NEW_hash_collection__HashMap(var); +self->attrs[COLOR_poset__POSet___64delements].val = var; /* @elements on */ +return self; +} +/* allocate POSet[Object] */ +void CHECK_NEW_poset__POSet(val* self) { +} +/* runtime class poset__POSetElement */ +const struct class class_poset__POSetElement = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to poset:POSetElement:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to poset:POSetElement:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to poset:POSetElement:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to poset:POSetElement:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to poset:POSetElement:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to poset:POSetElement:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to poset:POSetElement:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to poset:POSetElement:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to poset:POSetElement:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to poset:POSetElement:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to poset:POSetElement:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to poset:POSetElement:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to poset:POSetElement:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to poset:POSetElement:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to poset:POSetElement:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to poset:POSetElement:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to poset:POSetElement:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to poset:POSetElement:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to poset:POSetElement:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to poset:POSetElement:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to poset:POSetElement:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to poset:POSetElement:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to poset:POSetElement:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to poset:POSetElement:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to poset:POSetElement:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to poset:POSetElement:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to poset:POSetElement:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to poset:POSetElement:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to poset:POSetElement:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to poset:POSetElement:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to poset:POSetElement:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to poset:POSetElement:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to poset:POSetElement:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to poset:POSetElement:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to poset:POSetElement:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to poset:POSetElement:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to poset:POSetElement:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to poset:POSetElement:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to poset:POSetElement:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to poset:POSetElement:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to poset:POSetElement:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_poset__POSetElement__poset, /* pointer to poset:POSetElement:poset#POSetElement#poset */ +(nitmethod_t)VIRTUAL_poset__POSetElement__poset_61d, /* pointer to poset:POSetElement:poset#POSetElement#poset= */ +(nitmethod_t)VIRTUAL_poset__POSetElement__element, /* pointer to poset:POSetElement:poset#POSetElement#element */ +(nitmethod_t)VIRTUAL_poset__POSetElement__element_61d, /* pointer to poset:POSetElement:poset#POSetElement#element= */ +(nitmethod_t)VIRTUAL_poset__POSetElement__tos, /* pointer to poset:POSetElement:poset#POSetElement#tos */ +(nitmethod_t)VIRTUAL_poset__POSetElement__tos_61d, /* pointer to poset:POSetElement:poset#POSetElement#tos= */ +(nitmethod_t)VIRTUAL_poset__POSetElement__froms, /* pointer to poset:POSetElement:poset#POSetElement#froms */ +(nitmethod_t)VIRTUAL_poset__POSetElement__froms_61d, /* pointer to poset:POSetElement:poset#POSetElement#froms= */ +(nitmethod_t)VIRTUAL_poset__POSetElement__dtos, /* pointer to poset:POSetElement:poset#POSetElement#dtos */ +(nitmethod_t)VIRTUAL_poset__POSetElement__dtos_61d, /* pointer to poset:POSetElement:poset#POSetElement#dtos= */ +(nitmethod_t)VIRTUAL_poset__POSetElement__dfroms, /* pointer to poset:POSetElement:poset#POSetElement#dfroms */ +(nitmethod_t)VIRTUAL_poset__POSetElement__dfroms_61d, /* pointer to poset:POSetElement:poset#POSetElement#dfroms= */ +(nitmethod_t)VIRTUAL_poset__POSetElement__count, /* pointer to poset:POSetElement:poset#POSetElement#count */ +(nitmethod_t)VIRTUAL_poset__POSetElement__count_61d, /* pointer to poset:POSetElement:poset#POSetElement#count= */ +(nitmethod_t)VIRTUAL_poset__POSetElement__greaters, /* pointer to poset:POSetElement:poset#POSetElement#greaters */ +(nitmethod_t)VIRTUAL_poset__POSetElement__direct_greaters, /* pointer to poset:POSetElement:poset#POSetElement#direct_greaters */ +(nitmethod_t)VIRTUAL_poset__POSetElement__smallers, /* pointer to poset:POSetElement:poset#POSetElement#smallers */ +(nitmethod_t)VIRTUAL_poset__POSetElement__direct_smallers, /* pointer to poset:POSetElement:poset#POSetElement#direct_smallers */ +(nitmethod_t)VIRTUAL_poset__POSetElement___60d_61d, /* pointer to poset:POSetElement:poset#POSetElement#<= */ +(nitmethod_t)VIRTUAL_poset__POSetElement___60d, /* pointer to poset:POSetElement:poset#POSetElement#< */ +(nitmethod_t)VIRTUAL_poset__POSetElement__init, /* pointer to poset:POSetElement:poset#POSetElement#init */ +} +}; +/* allocate POSetElement[Object] */ +val* NEW_poset__POSetElement(const struct type* type) { +val* self /* : POSetElement[Object] */; +val* var /* : HashSet[Object] */; +val* var1 /* : HashSet[Object] */; +val* var2 /* : HashSet[Object] */; +val* var3 /* : HashSet[Object] */; +self = nit_alloc(sizeof(struct instance) + 7*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_poset__POSetElement; +var = NEW_hash_collection__HashSet(self->type->resolution_table->types[COLOR_hash_collection__HashSetposet__POSetElement_FT0]); +((void (*)(val*))(var->class->vft[COLOR_hash_collection__HashSet__init]))(var) /* init on */; +CHECK_NEW_hash_collection__HashSet(var); +self->attrs[COLOR_poset__POSetElement___64dtos].val = var; /* @tos on */ +var1 = NEW_hash_collection__HashSet(self->type->resolution_table->types[COLOR_hash_collection__HashSetposet__POSetElement_FT0]); +((void (*)(val*))(var1->class->vft[COLOR_hash_collection__HashSet__init]))(var1) /* init on */; +CHECK_NEW_hash_collection__HashSet(var1); +self->attrs[COLOR_poset__POSetElement___64dfroms].val = var1; /* @froms on */ +var2 = NEW_hash_collection__HashSet(self->type->resolution_table->types[COLOR_hash_collection__HashSetposet__POSetElement_FT0]); +((void (*)(val*))(var2->class->vft[COLOR_hash_collection__HashSet__init]))(var2) /* init on */; +CHECK_NEW_hash_collection__HashSet(var2); +self->attrs[COLOR_poset__POSetElement___64ddtos].val = var2; /* @dtos on */ +var3 = NEW_hash_collection__HashSet(self->type->resolution_table->types[COLOR_hash_collection__HashSetposet__POSetElement_FT0]); +((void (*)(val*))(var3->class->vft[COLOR_hash_collection__HashSet__init]))(var3) /* init on */; +CHECK_NEW_hash_collection__HashSet(var3); +self->attrs[COLOR_poset__POSetElement___64ddfroms].val = var3; /* @dfroms on */ +return self; +} +/* allocate POSetElement[Object] */ +void CHECK_NEW_poset__POSetElement(val* self) { +val* var /* : POSet[Object] */; +val* var1 /* : Object */; +long var2 /* : Int */; +var = self->attrs[COLOR_poset__POSetElement___64dposet].val; /* @poset on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @poset", "lib/poset.nit", 181); +exit(1); +} +var1 = self->attrs[COLOR_poset__POSetElement___64delement].val; /* @element on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @element", "lib/poset.nit", 184); +exit(1); +} +var2 = self->attrs[COLOR_poset__POSetElement___64dcount].l; /* @count on */ +} +/* runtime class model_base__Model */ +const struct class class_model_base__Model = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model_base:Model:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model_base:Model:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model_base:Model:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model_base:Model:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model_base:Model:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model_base:Model:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model_base:Model:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model_base:Model:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model_base:Model:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to model_base:Model:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model_base:Model:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model_base:Model:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model_base:Model:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model_base:Model:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model_base:Model:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model_base:Model:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model_base:Model:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model_base:Model:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model_base:Model:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model_base:Model:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model_base:Model:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model_base:Model:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model_base:Model:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model_base:Model:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model_base:Model:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model_base:Model:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model_base:Model:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model_base:Model:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model_base:Model:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model_base:Model:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model_base:Model:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model_base:Model:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model_base:Model:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model_base:Model:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model_base:Model:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model_base:Model:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model_base:Model:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model_base:Model:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model_base:Model:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model_base:Model:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model_base:Model:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model_base__Model__mmodules, /* pointer to model_base:Model:model_base#Model#mmodules */ +(nitmethod_t)VIRTUAL_model_base__Model__mmodules_61d, /* pointer to model_base:Model:model_base#Model#mmodules= */ +(nitmethod_t)VIRTUAL_model_base__Model__mmodule_nesting_hierarchy, /* pointer to model_base:Model:model_base#Model#mmodule_nesting_hierarchy */ +(nitmethod_t)VIRTUAL_model_base__Model__mmodule_nesting_hierarchy_61d, /* pointer to model_base:Model:model_base#Model#mmodule_nesting_hierarchy= */ +(nitmethod_t)VIRTUAL_model_base__Model__mmodule_importation_hierarchy, /* pointer to model_base:Model:model_base#Model#mmodule_importation_hierarchy */ +(nitmethod_t)VIRTUAL_model_base__Model__mmodule_importation_hierarchy_61d, /* pointer to model_base:Model:model_base#Model#mmodule_importation_hierarchy= */ +(nitmethod_t)VIRTUAL_model_base__Model__mmodules_by_name, /* pointer to model_base:Model:model_base#Model#mmodules_by_name */ +(nitmethod_t)VIRTUAL_model_base__Model__mmodules_by_name_61d, /* pointer to model_base:Model:model_base#Model#mmodules_by_name= */ +(nitmethod_t)VIRTUAL_model_base__Model__get_mmodules_by_name, /* pointer to model_base:Model:model_base#Model#get_mmodules_by_name */ +(nitmethod_t)VIRTUAL_model_base__Model__init, /* pointer to model_base:Model:model_base#Model#init */ +(nitmethod_t)VIRTUAL_model__Model__mclasses, /* pointer to model_base:Model:model#Model#mclasses */ +(nitmethod_t)VIRTUAL_model__Model__mclasses_61d, /* pointer to model_base:Model:model#Model#mclasses= */ +(nitmethod_t)VIRTUAL_model__Model__mproperties, /* pointer to model_base:Model:model#Model#mproperties */ +(nitmethod_t)VIRTUAL_model__Model__mproperties_61d, /* pointer to model_base:Model:model#Model#mproperties= */ +(nitmethod_t)VIRTUAL_model__Model__mclassdef_hierarchy, /* pointer to model_base:Model:model#Model#mclassdef_hierarchy */ +(nitmethod_t)VIRTUAL_model__Model__mclassdef_hierarchy_61d, /* pointer to model_base:Model:model#Model#mclassdef_hierarchy= */ +(nitmethod_t)VIRTUAL_model__Model__intro_mtype_specialization_hierarchy, /* pointer to model_base:Model:model#Model#intro_mtype_specialization_hierarchy */ +(nitmethod_t)VIRTUAL_model__Model__intro_mtype_specialization_hierarchy_61d, /* pointer to model_base:Model:model#Model#intro_mtype_specialization_hierarchy= */ +(nitmethod_t)VIRTUAL_model__Model__full_mtype_specialization_hierarchy, /* pointer to model_base:Model:model#Model#full_mtype_specialization_hierarchy */ +(nitmethod_t)VIRTUAL_model__Model__full_mtype_specialization_hierarchy_61d, /* pointer to model_base:Model:model#Model#full_mtype_specialization_hierarchy= */ +(nitmethod_t)VIRTUAL_model__Model__mclasses_by_name, /* pointer to model_base:Model:model#Model#mclasses_by_name */ +(nitmethod_t)VIRTUAL_model__Model__mclasses_by_name_61d, /* pointer to model_base:Model:model#Model#mclasses_by_name= */ +(nitmethod_t)VIRTUAL_model__Model__get_mclasses_by_name, /* pointer to model_base:Model:model#Model#get_mclasses_by_name */ +(nitmethod_t)VIRTUAL_model__Model__mproperties_by_name, /* pointer to model_base:Model:model#Model#mproperties_by_name */ +(nitmethod_t)VIRTUAL_model__Model__mproperties_by_name_61d, /* pointer to model_base:Model:model#Model#mproperties_by_name= */ +(nitmethod_t)VIRTUAL_model__Model__get_mproperties_by_name, /* pointer to model_base:Model:model#Model#get_mproperties_by_name */ +(nitmethod_t)VIRTUAL_model__Model__null_type, /* pointer to model_base:Model:model#Model#null_type */ +(nitmethod_t)VIRTUAL_model__Model__null_type_61d, /* pointer to model_base:Model:model#Model#null_type= */ +} +}; +/* allocate Model */ +val* NEW_model_base__Model(const struct type* type) { +val* self /* : Model */; +val* var /* : Array[MModule] */; +val* var1 /* : POSet[MModule] */; +val* var2 /* : POSet[MModule] */; +val* var3 /* : MultiHashMap[String, MModule] */; +val* var4 /* : Array[MClass] */; +val* var5 /* : Array[MProperty] */; +val* var6 /* : POSet[MClassDef] */; +val* var7 /* : POSet[MClassType] */; +val* var8 /* : POSet[MClassType] */; +val* var9 /* : MultiHashMap[String, MClass] */; +val* var10 /* : MultiHashMap[String, MProperty] */; +val* var11 /* : MNullType */; +self = nit_alloc(sizeof(struct instance) + 12*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model_base__Model; +var = NEW_array__Array(&type_array__Arraymodel_base__MModule); +((void (*)(val*))(var->class->vft[COLOR_array__Array__init]))(var) /* init on */; +CHECK_NEW_array__Array(var); +self->attrs[COLOR_model_base__Model___64dmmodules].val = var; /* @mmodules on */ +var1 = NEW_poset__POSet(&type_poset__POSetmodel_base__MModule); +((void (*)(val*))(var1->class->vft[COLOR_poset__POSet__init]))(var1) /* init on */; +CHECK_NEW_poset__POSet(var1); +self->attrs[COLOR_model_base__Model___64dmmodule_nesting_hierarchy].val = var1; /* @mmodule_nesting_hierarchy on */ +var2 = NEW_poset__POSet(&type_poset__POSetmodel_base__MModule); +((void (*)(val*))(var2->class->vft[COLOR_poset__POSet__init]))(var2) /* init on */; +CHECK_NEW_poset__POSet(var2); +self->attrs[COLOR_model_base__Model___64dmmodule_importation_hierarchy].val = var2; /* @mmodule_importation_hierarchy on */ +var3 = NEW_more_collections__MultiHashMap(&type_more_collections__MultiHashMapstring__Stringmodel_base__MModule); +((void (*)(val*))(var3->class->vft[COLOR_more_collections__MultiHashMap__init]))(var3) /* init on */; +CHECK_NEW_more_collections__MultiHashMap(var3); +self->attrs[COLOR_model_base__Model___64dmmodules_by_name].val = var3; /* @mmodules_by_name on */ +var4 = NEW_array__Array(&type_array__Arraymodel__MClass); +((void (*)(val*))(var4->class->vft[COLOR_array__Array__init]))(var4) /* init on */; +CHECK_NEW_array__Array(var4); +self->attrs[COLOR_model__Model___64dmclasses].val = var4; /* @mclasses on */ +var5 = NEW_array__Array(&type_array__Arraymodel__MProperty); +((void (*)(val*))(var5->class->vft[COLOR_array__Array__init]))(var5) /* init on */; +CHECK_NEW_array__Array(var5); +self->attrs[COLOR_model__Model___64dmproperties].val = var5; /* @mproperties on */ +var6 = NEW_poset__POSet(&type_poset__POSetmodel__MClassDef); +((void (*)(val*))(var6->class->vft[COLOR_poset__POSet__init]))(var6) /* init on */; +CHECK_NEW_poset__POSet(var6); +self->attrs[COLOR_model__Model___64dmclassdef_hierarchy].val = var6; /* @mclassdef_hierarchy on */ +var7 = NEW_poset__POSet(&type_poset__POSetmodel__MClassType); +((void (*)(val*))(var7->class->vft[COLOR_poset__POSet__init]))(var7) /* init on */; +CHECK_NEW_poset__POSet(var7); +self->attrs[COLOR_model__Model___64dintro_mtype_specialization_hierarchy].val = var7; /* @intro_mtype_specialization_hierarchy on */ +var8 = NEW_poset__POSet(&type_poset__POSetmodel__MClassType); +((void (*)(val*))(var8->class->vft[COLOR_poset__POSet__init]))(var8) /* init on */; +CHECK_NEW_poset__POSet(var8); +self->attrs[COLOR_model__Model___64dfull_mtype_specialization_hierarchy].val = var8; /* @full_mtype_specialization_hierarchy on */ +var9 = NEW_more_collections__MultiHashMap(&type_more_collections__MultiHashMapstring__Stringmodel__MClass); +((void (*)(val*))(var9->class->vft[COLOR_more_collections__MultiHashMap__init]))(var9) /* init on */; +CHECK_NEW_more_collections__MultiHashMap(var9); +self->attrs[COLOR_model__Model___64dmclasses_by_name].val = var9; /* @mclasses_by_name on */ +var10 = NEW_more_collections__MultiHashMap(&type_more_collections__MultiHashMapstring__Stringmodel__MProperty); +((void (*)(val*))(var10->class->vft[COLOR_more_collections__MultiHashMap__init]))(var10) /* init on */; +CHECK_NEW_more_collections__MultiHashMap(var10); +self->attrs[COLOR_model__Model___64dmproperties_by_name].val = var10; /* @mproperties_by_name on */ +var11 = NEW_model__MNullType(&type_model__MNullType); +((void (*)(val*, val*))(var11->class->vft[COLOR_model__MNullType__init]))(var11, self) /* init on */; +CHECK_NEW_model__MNullType(var11); +self->attrs[COLOR_model__Model___64dnull_type].val = var11; /* @null_type on */ +return self; +} +/* allocate Model */ +void CHECK_NEW_model_base__Model(val* self) { +} +/* runtime class model_base__MModule */ +const struct class class_model_base__MModule = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model_base:MModule:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model_base:MModule:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model_base:MModule:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model_base:MModule:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model_base:MModule:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model_base:MModule:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model_base:MModule:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model_base:MModule:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model_base:MModule:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model_base__MModule__to_s, /* pointer to model_base:MModule:model_base#MModule#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model_base:MModule:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model_base:MModule:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model_base:MModule:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model_base:MModule:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model_base:MModule:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model_base:MModule:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model_base:MModule:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model_base:MModule:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model_base:MModule:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model_base:MModule:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model_base:MModule:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model_base:MModule:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model_base:MModule:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model_base:MModule:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model_base:MModule:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model_base:MModule:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model_base:MModule:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model_base:MModule:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model_base:MModule:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model_base:MModule:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model_base:MModule:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model_base:MModule:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model_base:MModule:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model_base:MModule:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model_base:MModule:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model_base:MModule:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model_base:MModule:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model_base:MModule:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model_base:MModule:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model_base:MModule:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model_base:MModule:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model_base__MModule__model, /* pointer to model_base:MModule:model_base#MModule#model */ +(nitmethod_t)VIRTUAL_model_base__MModule__model_61d, /* pointer to model_base:MModule:model_base#MModule#model= */ +(nitmethod_t)VIRTUAL_model_base__MModule__direct_owner, /* pointer to model_base:MModule:model_base#MModule#direct_owner */ +(nitmethod_t)VIRTUAL_model_base__MModule__direct_owner_61d, /* pointer to model_base:MModule:model_base#MModule#direct_owner= */ +(nitmethod_t)VIRTUAL_model_base__MModule__name, /* pointer to model_base:MModule:model_base#MModule#name */ +(nitmethod_t)VIRTUAL_model_base__MModule__name_61d, /* pointer to model_base:MModule:model_base#MModule#name= */ +(nitmethod_t)VIRTUAL_model_base__MModule__location, /* pointer to model_base:MModule:model_base#MModule#location */ +(nitmethod_t)VIRTUAL_model_base__MModule__location_61d, /* pointer to model_base:MModule:model_base#MModule#location= */ +(nitmethod_t)VIRTUAL_model_base__MModule__in_nesting, /* pointer to model_base:MModule:model_base#MModule#in_nesting */ +(nitmethod_t)VIRTUAL_model_base__MModule__in_nesting_61d, /* pointer to model_base:MModule:model_base#MModule#in_nesting= */ +(nitmethod_t)VIRTUAL_model_base__MModule__in_importation, /* pointer to model_base:MModule:model_base#MModule#in_importation */ +(nitmethod_t)VIRTUAL_model_base__MModule__in_importation_61d, /* pointer to model_base:MModule:model_base#MModule#in_importation= */ +(nitmethod_t)VIRTUAL_model_base__MModule__full_name, /* pointer to model_base:MModule:model_base#MModule#full_name */ +(nitmethod_t)VIRTUAL_model_base__MModule__init, /* pointer to model_base:MModule:model_base#MModule#init */ +(nitmethod_t)VIRTUAL_model_base__MModule__set_imported_mmodules, /* pointer to model_base:MModule:model_base#MModule#set_imported_mmodules */ +(nitmethod_t)VIRTUAL_model_base__MModule__intrude_mmodules, /* pointer to model_base:MModule:model_base#MModule#intrude_mmodules */ +(nitmethod_t)VIRTUAL_model_base__MModule__intrude_mmodules_61d, /* pointer to model_base:MModule:model_base#MModule#intrude_mmodules= */ +(nitmethod_t)VIRTUAL_model_base__MModule__public_mmodules, /* pointer to model_base:MModule:model_base#MModule#public_mmodules */ +(nitmethod_t)VIRTUAL_model_base__MModule__public_mmodules_61d, /* pointer to model_base:MModule:model_base#MModule#public_mmodules= */ +(nitmethod_t)VIRTUAL_model_base__MModule__private_mmodules, /* pointer to model_base:MModule:model_base#MModule#private_mmodules */ +(nitmethod_t)VIRTUAL_model_base__MModule__private_mmodules_61d, /* pointer to model_base:MModule:model_base#MModule#private_mmodules= */ +(nitmethod_t)VIRTUAL_model_base__MModule__visibility_for, /* pointer to model_base:MModule:model_base#MModule#visibility_for */ +(nitmethod_t)VIRTUAL_model_base__MModule__set_visibility_for, /* pointer to model_base:MModule:model_base#MModule#set_visibility_for */ +(nitmethod_t)VIRTUAL_model_base__MModule__public_owner, /* pointer to model_base:MModule:model_base#MModule#public_owner */ +(nitmethod_t)VIRTUAL_model_base__MModule__is_visible, /* pointer to model_base:MModule:model_base#MModule#is_visible */ +(nitmethod_t)VIRTUAL_model__MModule__intro_mclasses, /* pointer to model_base:MModule:model#MModule#intro_mclasses */ +(nitmethod_t)VIRTUAL_model__MModule__intro_mclasses_61d, /* pointer to model_base:MModule:model#MModule#intro_mclasses= */ +(nitmethod_t)VIRTUAL_model__MModule__mclassdefs, /* pointer to model_base:MModule:model#MModule#mclassdefs */ +(nitmethod_t)VIRTUAL_model__MModule__mclassdefs_61d, /* pointer to model_base:MModule:model#MModule#mclassdefs= */ +(nitmethod_t)VIRTUAL_model__MModule__has_mclass, /* pointer to model_base:MModule:model#MModule#has_mclass */ +(nitmethod_t)VIRTUAL_model__MModule__flatten_mclass_hierarchy, /* pointer to model_base:MModule:model#MModule#flatten_mclass_hierarchy */ +(nitmethod_t)VIRTUAL_model__MModule__linearize_mclasses, /* pointer to model_base:MModule:model#MModule#linearize_mclasses */ +(nitmethod_t)VIRTUAL_model__MModule__linearize_mclassdefs, /* pointer to model_base:MModule:model#MModule#linearize_mclassdefs */ +(nitmethod_t)VIRTUAL_model__MModule__linearize_mpropdefs, /* pointer to model_base:MModule:model#MModule#linearize_mpropdefs */ +(nitmethod_t)VIRTUAL_model__MModule__flatten_mclass_hierarchy_cache, /* pointer to model_base:MModule:model#MModule#flatten_mclass_hierarchy_cache */ +(nitmethod_t)VIRTUAL_model__MModule__flatten_mclass_hierarchy_cache_61d, /* pointer to model_base:MModule:model#MModule#flatten_mclass_hierarchy_cache= */ +(nitmethod_t)VIRTUAL_model__MModule__object_type, /* pointer to model_base:MModule:model#MModule#object_type */ +(nitmethod_t)VIRTUAL_model__MModule__object_type_cache, /* pointer to model_base:MModule:model#MModule#object_type_cache */ +(nitmethod_t)VIRTUAL_model__MModule__object_type_cache_61d, /* pointer to model_base:MModule:model#MModule#object_type_cache= */ +(nitmethod_t)VIRTUAL_model__MModule__bool_type, /* pointer to model_base:MModule:model#MModule#bool_type */ +(nitmethod_t)VIRTUAL_model__MModule__bool_type_cache, /* pointer to model_base:MModule:model#MModule#bool_type_cache */ +(nitmethod_t)VIRTUAL_model__MModule__bool_type_cache_61d, /* pointer to model_base:MModule:model#MModule#bool_type_cache= */ +(nitmethod_t)VIRTUAL_model__MModule__sys_type, /* pointer to model_base:MModule:model#MModule#sys_type */ +(nitmethod_t)VIRTUAL_model__MModule__get_primitive_class, /* pointer to model_base:MModule:model#MModule#get_primitive_class */ +(nitmethod_t)VIRTUAL_model__MModule__try_get_primitive_method, /* pointer to model_base:MModule:model#MModule#try_get_primitive_method */ +(nitmethod_t)VIRTUAL_abstract_compiler__MModule__properties, /* pointer to model_base:MModule:abstract_compiler#MModule#properties */ +(nitmethod_t)VIRTUAL_abstract_compiler__MModule__properties_cache, /* pointer to model_base:MModule:abstract_compiler#MModule#properties_cache */ +(nitmethod_t)VIRTUAL_abstract_compiler__MModule__properties_cache_61d, /* pointer to model_base:MModule:abstract_compiler#MModule#properties_cache= */ +} +}; +/* allocate MModule */ +val* NEW_model_base__MModule(const struct type* type) { +val* self /* : MModule */; +val* var /* : HashSet[MModule] */; +val* var1 /* : HashSet[MModule] */; +val* var2 /* : HashSet[MModule] */; +val* var3 /* : Array[MClass] */; +val* var4 /* : Array[MClassDef] */; +val* var5 /* : null */; +val* var6 /* : HashMap[MClass, Set[MProperty]] */; +self = nit_alloc(sizeof(struct instance) + 15*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model_base__MModule; +var = NEW_hash_collection__HashSet(&type_hash_collection__HashSetmodel_base__MModule); +((void (*)(val*))(var->class->vft[COLOR_hash_collection__HashSet__init]))(var) /* init on */; +CHECK_NEW_hash_collection__HashSet(var); +self->attrs[COLOR_model_base__MModule___64dintrude_mmodules].val = var; /* @intrude_mmodules on */ +var1 = NEW_hash_collection__HashSet(&type_hash_collection__HashSetmodel_base__MModule); +((void (*)(val*))(var1->class->vft[COLOR_hash_collection__HashSet__init]))(var1) /* init on */; +CHECK_NEW_hash_collection__HashSet(var1); +self->attrs[COLOR_model_base__MModule___64dpublic_mmodules].val = var1; /* @public_mmodules on */ +var2 = NEW_hash_collection__HashSet(&type_hash_collection__HashSetmodel_base__MModule); +((void (*)(val*))(var2->class->vft[COLOR_hash_collection__HashSet__init]))(var2) /* init on */; +CHECK_NEW_hash_collection__HashSet(var2); +self->attrs[COLOR_model_base__MModule___64dprivate_mmodules].val = var2; /* @private_mmodules on */ +var3 = NEW_array__Array(&type_array__Arraymodel__MClass); +((void (*)(val*))(var3->class->vft[COLOR_array__Array__init]))(var3) /* init on */; +CHECK_NEW_array__Array(var3); +self->attrs[COLOR_model__MModule___64dintro_mclasses].val = var3; /* @intro_mclasses on */ +var4 = NEW_array__Array(&type_array__Arraymodel__MClassDef); +((void (*)(val*))(var4->class->vft[COLOR_array__Array__init]))(var4) /* init on */; +CHECK_NEW_array__Array(var4); +self->attrs[COLOR_model__MModule___64dmclassdefs].val = var4; /* @mclassdefs on */ +var5 = NULL; +self->attrs[COLOR_model__MModule___64dflatten_mclass_hierarchy_cache].val = var5; /* @flatten_mclass_hierarchy_cache on */ +var6 = NEW_hash_collection__HashMap(&type_hash_collection__HashMapmodel__MClassabstract_collection__Setmodel__MProperty); +((void (*)(val*))(var6->class->vft[COLOR_hash_collection__HashMap__init]))(var6) /* init on */; +CHECK_NEW_hash_collection__HashMap(var6); +self->attrs[COLOR_abstract_compiler__MModule___64dproperties_cache].val = var6; /* @properties_cache on */ +return self; +} +/* allocate MModule */ +void CHECK_NEW_model_base__MModule(val* self) { +val* var /* : Model */; +val* var1 /* : nullable MModule */; +val* var2 /* : String */; +val* var3 /* : Location */; +val* var4 /* : POSetElement[MModule] */; +val* var5 /* : POSetElement[MModule] */; +val* var6 /* : nullable MClassType */; +val* var7 /* : nullable MClassType */; +var = self->attrs[COLOR_model_base__MModule___64dmodel].val; /* @model on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @model", "src/model/model_base.nit", 56); +exit(1); +} +var1 = self->attrs[COLOR_model_base__MModule___64ddirect_owner].val; /* @direct_owner on */ +var2 = self->attrs[COLOR_model_base__MModule___64dname].val; /* @name on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @name", "src/model/model_base.nit", 62); +exit(1); +} +var3 = self->attrs[COLOR_model_base__MModule___64dlocation].val; /* @location on */ +if (var3 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @location", "src/model/model_base.nit", 65); +exit(1); +} +var4 = self->attrs[COLOR_model_base__MModule___64din_nesting].val; /* @in_nesting on */ +if (var4 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @in_nesting", "src/model/model_base.nit", 71); +exit(1); +} +var5 = self->attrs[COLOR_model_base__MModule___64din_importation].val; /* @in_importation on */ +if (var5 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @in_importation", "src/model/model_base.nit", 74); +exit(1); +} +var6 = self->attrs[COLOR_model__MModule___64dobject_type_cache].val; /* @object_type_cache on */ +var7 = self->attrs[COLOR_model__MModule___64dbool_type_cache].val; /* @bool_type_cache on */ +} +/* runtime class model_base__MVisibility */ +const struct class class_model_base__MVisibility = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to model_base:MVisibility:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to model_base:MVisibility:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to model_base:MVisibility:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to model_base:MVisibility:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to model_base:MVisibility:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to model_base:MVisibility:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to model_base:MVisibility:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to model_base:MVisibility:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to model_base:MVisibility:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_model_base__MVisibility__to_s, /* pointer to model_base:MVisibility:model_base#MVisibility#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to model_base:MVisibility:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to model_base:MVisibility:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to model_base:MVisibility:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to model_base:MVisibility:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to model_base:MVisibility:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to model_base:MVisibility:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to model_base:MVisibility:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to model_base:MVisibility:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to model_base:MVisibility:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to model_base:MVisibility:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to model_base:MVisibility:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to model_base:MVisibility:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to model_base:MVisibility:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to model_base:MVisibility:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to model_base:MVisibility:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to model_base:MVisibility:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to model_base:MVisibility:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to model_base:MVisibility:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to model_base:MVisibility:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to model_base:MVisibility:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to model_base:MVisibility:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to model_base:MVisibility:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to model_base:MVisibility:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to model_base:MVisibility:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to model_base:MVisibility:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to model_base:MVisibility:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to model_base:MVisibility:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to model_base:MVisibility:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to model_base:MVisibility:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to model_base:MVisibility:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to model_base:MVisibility:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_model_base__MVisibility___60d, /* pointer to model_base:MVisibility:model_base#MVisibility#< */ +(nitmethod_t)VIRTUAL_kernel__Comparable___60d_61d, /* pointer to model_base:MVisibility:kernel#Comparable#<= */ +(nitmethod_t)VIRTUAL_kernel__Comparable___62d_61d, /* pointer to model_base:MVisibility:kernel#Comparable#>= */ +(nitmethod_t)VIRTUAL_kernel__Comparable___62d, /* pointer to model_base:MVisibility:kernel#Comparable#> */ +(nitmethod_t)VIRTUAL_kernel__Comparable___60d_61d_62d, /* pointer to model_base:MVisibility:kernel#Comparable#<=> */ +(nitmethod_t)VIRTUAL_kernel__Comparable__is_between, /* pointer to model_base:MVisibility:kernel#Comparable#is_between */ +(nitmethod_t)VIRTUAL_kernel__Comparable__max, /* pointer to model_base:MVisibility:kernel#Comparable#max */ +(nitmethod_t)VIRTUAL_kernel__Comparable__min, /* pointer to model_base:MVisibility:kernel#Comparable#min */ +(nitmethod_t)VIRTUAL_model_base__MVisibility__to_s_61d, /* pointer to model_base:MVisibility:model_base#MVisibility#to_s= */ +(nitmethod_t)VIRTUAL_model_base__MVisibility__level, /* pointer to model_base:MVisibility:model_base#MVisibility#level */ +(nitmethod_t)VIRTUAL_model_base__MVisibility__level_61d, /* pointer to model_base:MVisibility:model_base#MVisibility#level= */ +(nitmethod_t)VIRTUAL_model_base__MVisibility__init, /* pointer to model_base:MVisibility:model_base#MVisibility#init */ +} +}; +/* allocate MVisibility */ +val* NEW_model_base__MVisibility(const struct type* type) { +val* self /* : MVisibility */; +self = nit_alloc(sizeof(struct instance) + 2*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_model_base__MVisibility; +return self; +} +/* allocate MVisibility */ +void CHECK_NEW_model_base__MVisibility(val* self) { +val* var /* : String */; +long var1 /* : Int */; +var = self->attrs[COLOR_model_base__MVisibility___64dto_s].val; /* @to_s on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @to_s", "src/model/model_base.nit", 200); +exit(1); +} +var1 = self->attrs[COLOR_model_base__MVisibility___64dlevel].l; /* @level on */ +} +/* runtime class more_collections__MultiHashMap */ +const struct class class_more_collections__MultiHashMap = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to more_collections:MultiHashMap:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to more_collections:MultiHashMap:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to more_collections:MultiHashMap:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to more_collections:MultiHashMap:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to more_collections:MultiHashMap:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to more_collections:MultiHashMap:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to more_collections:MultiHashMap:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to more_collections:MultiHashMap:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to more_collections:MultiHashMap:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to more_collections:MultiHashMap:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to more_collections:MultiHashMap:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to more_collections:MultiHashMap:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to more_collections:MultiHashMap:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to more_collections:MultiHashMap:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to more_collections:MultiHashMap:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to more_collections:MultiHashMap:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to more_collections:MultiHashMap:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to more_collections:MultiHashMap:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to more_collections:MultiHashMap:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to more_collections:MultiHashMap:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to more_collections:MultiHashMap:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to more_collections:MultiHashMap:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to more_collections:MultiHashMap:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to more_collections:MultiHashMap:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to more_collections:MultiHashMap:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to more_collections:MultiHashMap:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to more_collections:MultiHashMap:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to more_collections:MultiHashMap:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to more_collections:MultiHashMap:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to more_collections:MultiHashMap:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to more_collections:MultiHashMap:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to more_collections:MultiHashMap:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to more_collections:MultiHashMap:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to more_collections:MultiHashMap:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to more_collections:MultiHashMap:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to more_collections:MultiHashMap:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to more_collections:MultiHashMap:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to more_collections:MultiHashMap:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to more_collections:MultiHashMap:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to more_collections:MultiHashMap:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to more_collections:MultiHashMap:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap___91d_93d, /* pointer to more_collections:MultiHashMap:hash_collection#HashMap#[] */ +(nitmethod_t)VIRTUAL_abstract_collection__MapRead__get_or_default, /* pointer to more_collections:MultiHashMap:abstract_collection#MapRead#get_or_default */ +(nitmethod_t)VIRTUAL_abstract_collection__MapRead__has_key, /* pointer to more_collections:MultiHashMap:abstract_collection#MapRead#has_key */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__iterator, /* pointer to more_collections:MultiHashMap:hash_collection#HashMap#iterator */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__iterate, /* pointer to more_collections:MultiHashMap:hash_collection#HashMap#iterate */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__values, /* pointer to more_collections:MultiHashMap:hash_collection#HashMap#values */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__keys, /* pointer to more_collections:MultiHashMap:hash_collection#HashMap#keys */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__is_empty, /* pointer to more_collections:MultiHashMap:hash_collection#HashMap#is_empty */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__length, /* pointer to more_collections:MultiHashMap:hash_collection#HashMap#length */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap___91d_93d_61d, /* pointer to more_collections:MultiHashMap:hash_collection#HashMap#[]= */ +(nitmethod_t)VIRTUAL_abstract_collection__Map__recover_with, /* pointer to more_collections:MultiHashMap:abstract_collection#Map#recover_with */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__clear, /* pointer to more_collections:MultiHashMap:hash_collection#HashMap#clear */ +(nitmethod_t)VIRTUAL_string__Map__join, /* pointer to more_collections:MultiHashMap:string#Map#join */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +NULL, /* empty */ +(nitmethod_t)VIRTUAL_array__ArrayCapable__calloc_array, /* pointer to more_collections:MultiHashMap:array#ArrayCapable#calloc_array */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__first_item, /* pointer to more_collections:MultiHashMap:hash_collection#HashCollection#first_item */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__index_at, /* pointer to more_collections:MultiHashMap:hash_collection#HashCollection#index_at */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__node_at, /* pointer to more_collections:MultiHashMap:hash_collection#HashCollection#node_at */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__node_at_idx, /* pointer to more_collections:MultiHashMap:hash_collection#HashCollection#node_at_idx */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__store, /* pointer to more_collections:MultiHashMap:hash_collection#HashCollection#store */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__remove_node, /* pointer to more_collections:MultiHashMap:hash_collection#HashCollection#remove_node */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__raz, /* pointer to more_collections:MultiHashMap:hash_collection#HashCollection#raz */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__enlarge, /* pointer to more_collections:MultiHashMap:hash_collection#HashCollection#enlarge */ +(nitmethod_t)VIRTUAL_hash_collection__HashCollection__init, /* pointer to more_collections:MultiHashMap:hash_collection#HashCollection#init */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__init, /* pointer to more_collections:MultiHashMap:hash_collection#HashMap#init */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__keys_61d, /* pointer to more_collections:MultiHashMap:hash_collection#HashMap#keys= */ +(nitmethod_t)VIRTUAL_hash_collection__HashMap__values_61d, /* pointer to more_collections:MultiHashMap:hash_collection#HashMap#values= */ +(nitmethod_t)VIRTUAL_more_collections__MultiHashMap__add_one, /* pointer to more_collections:MultiHashMap:more_collections#MultiHashMap#add_one */ +(nitmethod_t)VIRTUAL_more_collections__MultiHashMap__init, /* pointer to more_collections:MultiHashMap:more_collections#MultiHashMap#init */ +} +}; +/* allocate MultiHashMap[Object, nullable Object] */ +val* NEW_more_collections__MultiHashMap(const struct type* type) { +val* self /* : MultiHashMap[Object, nullable Object] */; +val* var /* : null */; +long var1 /* : Int */; +long var2 /* : Int */; +val* var3 /* : null */; +val* var4 /* : null */; +val* var5 /* : null */; +val* var6 /* : null */; +val* var7 /* : HashMapKeys[Object, Array[nullable Object]] */; +val* var8 /* : HashMapValues[Object, Array[nullable Object]] */; +self = nit_alloc(sizeof(struct instance) + 9*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_more_collections__MultiHashMap; +var = NULL; +self->attrs[COLOR_hash_collection__HashCollection___array].val = var; /* _array on */ +var1 = 0; +self->attrs[COLOR_hash_collection__HashCollection___capacity].l = var1; /* _capacity on */ +var2 = 0; +self->attrs[COLOR_hash_collection__HashCollection___length].l = var2; /* _length on */ +var3 = NULL; +self->attrs[COLOR_hash_collection__HashCollection___first_item].val = var3; /* _first_item on */ +var4 = NULL; +self->attrs[COLOR_hash_collection__HashCollection___last_item].val = var4; /* _last_item on */ +var5 = NULL; +self->attrs[COLOR_hash_collection__HashCollection___last_accessed_key].val = var5; /* _last_accessed_key on */ +var6 = NULL; +self->attrs[COLOR_hash_collection__HashCollection___last_accessed_node].val = var6; /* _last_accessed_node on */ +var7 = NEW_hash_collection__HashMapKeys(self->type->resolution_table->types[COLOR_hash_collection__HashMapKeyshash_collection__HashMap_FT0hash_collection__HashMap_FT1]); +((void (*)(val*, val*))(var7->class->vft[COLOR_hash_collection__HashMapKeys__init]))(var7, self) /* init on */; +CHECK_NEW_hash_collection__HashMapKeys(var7); +self->attrs[COLOR_hash_collection__HashMap___64dkeys].val = var7; /* @keys on */ +var8 = NEW_hash_collection__HashMapValues(self->type->resolution_table->types[COLOR_hash_collection__HashMapValueshash_collection__HashMap_FT0hash_collection__HashMap_FT1]); +((void (*)(val*, val*))(var8->class->vft[COLOR_hash_collection__HashMapValues__init]))(var8, self) /* init on */; +CHECK_NEW_hash_collection__HashMapValues(var8); +self->attrs[COLOR_hash_collection__HashMap___64dvalues].val = var8; /* @values on */ +return self; +} +/* allocate MultiHashMap[Object, nullable Object] */ +void CHECK_NEW_more_collections__MultiHashMap(val* self) { +} +/* runtime class more_collections__HashMap2 */ +const struct class class_more_collections__HashMap2 = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to more_collections:HashMap2:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to more_collections:HashMap2:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to more_collections:HashMap2:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to more_collections:HashMap2:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to more_collections:HashMap2:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to more_collections:HashMap2:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to more_collections:HashMap2:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to more_collections:HashMap2:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to more_collections:HashMap2:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to more_collections:HashMap2:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to more_collections:HashMap2:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to more_collections:HashMap2:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to more_collections:HashMap2:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to more_collections:HashMap2:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to more_collections:HashMap2:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to more_collections:HashMap2:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to more_collections:HashMap2:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to more_collections:HashMap2:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to more_collections:HashMap2:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to more_collections:HashMap2:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to more_collections:HashMap2:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to more_collections:HashMap2:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to more_collections:HashMap2:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to more_collections:HashMap2:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to more_collections:HashMap2:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to more_collections:HashMap2:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to more_collections:HashMap2:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to more_collections:HashMap2:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to more_collections:HashMap2:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to more_collections:HashMap2:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to more_collections:HashMap2:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to more_collections:HashMap2:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to more_collections:HashMap2:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to more_collections:HashMap2:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to more_collections:HashMap2:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to more_collections:HashMap2:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to more_collections:HashMap2:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to more_collections:HashMap2:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to more_collections:HashMap2:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to more_collections:HashMap2:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to more_collections:HashMap2:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_more_collections__HashMap2__level1, /* pointer to more_collections:HashMap2:more_collections#HashMap2#level1 */ +(nitmethod_t)VIRTUAL_more_collections__HashMap2__level1_61d, /* pointer to more_collections:HashMap2:more_collections#HashMap2#level1= */ +(nitmethod_t)VIRTUAL_more_collections__HashMap2___91d_93d, /* pointer to more_collections:HashMap2:more_collections#HashMap2#[] */ +(nitmethod_t)VIRTUAL_more_collections__HashMap2___91d_93d_61d, /* pointer to more_collections:HashMap2:more_collections#HashMap2#[]= */ +(nitmethod_t)VIRTUAL_more_collections__HashMap2__init, /* pointer to more_collections:HashMap2:more_collections#HashMap2#init */ +} +}; +/* allocate HashMap2[Object, Object, nullable Object] */ +val* NEW_more_collections__HashMap2(const struct type* type) { +val* self /* : HashMap2[Object, Object, nullable Object] */; +val* var /* : HashMap[Object, HashMap[Object, nullable Object]] */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_more_collections__HashMap2; +var = NEW_hash_collection__HashMap(self->type->resolution_table->types[COLOR_hash_collection__HashMapmore_collections__HashMap2_FT0hash_collection__HashMapmore_collections__HashMap2_FT1more_collections__HashMap2_FT2]); +((void (*)(val*))(var->class->vft[COLOR_hash_collection__HashMap__init]))(var) /* init on */; +CHECK_NEW_hash_collection__HashMap(var); +self->attrs[COLOR_more_collections__HashMap2___64dlevel1].val = var; /* @level1 on */ +return self; +} +/* allocate HashMap2[Object, Object, nullable Object] */ +void CHECK_NEW_more_collections__HashMap2(val* self) { +} +/* runtime class more_collections__HashMap3 */ +const struct class class_more_collections__HashMap3 = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to more_collections:HashMap3:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to more_collections:HashMap3:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to more_collections:HashMap3:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to more_collections:HashMap3:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to more_collections:HashMap3:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to more_collections:HashMap3:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to more_collections:HashMap3:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to more_collections:HashMap3:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to more_collections:HashMap3:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to more_collections:HashMap3:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to more_collections:HashMap3:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to more_collections:HashMap3:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to more_collections:HashMap3:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to more_collections:HashMap3:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to more_collections:HashMap3:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to more_collections:HashMap3:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to more_collections:HashMap3:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to more_collections:HashMap3:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to more_collections:HashMap3:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to more_collections:HashMap3:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to more_collections:HashMap3:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to more_collections:HashMap3:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to more_collections:HashMap3:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to more_collections:HashMap3:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to more_collections:HashMap3:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to more_collections:HashMap3:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to more_collections:HashMap3:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to more_collections:HashMap3:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to more_collections:HashMap3:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to more_collections:HashMap3:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to more_collections:HashMap3:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to more_collections:HashMap3:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to more_collections:HashMap3:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to more_collections:HashMap3:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to more_collections:HashMap3:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to more_collections:HashMap3:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to more_collections:HashMap3:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to more_collections:HashMap3:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to more_collections:HashMap3:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to more_collections:HashMap3:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to more_collections:HashMap3:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_more_collections__HashMap3__level1, /* pointer to more_collections:HashMap3:more_collections#HashMap3#level1 */ +(nitmethod_t)VIRTUAL_more_collections__HashMap3__level1_61d, /* pointer to more_collections:HashMap3:more_collections#HashMap3#level1= */ +(nitmethod_t)VIRTUAL_more_collections__HashMap3___91d_93d, /* pointer to more_collections:HashMap3:more_collections#HashMap3#[] */ +(nitmethod_t)VIRTUAL_more_collections__HashMap3___91d_93d_61d, /* pointer to more_collections:HashMap3:more_collections#HashMap3#[]= */ +(nitmethod_t)VIRTUAL_more_collections__HashMap3__init, /* pointer to more_collections:HashMap3:more_collections#HashMap3#init */ +} +}; +/* allocate HashMap3[Object, Object, Object, nullable Object] */ +val* NEW_more_collections__HashMap3(const struct type* type) { +val* self /* : HashMap3[Object, Object, Object, nullable Object] */; +val* var /* : HashMap[Object, HashMap2[Object, Object, nullable Object]] */; +self = nit_alloc(sizeof(struct instance) + 1*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_more_collections__HashMap3; +var = NEW_hash_collection__HashMap(self->type->resolution_table->types[COLOR_hash_collection__HashMapmore_collections__HashMap3_FT0more_collections__HashMap2more_collections__HashMap3_FT1more_collections__HashMap3_FT2more_collections__HashMap3_FT3]); +((void (*)(val*))(var->class->vft[COLOR_hash_collection__HashMap__init]))(var) /* init on */; +CHECK_NEW_hash_collection__HashMap(var); +self->attrs[COLOR_more_collections__HashMap3___64dlevel1].val = var; /* @level1 on */ +return self; +} +/* allocate HashMap3[Object, Object, Object, nullable Object] */ +void CHECK_NEW_more_collections__HashMap3(val* self) { +} +/* runtime class opts__OptionText */ +/* allocate OptionText */ +val* NEW_opts__OptionText(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "OptionText is DEAD"); +exit(1); +} +/* allocate OptionText */ +void CHECK_NEW_opts__OptionText(val* self) { +fprintf(stderr, "Runtime error: %s\n", "OptionText is DEAD"); +exit(1); +} +/* runtime class opts__OptionBool */ +const struct class class_opts__OptionBool = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to opts:OptionBool:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to opts:OptionBool:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to opts:OptionBool:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to opts:OptionBool:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to opts:OptionBool:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to opts:OptionBool:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to opts:OptionBool:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to opts:OptionBool:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to opts:OptionBool:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_opts__Option__to_s, /* pointer to opts:OptionBool:opts#Option#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to opts:OptionBool:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to opts:OptionBool:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to opts:OptionBool:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to opts:OptionBool:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to opts:OptionBool:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to opts:OptionBool:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to opts:OptionBool:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to opts:OptionBool:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to opts:OptionBool:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to opts:OptionBool:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to opts:OptionBool:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to opts:OptionBool:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to opts:OptionBool:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to opts:OptionBool:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to opts:OptionBool:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to opts:OptionBool:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to opts:OptionBool:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to opts:OptionBool:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to opts:OptionBool:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to opts:OptionBool:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to opts:OptionBool:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to opts:OptionBool:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to opts:OptionBool:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to opts:OptionBool:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to opts:OptionBool:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to opts:OptionBool:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to opts:OptionBool:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to opts:OptionBool:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to opts:OptionBool:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to opts:OptionBool:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to opts:OptionBool:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_opts__Option__names, /* pointer to opts:OptionBool:opts#Option#names */ +(nitmethod_t)VIRTUAL_opts__Option__helptext, /* pointer to opts:OptionBool:opts#Option#helptext */ +(nitmethod_t)VIRTUAL_opts__Option__errors, /* pointer to opts:OptionBool:opts#Option#errors */ +(nitmethod_t)VIRTUAL_opts__Option__mandatory, /* pointer to opts:OptionBool:opts#Option#mandatory */ +(nitmethod_t)VIRTUAL_opts__Option__mandatory_61d, /* pointer to opts:OptionBool:opts#Option#mandatory= */ +(nitmethod_t)VIRTUAL_opts__Option__read, /* pointer to opts:OptionBool:opts#Option#read */ +(nitmethod_t)VIRTUAL_opts__Option__value_61d, /* pointer to opts:OptionBool:opts#Option#value= */ +(nitmethod_t)VIRTUAL_opts__Option__value, /* pointer to opts:OptionBool:opts#Option#value */ +(nitmethod_t)VIRTUAL_opts__Option__default_value, /* pointer to opts:OptionBool:opts#Option#default_value */ +(nitmethod_t)VIRTUAL_opts__Option__default_value_61d, /* pointer to opts:OptionBool:opts#Option#default_value= */ +(nitmethod_t)VIRTUAL_opts__Option__init_opt, /* pointer to opts:OptionBool:opts#Option#init_opt */ +(nitmethod_t)VIRTUAL_opts__Option__add_aliases, /* pointer to opts:OptionBool:opts#Option#add_aliases */ +(nitmethod_t)VIRTUAL_opts__Option__pretty, /* pointer to opts:OptionBool:opts#Option#pretty */ +(nitmethod_t)VIRTUAL_opts__Option__pretty_default, /* pointer to opts:OptionBool:opts#Option#pretty_default */ +(nitmethod_t)VIRTUAL_opts__OptionBool__read_param, /* pointer to opts:OptionBool:opts#OptionBool#read_param */ +(nitmethod_t)VIRTUAL_opts__OptionBool__init, /* pointer to opts:OptionBool:opts#OptionBool#init */ +(nitmethod_t)VIRTUAL_opts__Option__read_param, /* pointer to opts:OptionBool:opts#Option#read_param */ +} +}; +/* allocate OptionBool */ +val* NEW_opts__OptionBool(const struct type* type) { +val* self /* : OptionBool */; +self = nit_alloc(sizeof(struct instance) + 7*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_opts__OptionBool; +return self; +} +/* allocate OptionBool */ +void CHECK_NEW_opts__OptionBool(val* self) { +val* var /* : Array[String] */; +val* var1 /* : String */; +val* var2 /* : Array[String] */; +short int var3 /* : Bool */; +short int var4 /* : Bool */; +val* var5 /* : nullable Object */; +val* var6 /* : nullable Object */; +var = self->attrs[COLOR_opts__Option___names].val; /* _names on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _names", "lib/opts.nit", 19); +exit(1); +} +var1 = self->attrs[COLOR_opts__Option___helptext].val; /* _helptext on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _helptext", "lib/opts.nit", 25); +exit(1); +} +var2 = self->attrs[COLOR_opts__Option___errors].val; /* _errors on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _errors", "lib/opts.nit", 28); +exit(1); +} +var3 = self->attrs[COLOR_opts__Option___mandatory].s; /* _mandatory on */ +var4 = self->attrs[COLOR_opts__Option___read].s; /* _read on */ +var5 = self->attrs[COLOR_opts__Option___value].val; /* _value on */ +var6 = self->attrs[COLOR_opts__Option___default_value].val; /* _default_value on */ +} +/* runtime class opts__OptionCount */ +const struct class class_opts__OptionCount = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to opts:OptionCount:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to opts:OptionCount:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to opts:OptionCount:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to opts:OptionCount:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to opts:OptionCount:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to opts:OptionCount:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to opts:OptionCount:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to opts:OptionCount:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to opts:OptionCount:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_opts__Option__to_s, /* pointer to opts:OptionCount:opts#Option#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to opts:OptionCount:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to opts:OptionCount:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to opts:OptionCount:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to opts:OptionCount:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to opts:OptionCount:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to opts:OptionCount:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to opts:OptionCount:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to opts:OptionCount:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to opts:OptionCount:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to opts:OptionCount:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to opts:OptionCount:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to opts:OptionCount:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to opts:OptionCount:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to opts:OptionCount:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to opts:OptionCount:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to opts:OptionCount:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to opts:OptionCount:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to opts:OptionCount:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to opts:OptionCount:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to opts:OptionCount:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to opts:OptionCount:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to opts:OptionCount:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to opts:OptionCount:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to opts:OptionCount:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to opts:OptionCount:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to opts:OptionCount:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to opts:OptionCount:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to opts:OptionCount:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to opts:OptionCount:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to opts:OptionCount:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to opts:OptionCount:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_opts__Option__names, /* pointer to opts:OptionCount:opts#Option#names */ +(nitmethod_t)VIRTUAL_opts__Option__helptext, /* pointer to opts:OptionCount:opts#Option#helptext */ +(nitmethod_t)VIRTUAL_opts__Option__errors, /* pointer to opts:OptionCount:opts#Option#errors */ +(nitmethod_t)VIRTUAL_opts__Option__mandatory, /* pointer to opts:OptionCount:opts#Option#mandatory */ +(nitmethod_t)VIRTUAL_opts__Option__mandatory_61d, /* pointer to opts:OptionCount:opts#Option#mandatory= */ +(nitmethod_t)VIRTUAL_opts__Option__read, /* pointer to opts:OptionCount:opts#Option#read */ +(nitmethod_t)VIRTUAL_opts__Option__value_61d, /* pointer to opts:OptionCount:opts#Option#value= */ +(nitmethod_t)VIRTUAL_opts__Option__value, /* pointer to opts:OptionCount:opts#Option#value */ +(nitmethod_t)VIRTUAL_opts__Option__default_value, /* pointer to opts:OptionCount:opts#Option#default_value */ +(nitmethod_t)VIRTUAL_opts__Option__default_value_61d, /* pointer to opts:OptionCount:opts#Option#default_value= */ +(nitmethod_t)VIRTUAL_opts__Option__init_opt, /* pointer to opts:OptionCount:opts#Option#init_opt */ +(nitmethod_t)VIRTUAL_opts__Option__add_aliases, /* pointer to opts:OptionCount:opts#Option#add_aliases */ +(nitmethod_t)VIRTUAL_opts__Option__pretty, /* pointer to opts:OptionCount:opts#Option#pretty */ +(nitmethod_t)VIRTUAL_opts__Option__pretty_default, /* pointer to opts:OptionCount:opts#Option#pretty_default */ +(nitmethod_t)VIRTUAL_opts__OptionCount__read_param, /* pointer to opts:OptionCount:opts#OptionCount#read_param */ +(nitmethod_t)VIRTUAL_opts__OptionCount__init, /* pointer to opts:OptionCount:opts#OptionCount#init */ +(nitmethod_t)VIRTUAL_opts__Option__read_param, /* pointer to opts:OptionCount:opts#Option#read_param */ +} +}; +/* allocate OptionCount */ +val* NEW_opts__OptionCount(const struct type* type) { +val* self /* : OptionCount */; +self = nit_alloc(sizeof(struct instance) + 7*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_opts__OptionCount; +return self; +} +/* allocate OptionCount */ +void CHECK_NEW_opts__OptionCount(val* self) { +val* var /* : Array[String] */; +val* var1 /* : String */; +val* var2 /* : Array[String] */; +short int var3 /* : Bool */; +short int var4 /* : Bool */; +val* var5 /* : nullable Object */; +val* var6 /* : nullable Object */; +var = self->attrs[COLOR_opts__Option___names].val; /* _names on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _names", "lib/opts.nit", 19); +exit(1); +} +var1 = self->attrs[COLOR_opts__Option___helptext].val; /* _helptext on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _helptext", "lib/opts.nit", 25); +exit(1); +} +var2 = self->attrs[COLOR_opts__Option___errors].val; /* _errors on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _errors", "lib/opts.nit", 28); +exit(1); +} +var3 = self->attrs[COLOR_opts__Option___mandatory].s; /* _mandatory on */ +var4 = self->attrs[COLOR_opts__Option___read].s; /* _read on */ +var5 = self->attrs[COLOR_opts__Option___value].val; /* _value on */ +var6 = self->attrs[COLOR_opts__Option___default_value].val; /* _default_value on */ +} +/* runtime class opts__OptionString */ +const struct class class_opts__OptionString = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to opts:OptionString:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to opts:OptionString:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to opts:OptionString:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to opts:OptionString:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to opts:OptionString:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to opts:OptionString:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to opts:OptionString:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to opts:OptionString:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to opts:OptionString:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_opts__Option__to_s, /* pointer to opts:OptionString:opts#Option#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to opts:OptionString:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to opts:OptionString:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to opts:OptionString:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to opts:OptionString:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to opts:OptionString:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to opts:OptionString:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to opts:OptionString:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to opts:OptionString:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to opts:OptionString:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to opts:OptionString:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to opts:OptionString:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to opts:OptionString:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to opts:OptionString:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to opts:OptionString:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to opts:OptionString:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to opts:OptionString:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to opts:OptionString:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to opts:OptionString:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to opts:OptionString:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to opts:OptionString:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to opts:OptionString:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to opts:OptionString:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to opts:OptionString:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to opts:OptionString:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to opts:OptionString:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to opts:OptionString:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to opts:OptionString:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to opts:OptionString:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to opts:OptionString:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to opts:OptionString:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to opts:OptionString:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_opts__Option__names, /* pointer to opts:OptionString:opts#Option#names */ +(nitmethod_t)VIRTUAL_opts__Option__helptext, /* pointer to opts:OptionString:opts#Option#helptext */ +(nitmethod_t)VIRTUAL_opts__Option__errors, /* pointer to opts:OptionString:opts#Option#errors */ +(nitmethod_t)VIRTUAL_opts__Option__mandatory, /* pointer to opts:OptionString:opts#Option#mandatory */ +(nitmethod_t)VIRTUAL_opts__Option__mandatory_61d, /* pointer to opts:OptionString:opts#Option#mandatory= */ +(nitmethod_t)VIRTUAL_opts__Option__read, /* pointer to opts:OptionString:opts#Option#read */ +(nitmethod_t)VIRTUAL_opts__Option__value_61d, /* pointer to opts:OptionString:opts#Option#value= */ +(nitmethod_t)VIRTUAL_opts__Option__value, /* pointer to opts:OptionString:opts#Option#value */ +(nitmethod_t)VIRTUAL_opts__Option__default_value, /* pointer to opts:OptionString:opts#Option#default_value */ +(nitmethod_t)VIRTUAL_opts__Option__default_value_61d, /* pointer to opts:OptionString:opts#Option#default_value= */ +(nitmethod_t)VIRTUAL_opts__Option__init_opt, /* pointer to opts:OptionString:opts#Option#init_opt */ +(nitmethod_t)VIRTUAL_opts__Option__add_aliases, /* pointer to opts:OptionString:opts#Option#add_aliases */ +(nitmethod_t)VIRTUAL_opts__Option__pretty, /* pointer to opts:OptionString:opts#Option#pretty */ +(nitmethod_t)VIRTUAL_opts__Option__pretty_default, /* pointer to opts:OptionString:opts#Option#pretty_default */ +(nitmethod_t)VIRTUAL_opts__OptionParameter__read_param, /* pointer to opts:OptionString:opts#OptionParameter#read_param */ +(nitmethod_t)VIRTUAL_opts__OptionString__convert, /* pointer to opts:OptionString:opts#OptionString#convert */ +(nitmethod_t)VIRTUAL_opts__OptionParameter__parameter_mandatory, /* pointer to opts:OptionString:opts#OptionParameter#parameter_mandatory */ +(nitmethod_t)VIRTUAL_opts__OptionParameter__parameter_mandatory_61d, /* pointer to opts:OptionString:opts#OptionParameter#parameter_mandatory= */ +(nitmethod_t)VIRTUAL_opts__OptionParameter__init_opt, /* pointer to opts:OptionString:opts#OptionParameter#init_opt */ +(nitmethod_t)VIRTUAL_opts__Option__read_param, /* pointer to opts:OptionString:opts#Option#read_param */ +(nitmethod_t)VIRTUAL_opts__OptionString__init, /* pointer to opts:OptionString:opts#OptionString#init */ +} +}; +/* allocate OptionString */ +val* NEW_opts__OptionString(const struct type* type) { +val* self /* : OptionString */; +self = nit_alloc(sizeof(struct instance) + 8*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_opts__OptionString; +return self; +} +/* allocate OptionString */ +void CHECK_NEW_opts__OptionString(val* self) { +val* var /* : Array[String] */; +val* var1 /* : String */; +val* var2 /* : Array[String] */; +short int var3 /* : Bool */; +short int var4 /* : Bool */; +val* var5 /* : nullable Object */; +val* var6 /* : nullable Object */; +short int var7 /* : Bool */; +var = self->attrs[COLOR_opts__Option___names].val; /* _names on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _names", "lib/opts.nit", 19); +exit(1); +} +var1 = self->attrs[COLOR_opts__Option___helptext].val; /* _helptext on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _helptext", "lib/opts.nit", 25); +exit(1); +} +var2 = self->attrs[COLOR_opts__Option___errors].val; /* _errors on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _errors", "lib/opts.nit", 28); +exit(1); +} +var3 = self->attrs[COLOR_opts__Option___mandatory].s; /* _mandatory on */ +var4 = self->attrs[COLOR_opts__Option___read].s; /* _read on */ +var5 = self->attrs[COLOR_opts__Option___value].val; /* _value on */ +var6 = self->attrs[COLOR_opts__Option___default_value].val; /* _default_value on */ +var7 = self->attrs[COLOR_opts__OptionParameter___parameter_mandatory].s; /* _parameter_mandatory on */ +} +/* runtime class opts__OptionEnum */ +/* allocate OptionEnum */ +val* NEW_opts__OptionEnum(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "OptionEnum is DEAD"); +exit(1); +} +/* allocate OptionEnum */ +void CHECK_NEW_opts__OptionEnum(val* self) { +fprintf(stderr, "Runtime error: %s\n", "OptionEnum is DEAD"); +exit(1); +} +/* runtime class opts__OptionInt */ +/* allocate OptionInt */ +val* NEW_opts__OptionInt(const struct type* type) { +fprintf(stderr, "Runtime error: %s\n", "OptionInt is DEAD"); +exit(1); +} +/* allocate OptionInt */ +void CHECK_NEW_opts__OptionInt(val* self) { +fprintf(stderr, "Runtime error: %s\n", "OptionInt is DEAD"); +exit(1); +} +/* runtime class opts__OptionArray */ +const struct class class_opts__OptionArray = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to opts:OptionArray:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to opts:OptionArray:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to opts:OptionArray:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to opts:OptionArray:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to opts:OptionArray:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to opts:OptionArray:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to opts:OptionArray:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to opts:OptionArray:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to opts:OptionArray:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_opts__Option__to_s, /* pointer to opts:OptionArray:opts#Option#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to opts:OptionArray:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to opts:OptionArray:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to opts:OptionArray:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to opts:OptionArray:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to opts:OptionArray:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to opts:OptionArray:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to opts:OptionArray:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to opts:OptionArray:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to opts:OptionArray:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to opts:OptionArray:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to opts:OptionArray:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to opts:OptionArray:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to opts:OptionArray:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to opts:OptionArray:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to opts:OptionArray:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to opts:OptionArray:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to opts:OptionArray:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to opts:OptionArray:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to opts:OptionArray:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to opts:OptionArray:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to opts:OptionArray:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to opts:OptionArray:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to opts:OptionArray:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to opts:OptionArray:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to opts:OptionArray:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to opts:OptionArray:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to opts:OptionArray:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to opts:OptionArray:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to opts:OptionArray:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to opts:OptionArray:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to opts:OptionArray:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_opts__Option__names, /* pointer to opts:OptionArray:opts#Option#names */ +(nitmethod_t)VIRTUAL_opts__Option__helptext, /* pointer to opts:OptionArray:opts#Option#helptext */ +(nitmethod_t)VIRTUAL_opts__Option__errors, /* pointer to opts:OptionArray:opts#Option#errors */ +(nitmethod_t)VIRTUAL_opts__Option__mandatory, /* pointer to opts:OptionArray:opts#Option#mandatory */ +(nitmethod_t)VIRTUAL_opts__Option__mandatory_61d, /* pointer to opts:OptionArray:opts#Option#mandatory= */ +(nitmethod_t)VIRTUAL_opts__Option__read, /* pointer to opts:OptionArray:opts#Option#read */ +(nitmethod_t)VIRTUAL_opts__Option__value_61d, /* pointer to opts:OptionArray:opts#Option#value= */ +(nitmethod_t)VIRTUAL_opts__Option__value, /* pointer to opts:OptionArray:opts#Option#value */ +(nitmethod_t)VIRTUAL_opts__Option__default_value, /* pointer to opts:OptionArray:opts#Option#default_value */ +(nitmethod_t)VIRTUAL_opts__Option__default_value_61d, /* pointer to opts:OptionArray:opts#Option#default_value= */ +(nitmethod_t)VIRTUAL_opts__Option__init_opt, /* pointer to opts:OptionArray:opts#Option#init_opt */ +(nitmethod_t)VIRTUAL_opts__Option__add_aliases, /* pointer to opts:OptionArray:opts#Option#add_aliases */ +(nitmethod_t)VIRTUAL_opts__Option__pretty, /* pointer to opts:OptionArray:opts#Option#pretty */ +(nitmethod_t)VIRTUAL_opts__Option__pretty_default, /* pointer to opts:OptionArray:opts#Option#pretty_default */ +(nitmethod_t)VIRTUAL_opts__OptionParameter__read_param, /* pointer to opts:OptionArray:opts#OptionParameter#read_param */ +(nitmethod_t)VIRTUAL_opts__OptionArray__convert, /* pointer to opts:OptionArray:opts#OptionArray#convert */ +(nitmethod_t)VIRTUAL_opts__OptionParameter__parameter_mandatory, /* pointer to opts:OptionArray:opts#OptionParameter#parameter_mandatory */ +(nitmethod_t)VIRTUAL_opts__OptionParameter__parameter_mandatory_61d, /* pointer to opts:OptionArray:opts#OptionParameter#parameter_mandatory= */ +(nitmethod_t)VIRTUAL_opts__OptionParameter__init_opt, /* pointer to opts:OptionArray:opts#OptionParameter#init_opt */ +(nitmethod_t)VIRTUAL_opts__Option__read_param, /* pointer to opts:OptionArray:opts#Option#read_param */ +(nitmethod_t)VIRTUAL_opts__OptionArray__init, /* pointer to opts:OptionArray:opts#OptionArray#init */ +} +}; +/* allocate OptionArray */ +val* NEW_opts__OptionArray(const struct type* type) { +val* self /* : OptionArray */; +self = nit_alloc(sizeof(struct instance) + 9*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_opts__OptionArray; +return self; +} +/* allocate OptionArray */ +void CHECK_NEW_opts__OptionArray(val* self) { +val* var /* : Array[String] */; +val* var1 /* : String */; +val* var2 /* : Array[String] */; +short int var3 /* : Bool */; +short int var4 /* : Bool */; +val* var5 /* : nullable Object */; +val* var6 /* : nullable Object */; +short int var7 /* : Bool */; +val* var8 /* : Array[String] */; +var = self->attrs[COLOR_opts__Option___names].val; /* _names on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _names", "lib/opts.nit", 19); +exit(1); +} +var1 = self->attrs[COLOR_opts__Option___helptext].val; /* _helptext on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _helptext", "lib/opts.nit", 25); +exit(1); +} +var2 = self->attrs[COLOR_opts__Option___errors].val; /* _errors on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _errors", "lib/opts.nit", 28); +exit(1); +} +var3 = self->attrs[COLOR_opts__Option___mandatory].s; /* _mandatory on */ +var4 = self->attrs[COLOR_opts__Option___read].s; /* _read on */ +var5 = self->attrs[COLOR_opts__Option___value].val; /* _value on */ +var6 = self->attrs[COLOR_opts__Option___default_value].val; /* _default_value on */ +var7 = self->attrs[COLOR_opts__OptionParameter___parameter_mandatory].s; /* _parameter_mandatory on */ +var8 = self->attrs[COLOR_opts__OptionArray___values].val; /* _values on */ +if (var8 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _values", "lib/opts.nit", 221); +exit(1); +} +} +/* runtime class opts__OptionContext */ +const struct class class_opts__OptionContext = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to opts:OptionContext:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to opts:OptionContext:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to opts:OptionContext:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to opts:OptionContext:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to opts:OptionContext:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to opts:OptionContext:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to opts:OptionContext:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to opts:OptionContext:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to opts:OptionContext:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_string__Object__to_s, /* pointer to opts:OptionContext:string#Object#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to opts:OptionContext:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to opts:OptionContext:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to opts:OptionContext:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to opts:OptionContext:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to opts:OptionContext:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to opts:OptionContext:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to opts:OptionContext:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to opts:OptionContext:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to opts:OptionContext:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to opts:OptionContext:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to opts:OptionContext:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to opts:OptionContext:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to opts:OptionContext:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to opts:OptionContext:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to opts:OptionContext:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to opts:OptionContext:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to opts:OptionContext:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to opts:OptionContext:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to opts:OptionContext:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to opts:OptionContext:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to opts:OptionContext:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to opts:OptionContext:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to opts:OptionContext:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to opts:OptionContext:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to opts:OptionContext:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to opts:OptionContext:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to opts:OptionContext:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to opts:OptionContext:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to opts:OptionContext:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to opts:OptionContext:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to opts:OptionContext:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_opts__OptionContext__options, /* pointer to opts:OptionContext:opts#OptionContext#options */ +(nitmethod_t)VIRTUAL_opts__OptionContext__rest, /* pointer to opts:OptionContext:opts#OptionContext#rest */ +(nitmethod_t)VIRTUAL_opts__OptionContext__errors, /* pointer to opts:OptionContext:opts#OptionContext#errors */ +(nitmethod_t)VIRTUAL_opts__OptionContext__usage, /* pointer to opts:OptionContext:opts#OptionContext#usage */ +(nitmethod_t)VIRTUAL_opts__OptionContext__parse, /* pointer to opts:OptionContext:opts#OptionContext#parse */ +(nitmethod_t)VIRTUAL_opts__OptionContext__parse_intern, /* pointer to opts:OptionContext:opts#OptionContext#parse_intern */ +(nitmethod_t)VIRTUAL_opts__OptionContext__add_option, /* pointer to opts:OptionContext:opts#OptionContext#add_option */ +(nitmethod_t)VIRTUAL_opts__OptionContext__init, /* pointer to opts:OptionContext:opts#OptionContext#init */ +(nitmethod_t)VIRTUAL_opts__OptionContext__build, /* pointer to opts:OptionContext:opts#OptionContext#build */ +(nitmethod_t)VIRTUAL_opts__OptionContext__get_errors, /* pointer to opts:OptionContext:opts#OptionContext#get_errors */ +} +}; +/* allocate OptionContext */ +val* NEW_opts__OptionContext(const struct type* type) { +val* self /* : OptionContext */; +self = nit_alloc(sizeof(struct instance) + 4*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_opts__OptionContext; +return self; +} +/* allocate OptionContext */ +void CHECK_NEW_opts__OptionContext(val* self) { +val* var /* : Array[Option] */; +val* var1 /* : Array[String] */; +val* var2 /* : Array[String] */; +val* var3 /* : Map[String, Option] */; +var = self->attrs[COLOR_opts__OptionContext___options].val; /* _options on */ +if (var == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _options", "lib/opts.nit", 230); +exit(1); +} +var1 = self->attrs[COLOR_opts__OptionContext___rest].val; /* _rest on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _rest", "lib/opts.nit", 231); +exit(1); +} +var2 = self->attrs[COLOR_opts__OptionContext___errors].val; /* _errors on */ +if (var2 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _errors", "lib/opts.nit", 232); +exit(1); +} +var3 = self->attrs[COLOR_opts__OptionContext___optmap].val; /* _optmap on */ +if (var3 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute _optmap", "lib/opts.nit", 234); +exit(1); +} +} +/* runtime class toolcontext__Message */ +const struct class class_toolcontext__Message = { +0, /* box_kind */ +{ +(nitmethod_t)VIRTUAL_kernel__Object__object_id, /* pointer to toolcontext:Message:kernel#Object#object_id */ +(nitmethod_t)VIRTUAL_kernel__Object__is_same_type, /* pointer to toolcontext:Message:kernel#Object#is_same_type */ +(nitmethod_t)VIRTUAL_kernel__Object___61d_61d, /* pointer to toolcontext:Message:kernel#Object#== */ +(nitmethod_t)VIRTUAL_kernel__Object___33d_61d, /* pointer to toolcontext:Message:kernel#Object#!= */ +(nitmethod_t)VIRTUAL_kernel__Object__output, /* pointer to toolcontext:Message:kernel#Object#output */ +(nitmethod_t)VIRTUAL_kernel__Object__output_class_name, /* pointer to toolcontext:Message:kernel#Object#output_class_name */ +(nitmethod_t)VIRTUAL_kernel__Object__exit, /* pointer to toolcontext:Message:kernel#Object#exit */ +(nitmethod_t)VIRTUAL_kernel__Object__sys, /* pointer to toolcontext:Message:kernel#Object#sys */ +(nitmethod_t)VIRTUAL_kernel__Object__hash, /* pointer to toolcontext:Message:kernel#Object#hash */ +(nitmethod_t)VIRTUAL_toolcontext__Message__to_s, /* pointer to toolcontext:Message:toolcontext#Message#to_s */ +(nitmethod_t)VIRTUAL_string__Object__native_class_name, /* pointer to toolcontext:Message:string#Object#native_class_name */ +(nitmethod_t)VIRTUAL_string__Object__class_name, /* pointer to toolcontext:Message:string#Object#class_name */ +(nitmethod_t)VIRTUAL_string__Object__inspect, /* pointer to toolcontext:Message:string#Object#inspect */ +(nitmethod_t)VIRTUAL_string__Object__inspect_head, /* pointer to toolcontext:Message:string#Object#inspect_head */ +(nitmethod_t)VIRTUAL_string__Object__args, /* pointer to toolcontext:Message:string#Object#args */ +(nitmethod_t)VIRTUAL_math__Object__atan2, /* pointer to toolcontext:Message:math#Object#atan2 */ +(nitmethod_t)VIRTUAL_math__Object__pi, /* pointer to toolcontext:Message:math#Object#pi */ +(nitmethod_t)VIRTUAL_math__Object__srand_from, /* pointer to toolcontext:Message:math#Object#srand_from */ +(nitmethod_t)VIRTUAL_math__Object__srand, /* pointer to toolcontext:Message:math#Object#srand */ +(nitmethod_t)VIRTUAL_stream__Object__poll, /* pointer to toolcontext:Message:stream#Object#poll */ +(nitmethod_t)VIRTUAL_stream__Object__intern_poll, /* pointer to toolcontext:Message:stream#Object#intern_poll */ +(nitmethod_t)VIRTUAL_time__Object__get_time, /* pointer to toolcontext:Message:time#Object#get_time */ +(nitmethod_t)VIRTUAL_file__Object__printn, /* pointer to toolcontext:Message:file#Object#printn */ +(nitmethod_t)VIRTUAL_file__Object__print, /* pointer to toolcontext:Message:file#Object#print */ +(nitmethod_t)VIRTUAL_file__Object__getc, /* pointer to toolcontext:Message:file#Object#getc */ +(nitmethod_t)VIRTUAL_file__Object__gets, /* pointer to toolcontext:Message:file#Object#gets */ +(nitmethod_t)VIRTUAL_file__Object__getcwd, /* pointer to toolcontext:Message:file#Object#getcwd */ +(nitmethod_t)VIRTUAL_file__Object__file_getcwd, /* pointer to toolcontext:Message:file#Object#file_getcwd */ +(nitmethod_t)VIRTUAL_file__Object__stdin, /* pointer to toolcontext:Message:file#Object#stdin */ +(nitmethod_t)VIRTUAL_file__Object__stdout, /* pointer to toolcontext:Message:file#Object#stdout */ +(nitmethod_t)VIRTUAL_file__Object__stderr, /* pointer to toolcontext:Message:file#Object#stderr */ +(nitmethod_t)VIRTUAL_model_base__Object__intrude_visibility, /* pointer to toolcontext:Message:model_base#Object#intrude_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__public_visibility, /* pointer to toolcontext:Message:model_base#Object#public_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__protected_visibility, /* pointer to toolcontext:Message:model_base#Object#protected_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__private_visibility, /* pointer to toolcontext:Message:model_base#Object#private_visibility */ +(nitmethod_t)VIRTUAL_model_base__Object__none_visibility, /* pointer to toolcontext:Message:model_base#Object#none_visibility */ +(nitmethod_t)VIRTUAL_model__Object__abstract_kind, /* pointer to toolcontext:Message:model#Object#abstract_kind */ +(nitmethod_t)VIRTUAL_model__Object__concrete_kind, /* pointer to toolcontext:Message:model#Object#concrete_kind */ +(nitmethod_t)VIRTUAL_model__Object__interface_kind, /* pointer to toolcontext:Message:model#Object#interface_kind */ +(nitmethod_t)VIRTUAL_model__Object__enum_kind, /* pointer to toolcontext:Message:model#Object#enum_kind */ +(nitmethod_t)VIRTUAL_model__Object__extern_kind, /* pointer to toolcontext:Message:model#Object#extern_kind */ +(nitmethod_t)VIRTUAL_toolcontext__Message___60d, /* pointer to toolcontext:Message:toolcontext#Message#< */ +(nitmethod_t)VIRTUAL_kernel__Comparable___60d_61d, /* pointer to toolcontext:Message:kernel#Comparable#<= */ +(nitmethod_t)VIRTUAL_kernel__Comparable___62d_61d, /* pointer to toolcontext:Message:kernel#Comparable#>= */ +(nitmethod_t)VIRTUAL_kernel__Comparable___62d, /* pointer to toolcontext:Message:kernel#Comparable#> */ +(nitmethod_t)VIRTUAL_kernel__Comparable___60d_61d_62d, /* pointer to toolcontext:Message:kernel#Comparable#<=> */ +(nitmethod_t)VIRTUAL_kernel__Comparable__is_between, /* pointer to toolcontext:Message:kernel#Comparable#is_between */ +(nitmethod_t)VIRTUAL_kernel__Comparable__max, /* pointer to toolcontext:Message:kernel#Comparable#max */ +(nitmethod_t)VIRTUAL_kernel__Comparable__min, /* pointer to toolcontext:Message:kernel#Comparable#min */ +(nitmethod_t)VIRTUAL_toolcontext__Message__location, /* pointer to toolcontext:Message:toolcontext#Message#location */ +(nitmethod_t)VIRTUAL_toolcontext__Message__location_61d, /* pointer to toolcontext:Message:toolcontext#Message#location= */ +(nitmethod_t)VIRTUAL_toolcontext__Message__text, /* pointer to toolcontext:Message:toolcontext#Message#text */ +(nitmethod_t)VIRTUAL_toolcontext__Message__text_61d, /* pointer to toolcontext:Message:toolcontext#Message#text= */ +(nitmethod_t)VIRTUAL_toolcontext__Message__to_color_string, /* pointer to toolcontext:Message:toolcontext#Message#to_color_string */ +(nitmethod_t)VIRTUAL_toolcontext__Message__init, /* pointer to toolcontext:Message:toolcontext#Message#init */ +} +}; +/* allocate Message */ +val* NEW_toolcontext__Message(const struct type* type) { +val* self /* : Message */; +self = nit_alloc(sizeof(struct instance) + 2*sizeof(nitattribute_t)); +self->type = type; +self->class = &class_toolcontext__Message; +return self; +} +/* allocate Message */ +void CHECK_NEW_toolcontext__Message(val* self) { +val* var /* : nullable Location */; +val* var1 /* : String */; +var = self->attrs[COLOR_toolcontext__Message___64dlocation].val; /* @location on */ +var1 = self->attrs[COLOR_toolcontext__Message___64dtext].val; /* @text on */ +if (var1 == NULL) { +fprintf(stderr, "Runtime error: %s (%s:%d)\n", "Uninitialized attribute @text", "src/toolcontext.nit", 30); +exit(1); +} +}