Liking cljdoc? Tell your friends :D

hara.code.framework.common


*path*clj


+test-vars+clj


analyse-testcljmultimethod

seed function for analyse-test

(analyse-test :fact (nav/parse-root (slurp "test/hara/code/framework_test.clj")))

seed function for analyse-test

(analyse-test :fact
              (nav/parse-root (slurp "test/hara/code/framework_test.clj")))
raw docstring

display-entryclj

(display-entry entry)

creates a map represenation of the entry

(display-entry {:ns {:a {:test {} :source {}} :b {:test {}} :c {:source {}}}}) => {:source {:ns [:a :c]} :test {:ns [:a :b]}}

creates a map represenation of the entry

(display-entry {:ns {:a {:test {}
                         :source {}}
                     :b {:test {}}
                     :c {:source {}}}})
=> {:source {:ns [:a :c]}
    :test {:ns [:a :b]}}
raw docstring

entryclj

(entry m)

creates an entry for analysis

(entry {:ns {:a {:test {} :source {}} :b {:test {}} :c {:source {}}}}) ;;#code{:source {:ns [:a :c]}, :test {:ns [:a :b]}} => hara.code.framework.common.Entry

creates an entry for analysis

(entry {:ns {:a {:test {}
                 :source {}}
             :b {:test {}}
             :c {:source {}}}})
;;#code{:source {:ns [:a :c]}, :test {:ns [:a :b]}}
=> hara.code.framework.common.Entry
raw docstring

entry?clj

(entry? x)

checks if object is an entry

(entry? (entry {})) => true

checks if object is an entry

(entry? (entry {}))
=> true
raw docstring

gather-metaclj

(gather-meta nav)

gets the metadata for a particular form (-> (nav/parse-string "^{:refer clojure.core/+ :added "1.1"}\n(fact ...)") nav/down nav/right nav/down gather-meta) => '{:added "1.1", :ns clojure.core, :var +, :refer clojure.core/+}

gets the metadata for a particular form
(-> (nav/parse-string "^{:refer clojure.core/+ :added \"1.1\"}\n(fact ...)")
    nav/down nav/right nav/down
    gather-meta)
=> '{:added "1.1", :ns clojure.core, :var +, :refer clojure.core/+}
raw docstring

gather-stringclj

(gather-string nav)

creates correctly spaced code string from normal docstring

(-> (nav/parse-string ""hello\nworld\nalready"") (gather-string) (block/string)) => ""hello\n world\n already""

creates correctly spaced code string from normal docstring

(-> (nav/parse-string "\"hello\nworld\nalready\"")
    (gather-string)
    (block/string))
=> "\"hello\n  world\n  already\""
raw docstring

line-lookupclj

(line-lookup ns analysis)

creates a function lookup for the project

creates a function lookup for the project
raw docstring

test-frameworkscljmultimethod

lists the framework that a namespace uses

(test-frameworks 'hara.test) => :fact

(test-frameworks 'clojure.test) => :clojure

lists the framework that a namespace uses

(test-frameworks 'hara.test) => :fact

(test-frameworks 'clojure.test) => :clojure
raw docstring

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

× close