(compile-and-load class-ast)
(compile-and-load {:keys [class-name] :as class-ast} class-loader)
(eval form)
(eval form
{:keys [debug? emit-opts class-loader]
:or {debug? false
emit-opts {}
class-loader (clojure.lang.RT/makeClassLoader)}
:as options})
(eval form) (eval form eval-options-map)
Form is a read Clojure s expression represented as a list. Eval-options-map is a map, defaulting to the empty map, the following values of which are significant. Returns the result of evaling the input expression.
:debug? :- (Option Bool) Enables or disables printing in eval. Used as the default value for printing in the emitter.
:emit-opts :- (Option emit-options-map) An options map which will be merged with the default options provided to emit. Keys in this map take precidence over the default values provided to emit. The keys which are significant in this map are documented in the t.e.jvm.emit/emit docstring.
(eval form) (eval form eval-options-map) Form is a read Clojure s expression represented as a list. Eval-options-map is a map, defaulting to the empty map, the following values of which are significant. Returns the result of evaling the input expression. Options ----------- :debug? :- (Option Bool) Enables or disables printing in eval. Used as the default value for printing in the emitter. :emit-opts :- (Option emit-options-map) An options map which will be merged with the default options provided to emit. Keys in this map take precidence over the default values provided to emit. The keys which are significant in this map are documented in the t.e.jvm.emit/emit docstring.
(load res)
(load res
{:keys [debug? eval-opts class-loader]
:or {debug? false
eval-opts {}
class-loader (clojure.lang.RT/makeClassLoader)}
:as options})
(load resource) (load resource load-options-map)
Resource is a string identifier for a Clojure resource on the classpath. Load-options is a a map, defalting to the empty map, in which the following keys are meaningful. Returns nil.
:debug? :- (Option Bool) Enables or disables printing in eval. Used as the default value for printing in the emitter.
:eval-opts :- (Option eval-options-map) An options map which will be merged with the default options provided to eval. Keys set in this map take precidence over the default values supplied to eval. The keys which are significant in this map are documented in the t.e.jvm/eval docstring.
:class-loader :- (Option ClassLoader) An optional classloader into which compiled functions will be injected. If not provided, a new Clojure classloader will be used. If a class loader is provided here, one need not be provided in eval-opts.
(load resource) (load resource load-options-map) Resource is a string identifier for a Clojure resource on the classpath. Load-options is a a map, defalting to the empty map, in which the following keys are meaningful. Returns nil. Options ----------- :debug? :- (Option Bool) Enables or disables printing in eval. Used as the default value for printing in the emitter. :eval-opts :- (Option eval-options-map) An options map which will be merged with the default options provided to eval. Keys set in this map take precidence over the default values supplied to eval. The keys which are significant in this map are documented in the t.e.jvm/eval docstring. :class-loader :- (Option ClassLoader) An optional classloader into which compiled functions will be injected. If not provided, a new Clojure classloader will be used. If a class loader is provided here, one need not be provided in eval-opts.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close