1 #include "nit.common.h"
2 #define COLOR_standard__ropes__RopeString___chars 1
3 extern const char FILE_standard__ropes
[];
4 val
* NEW_standard__ropes__RopeChars(const struct type
* type
);
5 extern const struct type type_standard__ropes__RopeChars
;
6 #define COLOR_standard__string__StringCharView__target_61d 16
7 #define COLOR_standard__kernel__Object__init 0
8 #define COLOR_standard__ropes__Concat___length 3
9 val
* NEW_standard__ropes__RopeSubstrings(const struct type
* type
);
10 extern const struct type type_standard__ropes__RopeSubstrings
;
11 void standard__ropes___standard__ropes__RopeSubstrings___init(val
* self
, val
* p0
);
12 val
* standard___standard__NativeString___to_s_with_length(char* self
, long p0
);
13 #define COLOR_standard__ropes__Concat__lazy_32d_to_cstring 5
14 #define COLOR_standard__ropes__Concat___to_cstring 4
15 extern const struct type type_standard__Int
;
16 extern const char FILE_standard__kernel
[];
17 val
* standard__ropes___standard__ropes__Concat___standard__string__Text__substrings(val
* self
);
18 #define COLOR_standard__abstract_collection__Iterator__iterator 20
19 #define COLOR_standard__abstract_collection__Iterator__is_ok 16
20 #define COLOR_standard__abstract_collection__Iterator__item 17
21 #define COLOR_standard__string__FlatText___length 3
22 extern const struct type type_standard__FlatString
;
23 #define COLOR_standard__string__FlatText___items 1
24 #define COLOR_standard__string__FlatString___index_from 4
25 #define COLOR_standard__abstract_collection__Iterator__next 18
26 #define COLOR_standard__abstract_collection__Iterator__finish 19
27 #define COLOR_standard__ropes__Concat___left 6
28 #define COLOR_standard__ropes__Concat___right 7
29 #define COLOR_standard__ropes___standard__ropes__Concat___standard__kernel__Object__init 84
30 #define COLOR_standard__string__Text__length 26
31 #define COLOR_standard__string__String___43d 71
32 long standard___standard__Int___Discrete__successor(long self
, long p0
);
33 #define COLOR_standard__string__Text___91d_93d 44
34 #define COLOR_standard__string__Text__substring 28
35 val
* standard___standard__Text___substring_from(val
* self
, long p0
);
36 val
* NEW_standard__ropes__Concat(const struct type
* type
);
37 extern const struct type type_standard__ropes__Concat
;
38 #define COLOR_standard__string__String__to_upper 78
39 #define COLOR_standard__ropes__Concat__left_61d 61
40 #define COLOR_standard__ropes__Concat__right_61d 62
41 #define COLOR_standard__string__String__to_lower 81
42 #define COLOR_standard__string__Object__to_s 3
43 long standard__ropes___Sys___maxlen(val
* self
);
44 #define COLOR_standard__ropes__RopeBuffer___chars 1
45 val
* NEW_standard__RopeBufferChars(const struct type
* type
);
46 extern const struct type type_standard__RopeBufferChars
;
47 #define COLOR_standard__ropes__RopeBuffer___str 3
48 #define COLOR_standard__ropes__RopeBuffer___ns 6
49 #define COLOR_standard__ropes__RopeBuffer___rpos 7
50 #define COLOR_standard__ropes__RopeBuffer___dumped 8
51 #define COLOR_standard__ropes__RopeBuffer___length 9
52 #define COLOR_standard__ropes__RopeBuffer___buf_size 10
53 val
* NEW_standard__ropes__RopeBufSubstringIterator(const struct type
* type
);
54 extern const struct type type_standard__ropes__RopeBufSubstringIterator
;
55 void standard__ropes___standard__ropes__RopeBufSubstringIterator___init(val
* self
, val
* p0
);
56 #define COLOR_standard___standard__RopeBuffer___standard__kernel__Object__init 83
57 void standard___standard__RopeBuffer___standard__kernel__Object__init(val
* self
);
58 val
* NEW_standard__RopeBuffer(const struct type
* type
);
59 extern const struct type type_standard__RopeBuffer
;
60 val
* standard___standard__RopeBuffer___standard__string__Text__empty(val
* self
);
61 void standard___standard__RopeBuffer___from(val
* self
, val
* p0
);
62 extern const struct type type_standard__ropes__Rope
;
63 val
* NEW_standard__FlatString(const struct type
* type
);
64 void standard___standard__FlatString___with_infos(val
* self
, char* p0
, long p1
, long p2
, long p3
);
65 extern const struct type type_standard__FlatBuffer
;
66 #define COLOR_standard__string__Text__chars 27
67 #define COLOR_standard__abstract_collection__Collection__iterator 25
68 void standard___standard__RopeBuffer___dump_buffer(val
* self
);
69 #define COLOR_standard__string__Buffer___written 5
70 val
* standard__ropes___FlatString___standard__string__String___43d(val
* self
, val
* p0
);
71 #define COLOR_standard__ropes__RopeIterPiece___node 0
72 #define COLOR_standard__ropes__RopeIterPiece___ldone 1
73 #define COLOR_standard__ropes__RopeIterPiece___rdone 2
74 #define COLOR_standard__ropes__RopeIterPiece___prev 3
75 #define COLOR_standard__ropes___standard__ropes__RopeIterPiece___standard__kernel__Object__init 24
76 #define COLOR_standard__ropes__RopeIter___pns 0
77 #define COLOR_standard__ropes__RopeIter___str 1
78 #define COLOR_standard__ropes__RopeIter___subs 2
79 #define COLOR_standard__ropes__RopeIter___max 3
80 #define COLOR_standard__ropes__RopeIter___pos 4
81 void standard__ropes___standard__ropes__RopeSubstrings___from(val
* self
, val
* p0
, long p1
);
82 #define COLOR_standard__abstract_collection__IndexedIterator__index 22
83 uint32_t standard__ropes___standard__ropes__RopeIter___standard__abstract_collection__Iterator__item(val
* self
);
84 #define COLOR_standard__ropes__RopeBufSubstringIterator___iter 0
85 #define COLOR_standard__ropes__RopeBufSubstringIterator___nsstr 1
86 #define COLOR_standard__ropes__RopeBufSubstringIterator___nsstr_done 2
87 #define COLOR_standard__string__Text__substrings 29
88 short int standard__ropes___standard__ropes__RopeBufSubstringIterator___standard__abstract_collection__Iterator__is_ok(val
* self
);
89 #define COLOR_standard__ropes__RopeSubstrings___iter 0
90 #define COLOR_standard__ropes__RopeSubstrings___pos 1
91 #define COLOR_standard__ropes__RopeSubstrings___max 2
92 #define COLOR_standard__ropes__RopeSubstrings___str 3
93 val
* NEW_standard__ropes__RopeIterPiece(const struct type
* type
);
94 extern const struct type type_standard__ropes__RopeIterPiece
;
95 #define COLOR_standard__ropes__RopeIterPiece__node_61d 21
96 #define COLOR_standard__ropes__RopeIterPiece__ldone_61d 18
97 #define COLOR_standard__ropes__RopeIterPiece__rdone_61d 19
98 #define COLOR_standard__ropes__RopeIterPiece__prev_61d 22
99 #define COLOR_standard__string__StringCharView___target 0
100 extern const char FILE_standard__string
[];
101 uint32_t standard__ropes___standard__ropes__Concat___standard__string__Text___91d_93d(val
* self
, long p0
);
102 uint32_t standard__ropes___standard__ropes__RopeChars___standard__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
103 val
* NEW_standard__ropes__RopeIter(const struct type
* type
);
104 extern const struct type type_standard__ropes__RopeIter
;
105 void standard__ropes___standard__ropes__RopeIter___from(val
* self
, val
* p0
, long p1
);
106 #define COLOR_standard__ropes__RopeBufferIter___sit 0
107 #define COLOR_standard__ropes__RopeBufferIter___ns 1
108 #define COLOR_standard__ropes__RopeBufferIter___pns 2
109 #define COLOR_standard__ropes__RopeBufferIter___maxpos 3
110 #define COLOR_standard__ropes__RopeBufferIter___index 4
111 #define COLOR_standard__abstract_collection__SequenceRead__iterator_from 32
112 uint32_t standard___standard__RopeBufferIter___standard__abstract_collection__Iterator__item(val
* self
);
113 uint32_t standard___standard__RopeBufferChars___standard__abstract_collection__SequenceRead___91d_93d(val
* self
, long p0
);
114 extern const struct type type_standard__Char
;
115 void standard___standard__RopeBuffer___standard__string__Buffer__add(val
* self
, uint32_t p0
);
116 val
* standard__string___Char___Object__to_s(uint32_t self
);
117 void standard___standard__RopeBufferChars___standard__abstract_collection__Sequence___91d_93d_61d(val
* self
, long p0
, uint32_t p1
);
118 void standard___standard__RopeBufferChars___standard__abstract_collection__SimpleCollection__add(val
* self
, uint32_t p0
);
119 void standard___standard__RopeBufferChars___standard__abstract_collection__Sequence__push(val
* self
, uint32_t p0
);
120 val
* NEW_standard__RopeBufferIter(const struct type
* type
);
121 extern const struct type type_standard__RopeBufferIter
;
122 void standard___standard__RopeBufferIter___from(val
* self
, val
* p0
, long p1
);