Source for an Astral template file.
Astral keeps template source as a struct so renderers can distinguish static
HTML layout strings from HEEx-backed .astral templates without relying on
tuple conventions or map shapes.
Summary
Functions
Split an optional Elixir setup block from HEEx, returning its first source line.
Types
Functions
@spec split(String.t()) :: {String.t(), String.t(), pos_integer()}
Split an optional Elixir setup block from HEEx, returning its first source line.