rewritten — the post-desugar string fed to the lexer.
quantityHint — present when the natural-language quantity
prefix matched. Always mode: 'lenient' here; strict-mode hints
come from the parser's QuantityNode.
error — set when desugar detected an unrecoverable ambiguity
(quantity + ordinal collision). When set, rewritten is the
original input and quantityHint is undefined; the resolver
surfaces the message.
Output of the desugar pass.
rewritten— the post-desugar string fed to the lexer.quantityHint— present when the natural-language quantity prefix matched. Alwaysmode: 'lenient'here; strict-mode hints come from the parser'sQuantityNode.error— set when desugar detected an unrecoverable ambiguity (quantity + ordinal collision). When set,rewrittenis the original input andquantityHintis undefined; the resolver surfaces the message.