Liking cljdoc? Tell your friends :D

appa.core


->expressionclj/s

(->expression [[t & path] [vt [lt var-label]]])

Convert a CST path element with possible var binding into AST form

Convert a CST path element with possible var binding into AST form
raw docstring

->pathclj/s

(->path [tag & args])

Convert a CST path element into an AST path element

Convert a CST path element into an AST path element
raw docstring

grammarclj/s


jq->graph-queryclj/s

(jq->graph-query jq-text)

Convert a jq query in text form into a graph query structural form. TODO: bind the current store, and use this to determine array lengths when doing negative indexing

Convert a jq query in text form into a graph query structural form.
TODO: bind the current store, and use this to determine array lengths when doing negative indexing
raw docstring

jq-text->structureclj/s

(jq-text->structure query-text)

Parse a jq string into a query AST

Parse a jq string into a query AST
raw docstring

jqtclj/s


load-objsclj/s

(load-objs store refs)

Retrieves a sequence of objects from a store

Retrieves a sequence of objects from a store
raw docstring

process-termclj/s

(process-term latest-var {:keys [path variable] :as term})

Converts a single term from a jq query into a set of constraint operations. Individual terms are separated by | characters. Return a pair of the variable bound by this term, and the constraints that bind it.

Converts a single term from a jq query into a set of constraint operations.
Individual terms are separated by | characters.
Return a pair of the variable bound by this term, and the constraints that bind it.
raw docstring

query->structureclj/s

(query->structure [tag & args])

Convert a single CST term into AST form

Convert a single CST term into AST form
raw docstring

query-objectsclj/s

(query-objects store jquery)

Executes a jq query against a store, and returns a sequence of the resulting objects. If the query requests a single variable, then a sequence of objects is returned. If multiple vars are defined, then sequences of the associated objects in order will be returned.

Executes a jq query against a store, and returns a sequence of the resulting objects.
If the query requests a single variable, then a sequence of objects is returned.
If multiple vars are defined, then sequences of the associated objects in order will be returned.
raw docstring

query-structure->datalogclj/s

(query-structure->datalog query)

Convert a CST for a query into equivalent datalog

Convert a CST for a query into equivalent datalog
raw docstring

rewrite-varclj/s

(rewrite-var nvar var statement)

Changes all instances of nvar in a statement into var

Changes all instances of nvar in a statement into var
raw docstring

term->datalogclj/s

(term->datalog latest-var term)

Converts a single term into a seq of constraints and a single var that the constraints will bind. Return: [Var [triples]]

Converts a single term into a seq of constraints and a single var that the constraints will bind.
Return:  [Var [triples]]
raw docstring

to-longclj/s

(to-long n)

Converts a parameter that is either a string containing a number or a number into number

Converts a parameter that is either a string containing a number or a number into number
raw docstring

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

× close