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

Function parseImportSource

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

Source from the content-addressed store, hash-verified

3133 }
3134
3135 parseImportSource(this: Parser): N.StringLiteral {
3136 if (!this.match(tt.string)) this.unexpected();
3137 return this.parseExprAtom() as N.StringLiteral;
3138 }
3139
3140 parseImportSpecifierLocal<
3141 T extends

Callers

nothing calls this directly

Calls 2

matchMethod · 0.80
parseExprAtomMethod · 0.45

Tested by

no test coverage detected