Skip to main content
Version: v0.0.4

Interface: Artifact

One generated artifact - the serialized wire text plus the metadata needed to reproduce and check it. warnings records what the artifact's own parser reported on the round-trip (zero for a spec-clean artifact).

Properties

content

readonly content: string

The serialized wire text, produced by the parser's own conservative serializer.


format

readonly format: SynthFormat

The format this artifact belongs to.


kind

readonly kind: string

A format-specific kind label (e.g. "ADT^A01").


warnings

readonly warnings: readonly string[]

The warning codes the parser emitted when the artifact was round-tripped (empty = spec-clean).