(n node.Node)
| 2786 | } |
| 2787 | |
| 2788 | func (p *Printer) printStmtInlineHTML(n node.Node) { |
| 2789 | nn := n.(*stmt.InlineHtml) |
| 2790 | p.printFreeFloating(nn, freefloating.Start) |
| 2791 | |
| 2792 | if p.s == PhpState && nn.GetFreeFloating().IsEmpty() { |
| 2793 | io.WriteString(p.w, "?>") |
| 2794 | } |
| 2795 | p.SetState(HtmlState) |
| 2796 | |
| 2797 | io.WriteString(p.w, nn.Value) |
| 2798 | |
| 2799 | p.printFreeFloating(nn, freefloating.End) |
| 2800 | } |
| 2801 | |
| 2802 | func (p *Printer) printStmtInterface(n node.Node) { |
| 2803 | nn := n.(*stmt.Interface) |
no test coverage detected