MCPcopy Create free account
hub / github.com/z7zmey/php-parser / printExprPostDec

Method printExprPostDec

printer/printer.go:1660–1669  ·  view source on GitHub ↗
(n node.Node)

Source from the content-addressed store, hash-verified

1658}
1659
1660func (p *Printer) printExprPostDec(n node.Node) {
1661 nn := n.(*expr.PostDec)
1662 p.printFreeFloating(nn, freefloating.Start)
1663
1664 p.Print(nn.Variable)
1665 p.printFreeFloating(nn, freefloating.Var)
1666 io.WriteString(p.w, "--")
1667
1668 p.printFreeFloating(nn, freefloating.End)
1669}
1670
1671func (p *Printer) printExprPostInc(n node.Node) {
1672 nn := n.(*expr.PostInc)

Callers 1

printNodeMethod · 0.95

Calls 2

printFreeFloatingMethod · 0.95
PrintMethod · 0.95

Tested by

no test coverage detected