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

Method declareByName

javascript/packages/core/lib/gen/scope.ts:37–39  ·  view source on GitHub ↗
(name: string, stmt: string)

Source from the content-addressed store, hash-verified

35 }
36
37 declareByName(name: string, stmt: string) {
38 return this.addDeclar(stmt, name);
39 }
40
41 declareVar(name: string, stmt: string) {
42 name = this.uniqueName(name);

Callers 3

constructorMethod · 0.80
writeMethod · 0.80
readMethod · 0.80

Calls 1

addDeclarMethod · 0.95

Tested by

no test coverage detected