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

Function parseImportSource

packages/babel-parser/src/parser/statement.ts:3131–3134  ·  view source on GitHub ↗
(this: Parser)

Source from the content-addressed store, hash-verified

3129 }
3130
3131 parseImportSource(this: Parser): N.StringLiteral {
3132 if (!this.match(tt.string)) this.unexpected();
3133 return this.parseExprAtom() as N.StringLiteral;
3134 }
3135
3136 parseImportSpecifierLocal<
3137 T extends

Callers

nothing calls this directly

Calls 2

matchMethod · 0.80
parseExprAtomMethod · 0.45

Tested by

no test coverage detected