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

Method createScope

packages/babel-parser/src/plugins/flow/scope.ts:12–14  ·  view source on GitHub ↗
(flags: ScopeFlag)

Source from the content-addressed store, hash-verified

10
11export default class FlowScopeHandler extends ScopeHandler<FlowScope> {
12 createScope(flags: ScopeFlag): FlowScope {
13 return new FlowScope(flags);
14 }
15
16 declareName(name: string, bindingType: BindingFlag, loc: number) {
17 const scope = this.currentScope();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected