(add-class class-name)
(and & selectors)
(as-enlive x)
(as-hiccup x)
(attrs-includes k substr)
(attrs-satisfies k pred)
(attrs-starts-with k substr)
(but & selectors)
Returns a selector that match-inneres a node iff any of the given selectors does not match-inner it.
Returns a selector that match-inneres a node iff any of the given selectors does not match-inner it.
(edit-loc this loc)
Returns a new loc.
Returns a new loc.
(edit x selector f)
(enlive-zip root)
(has-attrs k)
(has-child selector)
(has-descendant selector)
(has-sibling selector)
Returns a selector that matches a node iff it has a sibling that selector matches.
Returns a selector that matches a node iff it has a sibling that selector matches.
(or & selectors)
(path v)
Takes a vector and converts it into a selector that matches a node iff the path leading to it includes v. The special key :> means that the node after it is a direct child of the one before it.
Takes a vector and converts it into a selector that matches a node iff the path leading to it includes v. The special key :> means that the node after it is a direct child of the one before it.
(predicate pred)
Returns a selector that match-inneres a node iff (pred node) is logical true.
Returns a selector that match-inneres a node iff (pred node) is logical true.
(predicate-loc pred)
Returns a selector if (pred loc) is logical true. (loc is of the zip data, i.e., a vector consisting of a node and a map.)
Returns a selector if (pred loc) is logical true. (loc is of the zip data, i.e., a vector consisting of a node and a map.)
(select node-or-nodes selector)
(match-inner this loc)
(tag= k)
(text-includes substr)
Returns a selector that matches a text node iff it includes substr as a substring.
Returns a selector that matches a text node iff it includes substr as a substring.
(text-starts-with substr)
Returns a selector that matches a text node iff it starts with substr.
Returns a selector that matches a text node iff it starts with substr.
(wrap tag)
(wrap tag attrs)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close