Liking cljdoc? Tell your friends :D

meander.match.check.epsilon


checkclj/s

(check node search?)

Checks if node is valid. Returns an instance of clojure.lang.Exception if an error can be found and nil otherwise.

Checks if node is valid. Returns an instance of
clojure.lang.Exception if an error can be found and nil otherwise.
sourceraw docstring

check*clj/s

(check* node env search?)

Checks if node is valid with respect to env. Returns

[:error [{:message string?, :ex-data map?} & syntax-trace] whenever an error is detected. syntax-trace is a sequence forms which represent the path to the invalid pattern from the leaf to the root.

[:okay exit-env] whenever the node is valid. exit-env is a set of all logic and memory variables which would be bound by a successful pattern match; equivalent to (meander.syntax.epsilon/variables node).

Checks if node is valid with respect to env. Returns

[:error [{:message string?, :ex-data map?} & syntax-trace]
  whenever an error is detected. syntax-trace is a sequence forms
  which represent the path to the invalid pattern from the leaf
  to the root.


[:okay exit-env]
  whenever the node is valid. exit-env is a set of all
  logic and memory variables which would be bound by a successful
  pattern match; equivalent to (meander.syntax.epsilon/variables node).
sourceraw docstring

check-astclj/smultimethod

(check-ast node env search?)

Validates node returning [:error [{:message string, :ex-data map?}] whenever validation fails. [:okay child-nodes new-env] whenever validation succeeds. child-nodes are the child nodes of node. new-env is env extended with variables that would be bound during the process of matching node but not it's children.

Validates node returning
[:error [{:message string, :ex-data map?}]
  whenever validation fails.
[:okay child-nodes new-env]
  whenever validation succeeds. child-nodes are the child nodes of
  node. new-env is env extended with variables that would be bound
  during the process of matching node but not it's children.
sourceraw docstring

empty-check-envclj/s

source

find-search-keys-recursiveclj/s

(find-search-keys-recursive env [k v])
source

sort-by-search-keysclj/s

(sort-by-search-keys the-map env)
source

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

× close