(node *ast.ImportAttributeName)
| 1316 | } |
| 1317 | |
| 1318 | func (p *Printer) emitImportAttributeName(node *ast.ImportAttributeName) { |
| 1319 | switch node.Kind { |
| 1320 | case ast.KindIdentifier: |
| 1321 | p.emitIdentifierName(node.AsIdentifier()) |
| 1322 | case ast.KindStringLiteral: |
| 1323 | p.emitStringLiteral(node.AsStringLiteral()) |
| 1324 | default: |
| 1325 | panic(fmt.Sprintf("unexpected ImportAttributeName: %v", node.Kind)) |
| 1326 | } |
| 1327 | } |
| 1328 | |
| 1329 | func (p *Printer) emitNestedModuleName(node *ast.ModuleName) { |
| 1330 | if node == nil { |
no test coverage detected