Liking cljdoc? Tell your friends :D

cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.cfg

This is the context free grammar that recognizes context free grammars.

This is the context free grammar that recognizes context free grammars.
raw docstring

*case-insensitive-literals*clj

Sets whether all string literal terminals in a built grammar will be treated as case insensitive.

true: case-insensitive false: case-sensitive :default: case-sensitive for EBNF, case-insensitive for ABNF

Sets whether all string literal terminals in a built grammar
will be treated as case insensitive.

`true`: case-insensitive
`false`: case-sensitive
`:default`: case-sensitive for EBNF, case-insensitive for ABNF
sourceraw docstring

build-parserclj

(build-parser spec output-format)
source

build-parser-from-combinatorsclj

(build-parser-from-combinators grammar-map output-format start-production)
source

build-ruleclj

(build-rule tree)

Convert one parsed rule from the grammar into combinators

Convert one parsed rule from the grammar into combinators
sourceraw docstring

cfgclj

source

check-grammarclj

(check-grammar grammar-map)

Throw error if grammar uses any invalid non-terminals in its productions

Throw error if grammar uses any invalid non-terminals in its productions
sourceraw docstring

contentclj

source

contentsclj

source

double-quoted-regexpclj

source

double-quoted-stringclj

source

ebnfclj

(ebnf spec & {:as opts})

Takes an EBNF grammar specification string and returns the combinator version. If you give it the right-hand side of a rule, it will return the combinator equivalent. If you give it a series of rules, it will give you back a grammar map. Useful for combining with other combinators.

Takes an EBNF grammar specification string and returns the combinator version.
If you give it the right-hand side of a rule, it will return the combinator equivalent.
If you give it a series of rules, it will give you back a grammar map.
Useful for combining with other combinators.
sourceraw docstring

escapeclj

(escape s)

Converts escaped single-quotes to unescaped, and unescaped double-quotes to escaped

Converts escaped single-quotes to unescaped, and unescaped double-quotes to escaped
sourceraw docstring

inside-commentclj

source

opt-whitespaceclj

source

process-regexpclj

(process-regexp s)

Converts single quoted regexp to double-quoted

Converts single quoted regexp to double-quoted
sourceraw docstring

process-stringclj

(process-string s)

Converts single quoted string to double-quoted

Converts single quoted string to double-quoted
sourceraw docstring

regex-docclj

(regex-doc pattern-str comment)

Adds a comment to a Clojure regex, or no-op in ClojureScript

Adds a comment to a Clojure regex, or no-op in ClojureScript
sourceraw docstring

safe-read-stringclj

(safe-read-string s)

Expects a double-quote at the end of the string

Expects a double-quote at the end of the string
sourceraw docstring

seq-ntclj

(seq-nt parser)

Returns a sequence of all non-terminals in a parser built from combinators.

Returns a sequence of all non-terminals in a parser built from combinators.
sourceraw docstring

single-quoted-regexpclj

source

single-quoted-stringclj

source

string+clj

(string+ s ci-by-default?)

Returns a string combinator that may be case-insensntive, based on (in priority order):

  1. the value of *case-insensitive-literals*, if it has been overridden to a boolean
  2. the supplied ci-by-default? parameter
Returns a string combinator that may be case-insensntive, based
on (in priority order):

1) the value of `*case-insensitive-literals*`, if it has been
overridden to a boolean
2) the supplied `ci-by-default?` parameter
sourceraw docstring

tagclj

source

wrap-readerclj

(wrap-reader reader)
source

wsclj

source

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

× close