X-Git-Url: http://nitlanguage.org diff --git a/c_src/core__ropes.sep.0.h b/c_src/core__ropes.sep.0.h index dbcda4a..9807215 100644 --- a/c_src/core__ropes.sep.0.h +++ b/c_src/core__ropes.sep.0.h @@ -1,56 +1,48 @@ #include "nit.common.h" -#define COLOR_core__ropes__Concat___chars 1 -extern const char FILE_core__ropes[]; val* NEW_core__ropes__RopeChars(const struct type* type); extern const struct type type_core__ropes__RopeChars; #define COLOR_core__abstract_text__StringCharView__target_61d 12 #define COLOR_core__kernel__Object__init 0 -#define COLOR_core__ropes__Concat___bytes 3 -val* NEW_core__ropes__RopeBytes(const struct type* type); -extern const struct type type_core__ropes__RopeBytes; -#define COLOR_core__abstract_text__StringByteView__target_61d 12 -#define COLOR_core__ropes__Concat___length 5 -#define COLOR_core__ropes__Concat___bytelen 6 +#define COLOR_core__ropes__Concat___length 1 +#define COLOR_core__ropes__Concat___byte_length 2 val* NEW_core__ropes__RopeSubstrings(const struct type* type); extern const struct type type_core__ropes__RopeSubstrings; void core__ropes___core__ropes__RopeSubstrings___from(val* self, val* p0, long p1); -val* core__flat___NativeString___to_s_full(char* self, long p0, long p1); -#define COLOR_core__ropes__Concat__lazy_32d_to_cstring 11 -#define COLOR_core__ropes__Concat___to_cstring 10 +val* core__flat___CString___to_s_unsafe(char* self, val* p0, val* p1, val* p2, val* p3); extern const struct type type_core__Int; extern const char FILE_core__kernel[]; val* core__ropes___core__ropes__Concat___core__abstract_text__Text__substrings(val* self); #define COLOR_core__abstract_collection__Iterator__iterator 16 #define COLOR_core__abstract_collection__Iterator__is_ok 12 #define COLOR_core__abstract_collection__Iterator__item 13 -#define COLOR_core__abstract_text__FlatText___bytelen 7 +#define COLOR_core__abstract_text__FlatText___byte_length 5 extern const struct type type_core__FlatString; -#define COLOR_core__abstract_text__FlatText___items 5 -#define COLOR_core__flat__FlatString___first_byte 1 +extern const char FILE_core__ropes[]; +#define COLOR_core__abstract_text__FlatText___items 3 +#define COLOR_core__flat__FlatString___first_byte 6 #define COLOR_core__abstract_collection__Iterator__next 14 #define COLOR_core__abstract_collection__Iterator__finish 15 -#define COLOR_core__ropes__Concat___left 12 -#define COLOR_core__ropes__Concat___right 13 -#define COLOR_core__ropes___core__ropes__Concat___core__kernel__Object__init 101 -#define COLOR_core__abstract_text__Text__length 22 -#define COLOR_core__abstract_text__Text__bytelen 35 -#define COLOR_core__abstract_text__String___43d 76 +#define COLOR_core__ropes__Concat___left 5 +#define COLOR_core__ropes__Concat___right 6 +#define COLOR_core__ropes___core__ropes__Concat___core__kernel__Object__init 113 +#define COLOR_core__abstract_text__Text__length 25 +#define COLOR_core__abstract_text__Text__byte_length 40 +#define COLOR_core__ropes__Concat___flat_last_pos_start 4 +#define COLOR_core__abstract_text__Text___43d 39 long core___core__Int___Discrete__successor(long self, long p0); -#define COLOR_core__ropes__Concat___flat_last_pos_start 8 -#define COLOR_core__ropes__Concat___flat_last_pos_end 9 -#define COLOR_core__ropes__Concat___flat_cache 7 -uint32_t core__flat___FlatText___fetch_char_at(val* self, long p0); +#define COLOR_core__ropes__Concat___flat_cache 3 +#define COLOR_core__abstract_text__FlatText___length 4 +#define COLOR_core__flat__FlatText__fetch_char_at 110 val* core__ropes___core__ropes__Concat___get_leaf_at(val* self, long p0); extern const struct type type_core__ropes__Concat; -#define COLOR_core__abstract_text__FlatText___length 6 -val* core___core__FlatString___substring_impl(val* self, long p0, long p1, long p2); -#define COLOR_core__abstract_text__Text__substring 24 -#define COLOR_core__abstract_text__Text__substring_from 30 +#define COLOR_core__flat__FlatString__substring_impl 118 +#define COLOR_core__abstract_text__Text__substring 28 +#define COLOR_core__abstract_text__Text__substring_from 34 val* NEW_core__ropes__Concat(const struct type* type); -#define COLOR_core__abstract_text__String__to_upper 100 -#define COLOR_core__ropes__Concat__left_61d 86 -#define COLOR_core__ropes__Concat__right_61d 87 -#define COLOR_core__abstract_text__String__to_lower 97 +#define COLOR_core__abstract_text__Text__to_upper 93 +#define COLOR_core__ropes__Concat__left_61d 108 +#define COLOR_core__ropes__Concat__right_61d 109 +#define COLOR_core__abstract_text__Text__to_lower 76 #define COLOR_core__abstract_text__Object__to_s 3 long core__ropes___Sys___maxlen(val* self); val* NEW_core__Array(const struct type* type); @@ -71,71 +63,19 @@ void core___core__AbstractArray___core__abstract_collection__Sequence__push(val* val* core__ropes___core__ropes__Concat___recurse_balance(val* self, val* p0, long p1); val* core___core__Array___core__abstract_collection__SequenceRead___91d_93d(val* self, long p0); void core___core__Array___core__abstract_collection__Sequence___91d_93d_61d(val* self, long p0, val* p1); -#define COLOR_core__ropes__RopeBuffer___chars 3 -val* NEW_core__RopeBufferChars(const struct type* type); -extern const struct type type_core__RopeBufferChars; -#define COLOR_core__ropes__RopeBuffer___bytes 5 -val* NEW_core__RopeBufferBytes(const struct type* type); -extern const struct type type_core__RopeBufferBytes; -#define COLOR_core__ropes__RopeBuffer___str 7 -#define COLOR_core__ropes__RopeBuffer___ns 8 -#define COLOR_core__ropes__RopeBuffer___rpos 9 -#define COLOR_core__ropes__RopeBuffer___dumped 11 -long core__native___Byte___u8len(unsigned char self); -#define COLOR_core__ropes__RopeBuffer___bytelen 12 -#define COLOR_core__ropes__RopeBuffer___buf_size 13 -val* NEW_core__ropes__RopeBufSubstringIterator(const struct type* type); -extern const struct type type_core__ropes__RopeBufSubstringIterator; -void core__ropes___core__ropes__RopeBufSubstringIterator___from(val* self, val* p0); -#define COLOR_core___core__RopeBuffer___core__kernel__Object__init 99 -void core___core__RopeBuffer___core__kernel__Object__init(val* self); -#define COLOR_core__abstract_text__Text___91d_93d 29 -long core___core__NativeString___char_to_byte_index_cached(char* self, long p0, long p1, long p2); -uint32_t core___core__NativeString___char_at(char* self, long p0); -long core___core__RopeBuffer___core__abstract_text__Text__length(val* self); -void core___core__RopeBuffer___core__abstract_text__Buffer__add(val* self, uint32_t p0); -long core__abstract_text___Char___u8char_len(uint32_t self); -val* core__abstract_text___Char___Object__to_s(uint32_t self); -void core__flat___NativeString___set_char_at(char* self, long p0, uint32_t p1); -val* NEW_core__RopeBuffer(const struct type* type); -extern const struct type type_core__RopeBuffer; -val* core___core__RopeBuffer___core__abstract_text__Text__empty(val* self); -void core___core__RopeBuffer___from(val* self, val* p0); -val* core__flat___NativeString___to_s_unsafe(char* self, val* p0); -void core___core__RopeBuffer___persist_buffer(val* self); -extern const struct type type_core__FlatText; -#define COLOR_core__flat__FlatText__first_byte 86 -long core___core__NativeString___find_beginning_of_char_at(char* self, long p0); -void core___core__RopeBuffer___dump_buffer(val* self); -#define COLOR_core__abstract_text__Text__substrings 36 -void core___core__RopeBuffer___core__abstract_text__Buffer__append(val* self, val* p0); -#define COLOR_core__abstract_text__Buffer___written 2 val* NEW_core__FlatString(const struct type* type); -void core___core__FlatString___with_infos(val* self, char* p0, long p1, long p2); -void core___core__FlatString___full(val* self, char* p0, long p1, long p2, long p3); -val* core__ropes___FlatString___core__abstract_text__String___43d(val* self, val* p0); +val* core___core__FlatString___full(val* self, char* p0, long p1, long p2, long p3); +val* core__ropes___FlatString___core__abstract_text__Text___43d(val* self, val* p0); #define COLOR_core__ropes___core__ropes__RopeCharIteratorPiece___core__kernel__Object__init 20 -#define COLOR_core__ropes__RopeByteReverseIterator___ns 0 -#define COLOR_core__ropes__RopeByteReverseIterator___pns 1 -#define COLOR_core__ropes__RopeByteReverseIterator___pos 2 -#define COLOR_core__ropes__RopeByteReverseIterator___subs 3 -val* NEW_core__ropes__ReverseRopeSubstrings(const struct type* type); -extern const struct type type_core__ropes__ReverseRopeSubstrings; -void core__ropes___core__ropes__ReverseRopeSubstrings___from(val* self, val* p0, long p1); -#define COLOR_core__abstract_collection__IndexedIterator__index 18 -unsigned char core__ropes___core__ropes__RopeByteReverseIterator___core__abstract_collection__Iterator__item(val* self); -val* BOX_core__Byte(unsigned char); -long core__flat___FlatText___last_byte(val* self); -#define COLOR_core__ropes__RopeByteIterator___pns 0 -#define COLOR_core__ropes__RopeByteIterator___ns 1 -#define COLOR_core__ropes__RopeByteIterator___subs 2 -#define COLOR_core__ropes__RopeByteIterator___max 3 -#define COLOR_core__ropes__RopeByteIterator___pos 4 -unsigned char core__ropes___core__ropes__RopeByteIterator___core__abstract_collection__Iterator__item(val* self); #define COLOR_core__ropes__RopeCharReverseIterator___ns 0 #define COLOR_core__ropes__RopeCharReverseIterator___pns 1 #define COLOR_core__ropes__RopeCharReverseIterator___pos 2 #define COLOR_core__ropes__RopeCharReverseIterator___subs 3 +val* NEW_core__ropes__ReverseRopeSubstrings(const struct type* type); +extern const struct type type_core__ropes__ReverseRopeSubstrings; +void core__ropes___core__ropes__ReverseRopeSubstrings___from(val* self, val* p0, long p1); +#define COLOR_core__abstract_collection__IndexedIterator__index 18 +#define COLOR_core__abstract_text__Text___91d_93d 31 uint32_t core__ropes___core__ropes__RopeCharReverseIterator___core__abstract_collection__Iterator__item(val* self); #define COLOR_core__ropes__RopeCharIterator___pns 0 #define COLOR_core__ropes__RopeCharIterator___str 1 @@ -147,10 +87,6 @@ uint32_t core__ropes___core__ropes__RopeCharIterator___core__abstract_collection #define COLOR_core__ropes__ReverseRopeSubstrings___pos 1 #define COLOR_core__ropes__ReverseRopeSubstrings___str 2 #define COLOR_core__kernel__Object___61d_61d 4 -#define COLOR_core__ropes__RopeBufSubstringIterator___iter 0 -#define COLOR_core__ropes__RopeBufSubstringIterator___nsstr 1 -#define COLOR_core__ropes__RopeBufSubstringIterator___nsstr_done 2 -short int core__ropes___core__ropes__RopeBufSubstringIterator___core__abstract_collection__Iterator__is_ok(val* self); #define COLOR_core__ropes__RopeSubstrings___iter 0 #define COLOR_core__ropes__RopeSubstrings___pos 1 #define COLOR_core__ropes__RopeSubstrings___max 2 @@ -165,53 +101,3 @@ void core__ropes___core__ropes__RopeCharIterator___from(val* self, val* p0, long val* NEW_core__ropes__RopeCharReverseIterator(const struct type* type); extern const struct type type_core__ropes__RopeCharReverseIterator; void core__ropes___core__ropes__RopeCharReverseIterator___from(val* self, val* p0, long p1); -#define COLOR_core__abstract_text__StringByteView___target 0 -unsigned char core__ropes___core__ropes__RopeBytes___core__abstract_collection__SequenceRead___91d_93d(val* self, long p0); -val* NEW_core__ropes__RopeByteIterator(const struct type* type); -extern const struct type type_core__ropes__RopeByteIterator; -void core__ropes___core__ropes__RopeByteIterator___from(val* self, val* p0, long p1); -val* NEW_core__ropes__RopeByteReverseIterator(const struct type* type); -extern const struct type type_core__ropes__RopeByteReverseIterator; -void core__ropes___core__ropes__RopeByteReverseIterator___from(val* self, val* p0, long p1); -#define COLOR_core__ropes__RopeBufferCharIterator___sit 0 -#define COLOR_core__abstract_text__Text__chars 23 -#define COLOR_core__abstract_collection__SequenceRead__iterator_from 30 -short int core___core__RopeBufferCharIterator___core__abstract_collection__Iterator__is_ok(val* self); -uint32_t core___core__RopeBufferCharIterator___core__abstract_collection__Iterator__item(val* self); -#define COLOR_core__ropes__RopeBufferCharReverseIterator___sit 0 -#define COLOR_core__abstract_collection__SequenceRead__reverse_iterator_from 37 -short int core___core__RopeBufferCharReverseIterator___core__abstract_collection__Iterator__is_ok(val* self); -uint32_t core___core__RopeBufferCharReverseIterator___core__abstract_collection__Iterator__item(val* self); -uint32_t core___core__RopeBuffer___core__abstract_text__Text___91d_93d(val* self, long p0); -uint32_t core___core__RopeBufferChars___core__abstract_collection__SequenceRead___91d_93d(val* self, long p0); -extern const struct type type_core__Char; -void core___core__RopeBuffer___core__abstract_text__Buffer___91d_93d_61d(val* self, long p0, uint32_t p1); -void core___core__RopeBufferChars___core__abstract_collection__Sequence___91d_93d_61d(val* self, long p0, uint32_t p1); -void core___core__RopeBufferChars___core__abstract_collection__SimpleCollection__add(val* self, uint32_t p0); -void core___core__RopeBufferChars___core__abstract_collection__Sequence__push(val* self, uint32_t p0); -val* NEW_core__RopeBufferCharIterator(const struct type* type); -extern const struct type type_core__RopeBufferCharIterator; -void core___core__RopeBufferCharIterator___from(val* self, val* p0, long p1); -val* NEW_core__RopeBufferCharReverseIterator(const struct type* type); -extern const struct type type_core__RopeBufferCharReverseIterator; -void core___core__RopeBufferCharReverseIterator___from(val* self, val* p0, long p1); -#define COLOR_core__ropes__RopeBufferByteIterator___sit 0 -#define COLOR_core__ropes__RopeBufferByteIterator___ns 1 -#define COLOR_core__ropes__RopeBufferByteIterator___pns 2 -#define COLOR_core__ropes__RopeBufferByteIterator___maxpos 3 -#define COLOR_core__ropes__RopeBufferByteIterator___index 4 -#define COLOR_core__abstract_text__Text__bytes 71 -unsigned char core___core__RopeBufferByteIterator___core__abstract_collection__Iterator__item(val* self); -#define COLOR_core__ropes__RopeBufferByteReverseIterator___sit 0 -#define COLOR_core__ropes__RopeBufferByteReverseIterator___ns 1 -#define COLOR_core__ropes__RopeBufferByteReverseIterator___pns 2 -#define COLOR_core__ropes__RopeBufferByteReverseIterator___index 3 -unsigned char core___core__RopeBufferByteReverseIterator___core__abstract_collection__Iterator__item(val* self); -#define COLOR_core__abstract_collection__SequenceRead___91d_93d 29 -unsigned char core___core__RopeBufferBytes___core__abstract_collection__SequenceRead___91d_93d(val* self, long p0); -val* NEW_core__RopeBufferByteIterator(const struct type* type); -extern const struct type type_core__RopeBufferByteIterator; -void core___core__RopeBufferByteIterator___from(val* self, val* p0, long p1); -val* NEW_core__RopeBufferByteReverseIterator(const struct type* type); -extern const struct type type_core__RopeBufferByteReverseIterator; -void core___core__RopeBufferByteReverseIterator___from(val* self, val* p0, long p1);