Liking cljdoc? Tell your friends :D

org.tovictory.utils.base.ds.tree


tree-branch?cljmultimethod


tree-childrencljmultimethod


tree-do-locclj

(tree-do-loc zipper matcher do-fn)

用于查找树种的某个节点,并可根据改节点的loc调用zip函数进行树的节点增删改操作

用于查找树种的某个节点,并可根据改节点的loc调用zip函数进行树的节点增删改操作
raw docstring

tree-editclj

(tree-edit zipper matcher editor)

用于查找树种的某个节点,并对节点进行修改. matcher -- 单参函数,参数为树的一个节点,返回匹配的结果; editor -- 双参函数,第一个参数为matcher返回的结果,第二个参数为当前树节点,返回值为新节点

用于查找树种的某个节点,并对节点进行修改.
matcher -- 单参函数,参数为树的一个节点,返回匹配的结果;
editor -- 双参函数,第一个参数为matcher返回的结果,第二个参数为当前树节点,返回值为新节点
raw docstring

tree-make-nodecljmultimethod


tree-replaceclj

(tree-replace zipper smap)

用于替换某些节点

用于替换某些节点
raw docstring

tree-zipperclj

(tree-zipper node)

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

× close