Liking cljdoc? Tell your friends :D

cider.nrepl.inlined.deps.instaparse.v1v4v12.instaparse.viz


fake-rootclj

(fake-root children)

Create a root for a rootless tree

Create a root for a rootless tree
sourceraw docstring

rhizome-newlineclj

source

spanclj

(span tree)

Takes a subtree of the parse tree and returns a [start-index end-index] pair indicating the span of text parsed by this subtree. start-index is inclusive and end-index is exclusive, as is customary with substrings. Returns nil if no span metadata is attached.

Takes a subtree of the parse tree and returns a [start-index end-index] pair
indicating the span of text parsed by this subtree.
start-index is inclusive and end-index is exclusive, as is customary
with substrings.
Returns nil if no span metadata is attached.
sourceraw docstring

tree-typeclj

(tree-type tree)
source

tree-vizclj

(tree-viz tree & {output-file :output-file options :options})

Creates a graphviz visualization of the parse tree. Optional keyword arguments: :output-file :buffered-image (return a java.awt.image.BufferedImage object) or :output-file output-file (will save the tree image to output-file)

:options options (options passed along to rhizome)

Important: This function will only work if you have added rhizome to your dependencies, and installed graphviz on your system.
See https://github.com/ztellman/rhizome for more information.

Creates a graphviz visualization of the parse tree.
   Optional keyword arguments:
   :output-file :buffered-image (return a java.awt.image.BufferedImage object)
   or
   :output-file output-file (will save the tree image to output-file)

   :options options (options passed along to rhizome)

Important: This function will only work if you have added rhizome
to your dependencies, and installed graphviz on your system.  
See https://github.com/ztellman/rhizome for more information.
sourceraw docstring

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

× close