Liking cljdoc? Tell your friends :D

swim.parse.core


<<clj/s

(<< & parsers)

Run all the given parsers, ignoring all but the first value.

Run all the given parsers, ignoring all but the first value.
raw docstring

><clj/s

(>< left middle right)

Run the three given parsers, ignoring all but the middle value.

Run the three given parsers, ignoring all but the middle value.
raw docstring

>>clj/s

(>> & parsers)

Run all the given parsers, ignoring all but the last value.

Run all the given parsers, ignoring all but the last value.
raw docstring

??clj/s

(?? parse)

Print debugging info after running the given parser.

Print debugging info after running the given parser.
raw docstring

allclj/s

(all & parsers)

char-rangeclj/s

(char-range from to)

concat*clj/s

(concat* parse)

digitclj/s

(digit)

eitherclj/s


endclj/s

(end)

followed-byclj/s

(followed-by parse pred)

ignoreclj/s

(ignore parse)

int*clj/s

(int* parse)

is-notclj/s

(is-not parse)

letterclj/s

(letter)

lowercase-letterclj/s

(lowercase-letter)

manyclj/s

(many parse)
(many min parse)
(many min max parse)

maybeclj/s

(maybe parse)

oneclj/s

(one val)

prefixclj/s

(prefix & parsers)

repeatedclj/s

(repeated n parse)

scanclj/s

(scan parse & [skip?])

Scan stream until you can successfully parse a val, returning a vector of two or less items. The first item will be a skipped sequence, if anything was skipped. The second will be the sucessfully parsed val, if there is one.

Scan stream until you can successfully parse a val, returning a vector of two or less items.
The first item will be a skipped sequence, if anything was skipped. The second will be the
sucessfully parsed val, if there is one.
raw docstring

scan-allclj/s

(scan-all parse & [pred?])

Scan an entire stream, returning a list of alternating skipped sequences and parsed values.

Scan an entire stream, returning a list of alternating skipped sequences and parsed values.
raw docstring

siphonclj/s

(siphon)

str*clj/s

(str* parse)

stringclj/s

(string s)

symbol-charclj/s

(symbol-char)

tokenclj/s

(token pred)

trim-whitespaceclj/s

(trim-whitespace parse)

until-whitespaceclj/s

(until-whitespace)

updateclj/s

(update parse f & args)

uppercase-letterclj/s

(uppercase-letter)

verifyclj/s

(verify parse pred)

whitespaceclj/s

(whitespace)

whitespace-charclj/s

(whitespace-char)

with-consumedclj/s

(with-consumed parse)

word-charclj/s

(word-char)

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

× close