InheritOperation
Defined in: core/src/types/ast.ts:677
Canonical inheritance operation.
Extends
Properties
declaration
readonlydeclaration:object
Defined in: core/src/types/ast.ts:679
loc
readonlyloc:object
Source location
loc.column
readonlycolumn:number
Column number (1-indexed)
loc.file
readonlyfile:string
File path
loc.line
readonlyline:number
Line number (1-indexed)
loc.offset?
readonlyoptionaloffset?:number
Byte offset from start of file
params?
readonlyoptionalparams?: readonlyobject[]
Template parameters (for parameterized inheritance)
path
readonlypath:object
Path to parent file
path.isRelative
readonlyisRelative:boolean
Whether this is a relative path
path.loc
readonlyloc:object
Source location
path.loc.column
readonlycolumn:number
Column number (1-indexed)
path.loc.file
readonlyfile:string
File path
path.loc.line
readonlyline:number
Line number (1-indexed)
path.loc.offset?
readonlyoptionaloffset?:number
Byte offset from start of file
path.namespace?
readonlyoptionalnamespace?:string
Namespace (e.g., “core” from “@core/…”)
path.raw
readonlyraw:string
Original string representation
path.segments
readonlysegments: readonlystring[]
Path segments
path.type
readonlytype:"PathReference"
Node type discriminator
path.version?
readonlyoptionalversion?:string
Version constraint
type
readonlytype:"InheritDeclaration"
Node type discriminator
loc
readonlyloc:object
Defined in: core/src/types/ast.ts:499
column
readonlycolumn:number
Column number (1-indexed)
file
readonlyfile:string
File path
line
readonlyline:number
Line number (1-indexed)
offset?
readonlyoptionaloffset?:number
Byte offset from start of file
Inherited from
sourceLayerId
readonlysourceLayerId:string
Defined in: core/src/types/ast.ts:680
type
readonlytype:"InheritOperation"
Defined in: core/src/types/ast.ts:678