Liking cljdoc? Tell your friends :D
Clojure only.

cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.line-col


add-line-col-spansclj

(add-line-col-spans text parse-tree)

Given a string text and a parse-tree for text, return parse tree with its metadata annotated with line and column info. The info can then be found in the metadata map under the keywords:

:cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.gll/start-line, :cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.gll/start-column, :cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.gll/end-line, :cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.gll/end-column

The start is inclusive, the end is exclusive. Lines and columns are 1-based.

Given a string `text` and a `parse-tree` for text, return parse tree
with its metadata annotated with line and column info. The info can
then be found in the metadata map under the keywords:
 
:cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.gll/start-line, :cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.gll/start-column,
:cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.gll/end-line, :cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.gll/end-column

The start is inclusive, the end is exclusive. Lines and columns are 1-based.
sourceraw docstring

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

× close