Liking cljdoc? Tell your friends :D

rewrite-clj.node


child-sexprsclj

(child-sexprs node)

Get all child s-expressions for the given node.

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

childrenclj

(children _)

Get child nodes.

Get child nodes.
sourceraw docstring

coerceclj

(coerce _)
source

comma-nodeclj

(comma-node s)

Create comma node.

Create comma node.
sourceraw docstring

comma-separatedclj

(comma-separated nodes)

Interleave the given seq of nodes with ", " nodes.

Interleave the given seq of nodes with `", "` nodes.
sourceraw docstring

comma?clj

(comma? node)

Check whether a node represents a comma.

Check whether a node represents a comma.
sourceraw docstring

comment-nodeclj

(comment-node s)

Create node representing an EDN comment.

Create node representing an EDN comment.
sourceraw docstring

comment?clj

(comment? node)

Check whether a node represents a comment.

Check whether a node represents a comment.
sourceraw docstring

deref-nodeclj

(deref-node children)

Create node representing the dereferencing of a form. (@...) Takes either a seq of nodes or a single one.

Create node representing the dereferencing of a form. (`@...`)
Takes either a seq of nodes or a single one.
sourceraw docstring

eval-nodeclj

(eval-node children)

Create node representing an inline evaluation. (#=...) Takes either a seq of nodes or a single one.

Create node representing an inline evaluation. (`#=...`)
Takes either a seq of nodes or a single one.
sourceraw docstring

fn-nodeclj

(fn-node children)

Create node representing an anonymous function.

Create node representing an anonymous function.
sourceraw docstring

forms-nodeclj

(forms-node children)

Create top-level node wrapping multiple children (equals an implicit do on the top-level).

Create top-level node wrapping multiple children
(equals an implicit `do` on the top-level).
sourceraw docstring

inner?clj

(inner? _)

Check whether the node can contain children.

Check whether the node can contain children.
sourceraw docstring

integer-nodeclj

(integer-node value)
(integer-node value base)

Create node for an EDN integer with the given base.

Create node for an EDN integer with the given base.
sourceraw docstring

keyword-nodeclj

(keyword-node k & [namespaced?])

Create node representing a keyword. If namespaced? is given as true a keyword à la ::x or ::ns/x (i.e. namespaced/aliased) is generated.

Create node representing a keyword. If `namespaced?` is given as `true`
a keyword à la `::x` or `::ns/x` (i.e. namespaced/aliased) is generated.
sourceraw docstring

leader-lengthclj

(leader-length _)

How many characters appear before children?

How many characters appear before children?
sourceraw docstring

lengthclj

(length _)

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

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

line-separatedclj

(line-separated nodes)

Interleave the given seq of nodes with newline nodes.

Interleave the given seq of nodes with newline nodes.
sourceraw docstring

linebreak?clj

(linebreak? node)

Check whether a ndoe represents linebreaks.

Check whether a ndoe represents linebreaks.
sourceraw docstring

list-nodeclj

(list-node children)

Create a node representing an EDN list.

Create a node representing an EDN list.
sourceraw docstring

map-nodeclj

(map-node children)

Create a node representing an EDN map.

Create a node representing an EDN map.
sourceraw docstring

meta-nodeclj

(meta-node children)
(meta-node metadata data)

Create node representing a form and its metadata.

Create node representing a form and its metadata.
sourceraw docstring

namespaced-map-nodeclj

(namespaced-map-node children)

Create a node representing an EDN map namespace.

Create a node representing an EDN map namespace.
sourceraw docstring

newline-nodeclj

(newline-node s)

Create newline node.

Create newline node.
sourceraw docstring

newlinesclj

(newlines n)

Create node representing the given number of newline characters.

Create node representing the given number of newline characters.
sourceraw docstring

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.
sourceraw docstring

quote-nodeclj

(quote-node children)

Create node representing a quoted form. Takes either a seq of nodes or a single one.

Create node representing a quoted form.
Takes either a seq of nodes or a single one.
sourceraw docstring

raw-meta-nodeclj

(raw-meta-node children)
(raw-meta-node metadata data)

Create node representing a form and its metadata using the #^ prefix.

Create node representing a form and its metadata using the
`#^` prefix.
sourceraw docstring

reader-macro-nodeclj

(reader-macro-node children)
(reader-macro-node macro-node form-node)

Create node representing a reader macro. (#... ...)

Create node representing a reader macro. (`#... ...`)
sourceraw docstring

regex-nodeclj

(regex-node pattern-string)

Create node representing a regex

Create node representing a regex
sourceraw docstring

replace-childrenclj

(replace-children _ children)

Replace the node's children.

Replace the node's children.
sourceraw docstring

set-nodeclj

(set-node children)

Create a node representing an EDN set.

Create a node representing an EDN set.
sourceraw docstring

sexprclj

(sexpr _)

Convert node to s-expression.

Convert node to s-expression.
sourceraw 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.
sourceraw docstring

spacesclj

(spaces n)

Create node representing the given number of spaces.

Create node representing the given number of spaces.
sourceraw docstring

stringclj

(string _)

Convert node to printable string.

Convert node to printable string.
sourceraw docstring

string-nodeclj

(string-node lines)

Create node representing a string value. Takes either a seq of strings or a single one.

Create node representing a string value.
Takes either a seq of strings or a single one.
sourceraw docstring

syntax-quote-nodeclj

(syntax-quote-node children)

Create node representing a syntax-quoted form. Takes either a seq of nodes or a single one.

Create node representing a syntax-quoted form.
Takes either a seq of nodes or a single one.
sourceraw docstring

tagclj

(tag _)

Keyword representing the type of the node.

Keyword representing the type of the node.
sourceraw docstring

token-nodeclj

(token-node value & [string-value])

Create node for an unspecified EDN token.

Create node for an unspecified EDN token.
sourceraw docstring

uneval-nodeclj

(uneval-node children)

Create node representing an EDN uneval #_ form.

Create node representing an EDN uneval `#_` form.
sourceraw docstring

unquote-nodeclj

(unquote-node children)

Create node representing an unquoted form. (~...) Takes either a seq of nodes or a single one.

Create node representing an unquoted form. (`~...`)
Takes either a seq of nodes or a single one.
sourceraw docstring

unquote-splicing-nodeclj

(unquote-splicing-node children)

Create node representing an unquote-spliced form. (~@...) Takes either a seq of nodes or a single one.

Create node representing an unquote-spliced form. (`~@...`)
Takes either a seq of nodes or a single one.
sourceraw docstring

valuecljdeprecated

(value node)

DEPRECATED: Get first child as a pair of tag/sexpr (if inner node), or just the node's own sexpr. (use explicit analysis of children child-sexprs instead)

DEPRECATED: Get first child as a pair of tag/sexpr (if inner node),
or just the node's own sexpr. (use explicit analysis of `children`
`child-sexprs` instead) 
sourceraw docstring

var-nodeclj

(var-node children)

Create node representing a var. Takes either a seq of nodes or a single one.

Create node representing a var.
Takes either a seq of nodes or a single one.
sourceraw docstring

vector-nodeclj

(vector-node children)

Create a node representing an EDN vector.

Create a node representing an EDN vector.
sourceraw docstring

whitespace-nodeclj

(whitespace-node s)

Create whitespace node.

Create whitespace node.
sourceraw docstring

whitespace-nodesclj

(whitespace-nodes s)

Convert a string of whitespace to whitespace/newline nodes.

Convert a string of whitespace to whitespace/newline nodes.
sourceraw docstring

whitespace-or-comment?clj

(whitespace-or-comment? node)

Check whether the given node represents whitespace or comment.

Check whether the given node represents whitespace or comment.
sourceraw docstring

whitespace?clj

(whitespace? node)

Check whether a node represents whitespace.

Check whether a node represents whitespace.
sourceraw docstring

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

× close