Skip to main content
Version: v0.0.4

Interface: QuirkDescriptor

A public, grounded description of one vendor quirk - the metadata that binds a quirk recipe to a real parser warning code and a publicly-groundable deviation (cited-public, never a private vendor corpus).

Properties

disposition

readonly disposition: QuirkProfileDisposition

How toleratingProfile treats the quirk.


format

readonly format: SynthFormat

The format this quirk applies to.


grounding

readonly grounding: string

The public grounding for this quirk - the spec clause or the parser's public profile that documents the tolerance. Never a private vendor-attributed corpus.


intendedWarnings

readonly intendedWarnings: readonly string[]

The exact parser warning code(s) a bare parse (no profile) surfaces for this quirk - the intended-warning contract. A quirk that produces any other code, or none, is a generation bug.


name

readonly name: string

The quirk recipe name (e.g. "unknown-zsegment"). Stable; part of the public contract.


toleratingProfile?

readonly optional toleratingProfile?: string

The parser profile that tolerates this quirk (when a built-in public one exists).