Syntax

struct Syntax<Category>

Opaque, category-indexed macro syntax with token provenance and hygiene.

Category is phantom but construction is restricted: expression, pattern, type, and declaration syntax must validate through their canonical parser. Unlike an AST node, Syntax retains tokens and trivia so it can be quoted, spliced, and materialized without reconstructing identifiers from text.