Liking cljdoc? Tell your friends :D

cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.combinators-source

This is the underlying implementation of the various combinators.

This is the underlying implementation of the various combinators.
raw docstring

altclj

(alt & parsers)

Alternation, i.e., parser1 | parser2 | parser3 | ...

Alternation, i.e., parser1 | parser2 | parser3 | ...
sourceraw docstring

auto-whitespaceclj

(auto-whitespace grammar start grammar-ws start-ws)
source

auto-whitespace-parserclj

(auto-whitespace-parser parser ws-parser)
source

catclj

(cat & parsers)

Concatenation, i.e., parser1 parser2 ...

Concatenation, i.e., parser1 parser2 ...
sourceraw docstring

Epsilonclj

source

hidden-tag?clj

(hidden-tag? parser)

Tests whether parser was created with hide-tag combinator

Tests whether parser was created with hide-tag combinator
sourceraw docstring

hideclj

(hide parser)

Hide the result of parser, i.e., <parser>

Hide the result of parser, i.e., <parser>
sourceraw docstring

hide-tagclj

(hide-tag parser)

Hide the tag associated with this rule.
Wrap this combinator around the entire right-hand side.

Hide the tag associated with this rule.  
Wrap this combinator around the entire right-hand side.
sourceraw docstring

lookclj

(look parser)

Lookahead, i.e., &parser

Lookahead, i.e., &parser
sourceraw docstring

negclj

(neg parser)

Negative lookahead, i.e., !parser

Negative lookahead, i.e., !parser
sourceraw docstring

ntclj

(nt s)

Refers to a non-terminal defined by the grammar map

Refers to a non-terminal defined by the grammar map
sourceraw docstring

optclj

(opt parser)

Optional, i.e., parser?

Optional, i.e., parser?
sourceraw docstring

ordclj

(ord)
(ord parser1 & parsers)

Ordered choice, i.e., parser1 / parser2

Ordered choice, i.e., parser1 / parser2
sourceraw docstring

plusclj

(plus parser)

One or more, i.e., parser+

One or more, i.e., parser+
sourceraw docstring

regexpclj

(regexp r)

Create a regexp terminal out of regular expression r

Create a regexp terminal out of regular expression r
sourceraw docstring

repclj

(rep m n parser)

Between m and n repetitions

Between m and n repetitions
sourceraw docstring

starclj

(star parser)

Zero or more, i.e., parser*

Zero or more, i.e., parser*
sourceraw docstring

stringclj

(string s)

Create a string terminal out of s

Create a string terminal out of s
sourceraw docstring

string-ciclj

(string-ci s)

Create a case-insensitive string terminal out of s

Create a case-insensitive string terminal out of s
sourceraw docstring

unhide-allclj

(unhide-all reduction-type grammar)

Recursively undoes the effect of both hide and hide-tag

Recursively undoes the effect of both hide and hide-tag
sourceraw docstring

unhide-all-contentclj

(unhide-all-content grammar)

Recursively undoes the effect of hide on all parsers in the grammar

Recursively undoes the effect of hide on all parsers in the grammar
sourceraw docstring

unhide-contentclj

(unhide-content parser)

Recursively undoes the effect of hide on one parser

Recursively undoes the effect of hide on one parser
sourceraw docstring

unhide-tagsclj

(unhide-tags reduction-type grammar)

Recursively undoes the effect of hide-tag

Recursively undoes the effect of hide-tag
sourceraw docstring

unicode-charclj

(unicode-char code-point)
(unicode-char lo hi)

Matches a Unicode code point or a range of code points

Matches a Unicode code point or a range of code points
sourceraw docstring

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

× close