(node *ast.ModuleName)
| 1327 | } |
| 1328 | |
| 1329 | func (p *Printer) emitNestedModuleName(node *ast.ModuleName) { |
| 1330 | if node == nil { |
| 1331 | return |
| 1332 | } |
| 1333 | |
| 1334 | switch node.Kind { |
| 1335 | case ast.KindIdentifier: |
| 1336 | p.emitIdentifierName(node.AsIdentifier()) |
| 1337 | case ast.KindStringLiteral: |
| 1338 | p.emitStringLiteral(node.AsStringLiteral()) |
| 1339 | default: |
| 1340 | panic(fmt.Sprintf("unexpected ModuleName: %v", node.Kind)) |
| 1341 | } |
| 1342 | } |
| 1343 | |
| 1344 | // |
| 1345 | // Signature elements |
no test coverage detected