(n node.Node)
| 1772 | } |
| 1773 | |
| 1774 | func (p *Printer) printExprShortArray(n node.Node) { |
| 1775 | nn := n.(*expr.ShortArray) |
| 1776 | p.printFreeFloating(nn, freefloating.Start) |
| 1777 | |
| 1778 | io.WriteString(p.w, "[") |
| 1779 | p.joinPrint(",", nn.Items) |
| 1780 | p.printFreeFloating(nn, freefloating.ArrayPairList) |
| 1781 | io.WriteString(p.w, "]") |
| 1782 | |
| 1783 | p.printFreeFloating(nn, freefloating.End) |
| 1784 | } |
| 1785 | |
| 1786 | func (p *Printer) printExprShortList(n node.Node) { |
| 1787 | nn := n.(*expr.ShortList) |
no test coverage detected