Vize.Vapor.Result (Vize v0.13.0)

Copy Markdown View Source

Result of Vapor template compilation.

Summary

Types

input()

@type input() :: %{
  :code => String.t(),
  optional(:templates) => [String.t()],
  optional(:diagnostics) => [
    Vize.Diagnostic.input() | Vize.Diagnostic.t() | String.t()
  ]
}

t()

@type t() :: %Vize.Vapor.Result{
  code: String.t(),
  diagnostics: [Vize.Diagnostic.t()],
  templates: [String.t()]
}

Functions

new(result)

@spec new(input() | t()) :: t()