Internal models.
Internal models.
(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.
(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.
(node-children node)
Return non-whitespace node children.
Return non-whitespace node children.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close