(n node.Node)
| 494 | } |
| 495 | |
| 496 | func (p *Printer) printNodeArgument(n node.Node) { |
| 497 | nn := n.(*node.Argument) |
| 498 | p.printFreeFloating(nn, freefloating.Start) |
| 499 | |
| 500 | if nn.IsReference { |
| 501 | io.WriteString(p.w, "&") |
| 502 | } |
| 503 | p.printFreeFloating(nn, freefloating.Ampersand) |
| 504 | |
| 505 | if nn.Variadic { |
| 506 | io.WriteString(p.w, "...") |
| 507 | } |
| 508 | p.printFreeFloating(nn, freefloating.Variadic) |
| 509 | |
| 510 | p.Print(nn.Expr) |
| 511 | |
| 512 | p.printFreeFloating(nn, freefloating.End) |
| 513 | } |
| 514 | |
| 515 | // name |
| 516 |
no test coverage detected