Skip to content

PromptScript API


Interface: SyntaxVersionDef

Defined in: core/src/syntax-versions.ts:28

Definition of a syntax version's capabilities. Block lists are cumulative — each version includes all blocks from prior versions.

Properties

blocks

readonly blocks: readonly string[]

Defined in: core/src/syntax-versions.ts:30

All block types valid for this version (cumulative, not delta)


features

readonly features: readonly SyntaxFeature[]

Defined in: core/src/syntax-versions.ts:32

All non-block syntax features valid for this version (cumulative, not delta)