Dsxir.Signature.Compiled (dsxir v0.1.0)

Copy Markdown

Runtime-compiled signature carrying the same introspection shape as a module-based signature. Produced by Dsxir.Signature.from_string/2 and Dsxir.Signature.from_string!/2 (string form) and by Dsxir.Predictor.ChainOfThought (field augmentation).

Consumers go through Dsxir.Signature.Runtime, which dispatches on module() vs %__MODULE__{} so callers never branch.

Summary

Types

t()

@type t() :: %Dsxir.Signature.Compiled{
  fields: [Dsxir.Signature.Field.t()],
  instruction: nil | String.t(),
  source: term()
}