Compiles a policy's declarations to its Cite.Policy.Terms, the data the
rounds read, persists them on the module, and reads them back (read/1).
A Spark persister: it runs after Cite.Policy.Checks, so every
declaration it sees is valid. Internal.
Summary
Functions
Callback implementation for Spark.Dsl.Transformer.after?/1.
Callback implementation for Spark.Dsl.Transformer.after_compile?/0.
Callback implementation for Spark.Dsl.Transformer.before?/1.
The terms of a module that uses Cite.Policy. Raises
ArgumentError for any other module.
Functions
Callback implementation for Spark.Dsl.Transformer.after?/1.
Callback implementation for Spark.Dsl.Transformer.after_compile?/0.
Callback implementation for Spark.Dsl.Transformer.before?/1.
@spec read(module()) :: Cite.Policy.Terms.t()
The terms of a module that uses Cite.Policy. Raises
ArgumentError for any other module.