Package-level declarations
Types
Mirror of an expression that appears inside a kBars tag; polymorphic discriminator is the field kind.
Mirror of an expression chain: a base expression plus zero or more transforms applied left-to-right.
Mirror of one arm of an {{#if}} block.
Mirror of a single AST segment; polymorphic discriminator is the field type.
Public, language-neutral mirror of a parsed template's AST, used to compare parse results against grammar conformance fixtures and to exchange parse trees across module boundaries without exposing internal AST types.
Mirror of one transform invocation in a FixtureExpressionChain.
Mirror of one tag's whitespace-control (~ trim) state. Both flags default to false so fixtures that predate the whitespace-control model, and tags without any ~ marker, need not spell the field out.
Functions
Scans source for opener delimiters that lack a matching closer and rewrites each unmatched opener's leading { to \ so the lexer sees a well-formed escape (\{{) instead of entering an EXPR mode it cannot leave. Returns the unmodified source if every opener is matched.
Parses source as a kBars template and converts the result into its FixtureTemplateAst mirror — the public, language-neutral parse representation consumed by conformance runners outside this module.