MCPcopy
hub / github.com/microsoft/pyright / constructor

Method constructor

server/src/parser/parseNodes.ts:278–283  ·  view source on GitHub ↗
(defToken: Token, name: NameNode, suite: SuiteNode)

Source from the content-addressed store, hash-verified

276 suite: SuiteNode;
277
278 constructor(defToken: Token, name: NameNode, suite: SuiteNode) {
279 super(defToken);
280 this.name = name;
281 this.suite = suite;
282 this.extend(suite);
283 }
284
285 getChildren(): RecursiveParseNodeArray {
286 return [this.decorators, this.name, this.parameters,

Callers

nothing calls this directly

Calls 1

extendMethod · 0.80

Tested by

no test coverage detected