MCPcopy Create free account
hub / github.com/apache/fory / constructor

Method constructor

javascript/packages/core/lib/gen/any.ts:131–136  ·  view source on GitHub ↗
(typeInfo: TypeInfo, builder: CodecBuilder, scope: Scope)

Source from the content-addressed store, hash-verified

129 detectedSerializer: string;
130 writerSerializer: string;
131 constructor(typeInfo: TypeInfo, builder: CodecBuilder, scope: Scope) {
132 super(typeInfo, builder, scope);
133 this.typeInfo = typeInfo;
134 this.detectedSerializer = this.scope.declareVar("detectedSerializer", "null");
135 this.writerSerializer = this.scope.declareVar("writerSerializer", "null");
136 }
137
138 write(accessor: string): string {
139 return `

Callers

nothing calls this directly

Calls 1

declareVarMethod · 0.80

Tested by

no test coverage detected