View Source Kinda.CodeGen.TypeSpecRef (kinda v0.11.0)
A small embedded DSL describing typespecs in declaration manifests.
Typespecs are plain terms: builtins (:term, :integer, ...), remote
module types, lists, maps, tuples and unions. to_quoted/1 lowers them into
quoted Elixir typespecs, and to_manifest/1 / from_manifest/1 round-trip
them through the JSON-compatible manifest format.
Summary
Types
Functions
@spec atom() :: :atom
@spec binary() :: :binary
@spec boolean() :: :boolean
@spec float() :: :float
@spec integer() :: :integer
@spec ok() :: :ok
@spec term() :: :term