(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.
(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).
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close