(this: Parser, node: Undone<N.ImportDeclaration>)
| 3072 | // https://tc39.es/ecma262/#prod-ImportDeclaration |
| 3073 | |
| 3074 | parseImport(this: Parser, node: Undone<N.ImportDeclaration>): N.AnyImport { |
| 3075 | if (this.match(tt.string)) { |
| 3076 | // import '...' |
| 3077 | return this.parseImportSourceAndAttributes(node); |
| 3078 | } |
| 3079 | |
| 3080 | return this.parseImportSpecifiersAndAfter( |
| 3081 | node, |
| 3082 | this.parseMaybeImportPhase(node, /* isExport */ false), |
| 3083 | ); |
| 3084 | } |
| 3085 | |
| 3086 | parseImportSpecifiersAndAfter( |
| 3087 | this: Parser, |