Liking cljdoc? Tell your friends :D

rewrite-cljc.parser

Parse Clojure/ClojureScript/EDN source code to nodes.

Parsing includes all source code elements including whitespace.

After parsing, the typical next step is rewrite-cljc.zip/edn to create zipper.

Alternatively consider parsing and zipping in one step from rewrite-cljc.zip/of-string or rewrite-cljc.zip/of-file.

Parse Clojure/ClojureScript/EDN source code to nodes.

Parsing includes all source code elements including whitespace.

After parsing, the typical next step is [[rewrite-cljc.zip/edn]] to create zipper.

Alternatively consider parsing and zipping in one step from [[rewrite-cljc.zip/of-string]] or [[rewrite-cljc.zip/of-file]].
raw docstring

parse-fileclj

(parse-file f)

Return node for first source code element in file f.

Return node for first source code element in file `f`.
sourceraw docstring

parse-file-allclj

(parse-file-all f)

Return forms node for all source code elements in file f.

Return forms node for all source code elements in file `f`.
sourceraw docstring

parse-stringclj/s

(parse-string s)

Return a node for first source code element in string s.

Return a node for first source code element in string `s`.
sourceraw docstring

parse-string-allclj/s

(parse-string-all s)

Return forms node for all source code elements in string s.

Return forms node for all source code elements in string `s`.
sourceraw docstring

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

× close