Next: , Previous: , Up: rope transpose API   [Contents][Index]


2.12.2 Getters and setters

Procedure: rope-transpose-node rope-transpose

The getter for the current node in rope-transpose.

Procedure: set-rope-transpose-node rope-transpose new-node

The setter for the current node in rope-transpose. Returns a new <rope-transpose> with the node field of rope-transpose replaced by new-node.

Procedure: rope-transpose-parent rope-transpose

The getter for the parent of the current node in rope-transpose.

Procedure: rope-transpose-direction rope-transpose

The getter for the direction of the current node relative to its parent in rope-transpose. If the node is a left child of the parent, this procedure returns ‘#f’, and otherwise ‘#t’.