Package: effect
Module: SchemaAST
Represents the abstract base class for all AST node variants.
Details
Every AST node extends Base and inherits these fields:
annotations — user-supplied metadata (identifier, title, description,
arbitrary keys).checks — optional Checks for post-type-match validation.encoding — optional Encoding chain for type ↔ wire
transformations.context — optional Context for per-property metadata.Subclasses add a _tag discriminant and variant-specific data.
See
ASTSignature
declare class Base { constructor(
annotations: Schema.Annotations.Annotations | undefined = undefined,
checks: Checks | undefined = undefined,
encoding: Encoding | undefined = undefined,
context: Context | undefined = undefined
) }
Since v4.0.0