X-Git-Url: http://nitlanguage.org diff --git a/c_src/string.sep.0.h b/c_src/string.sep.0.h index 3f85932..dbbdf75 100644 --- a/c_src/string.sep.0.h +++ b/c_src/string.sep.0.h @@ -1,13 +1,15 @@ #include "nit.common.h" extern const int COLOR_string__AbstractString___items; char* string__AbstractString__items(val* self); +val* string__AbstractString__chars(val* self); char string__AbstractString___91d_93d(val* self, long p0); +val* BOX_kernel__Char(char); extern const struct type type_kernel__Int; extern const int COLOR_abstract_collection__Collection__length; val* NEW_string__Buffer(const struct type* type); extern const struct type type_string__Buffer; extern const int COLOR_string__Buffer__with_capacity; -void CHECK_NEW_string__Buffer(val*); +extern const int COLOR_string__AbstractString__chars; extern const int COLOR_abstract_collection__Sequence__push; extern const int COLOR_string__Object__to_s; val* string__NativeString__to_s_with_length(char* self, long p0); @@ -38,7 +40,6 @@ extern const int COLOR_abstract_collection__SimpleCollection__add; val* string__AbstractString__to_upper(val* self); char kernel__Char__to_lower(char self); val* string__AbstractString__to_lower(val* self); -extern const int COLOR_array__AbstractArrayRead___length; extern const int COLOR_abstract_collection__SequenceRead___91d_93d; val* string__Char__to_s(char self); val* string__AbstractString__trim(val* self); @@ -54,7 +55,6 @@ extern const struct type type_array__Arraykernel__Object; val* NEW_array__NativeArray(int length, const struct type* type); extern const struct type type_array__NativeArraykernel__Object; extern const int COLOR_array__Array__with_native; -void CHECK_NEW_array__Array(val*); val* string__AbstractString__escape_to_c(val* self); extern const int COLOR_string__AbstractString__escape_to_c; extern const int COLOR_abstract_collection__Collection__has; @@ -64,15 +64,29 @@ val* string__AbstractString__escape_to_nit(val* self); val* string__AbstractString__unescape_nit(val* self); extern const int COLOR_array__AbstractArrayRead__init; void string__AbstractString__init(val* self); +extern const int COLOR_string__StringCharView___64dtarget; +val* string__StringCharView__target(val* self); +extern const int COLOR_string__StringCharView_VTSELFTYPE; +void string__StringCharView__target_61d(val* self, val* p0); +extern const int COLOR_string__StringCharView__target_61d; +void string__StringCharView__init(val* self, val* p0); +extern const int COLOR_string__StringCharView__target; +extern const int COLOR_abstract_collection__Collection__is_empty; +short int string__StringCharView__is_empty(val* self); +long string__StringCharView__length(val* self); +short int string__StringCharView__has(val* self, char p0); long string__String__index_from(val* self); extern const int COLOR_string__String___index_to; long string__String__index_to(val* self); +extern const int COLOR_string__String___64dchars; +val* string__String__chars(val* self); +void string__String__chars_61d(val* self, val* p0); char string__String___91d_93d(val* self, long p0); val* NEW_string__String(const struct type* type); extern const struct type type_string__String; -extern const int COLOR_string__String__from_substring; -void CHECK_NEW_string__String(val*); +extern const int COLOR_string__String__with_infos; val* string__String__substring(val* self, long p0, long p1); +extern const int COLOR_array__AbstractArrayRead___length; val* string__String__substring_from(val* self, long p0); extern const int COLOR_string__String__index_from; short int string__String__has_substring(val* self, val* p0, long p1); @@ -82,7 +96,6 @@ val* string__String__to_lower(val* self); val* string__String__trim(val* self); void string__String__output(val* self); extern const int COLOR_string__AbstractString__init; -void string__String__from_substring(val* self, long p0, long p1, char* p2); void string__String__with_infos(val* self, char* p0, long p1, long p2, long p3); extern const int COLOR_string__AbstractString__items; long string__NativeString__cstring_length(char* self); @@ -94,11 +107,40 @@ short int string__String___60d(val* self, val* p0); val* string__String___43d(val* self, val* p0); val* NEW_range__Range(const struct type* type); extern const struct type type_range__Rangekernel__Int; +val* BOX_kernel__Int(long); extern const int COLOR_range__Range__init; -void CHECK_NEW_range__Range(val*); val* string__String___42d(val* self, long p0); val* string__String__to_s(val* self); long string__String__hash(val* self); +extern const int COLOR_string__FlatStringIterator___64dtarget; +val* string__FlatStringIterator__target(val* self); +void string__FlatStringIterator__target_61d(val* self, val* p0); +extern const int COLOR_string__FlatStringIterator___64dtarget_items; +char* string__FlatStringIterator__target_items(val* self); +void string__FlatStringIterator__target_items_61d(val* self, char* p0); +extern const int COLOR_string__FlatStringIterator___64dcurr_pos; +long string__FlatStringIterator__curr_pos(val* self); +void string__FlatStringIterator__curr_pos_61d(val* self, long p0); +extern const int COLOR_string__FlatStringIterator__target_61d; +extern const int COLOR_string__FlatStringIterator__target_items_61d; +extern const int COLOR_string__FlatStringIterator__target; +extern const int COLOR_string__FlatStringIterator__curr_pos_61d; +void string__FlatStringIterator__with_pos(val* self, val* p0, long p1); +extern const int COLOR_string__FlatStringIterator__curr_pos; +extern const int COLOR_string__String__index_to; +short int string__FlatStringIterator__is_ok(val* self); +extern const int COLOR_string__FlatStringIterator__target_items; +char string__FlatStringIterator__item(val* self); +void string__FlatStringIterator__next(val* self); +long string__FlatStringIterator__index(val* self); +char string__FlatStringCharView___91d_93d(val* self, long p0); +val* NEW_string__FlatStringIterator(const struct type* type); +extern const struct type type_string__FlatStringIterator; +extern const int COLOR_string__FlatStringIterator__with_pos; +val* string__FlatStringCharView__iterator(val* self); +extern const int COLOR_string__Buffer___64dchars; +val* string__Buffer__chars(val* self); +void string__Buffer__chars_61d(val* self, val* p0); void string__Buffer___91d_93d_61d(val* self, long p0, char p1); extern const int COLOR_string__Buffer___capacity; extern const int COLOR_array__AbstractArray__enlarge; @@ -114,6 +156,38 @@ void string__Buffer__from(val* self, val* p0); void string__Buffer__with_capacity(val* self, long p0); short int string__Buffer___61d_61d(val* self, val* p0); long string__Buffer__capacity(val* self); +char string__FlatBufferCharView___91d_93d(val* self, long p0); +void string__FlatBufferCharView___91d_93d_61d(val* self, long p0, char p1); +void string__FlatBufferCharView__push(val* self, char p0); +void string__FlatBufferCharView__add(val* self, char p0); +void string__FlatBufferCharView__enlarge(val* self, long p0); +extern const int COLOR_string__Buffer__capacity; +extern const int COLOR_string__FlatBufferCharView__enlarge; +void string__FlatBufferCharView__append(val* self, val* p0); +val* NEW_string__FlatBufferIterator(const struct type* type); +extern const struct type type_string__FlatBufferIterator; +extern const int COLOR_string__FlatBufferIterator__with_pos; +val* string__FlatBufferCharView__iterator(val* self); +extern const int COLOR_string__FlatBufferIterator___64dtarget; +val* string__FlatBufferIterator__target(val* self); +void string__FlatBufferIterator__target_61d(val* self, val* p0); +extern const int COLOR_string__FlatBufferIterator___64dtarget_items; +char* string__FlatBufferIterator__target_items(val* self); +void string__FlatBufferIterator__target_items_61d(val* self, char* p0); +extern const int COLOR_string__FlatBufferIterator___64dcurr_pos; +long string__FlatBufferIterator__curr_pos(val* self); +void string__FlatBufferIterator__curr_pos_61d(val* self, long p0); +extern const int COLOR_string__FlatBufferIterator__target_61d; +extern const int COLOR_string__FlatBufferIterator__target_items_61d; +extern const int COLOR_string__FlatBufferIterator__curr_pos_61d; +void string__FlatBufferIterator__with_pos(val* self, val* p0, long p1); +extern const int COLOR_string__FlatBufferIterator__curr_pos; +long string__FlatBufferIterator__index(val* self); +extern const int COLOR_string__FlatBufferIterator__target; +short int string__FlatBufferIterator__is_ok(val* self); +extern const int COLOR_string__FlatBufferIterator__target_items; +char string__FlatBufferIterator__item(val* self); +void string__FlatBufferIterator__next(val* self); extern const int COLOR_string__Object__inspect; val* string__Object__to_s(val* self); extern const int COLOR_string__Object__native_class_name; @@ -138,14 +212,17 @@ char* string__Int__native_int_to_s(long self, long p0); extern const int COLOR_string__String___42d; extern const int COLOR_string__Buffer__from; val* string__Float__to_precision(double self, long p0); +long math__Float__is_inf(double self); +short int math__Float__is_nan(double self); val* string__Float__to_s(double self); extern const int COLOR_range__Range__without_last; +extern const struct type type_kernel__Float; extern const int COLOR_string__String___43d; +struct nitni_instance * string___Float_to_precision_native___impl( double recv, int nb ); val* string__Float__to_precision_native(double self, long p0); short int string__Char__is_alpha(char self); short int string__Char__is_alphanumeric(char self); val* string__Collection__to_s(val* self); -extern const int COLOR_abstract_collection__Collection__is_empty; val* string__Collection__join(val* self, val* p0); val* string__Array__to_s(val* self); extern const int COLOR_abstract_collection__MapRead__is_empty; @@ -155,7 +232,7 @@ extern const int COLOR_abstract_collection__MapIterator__item; extern const int COLOR_abstract_collection__MapIterator__next; extern const int COLOR_abstract_collection__MapIterator__is_ok; val* string__Map__join(val* self, val* p0, val* p1); -extern const int COLOR_string__String__with_infos; +val* BOX_string__NativeString(char*); val* string__NativeString__to_s_with_copy(char* self); void string__NativeString__init(char* self); extern const int COLOR_string__Sys___args_cache; @@ -166,3 +243,21 @@ val* string__Sys__program_name(val* self); extern const int COLOR_string__Sys__native_argc; extern const struct type type_array__Arraystring__String; void string__Sys__init_args(val* self); +extern const int COLOR_string__CachedAlphaComparator___64dcache; +val* string__CachedAlphaComparator__cache(val* self); +void string__CachedAlphaComparator__cache_61d(val* self, val* p0); +extern const int COLOR_string__CachedAlphaComparator__cache; +extern const int COLOR_abstract_collection__MapRead__has_key; +extern const int COLOR_abstract_collection__MapRead___91d_93d; +extern const int COLOR_abstract_collection__Map___91d_93d_61d; +val* string__CachedAlphaComparator__do_to_s(val* self, val* p0); +extern const int COLOR_string__CachedAlphaComparator__do_to_s; +extern const int COLOR_kernel__Comparable___60d_61d_62d; +long string__CachedAlphaComparator__compare(val* self, val* p0, val* p1); +void string__CachedAlphaComparator__init(val* self); +long string__AlphaComparator__compare(val* self, val* p0, val* p1); +void string__AlphaComparator__init(val* self); +val* NEW_string__AlphaComparator(const struct type* type); +extern const struct type type_string__AlphaComparator; +extern const int COLOR_string__AlphaComparator__init; +val* string__Object__alpha_comparator(val* self);