MCPcopy Create free account
hub / github.com/Effect-TS/effect / constructor

Method constructor

packages/effect/src/SchemaAST.ts:1237–1246  ·  view source on GitHub ↗
(
    symbol: symbol,
    annotations?: Schema.Annotations.Annotations,
    checks?: Checks,
    encoding?: Encoding,
    context?: Context
  )

Source from the content-addressed store, hash-verified

1235 readonly symbol: symbol
1236
1237 constructor(
1238 symbol: symbol,
1239 annotations?: Schema.Annotations.Annotations,
1240 checks?: Checks,
1241 encoding?: Encoding,
1242 context?: Context
1243 ) {
1244 super(annotations, checks, encoding, context)
1245 this.symbol = symbol
1246 }
1247 /** @internal */
1248 getParser() {
1249 return fromConst(this, this.symbol)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected