(n node.Node)
| 543 | } |
| 544 | |
| 545 | func (p *Printer) printNameRelative(n node.Node) { |
| 546 | nn := n.(*name.Relative) |
| 547 | p.printFreeFloating(nn, freefloating.Start) |
| 548 | |
| 549 | io.WriteString(p.w, "namespace") |
| 550 | p.printFreeFloating(nn, freefloating.Namespace) |
| 551 | |
| 552 | for _, part := range nn.Parts { |
| 553 | io.WriteString(p.w, "\\") |
| 554 | p.Print(part) |
| 555 | } |
| 556 | |
| 557 | p.printFreeFloating(nn, freefloating.End) |
| 558 | } |
| 559 | |
| 560 | // scalar |
| 561 |
no test coverage detected