Current section

Files

Jump to
xberg lib xberg content_layer.ex
Raw

lib/xberg/content_layer.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:209a244862e56919f9675a72596b4bcd9283654720164e27cad36e49934090ab
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.ContentLayer do
@moduledoc """
Content layer classification for document nodes.
Replaces separate body/furniture arrays with per-node granularity.
"""
@typedoc "Content layer classification for document nodes."
@type t :: :body | :header | :footer | :footnote
@body :body
@header :header
@footer :footer
@footnote :footnote
@doc "Main document body content."
@spec body() :: t()
def body, do: @body
@doc "Page/section header (running header)."
@spec header() :: t()
def header, do: @header
@doc "Page/section footer (running footer)."
@spec footer() :: t()
def footer, do: @footer
@doc "Footnote content."
@spec footnote() :: t()
def footnote, do: @footnote
end