Liking cljdoc? Tell your friends :D

haystack.parser.util

Utility functions used by the stacktrace parsers.

Utility functions used by the stacktrace parsers.
raw docstring

error-incorrect-inputclj/s

(error-incorrect-input input & [failure])

Return the incorrect input error.

Return the incorrect input error.
sourceraw docstring

error-unsupported-inputclj/s

(error-unsupported-input input & [exception])

Return the unsupported input error.

Return the unsupported input error.
sourceraw docstring

instaparseclj/s

(instaparse parser input)

Invoke insta/parse with parser and input.

Returns the parsed tree on success, or a map with an :error key and the Instaparse :failure on error.

Invoke `insta/parse` with `parser` and `input`.

Returns the parsed tree on success, or a map with an :error key and
the Instaparse :failure on error.
sourceraw docstring

parse-stacktraceclj/s

(parse-stacktrace parser transformations stacktrace-type start-regex input)

Parse a stacktrace with AST transformations applied and input skipped.

Parse a stacktrace with AST transformations applied and input skipped.
sourceraw docstring

parse-tryclj/s

(parse-try parser input regex)

Skip over input to the start of regex and parse the rest of the string. Keep doing this repeatedly until the first match.

Skip over `input` to the start of `regex` and parse the rest of the
string. Keep doing this repeatedly until the first match.
sourceraw docstring

safe-read-ednclj/s

(safe-read-edn s)

Read the string s in EDN format in a safe way.

The tagged-literal function is used as the default tagged literal reader. Any exception thrown while reading is catched and nil will be returned instead.

Read the string `s` in EDN format in a safe way.

The `tagged-literal` function is used as the default tagged literal
reader. Any exception thrown while reading is catched and nil will
be returned instead.
sourceraw docstring

seek-to-regexclj/s

(seek-to-regex s regex)

Return the first substring in s matching regexp.

Return the first substring in `s` matching `regexp`.
sourceraw docstring

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

× close