(is-type? parse-tree-node type)
Return true if parse-tree-node
represents the given type
.
Return true if `parse-tree-node` represents the given `type`.
(name-of-symbol symbol-string)
Extract the name of a string, which is the value of a symbol parse node
Extract the name of a string, which is the value of a symbol parse node
(parse-file file-path)
Parse the file, given by file-path
, and return a vector containing
parse trees.
For each object in the file a parse tree is returned. An object is a list on top level of the file. For example the definition of a function is an object. If a parse error occurs, a parse tree with root element of the type parse-error is returned. If the resource does not exist, a FileNotFoundException is thrown.
Parse the file, given by `file-path`, and return a vector containing parse trees. For each object in the file a parse tree is returned. An object is a list on top level of the file. For example the definition of a function is an object. If a parse error occurs, a parse tree with root element of the type parse-error is returned. If the resource does not exist, a FileNotFoundException is thrown.
(parse-resource name)
Parse a resource file, given by name
, and return a vector containing
parse trees.
For each object in the file a parse tree is returned. An object is a list on top level of the file. For example the definition of a function is an object. If a parse error occurs, a parse tree with root element of the type parse-error is returned. If the resource does not exist, a FileNotFoundException is thrown.
Parse a resource file, given by `name`, and return a vector containing parse trees. For each object in the file a parse tree is returned. An object is a list on top level of the file. For example the definition of a function is an object. If a parse error occurs, a parse tree with root element of the type parse-error is returned. If the resource does not exist, a FileNotFoundException is thrown.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close