Handles parsing and linting all of given files.
Handles parsing and linting all of given files.
(check-and-recur ctx rules filename parent-form form)
Check a given form and then map recur over each of the form's children.
Check a given form and then map recur over each of the form's children.
(check-form ctx rules parent-form form)
Checks a given form against the appropriate rules then calls on-match
to build the
diagnostic and store it in ctx
.
Checks a given form against the appropriate rules then calls `on-match` to build the diagnostic and store it in `ctx`.
(check-pattern rule pattern parent-form form)
Call :pattern
on the form and if it hits, call :on-match
on it.
Only attach parent-form
to the metadata after :pattern
is true, cuz
parent-form
can be potentially massive.
Call `:pattern` on the form and if it hits, call `:on-match` on it. Only attach `parent-form` to the metadata after `:pattern` is true, cuz `parent-form` can be potentially massive.
(parse-and-check-file ctx rules file)
Parse the given file and then check each form.
Parse the given file and then check each form.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close