MCPcopy Create free account
hub / github.com/hey-api/hey-api / constructor

Method constructor

packages/openapi-python/src/py-dsl/stmt/var.ts:19–25  ·  view source on GitHub ↗
(name?: NodeName)

Source from the content-addressed store, hash-verified

17 protected _type?: Ref<VarType>;
18
19 constructor(name?: NodeName) {
20 super();
21 if (name) this.name.set(name);
22 if (isSymbol(name)) {
23 name.setKind('var');
24 }
25 }
26
27 override analyze(ctx: AnalysisContext): void {
28 super.analyze(ctx);

Callers

nothing calls this directly

Calls 3

isSymbolFunction · 0.90
setKindMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected