(n node.Node)
| 3119 | } |
| 3120 | |
| 3121 | func (p *Printer) printStmtTraitUse(n node.Node) { |
| 3122 | nn := n.(*stmt.TraitUse) |
| 3123 | p.printFreeFloating(nn, freefloating.Start) |
| 3124 | |
| 3125 | io.WriteString(p.w, "use") |
| 3126 | if nn.Traits[0].GetFreeFloating().IsEmpty() { |
| 3127 | io.WriteString(p.w, " ") |
| 3128 | } |
| 3129 | p.joinPrint(",", nn.Traits) |
| 3130 | |
| 3131 | p.Print(nn.TraitAdaptationList) |
| 3132 | |
| 3133 | p.printFreeFloating(nn, freefloating.End) |
| 3134 | } |
| 3135 | |
| 3136 | func (p *Printer) printStmtTrait(n node.Node) { |
| 3137 | nn := n.(*stmt.Trait) |
no test coverage detected