Interface: MetaBlock¶
Defined in: core/src/types/ast.ts:128
Metadata block containing file identification.
Example¶
@meta {
id: "my-project"
syntax: "1.0.0"
params: {
projectName: string
strict?: boolean = true
}
}
Extends¶
Properties¶
fields¶
fields:
Record\<string,Value>
Defined in: core/src/types/ast.ts:131
Key-value pairs
loc¶
loc:
SourceLocation
Defined in: core/src/types/ast.ts:14
Source location
Inherited from¶
params?¶
optionalparams:ParamDefinition[]
Defined in: core/src/types/ast.ts:133
Template parameter definitions (for parameterized inheritance)
type¶
readonlytype:"MetaBlock"
Defined in: core/src/types/ast.ts:129
Node type discriminator