Liking cljdoc? Tell your friends :D

instaparse.combinators-source

This is the underlying implementation of the various combinators.

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

altclj/s

(alt & parsers)

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

Alternation, i.e., parser1 | parser2 | parser3 | ...
source (clj)source (cljs)raw docstring

auto-whitespaceclj/s

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

auto-whitespace-parserclj/s

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

catclj/s

(cat & parsers)

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

Concatenation, i.e., parser1 parser2 ...
source (clj)source (cljs)raw docstring

hidden-tag?clj/s

(hidden-tag? parser)

Tests whether parser was created with hide-tag combinator

Tests whether parser was created with hide-tag combinator
source (clj)source (cljs)raw docstring

hideclj/s

(hide parser)

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

Hide the result of parser, i.e., <parser>
source (clj)source (cljs)raw docstring

hide-tagclj/s

(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.
source (clj)source (cljs)raw docstring

lookclj/s

(look parser)

Lookahead, i.e., &parser

Lookahead, i.e., &parser
source (clj)source (cljs)raw docstring

negclj/s

(neg parser)

Negative lookahead, i.e., !parser

Negative lookahead, i.e., !parser
source (clj)source (cljs)raw docstring

ntclj/s

(nt s)

Refers to a non-terminal defined by the grammar map

Refers to a non-terminal defined by the grammar map
source (clj)source (cljs)raw docstring

optclj/s

(opt parser)

Optional, i.e., parser?

Optional, i.e., parser?
source (clj)source (cljs)raw docstring

ordclj/s

(ord)
(ord parser1 & parsers)

Ordered choice, i.e., parser1 / parser2

Ordered choice, i.e., parser1 / parser2
source (clj)source (cljs)raw docstring

plusclj/s

(plus parser)

One or more, i.e., parser+

One or more, i.e., parser+
source (clj)source (cljs)raw docstring

regexpclj/s

(regexp r)

Create a regexp terminal out of regular expression r

Create a regexp terminal out of regular expression r
source (clj)source (cljs)raw docstring

repclj/s

(rep m n parser)

Between m and n repetitions

Between m and n repetitions
source (clj)source (cljs)raw docstring

starclj/s

(star parser)

Zero or more, i.e., parser*

Zero or more, i.e., parser*
source (clj)source (cljs)raw docstring

stringclj/s

(string s)

Create a string terminal out of s

Create a string terminal out of s
source (clj)source (cljs)raw docstring

string-ciclj/s

(string-ci s)

Create a case-insensitive string terminal out of s

Create a case-insensitive string terminal out of s
source (clj)source (cljs)raw docstring

unhide-allclj/s

(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
source (clj)source (cljs)raw docstring

unhide-all-contentclj/s

(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
source (clj)source (cljs)raw docstring

unhide-contentclj/s

(unhide-content parser)

Recursively undoes the effect of hide on one parser

Recursively undoes the effect of hide on one parser
source (clj)source (cljs)raw docstring

unhide-tagsclj/s

(unhide-tags reduction-type grammar)

Recursively undoes the effect of hide-tag

Recursively undoes the effect of hide-tag
source (clj)source (cljs)raw docstring

unicode-charclj/s

(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
source (clj)source (cljs)raw docstring

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

× close