Liking cljdoc? Tell your friends :D

html5-walker.walker


create-matcherclj

(create-matcher path)
source

find-nodesclj

(find-nodes html path)
source

make-descendants-explicitclj

(make-descendants-explicit path)

Walks a path and returns pairs of [descendant element] where descendant is either :descendant or :child, describing the desired relationship to the previous path element. descendant will be nil for the first element. :> creates a :child relationship between two elements, while elements that don't have an explicit relationship (e.g. [:div :a]) will have a :descendant interposed between them.

Walks a path and returns pairs of [descendant element] where descendant is
either `:descendant` or `:child`, describing the desired relationship to the
previous path element. `descendant` will be `nil` for the first element. `:>`
creates a `:child` relationship between two elements, while elements that
don't have an explicit relationship (e.g. `[:div :a]`) will have a
`:descendant` interposed between them.
sourceraw docstring

parse-selectorclj

(parse-selector selector)

Breaks a CSS selector element into tag matcher, class matchers, id matcher, and attribute matchers.

Breaks a CSS selector element into tag matcher, class matchers, id matcher, and
attribute matchers.
sourceraw docstring

prefix->kindclj

source

replace-in-documentclj

(replace-in-document html path->f)
source

replace-in-fragmentclj

(replace-in-fragment html path->f)
source

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

× close