Liking cljdoc? Tell your friends :D

epsilon.generator


->epsilon-modulecljmultimethod

Given a path, convert it into the appropriate module based on its extension.

Given a path, convert it into the appropriate module based on its extension.
sourceraw docstring

->template-factoryclj

(->template-factory path ops)

Return a new template factory that outputs to the given path.

Return a new template factory that outputs to the given path.
sourceraw docstring

executeclj

(execute model-paths path & args)

Execute an EOL file with the given XML models.

Execute an EOL file with the given XML models.
sourceraw docstring

file-change-handlercljmultimethod

Triggered when a file change. Will dispatch according to what type of file just got changed.

Triggered when a file change. Will dispatch according to what type of file just got changed.
sourceraw docstring

generateclj

(generate egx-path model-paths output-path)

Generate an EGX file with the given XML models.

Generate an EGX file with the given XML models.
sourceraw docstring

generate-allclj

(generate-all {:keys [template-dir model-paths output-path watch?]})
(generate-all template-dir model-paths output-path)
(generate-all template-dir model-paths output-path watch?)

Go through the provided template directory and generate everything.

If watch? is true, return the watcher handler to be called to stop the watcher.

Go through the provided template directory and generate everything.

If watch? is true, return the watcher handler to be called to stop the watcher.
sourceraw docstring

path->epsilon-filesclj

(path->epsilon-files path types)
(path->epsilon-files path types recursive?)

Return all files that satisfy any of the given types within the given directory.

Accept eol?, egl?, egx? and evl? or any combinations. Ignore invalid functions.

Return all files that satisfy any of the given types within the given directory.

Accept eol?, egl?, egx? and evl? or any combinations. Ignore invalid functions.
sourceraw docstring

path->xmlclj

(path->xml path)

Load the model at the path and convert it to PlainXmlModel.

Load the model at the path and convert it to PlainXmlModel.
sourceraw docstring

validateclj

(validate evl-path model-paths)

Validate an EVL file with the given XML models.

Validate an EVL file with the given XML models.
sourceraw docstring

validate-allclj

(validate-all {:keys [template-dir model-paths watch?]})
(validate-all template-dir model-paths)
(validate-all template-dir model-paths watch?)

Go through the provided template directory and validate everything.

If watch? is true, return the watcher handler to be called to stop the watcher.

Go through the provided template directory and validate everything.

If watch? is true, return the watcher handler to be called to stop the watcher.
sourceraw docstring

watchclj

(watch template-dir model-paths output-path)
(watch template-dir model-paths output-path preds)

Watch the given template directory and regenerate if file change is detected.

Takes a bunch of preds that will filter out which file type to listen to.

For example, (watch _ _ _ [egl?]) will listen for EGL files only. Can add more as see fit.

Watch the given template directory and regenerate if file change is detected.

Takes a bunch of preds that will filter out which file type to listen to.

For example, (watch _ _ _ [egl?]) will listen for EGL files only. Can add more as see fit.
sourceraw docstring

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

× close