(n node.Node)
| 2543 | } |
| 2544 | |
| 2545 | func (p *Printer) printStmtExpression(n node.Node) { |
| 2546 | nn := n.(*stmt.Expression) |
| 2547 | p.printFreeFloating(nn, freefloating.Start) |
| 2548 | |
| 2549 | p.Print(nn.Expr) |
| 2550 | p.printFreeFloating(nn, freefloating.Expr) |
| 2551 | |
| 2552 | p.printFreeFloating(nn, freefloating.SemiColon) |
| 2553 | if nn.GetFreeFloating().IsEmpty() { |
| 2554 | io.WriteString(p.w, ";") |
| 2555 | } |
| 2556 | |
| 2557 | p.printFreeFloating(nn, freefloating.End) |
| 2558 | } |
| 2559 | |
| 2560 | func (p *Printer) printStmtFinally(n node.Node) { |
| 2561 | nn := n.(*stmt.Finally) |
no test coverage detected