Skip to content

PromptScript API


Interface: InheritDeclaration

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

Inheritance declaration.

Example

@inherit @core/org
@inherit ./parent

Extends

Properties

loc

loc: SourceLocation

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

Source location

Inherited from

BaseNode.loc


path

path: PathReference

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

Path to parent file


type

readonly type: "InheritDeclaration"

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

Node type discriminator

Overrides

BaseNode.type