Skip to main content
Version: v0.0.6

Interface: QuirkProfiledVerdict

The verdict of a bare parse under the tolerating profile, if any.

Properties

disposition

readonly disposition: QuirkProfileDisposition

How the profile treats the quirk.


profileName

readonly profileName: string

The profile applied.


tolerated

readonly tolerated: boolean

true iff the profile handled the quirk as its disposition declares: "suppressed" ⇒ the intended code is gone; "rebadged" ⇒ the intended code is gone and PROFILE_QUIRK_APPLIED is present.


warnings

readonly warnings: readonly string[]

The warning codes the parser emitted with the profile active.