Applies the template
to the data
and returns the output.
Applies the `template` to the `data` and returns the output.
(artifact-filename ctx)
(artifact-filename ctx el)
Returns the filename of the artifact given the generation context ctx
and optionally a model element el
.
Returns the filename of the artifact given the generation context `ctx` and optionally a model element `el`.
(artifact-path ctx)
(artifact-path ctx el)
Returns the path for the artifact given the generation context ctx
and optionally a model element el
.
Returns the path for the artifact given the generation context `ctx` and optionally a model element `el`.
(begin-pattern area-marker)
Returns the regex pattern for the begin of a protected area based on the area marker.
Returns the regex pattern for the begin of a protected area based on the area marker.
(create-path pathname)
Creates the path by creating all neccessary directories.
Creates the path by creating all neccessary directories.
(end-pattern area-marker area-id)
Returns the regex pattern for the end of a protected area based on the area marker and area id.
Returns the regex pattern for the end of a protected area based on the area marker and area id.
(engine-type ttype)
(engine-type ttype & r)
Returns the template engine type.
Returns the template engine type.
(generate model options)
Generates artifacts for the generation specification spec
.
Generates artifacts for the generation specification `spec`.
(generate-artifact template ctx model e)
Generates an artifact
Generates an artifact
(parse-protected-areas area-marker lines)
Parse the lines into a protected area map.
Parse the lines into a protected area map.
(read-config options)
Reads the generator configuration.
Reads the generator configuration.
(read-lines file)
Reads the file given and returns a non lazy sequence a of its lines.
Reads the file given and returns a non lazy sequence a of its lines.
(read-protected-areas ctx path)
Reads the given path and returns the proected areas as a map.
Reads the given path and returns the proected areas as a map.
Reads and parses the template
.
Reads and parses the `template`.
(repo-type rtype)
(repo-type rtype & r)
Returns the repository type.
Returns the repository type.
(write-artifact pathname result)
Write the generated artifact to file.
Write the generated artifact to file.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close