MCPcopy Create free account
hub / github.com/babel/babel / constructor

Method constructor

packages/babel-parser/src/util/class-scope.ts:22–24  ·  view source on GitHub ↗
(parser: Tokenizer)

Source from the content-addressed store, hash-verified

20 stack: ClassScope[] = [];
21
22 constructor(parser: Tokenizer) {
23 this.parser = parser;
24 }
25
26 current(): ClassScope {
27 return this.stack[this.stack.length - 1];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected