Skip to content

PromptScript API


Interface: PresentationEntry

Defined in: core/src/types/ast.ts:584

Canonical presentation metadata for a generated section title.

Extends

Properties

loc

readonly loc: object

Defined in: core/src/types/ast.ts:467

column

readonly column: number

Column number (1-indexed)

file

readonly file: string

File path

line

readonly line: number

Line number (1-indexed)

offset?

readonly optional offset?: number

Byte offset from start of file

Inherited from

CanonicalNode.loc


sectionId?

readonly optional sectionId?: string

Defined in: core/src/types/ast.ts:587

Canonical section ID. Omitted for the block's primary section.


sectionLoc?

readonly optional sectionLoc?: SourceLocation

Defined in: core/src/types/ast.ts:590


source

readonly source: "explicit" | "legacy"

Defined in: core/src/types/ast.ts:589


title

readonly title: string

Defined in: core/src/types/ast.ts:588


titleLoc

readonly titleLoc: SourceLocation

Defined in: core/src/types/ast.ts:591


type

readonly type: "PresentationEntry"

Defined in: core/src/types/ast.ts:585

Overrides

CanonicalNode.type