Current section

Files

Jump to
html_to_markdown lib html_to_markdown tier_strategy.ex
Raw

lib/html_to_markdown/tier_strategy.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:587d200c95438abc2158e73f50ad7a072bde7ec6ef55df8510c6b9bc5343923c
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule HtmlToMarkdown.TierStrategy do
@moduledoc "Controls which conversion tier is used."
@typedoc "Controls which conversion tier is used."
@type t :: :auto | :tier2 | :tier1
@auto :auto
@tier2 :tier2
@tier1 :tier1
@doc "Automatically pick the best tier for the input (default)."
@spec auto() :: t()
def auto, do: @auto
@doc "Always use the Tier-2 (`tl::parse` + walk) path, skipping Tier-1."
@spec tier2() :: t()
def tier2, do: @tier2
@doc "Force the Tier-1 byte scanner; if it bails, fall back to Tier-2. Testkit-only; not stable API."
@spec tier1() :: t()
def tier1, do: @tier1
end