Skip to content

Commit

Permalink
Updated docstrings of compiler protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
onionpancakes committed Feb 19, 2024
1 parent 52790e6 commit 682cb07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dev/onionpancakes/chassis/compiler.clj
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
(not-attrs? [this] "Returns true if form is not attrs. Returns false if it might be attrs.")
(constant? [this] "Returns true if form is constant, safe to make fragments with at compile time.")
(evaluated? [this] "Returns true if form is evaluated, safe to make tokens with at compile time.")
(resolved [this] "Returns the form in which symbols and coll of symbols are resolved."))
(resolved [this] "Returns the form in which symbols are resolved and outer macros expanded."))

(defprotocol CompilableNode
(branch? [this] "Returns true if branch node.")
(children [this] "Returns children as Iterable."))
(children [this] "Returns children of node."))

;; Binding of macro &env, for resolving symbols.
(def ^:dynamic *env* nil)
Expand Down

0 comments on commit 682cb07

Please sign in to comment.