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.
raw docstring

ast->out-keyclj/s

(ast->out-key ast)

async-parserclj/s

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

call->astclj/s

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

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 5}
                       :as env}
                      tx)

default-step-fnclj/s

(default-step-fn amount min)

expr->astclj/s

(expr->ast x)

Given a query expression convert it into an AST.

Given a query expression convert it into an AST.
raw 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]
raw docstring

ident->astclj/s

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

join->astclj/s

(join->ast join)

keyword->astclj/s

(keyword->ast k)

normalize-atomclj/s

(normalize-atom x)

parallel-parserclj/s

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

parameterizeclj/s

(parameterize expr params)

parserclj/s

(parser {:keys [read mutate]})

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)

query->astclj/s

(query->ast query)

Convert a query to its AST representation.

Convert a query to its AST representation.
raw docstring

remove-error-valuesclj/s

(remove-error-values m)

symbol->astclj/s

(symbol->ast k)

union->astclj/s

(union->ast m)

union-entry->astclj/s

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

unique-ident?clj/s

(unique-ident? x)

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.
raw docstring

watch-pending-keyclj/s

(watch-pending-key {:com.wsscode.pathom.parser/keys
                      [key-watchers external-wait-ignore-timeout]
                    :or {external-wait-ignore-timeout 3000}
                    :as env}
                   key)

wrap-exprclj/s

(wrap-expr root? expr)

zero-incclj/s

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

× close