TreeBuffer

class TreeBuffer(val buffer: IntArray, val length: Int, val set: NodeSet)

Tree buffers contain (type, start, end, endIndex) quads for each node. In such a buffer, nodes are stored in prefix order (parents before children, with the endIndex of the parent indicating which children belong to it).

Constructors

Link copied to clipboard
constructor(buffer: IntArray, length: Int, set: NodeSet)

Properties

Link copied to clipboard

The buffer's content.

Link copied to clipboard
val length: Int

The total length of the group of nodes in the buffer.

Link copied to clipboard

The node set used in this buffer.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String