SemanticDeclaration
Interface: SemanticDeclaration
Defined in: src/lib/semantics/types.ts:175
What a tool author passes to semantic(). At least one of series,
facts, edges or a non-null clarify must be present — an envelope
with no data and no question declares nothing.
not_covered is deliberately NOT here: the prose list on the rendered
envelope is DERIVED from coverage (not checked + cannot cover), so the
two can never disagree. Declaring coverage is how not_covered is said.
Properties
clarify?
readonlyoptionalclarify?:SemanticClarify|null
Defined in: src/lib/semantics/types.ts:185
null states "ambiguity was considered; there is none" — a fact, kept
on the record. Omit the field to say nothing.
coverage?
readonlyoptionalcoverage?:CoverageDeclaration
Defined in: src/lib/semantics/types.ts:182
The coverage()-vocabulary declaration this envelope absorbs.
edges?
readonlyoptionaledges?: readonlySemanticEdge[]
Defined in: src/lib/semantics/types.ts:178
facts?
readonlyoptionalfacts?: readonlySemanticFact[]
Defined in: src/lib/semantics/types.ts:177
grain?
readonlyoptionalgrain?:SemanticGrain
Defined in: src/lib/semantics/types.ts:179
provenance?
readonlyoptionalprovenance?:SemanticProvenance
Defined in: src/lib/semantics/types.ts:180
render?
readonlyoptionalrender?:SemanticRender
Defined in: src/lib/semantics/types.ts:186
series?
readonlyoptionalseries?: readonlySemanticSeriesPoint[]
Defined in: src/lib/semantics/types.ts:176
