Liking cljdoc? Tell your friends :D

fig.core

Fig is a configuration file reader based on clojure.edn.

Fig is a configuration file reader based on clojure.edn.
raw docstring

add-reader!clj

(add-reader! s f)

Define a new reader function. Takes the tag name and an object that implements the Transformable Protocol.

Define a new reader function. Takes the tag name and an object that
implements the Transformable Protocol.
raw docstring

fig-ref-internalclj


read-configclj

(read-config f)

Read the supplied configuration file. Argument is any value supported by clojure.java.io/reader

Read the supplied configuration file. Argument is any value supported by
clojure.java.io/reader
raw docstring

realize-tagsclj

Keep Walking the collection until no more transformations have been applied. Takes the configuration leaf to transform and optionally the current parsed configuration. A map of option arguments can be supplied as the last argument. The :max-walks key controls the maximum recursion depth of the tree walking.

Keep Walking the collection until no more transformations have been
applied. Takes the configuration leaf to transform and optionally
the current parsed configuration. A map of option arguments can be
supplied as the last argument. The :max-walks key controls the
maximum recursion depth of the tree walking.
raw docstring

realize-tags*clj

(realize-tags* c p v & {:keys [max-walks] :or {max-walks 300}})

Keep Walking the collection until no more transformations have been applied. Takes the configuration leaf to transform and optionally the current parsed configuration. A map of option arguments can be supplied as the last argument. The :max-walks key controls the maximum recursion depth of the tree walking.

Keep Walking the collection until no more transformations have been
applied. Takes the configuration leaf to transform and optionally the
current parsed configuration. A map of option arguments can be supplied as
the last argument. The :max-walks key controls the maximum recursion depth
of the tree walking.
raw docstring

Transformablecljprotocol

Items implementing Transformable know when they should be run in the evaluation lifecyle and how to transform the input into the correct data.

Items implementing Transformable know when they should be run in the
evaluation lifecyle and how to transform the input into the correct data.

postwalkableclj

(postwalkable this)

If this is evaluated last in the post-walk cycle.

If this is evaluated last in the post-walk cycle.

prewalkableclj

(prewalkable this)

If this is evaluated in the first pre-walk cycle.

If this is evaluated in the first pre-walk cycle.

transformclj

(transform this c v)

Takes a configuration map and a value and returns the evaluated data.

Takes a configuration map and a value and returns the evaluated data.
raw docstring

transformable?clj

Checks if the supplied argument supports the Transformable Protocol.

Checks if the supplied argument supports the Transformable Protocol.
raw docstring

transformable?*clj

(transformable?* this)

Checks if the supplied argument supports the Transformable Protocol.

Checks if the supplied argument supports the Transformable Protocol.
raw docstring

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

× close