Liking cljdoc? Tell your friends :D

grape.impl.models

Internal models.

Internal models.
raw docstring

compact-whitespacesclj

(compact-whitespaces tree)

Transform a tree by 'compacting' its whitespaces: all newlines and sequences of whitespaces are replaced by a single whitespace. Comments are removed as well.

Transform a tree by 'compacting' its whitespaces: all newlines and sequences of whitespaces are replaced
by a single whitespace. Comments are removed as well.
sourceraw docstring

multi-wildcard?clj

(multi-wildcard? node)

Test if a node is a multiple-expressions wildcard. This doesn’t check if its type (if any) is valid.

Test if a node is a multiple-expressions wildcard. This doesn’t check if its type (if any) is valid.
sourceraw docstring

multiple-suffixclj

source

node-childclj

source

node-childrenclj

(node-children node)

Return non-whitespace node children.

Return non-whitespace node children.
sourceraw docstring

node-typeclj

source

node-wildcardclj

(node-wildcard node)

Given a node for which (wildcard? node) is true, return a map describing the wildcard if it’s valid.

Given a node for which `(wildcard? node)` is true, return a map describing the wildcard if it’s valid.
sourceraw docstring

pattern?clj

source

tree-leave?clj

source

tree-node?clj

(tree-node? x)
source

wildcard-prefixclj

source

wildcard?clj

(wildcard? node)

Test if a node is a wildcard. This doesn’t check if it's a valid one.

Test if a node is a wildcard. This doesn’t check if it's a valid one.
sourceraw docstring

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

× close