MetaBlock
Defined in: core/src/types/ast.ts:176
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:179
Key-value pairs
loc
loc:
SourceLocation
Defined in: core/src/types/ast.ts:16
Source location
Inherited from
params?
optionalparams?:ParamDefinition[]
Defined in: core/src/types/ast.ts:181
Template parameter definitions (for parameterized inheritance)
type
readonlytype:"MetaBlock"
Defined in: core/src/types/ast.ts:177
Node type discriminator