Composable building blocks for Elixir-native DSLs.
Summary
Functions
Import DSL macros and install compile-time scope metadata.
Return true when the keyed scope is active.
Attach a child value to the nearest active accepting scope.
Return the active scope state, or nil when inactive.
Return the active scope state.
Return the active scope struct.
Return active scope state with a readable scope-name error.
Finish the active DSL scope.
Finish the active scope with a readable scope-name error.
Return a process-local DSL setting or its default value.
Declare a named Ecto-style option schema.
Store a process-local DSL setting.
Require an active scope by name for the calling DSL owner.
Require all active scopes by name for the calling DSL owner.
Reset a scope stack.
Reset a process-local DSL setting.
Declare a named process-local DSL scope.
Declare a named process-local DSL setting.
Start a named DSL scope.
Update the active scope state.
Update the active scope state with a readable directive error.
Functions
Import DSL macros and install compile-time scope metadata.
Return true when the keyed scope is active.
Attach a child value to the nearest active accepting scope.
Return the active scope state, or nil when inactive.
Return the active scope state.
Return the active scope struct.
Return active scope state with a readable scope-name error.
Finish the active DSL scope.
Finish the active scope with a readable scope-name error.
Return a process-local DSL setting or its default value.
Declare a named Ecto-style option schema.
Store a process-local DSL setting.
Require an active scope by name for the calling DSL owner.
Require all active scopes by name for the calling DSL owner.
Reset a scope stack.
Reset a process-local DSL setting.
Declare a named process-local DSL scope.
Declare a named process-local DSL setting.
Start a named DSL scope.
Update the active scope state.
Update the active scope state with a readable directive error.