Skip to main content
Version: v0.0.4

Interface: QuirkRoundTripResult

The verdict of round-tripping a quirk artifact through its parser.

Properties

content

readonly content: string

The quirked wire text that was parsed.


intendedWarningHeld

readonly intendedWarningHeld: boolean

true iff the bare parse produced exactly the intended code(s) - the intended-warning contract.


intendedWarnings

readonly intendedWarnings: readonly string[]

The exact code(s) the quirk is meant to produce.


warnings

readonly warnings: readonly string[]

The warning codes a bare parse (no profile) emitted.


withProfile?

readonly optional withProfile?: QuirkProfiledVerdict

The verdict under the tolerating profile, when a built-in public one exists.