Liking cljdoc? Tell your friends :D

dhall-clj.parse


children?clj

(children? e)

True if there is more than one child

True if there is more than one child
sourceraw docstring

cleanclj

(clean tree)

Cut the names of the attrs of the tree TODO: save the meta!

Cut the names of the attrs of the tree
TODO: save the meta!
sourceraw docstring

compactclj

(compact tree)

Given a parse tree, it will compact all the text in it, and return a single string

Given a parse tree, it will compact all the text in it,
and return a single string
sourceraw docstring

defexpr*cljmacro

(defexpr* parser-tag record-class separator-tag)

Generalize defmethod for the cases in which we need to do something like:

  • if there's one remove this tag
  • if there's multiple create an Expr a b and recur with left-precedence
Generalize `defmethod` for the cases in which we need to do
something like:
- if there's one remove this tag
- if there's multiple create an `Expr a b` and recur with left-precedence
sourceraw docstring

dhall-parserclj

Dhall parser generated by Instaparse from the ABNF grammar

Dhall parser generated by Instaparse from the ABNF grammar
sourceraw docstring

exprcljmultimethod

Takes an enlive parse tree, and constructs a tree of objects implementing IExpr

Takes an enlive parse tree, and constructs a tree of
objects implementing IExpr
sourceraw docstring

first-child-exprclj

(first-child-expr e)

Folds the current expression into its first child

Folds the current expression into its first child
sourceraw docstring

grammarclj

The Dhall grammar specified in ABNF

The Dhall grammar specified in ABNF
sourceraw docstring

hex->numclj

(hex->num s)
source

identifierclj

(identifier e)
source

keywordsclj

source

multiline->text-litclj

(multiline->text-lit lines)
source

parseclj

(parse dhall-string)

Parses the Dhall input, on success returns an Enlive-style tree. Throws on a failed parse.

Parses the Dhall input, on success returns an Enlive-style tree.
Throws on a failed parse.
sourceraw docstring

patch-grammarclj

(patch-grammar grammar)
source

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

× close