Value resolution: converts raw token text to Clojure values. Centralizes all host reader delegation (read-string calls) that were previously scattered across the parser.
Value resolution: converts raw token text to Clojure values. Centralizes all host reader delegation (read-string calls) that were previously scattered across the parser.
(resolve-auto-keyword raw loc resolve-fn)Resolve an auto-resolve keyword (::foo). If resolve-fn is provided, resolves at read time. Otherwise, defers to eval time via forms/deferred-auto-keyword.
On CLJS, :resolve-keyword is required — without it, :: keywords cannot be correctly resolved (cljs.reader/read-string resolves in the compiler's namespace, not the caller's).
Resolve an auto-resolve keyword (::foo). If resolve-fn is provided, resolves at read time. Otherwise, defers to eval time via forms/deferred-auto-keyword. On CLJS, :resolve-keyword is required — without it, :: keywords cannot be correctly resolved (cljs.reader/read-string resolves in the compiler's namespace, not the caller's).
(resolve-tagged-literal tag data loc)Resolve a tagged literal. JVM: produces TaggedLiteral. CLJS: error.
Resolve a tagged literal. JVM: produces TaggedLiteral. CLJS: error.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |