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

Method constructor

packages/babel-parser/src/util/scope.ts:34–37  ·  view source on GitHub ↗
(parser: Tokenizer, inModule: boolean)

Source from the content-addressed store, hash-verified

32 undefinedExports = new Map<string, number>();
33
34 constructor(parser: Tokenizer, inModule: boolean) {
35 this.parser = parser;
36 this.inModule = inModule;
37 }
38
39 get inTopLevel() {
40 return (this.currentScope().flags & ScopeFlag.PROGRAM) > 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected