Liking cljdoc? Tell your friends :D

meme.alpha.parse.resolve

Value resolution: converts raw token text to Clojure values. All resolution is native — no delegation to read-string.

Value resolution: converts raw token text to Clojure values.
All resolution is native — no delegation to read-string.
raw docstring

resolve-auto-keywordclj/s

(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.

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.
sourceraw docstring

resolve-charclj/s

(resolve-char raw loc)

Resolve a character literal token (e.g. \a, \newline, \u0041) to a char value.

Resolve a character literal token (e.g. \a, \newline, \u0041) to a char value.
sourceraw docstring

resolve-numberclj/s

(resolve-number raw loc)

Resolve a number token to a numeric value. Handles integers, floats, hex (0x), octal (0), radix (NNr), ratios, BigInt (N), BigDecimal (M), and special values (##Inf, ##-Inf, ##NaN).

Resolve a number token to a numeric value. Handles integers, floats,
hex (0x), octal (0), radix (NNr), ratios, BigInt (N), BigDecimal (M),
and special values (##Inf, ##-Inf, ##NaN).
sourceraw docstring

resolve-regexclj/s

(resolve-regex raw loc)

Resolve a regex literal token to a regex value.

Resolve a regex literal token to a regex value.
sourceraw docstring

resolve-stringclj/s

(resolve-string raw loc)

Resolve a quoted string token to a string value. Handles escape sequences natively.

Resolve a quoted string token to a string value. Handles escape sequences natively.
sourceraw docstring

resolve-tagged-literalclj/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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close