Installs a boundary declaration onto a module that is currently being
compiled.
Summary
Functions
Declares module as a boundary, as if it had called use Boundary. Must be
called while module is still being compiled.
Returns true if module has been declared as a boundary.
Reads back the boundary definition installed on a compiled module, or nil.
Converts fully qualified export modules into the boundary-relative form.
Types
Functions
Declares module as a boundary, as if it had called use Boundary. Must be
called while module is still being compiled.
:exports- fully qualified modules, converted to the relative formboundaryexpects.:file/:line- source position forboundary's error messages.- Any other option passes through to
boundaryuntouched.
Applies no defaults. Raises ArgumentError if an export lives outside the
boundary's namespace.
Returns true if module has been declared as a boundary.
Reads back the boundary definition installed on a compiled module, or nil.
Converts fully qualified export modules into the boundary-relative form.
Drops the boundary module itself. Returns {:error, modules} for modules
outside boundary's namespace.