Skip to content

BlockOperation

PromptScript API


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

Canonical block declaration operation.

Extends

Properties

block

readonly block: CanonicalBlock

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


loc

readonly loc: object

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

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


sourceLayerId

readonly sourceLayerId: string

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


type

readonly type: "BlockOperation"

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

Overrides

CanonicalNode.type