Liking cljdoc? Tell your friends :D

com.wsscode.pathom.parser


ast->exprclj/s

(ast->expr ast)
(ast->expr {:keys [type component] ast-meta :meta :as ast} unparse?)

Given a query expression AST convert it back into a query expression.

Given a query expression AST convert it back into a query expression.
sourceraw docstring

ast->out-keyclj/s

(ast->out-key ast)
source

async-parserclj/s

(async-parser {:keys [read mutate]})
source

call->astclj/s

(call->ast [f args :as call])
source

call-parallel-parserclj/s

(call-parallel-parser {:keys [read mutate]}
                      {:com.wsscode.pathom.parser/keys
                         [waiting key-watchers max-key-iterations
                          key-process-timeout key-process-timeout-step]
                       :com.wsscode.pathom.core/keys [entity-path-cache path]
                       :or {max-key-iterations 10}
                       :as env}
                      tx)
source

default-step-fnclj/s

(default-step-fn amount min)
source

expr->astclj/s

(expr->ast x)

Given a query expression convert it into an AST.

Given a query expression convert it into an AST.
sourceraw docstring

focus-subqueryclj/s

(focus-subquery query sub-query)

Given a query, focus it along the specified query expression.

Examples: (focus-query [:foo :bar :baz] [:foo]) => [:foo]

(fulcro.client.primitives/focus-query [{:foo [:bar :baz]} :woz] [{:foo [:bar]} :woz]) => [{:foo [:bar]} :woz]

Given a query, focus it along the specified query expression.

Examples:
  (focus-query [:foo :bar :baz] [:foo])
  => [:foo]

  (fulcro.client.primitives/focus-query [{:foo [:bar :baz]} :woz] [{:foo [:bar]} :woz])
  => [{:foo [:bar]} :woz]
sourceraw docstring

ident->astclj/s

(ident->ast [k id :as ref])
source

join->astclj/s

(join->ast join)
source

keyword->astclj/s

(keyword->ast k)
source

normalize-atomclj/s

(normalize-atom x)
source

parallel-parserclj/s

(parallel-parser {:keys [add-error] :as pconfig})
source

parameterizeclj/s

(parameterize expr params)
source

parserclj/s

(parser {:keys [read mutate]})
source

process-next-messageclj/s

(process-next-message {:com.wsscode.pathom.parser/keys
                         [done-signal* processing-recheck-timer active-paths]
                       :com.wsscode.pathom.core/keys [path]
                       :as env}
                      tx
                      waiting
                      indexed-props
                      processing
                      key-iterations
                      key-watchers
                      res)
source

query->astclj/s

(query->ast query)

Convert a query to its AST representation.

Convert a query to its AST representation.
sourceraw docstring

remove-error-valuesclj/s

(remove-error-values m)
source

symbol->astclj/s

(symbol->ast k)
source

union->astclj/s

(union->ast m)
source

union-entry->astclj/s

(union-entry->ast [k v])
source

unique-ident?clj/s

(unique-ident? x)
source

value-mergeclj/s

(value-merge x y)

This is used for merging new parsed attributes from entity, works like regular merge but if the value from the right direction is not found, then the previous value will be kept.

This is used for merging new parsed attributes from entity, works like regular merge but if the value from the right
direction is not found, then the previous value will be kept.
sourceraw docstring

watch-pending-keyclj/s

(watch-pending-key {:com.wsscode.pathom.parser/keys [key-watchers] :as env} key)
source

wrap-exprclj/s

(wrap-expr root? expr)
source

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

× close