Liking cljdoc? Tell your friends :D
All platforms.

editscript.util.index


indexclj/s

(index data)

Traverse data to build an indexing tree of Nodes, compute path, sizes of sub-trees, siblings, etc. for each Node. This takes little time

Traverse data to build an indexing tree of Nodes,
compute path, sizes of sub-trees, siblings, etc. for each Node.
This takes little time
sourceraw docstring

INodeclj/sprotocol

get-keyclj/s

(get-key this)

Get the key of this node

Get the key of this node

set-sizeclj/s

(set-size this s)

Set the size of sub-tree

Set the size of sub-tree

get-sizeclj/s

(get-size this)

Get the size of sub-tree, used to estimate cost

Get the size of sub-tree, used to estimate cost

set-nextclj/s

(set-next this node)

Set the next sibling node

Set the next sibling node

get-parentclj/s

(get-parent this)

Get the parent node

Get the parent node

get-firstclj/s

(get-first this)

Get the first child node

Get the first child node

get-lastclj/s

(get-last this)

Get the last child node

Get the last child node

get-pathclj/s

(get-path this)

Get the path to the node from root

Get the path to the node from root

get-valueclj/s

(get-value this)

Get the actual data

Get the actual data

get-nextclj/s

(get-next this)

Get the next sibling node

Get the next sibling node

get-childrenclj/s

(get-children this)

Get all children node in a map

Get all children node in a map

set-orderclj/s

(set-order this o)

Set the traversal order of this node

Set the traversal order of this node

get-orderclj/s

(get-order this)

Get the order of this node in traversal

Get the order of this node in traversal

add-childclj/s

(add-child this node)

Add a child node

Add a child node
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close