(n node.Node)
| 1228 | } |
| 1229 | |
| 1230 | func (p *Printer) printObject(n node.Node) { |
| 1231 | nn := n.(*cast.Object) |
| 1232 | p.printFreeFloating(nn, freefloating.Start) |
| 1233 | |
| 1234 | p.printFreeFloating(nn, freefloating.Cast) |
| 1235 | if nn.GetFreeFloating().IsEmpty() { |
| 1236 | io.WriteString(p.w, "(object)") |
| 1237 | } |
| 1238 | |
| 1239 | p.Print(nn.Expr) |
| 1240 | p.printFreeFloating(nn, freefloating.End) |
| 1241 | } |
| 1242 | |
| 1243 | func (p *Printer) printString(n node.Node) { |
| 1244 | nn := n.(*cast.String) |
no test coverage detected