1 #include "nit.common.h"
2 val
* NEW_core__ropes__RopeChars(const struct type
* type
);
3 extern const struct type type_core__ropes__RopeChars
;
4 #define COLOR_core__abstract_text__StringCharView__target_61d 12
5 #define COLOR_core__kernel__Object__init 0
6 #define COLOR_core__ropes__Concat___length 1
7 #define COLOR_core__ropes__Concat___byte_length 2
8 val
* NEW_core__ropes__RopeSubstrings(const struct type
* type
);
9 extern const struct type type_core__ropes__RopeSubstrings
;
10 void core__ropes___core__ropes__RopeSubstrings___from(val
* self
, val
* p0
, long p1
);
11 val
* core__flat___CString___to_s_unsafe(char* self
, val
* p0
, val
* p1
, val
* p2
, val
* p3
);
12 extern const struct type type_core__Int
;
13 extern const char FILE_core__kernel
[];
14 val
* core__ropes___core__ropes__Concat___core__abstract_text__Text__substrings(val
* self
);
15 #define COLOR_core__abstract_collection__Iterator__iterator 16
16 #define COLOR_core__abstract_collection__Iterator__is_ok 12
17 #define COLOR_core__abstract_collection__Iterator__item 13
18 #define COLOR_core__abstract_text__FlatText___byte_length 5
19 extern const struct type type_core__FlatString
;
20 extern const char FILE_core__ropes
[];
21 #define COLOR_core__abstract_text__FlatText___items 3
22 #define COLOR_core__flat__FlatString___first_byte 6
23 #define COLOR_core__abstract_collection__Iterator__next 14
24 #define COLOR_core__abstract_collection__Iterator__finish 15
25 #define COLOR_core__ropes__Concat___left 5
26 #define COLOR_core__ropes__Concat___right 6
27 #define COLOR_core__ropes___core__ropes__Concat___core__kernel__Object__init 113
28 #define COLOR_core__abstract_text__Text__length 25
29 #define COLOR_core__abstract_text__Text__byte_length 40
30 #define COLOR_core__ropes__Concat___flat_last_pos_start 4
31 #define COLOR_core__abstract_text__Text___43d 39
32 long core___core__Int___Discrete__successor(long self
, long p0
);
33 #define COLOR_core__ropes__Concat___flat_cache 3
34 #define COLOR_core__abstract_text__FlatText___length 4
35 #define COLOR_core__flat__FlatText__fetch_char_at 110
36 val
* core__ropes___core__ropes__Concat___get_leaf_at(val
* self
, long p0
);
37 extern const struct type type_core__ropes__Concat
;
38 #define COLOR_core__flat__FlatString__substring_impl 118
39 #define COLOR_core__abstract_text__Text__substring 28
40 #define COLOR_core__abstract_text__Text__substring_from 34
41 val
* NEW_core__ropes__Concat(const struct type
* type
);
42 #define COLOR_core__abstract_text__Text__to_upper 93
43 #define COLOR_core__ropes__Concat__left_61d 108
44 #define COLOR_core__ropes__Concat__right_61d 109
45 #define COLOR_core__abstract_text__Text__to_lower 76
46 #define COLOR_core__abstract_text__Object__to_s 3
47 long core__ropes___Sys___maxlen(val
* self
);
48 val
* NEW_core__Array(const struct type
* type
);
49 extern const struct type type_core__Array__core__String
;
50 void core___core__Array___core__kernel__Object__init(val
* self
);
51 val
* NEW_core__ropes__RopeCharIteratorPiece(const struct type
* type
);
52 extern const struct type type_core__ropes__RopeCharIteratorPiece
;
53 #define COLOR_core__ropes__RopeCharIteratorPiece__node_61d 17
54 #define COLOR_core__ropes__RopeCharIteratorPiece__ldone_61d 14
55 #define COLOR_core__ropes__RopeCharIteratorPiece__rdone_61d 15
56 #define COLOR_core__ropes__RopeCharIteratorPiece__prev_61d 18
57 #define COLOR_core__ropes__RopeCharIteratorPiece___node 0
58 void core___core__AbstractArray___core__abstract_collection__Sequence__push(val
* self
, val
* p0
);
59 #define COLOR_core__ropes__RopeCharIteratorPiece___prev 3
60 #define COLOR_core__ropes__RopeCharIteratorPiece___ldone 1
61 #define COLOR_core__ropes__RopeCharIteratorPiece___rdone 2
62 #define COLOR_core__array__AbstractArrayRead___length 0
63 val
* core__ropes___core__ropes__Concat___recurse_balance(val
* self
, val
* p0
, long p1
);
64 val
* core___core__Array___core__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
65 void core___core__Array___core__abstract_collection__Sequence___91d_93d_61d(val
* self
, long p0
, val
* p1
);
66 val
* NEW_core__FlatString(const struct type
* type
);
67 val
* core___core__FlatString___full(val
* self
, char* p0
, long p1
, long p2
, long p3
);
68 val
* core__ropes___FlatString___core__abstract_text__Text___43d(val
* self
, val
* p0
);
69 #define COLOR_core__ropes___core__ropes__RopeCharIteratorPiece___core__kernel__Object__init 20
70 #define COLOR_core__ropes__RopeCharReverseIterator___ns 0
71 #define COLOR_core__ropes__RopeCharReverseIterator___pns 1
72 #define COLOR_core__ropes__RopeCharReverseIterator___pos 2
73 #define COLOR_core__ropes__RopeCharReverseIterator___subs 3
74 val
* NEW_core__ropes__ReverseRopeSubstrings(const struct type
* type
);
75 extern const struct type type_core__ropes__ReverseRopeSubstrings
;
76 void core__ropes___core__ropes__ReverseRopeSubstrings___from(val
* self
, val
* p0
, long p1
);
77 #define COLOR_core__abstract_collection__IndexedIterator__index 18
78 #define COLOR_core__abstract_text__Text___91d_93d 31
79 uint32_t core__ropes___core__ropes__RopeCharReverseIterator___core__abstract_collection__Iterator__item(val
* self
);
80 #define COLOR_core__ropes__RopeCharIterator___pns 0
81 #define COLOR_core__ropes__RopeCharIterator___str 1
82 #define COLOR_core__ropes__RopeCharIterator___subs 2
83 #define COLOR_core__ropes__RopeCharIterator___max 3
84 #define COLOR_core__ropes__RopeCharIterator___pos 4
85 uint32_t core__ropes___core__ropes__RopeCharIterator___core__abstract_collection__Iterator__item(val
* self
);
86 #define COLOR_core__ropes__ReverseRopeSubstrings___iter 0
87 #define COLOR_core__ropes__ReverseRopeSubstrings___pos 1
88 #define COLOR_core__ropes__ReverseRopeSubstrings___str 2
89 #define COLOR_core__kernel__Object___61d_61d 4
90 #define COLOR_core__ropes__RopeSubstrings___iter 0
91 #define COLOR_core__ropes__RopeSubstrings___pos 1
92 #define COLOR_core__ropes__RopeSubstrings___max 2
93 #define COLOR_core__ropes__RopeSubstrings___str 3
94 #define COLOR_core__abstract_text__StringCharView___target 0
95 extern const char FILE_core__abstract_text
[];
96 uint32_t core__ropes___core__ropes__Concat___core__abstract_text__Text___91d_93d(val
* self
, long p0
);
97 uint32_t core__ropes___core__ropes__RopeChars___core__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
98 val
* NEW_core__ropes__RopeCharIterator(const struct type
* type
);
99 extern const struct type type_core__ropes__RopeCharIterator
;
100 void core__ropes___core__ropes__RopeCharIterator___from(val
* self
, val
* p0
, long p1
);
101 val
* NEW_core__ropes__RopeCharReverseIterator(const struct type
* type
);
102 extern const struct type type_core__ropes__RopeCharReverseIterator
;
103 void core__ropes___core__ropes__RopeCharReverseIterator___from(val
* self
, val
* p0
, long p1
);