Liking cljdoc? Tell your friends :D

rewrite-clj.node.protocols


child-sexprsclj

(child-sexprs node)

Get all child s-expressions for the given node.

Get all child s-expressions for the given node.
raw docstring

InnerNodecljprotocol

Protocol for non-leaf EDN/Clojure nodes.

Protocol for non-leaf EDN/Clojure nodes.

childrenclj

(children _)

Get child nodes.

Get child nodes.

inner?clj

(inner? _)

Check whether the node can contain children.

Check whether the node can contain children.

leader-lengthclj

(leader-length _)

How many characters appear before children?

How many characters appear before children?

replace-childrenclj

(replace-children _ children)

Replace the node's children.

Replace the node's children.
raw docstring

Nodecljprotocol

Protocol for EDN/Clojure nodes.

Protocol for EDN/Clojure nodes.

lengthclj

(length _)

Get number of characters for the string version of this node.

Get number of characters for the string version of this node.

printable-only?clj

(printable-only? _)

Return true if the node cannot be converted to an s-expression element.

Return true if the node cannot be converted to an s-expression
element.

sexprclj

(sexpr _)

Convert node to s-expression.

Convert node to s-expression.

stringclj

(string _)

Convert node to printable string.

Convert node to printable string.

tagclj

(tag _)

Keyword representing the type of the node.

Keyword representing the type of the node.
raw docstring

NodeCoerceablecljprotocol

Protocol for values that can be coerced to nodes.

Protocol for values that can be coerced to nodes.

coerceclj

(coerce _)
raw docstring

sexprsclj

(sexprs nodes)

Given a seq of nodes, convert those that represent s-expressions to the respective forms.

Given a seq of nodes, convert those that represent s-expressions
to the respective forms.
raw docstring

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

× close