redef type OTHER: Text
+ # Type of the view on self (.chars)
+ type SELFVIEW: StringCharView
+
+ # Type of self (used for factorization of several methods, ex : substring_from, empty...)
+ type SELFTYPE: Text
+
# Gets a view on the chars of the Text object
fun chars: StringCharView is abstract
super FlatText
super StringCapable
+ redef type SELFTYPE: String
+ redef type SELFVIEW: FlatStringCharView
+
# Index in _items of the start of the string
private var index_from: Int
abstract class Buffer
super Text
+ redef type SELFVIEW: BufferCharView
+ redef type SELFTYPE: Buffer
+
# Modifies the char contained at pos `index`
#
# DEPRECATED : Use self.chars.[]= instead
super StringCapable
super Buffer
+ redef type SELFVIEW: FlatBufferCharView
+ redef type SELFTYPE: FlatBuffer
+
redef var chars: FlatBufferCharView = new FlatBufferCharView(self)
var capacity: Int