Skip to main content

cljs.js

*

  • *eval-fn*

    Each runtime environment provides various ways to eval JavaScript source. Whatever function *eval-fn* is bound to will b...

  • *load-fn*

    Each runtime environment provides a different way to load a library. Whatever function *load-fn* is bound to will be pas...

A

  • analyze

    Analyze ClojureScript source. The compiler state will be populated with the results of analyzes. The parameters: state ...

  • analyze-str

    Analyze ClojureScript source. The compiler state will be populated with the results of analyzes. The parameters: state ...

C

  • compile

    Compile ClojureScript source into JavaScript. The parameters: state (atom) the compiler state source (string) the ...

  • compile-str

    Compile ClojureScript source into JavaScript. The parameters: state (atom) the compiler state source (string) the ...

D

E

  • empty-state

    Construct an empty compiler state. Required to invoke analyze, compile, eval and eval-str.

  • eval

    Evaluate a single ClojureScript form. The parameters: state (atom) the compiler state form (s-expr) the ClojureScr...

  • eval-str

    Evalute ClojureScript source given as a string. The parameters: state (atom) the compiler state source (string) th...

F

J

  • js-eval

    A default JavaScript evaluation function.

L

N

  • ns->relpath

    Given a namespace as a symbol return the relative path sans extension

P

R

S

V

W