(n node.Node)
| 1241 | } |
| 1242 | |
| 1243 | func (p *Printer) printString(n node.Node) { |
| 1244 | nn := n.(*cast.String) |
| 1245 | p.printFreeFloating(nn, freefloating.Start) |
| 1246 | |
| 1247 | p.printFreeFloating(nn, freefloating.Cast) |
| 1248 | if nn.GetFreeFloating().IsEmpty() { |
| 1249 | io.WriteString(p.w, "(string)") |
| 1250 | } |
| 1251 | |
| 1252 | p.Print(nn.Expr) |
| 1253 | p.printFreeFloating(nn, freefloating.End) |
| 1254 | } |
| 1255 | |
| 1256 | func (p *Printer) printUnset(n node.Node) { |
| 1257 | nn := n.(*cast.Unset) |
no test coverage detected