AshR2RML.SemanticTypes.Generator (AshR2RML v26.8.22)

Copy Markdown View Source

Deterministic projection renderer for semantic type plans.

It returns path/content data only. Igniter or ggen owns filesystem mutation.

Summary

Functions

files(plan, opts \\ [])

@spec files(
  AshR2RML.SemanticType.Plan.t(),
  keyword()
) :: {:ok, map()} | {:error, term()}

igniter_files(plan, app_name, opts \\ [])

@spec igniter_files(AshR2RML.SemanticType.Plan.t(), atom() | String.t(), keyword()) ::
  {:ok, map()} | {:error, term()}

render_contract_tests(plan, namespace)

@spec render_contract_tests(AshR2RML.SemanticType.Plan.t(), String.t()) :: String.t()

render_elixir(plan, namespace)

@spec render_elixir(AshR2RML.SemanticType.Plan.t(), String.t()) :: String.t()