Skip to content

PromptScript API


Interface: TextEntry

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

Canonical free-form text entry.

Extends

Properties

loc

readonly loc: object

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

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


text

readonly text: string

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


type

readonly type: "TextEntry"

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

Overrides

CanonicalNode.type