Liking cljdoc? Tell your friends :D

grape.core


*wildcard-expression*clj

Wildcard symbol used to represent any single expression in a pattern. This must be a valid Clojure symbol. It is also used as a prefix for typed wildcards. For example, if this is set to $ (the default), $string represents any single string expression; $list any single list expression; etc.

Wildcard symbol used to represent any single expression in a pattern.
This must be a valid Clojure symbol.
It is also used as a prefix for typed wildcards. For example, if this is set to
$ (the default), $string represents any single string expression; $list any
single list expression; etc.
sourceraw docstring

*wildcard-expressions*clj

Wildcard symbol used to represent any number of expressions in a pattern, including zero. This must be a valid Clojure symbol.

Wildcard symbol used to represent any number of expressions
in a pattern, including zero. This must be a valid Clojure symbol.
sourceraw docstring

find-codeclj

(find-code code pattern)

Equivalent of (first (find-codes code pattern)).

Equivalent of (first (find-codes code pattern)).
sourceraw docstring

find-codesclj

(find-codes code pattern)

Find pieces of code based on pattern. Return a lazy sequence of matchs where each one is a map of :match and :meta, respectively the matching code and its location metadata.

pattern must have been constructed using grape.core/pattern.

Find pieces of `code` based on `pattern`. Return a lazy sequence of matchs
where each one is a map of :match and :meta, respectively the matching code
and its location metadata.

`pattern` must have been constructed using grape.core/pattern.
sourceraw docstring

find-subtreeclj

(find-subtree tree pattern)

Equivalent of (first (find-subtrees tree pattern)).

Equivalent of (first (find-subtrees tree pattern)).
sourceraw docstring

find-subtreesclj

(find-subtrees tree pattern)

Match a tree given a subtree pattern. Return a lazy sequence of subtrees.

Match a tree given a subtree pattern. Return a lazy sequence of subtrees.
sourceraw docstring

parse-codeclj

(parse-code code)

Parse code.

Parse code.
sourceraw docstring

patternclj

(pattern code)

Parse a piece of code as a pattern to be matched. Any expression after the first one is discared as well as comments and discarded forms.

Parse a piece of code as a pattern to be matched. Any expression after the
first one is discared as well as comments and discarded forms.
sourceraw docstring

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

× close