hara.typed.xtalk-lower

+wrapper-targets+

access-kind

added in 4.1

(access-kind type ctx)

returns the canonical access kind for a receiver type

intrinsic-sym

(intrinsic-sym name)

lower-defaulted-target

(lower-defaulted-target target args)

lower-dot

added in 4.1

(lower-dot form)(lower-dot [_ obj & path-parts] ctx)

lowers dot access using the receiver’s XTalk type when available

List-shaped path parts are native method calls and are preserved for the target emitter. Vector-shaped path parts are structural key/index access. Single-segment access becomes x:get-key or x:get-idx. Multi-segment access becomes x:get-path, which is direct chained path access; it is not the guarded traversal provided by xt.lang.common-data/get-in.

lower-fn-shorthand

(lower-fn-shorthand [_ & args])

lower-form

(lower-form form ctx)

lower-list

(lower-list form ctx)

lower-offset-index

(lower-offset-index args offset)

resolve-op

(resolve-op op {:keys [ns aliases]})