All rules-related functionality.
Rules don't actually use defrecord, but act like they do with the following definition:
(defrecord Rule [name genre full-name docstring init-type pattern-raw replace-raw message min-clojure-version ext pattern patterns on-match autocorrect])
All rules-related functionality. Rules don't actually use defrecord, but act like they do with the following definition: (defrecord Rule [name genre full-name docstring init-type pattern-raw replace-raw message min-clojure-version ext pattern patterns on-match autocorrect])
(defrule rule-name
docs
{:keys [pattern patterns replace on-match message init-type
min-clojure-version ext autocorrect]
:as opts})
Define a new rule.
Must include:
:pattern
or :patterns
,:replace
or :on-match
Define a new rule. Must include: * EITHER `:pattern` or `:patterns`, * EITHER `:replace` or `:on-match`
All registered rules, indexed by their qualified name, and all registered genres.
All registered rules, indexed by their qualified name, and all registered genres.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close