Interface: CanonicalProgramOptions¶
Defined in: core/src/canonical-ast.ts:55
Properties¶
loc¶
readonlyloc:SourceLocation
Defined in: core/src/canonical-ast.ts:59
meta?¶
readonlyoptionalmeta?:object
Defined in: core/src/canonical-ast.ts:56
fields¶
readonlyfields:object
Key-value pairs
Index Signature¶
[key: string]: PrimitiveValue | { constraints?: { max?: number; min?: number; options?: readonly PrimitiveValue | { readonly type: "TypeExpression"; readonly kind: "string" | "number" | "boolean" | "enum" | "range" | "list"; readonly params?: readonly (PrimitiveValue | ... 4 more ... | { ...; })[] | undefined; readonly constraints?: { ...; } | undefined; readonly loc: { ...; }; } | { ...; } | readonly (Primitiv...[]; }; kind: "string" | "number" | "boolean" | "enum" | "range" | "list"; loc: { column: number; file: string; line: number; offset?: number; }; params?: readonly PrimitiveValue | { readonly type: "TypeExpression"; readonly kind: "string" | "number" | "boolean" | "enum" | "range" | "list"; readonly params?: readonly (PrimitiveValue | ... 4 more ... | { ...; })[] | undefined; readonly constraints?: { ...; } | undefined; readonly loc: { ...; }; } | { ...; } | readonly (Primitiv...[]; type: "TypeExpression"; } | { loc: { column: number; file: string; line: number; offset?: number; }; type: "TextContent"; value: string; } | readonly PrimitiveValue | { readonly type: "TypeExpression"; readonly kind: "string" | "number" | "boolean" | "enum" | "range" | "list"; readonly params?: readonly (PrimitiveValue | ... 4 more ... | { ...; })[] | undefined; readonly constraints?: { ...; } | undefined; readonly loc: { ...; }; } | { ...; } | readonly (Primitiv...[] | {[key: string]: PrimitiveValue | { readonly type: "TypeExpression"; readonly kind: "string" | "number" | "boolean" | "enum" | "range" | "list"; readonly params?: readonly (PrimitiveValue | ... 4 more ... | { ...; })[] | undefined; readonly constraints?: { ...; } | undefined; readonly loc: { ...; }; } | { ...; } | readonly (Primitiv...; } | { loc: { column: number; file: string; line: number; offset?: number; }; name: string; type: "TemplateExpression"; }
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 parameter definitions (for parameterized inheritance)
type¶
readonlytype:"MetaBlock"
Node type discriminator
operations¶
readonlyoperations: readonlyProgramOperation[]
Defined in: core/src/canonical-ast.ts:57
syntaxFeatures?¶
readonlyoptionalsyntaxFeatures?: readonlyobject[]
Defined in: core/src/canonical-ast.ts:58