View Source Syrup.Record.Info (Syrup v0.3.0)

Summary

Functions

syrup DSL entities

The Syrup label of the record.

The Syrup label of the record.

syrup DSL options

Functions

syrup(dsl_or_extended)

@spec syrup(dsl_or_extended :: module() | map()) :: [struct()]

syrup DSL entities

syrup_label(dsl_or_extended)

@spec syrup_label(dsl_or_extended :: module() | map()) :: {:ok, atom()} | :error

The Syrup label of the record.

syrup_label!(dsl_or_extended)

@spec syrup_label!(dsl_or_extended :: module() | map()) :: atom() | no_return()

The Syrup label of the record.

syrup_options(dsl_or_extended)

@spec syrup_options(dsl_or_extended :: module() | map()) :: %{
  required(atom()) => any()
}

syrup DSL options

Returns a map containing the and any configured or default values.