JVM emitter for defclosedrecord. Builds the deftype* form and the factories. Internal: the function name and argument shape can change.
This namespace does not require closed-record.core. It emits the runtime protocol interface name and the key-error function name only as symbols.
JVM emitter for defclosedrecord. Builds the deftype* form and the factories. Internal: the function name and argument shape can change. This namespace does not require closed-record.core. It emits the runtime protocol interface name and the key-error function name only as symbols.
(emit tname fields opts impls)Return the expansion form of a closed record type.
tname is the type name symbol, fields the declared field vector (with
metadata), opts the option map and impls a sequence of
[symbol method-forms] pairs, in source order.
Return the expansion form of a closed record type. `tname` is the type name symbol, `fields` the declared field vector (with metadata), `opts` the option map and `impls` a sequence of `[symbol method-forms]` pairs, in source order.
The hidden fields of a closed record type, with their deftype* metadata, in field order after the declared fields.
The hidden fields of a closed record type, with their deftype* metadata, in field order after the declared fields.
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 |