Liking cljdoc? Tell your friends :D

cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.failure

Facilities for printing and manipulating error messages.

Facilities for printing and manipulating error messages.
raw docstring

augment-failureclj

(augment-failure failure text)

Adds text, line, and column info to failure object.

Adds text, line, and column info to failure object.
sourceraw docstring

get-lineclj

(get-line n text)

Returns nth line of text, 1-based

Returns nth line of text, 1-based
sourceraw docstring

index->line-columnclj

(index->line-column index text)

Takes an index into text, and determines the line and column info

Takes an index into text, and determines the line and column info
sourceraw docstring

markerclj

(marker text n)

Creates string with caret at nth position, 1-based and accounts for horizontal tabs which might change the alignment of the '^' to the error location.

Creates string with caret at nth position, 1-based
and accounts for horizontal tabs which might change
the alignment of the '^' to the error location.
sourceraw docstring

pprint-failureclj

(pprint-failure {:keys [line column text reason]})

Takes an augmented failure object and prints the error message

Takes an augmented failure object and prints the error message
sourceraw docstring

(print-reason r)

Provides special case for printing negative lookahead reasons

Provides special case for printing negative lookahead reasons
sourceraw docstring

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

× close