RopeNode

Undocumented in source.

Constructors

this
this(const(char)[] text)

Create a leaf node from a slice

this
this(Rope left, Rope right)

Create a node from two other node; Concatenate the two other nodes. Both must not be null.

Members

Functions

isLeaf
bool isLeaf()

True if this is a leaf node and contains text rather than child nodes.

length
size_t length()

Get length of this node.

Variables

left
Rope left;

Left child of this node.

right
Rope right;

Right child of this node.

value
const(char)[] value;

Direct content of the node, if a leaf node.

Meta