Interface: ExtendBlock¶
Defined in: core/src/types/ast.ts:257
Extension block that modifies an existing block.
Example¶
@extend identity {
"""
Additional context.
"""
}
@extend standards.code {
frameworks: [react]
}
Extends¶
Properties¶
content¶
content:
BlockContent
Defined in: core/src/types/ast.ts:262
Content to merge
loc¶
loc:
SourceLocation
Defined in: core/src/types/ast.ts:14
Source location
Inherited from¶
targetPath¶
targetPath:
string
Defined in: core/src/types/ast.ts:260
Dot-separated path to target (e.g., "standards.code")
type¶
readonlytype:"ExtendBlock"
Defined in: core/src/types/ast.ts:258
Node type discriminator