Interface: TypeExpressionValueNode¶
Defined in: core/src/types/ast.ts:527
Canonical type expression value.
Extends¶
Properties¶
expression¶
readonlyexpression:object
Defined in: core/src/types/ast.ts:529
constraints?¶
readonlyoptionalconstraints?:object
Constraints
constraints.max?¶
readonlyoptionalmax?:number
constraints.min?¶
readonlyoptionalmin?:number
constraints.options?¶
readonlyoptionaloptions?: readonly (PrimitiveValue| { readonly type: "TypeExpression"; readonly kind: "string" | "number" | "boolean" | "list" | "enum" | "range"; readonly params?: readonly (PrimitiveValue | ... | { readonly type: "TextContent"; readonly value: string; readonly loc: { ...; }; } | readonly (PrimitiveValue | ... 4 more ... | { ...; })[] | { ...; } | { ... | {loc: {column:number;file:string;line:number;offset?:number; };type:"TextContent";value:string; } | readonly (PrimitiveValue | { readonly type: "TypeExpression"; readonly kind: "string" | "number" | "boolean" | "list" | "enum" | "range"; readonly params?: readonly (PrimitiveValue | ... 4 more ... | { ...; })[] | undefined; readonly constraints?: { ...; } | undefined; readonly loc: { ...; }; } | { ...; } | readonly... | {[key:string]: PrimitiveValue | { readonly type: "TypeExpression"; readonly kind: "string" | "number" | "boolean" | "list" | "enum" | "range"; 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"; })[]
kind¶
readonlykind:"string"|"number"|"boolean"|"list"|"enum"|"range"
Type kind
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?: readonly (PrimitiveValue| { readonly type: "TypeExpression"; readonly kind: "string" | "number" | "boolean" | "list" | "enum" | "range"; readonly params?: readonly (PrimitiveValue | ... | { readonly type: "TextContent"; readonly value: string; readonly loc: { ...; }; } | readonly (PrimitiveValue | ... 4 more ... | { ...; })[] | { ...; } | { ... | {loc: {column:number;file:string;line:number;offset?:number; };type:"TextContent";value:string; } | readonly (PrimitiveValue | { readonly type: "TypeExpression"; readonly kind: "string" | "number" | "boolean" | "list" | "enum" | "range"; readonly params?: readonly (PrimitiveValue | ... 4 more ... | { ...; })[] | undefined; readonly constraints?: { ...; } | undefined; readonly loc: { ...; }; } | { ...; } | readonly... | {[key:string]: PrimitiveValue | { readonly type: "TypeExpression"; readonly kind: "string" | "number" | "boolean" | "list" | "enum" | "range"; 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"; })[]
Type parameters
type¶
readonlytype:"TypeExpression"
Node type discriminator
loc¶
readonlyloc:object
Defined in: core/src/types/ast.ts:497
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¶
type¶
readonlytype:"TypeExpressionValueNode"
Defined in: core/src/types/ast.ts:528