Lexing errors reported by the host lexer over the placeholder rendering.
Host-only tokens with every Triplate construct replaced by a length-preserving,
syntactically neutral placeholder (frontmatter blanked, ${…}/$<…> → <…>,
$"…" → "…"). Feed these to the host parser so its CST and error recovery
stay correct. Identical to tokens when the document is not a template.
Whether the document opens with a Triplate frontmatter header.
The faithful, public token stream: ordinary host tokens for the body, plus real TriplateToken tokens for the template constructs (interpolations, directives, and a single opaque frontmatter block). This is what IDE features (highlighting, reference indexing, tooltips, linting) should consume.
The result of tokenizing a (possibly Triplate-templated) document.