cast
(n node.Node)
| 1176 | // cast |
| 1177 | |
| 1178 | func (p *Printer) printArray(n node.Node) { |
| 1179 | nn := n.(*cast.Array) |
| 1180 | p.printFreeFloating(nn, freefloating.Start) |
| 1181 | |
| 1182 | p.printFreeFloating(nn, freefloating.Cast) |
| 1183 | if nn.GetFreeFloating().IsEmpty() { |
| 1184 | io.WriteString(p.w, "(array)") |
| 1185 | } |
| 1186 | |
| 1187 | p.Print(nn.Expr) |
| 1188 | p.printFreeFloating(nn, freefloating.End) |
| 1189 | } |
| 1190 | |
| 1191 | func (p *Printer) printBool(n node.Node) { |
| 1192 | nn := n.(*cast.Bool) |
no test coverage detected