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

Method printExprUnaryPlus

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

Source from the content-addressed store, hash-verified

1856}
1857
1858func (p *Printer) printExprUnaryPlus(n node.Node) {
1859 nn := n.(*expr.UnaryPlus)
1860 p.printFreeFloating(nn, freefloating.Start)
1861
1862 io.WriteString(p.w, "+")
1863 p.Print(nn.Expr)
1864
1865 p.printFreeFloating(nn, freefloating.End)
1866}
1867
1868func (p *Printer) printExprVariable(n node.Node) {
1869 nn := n.(*expr.Variable)

Callers 1

printNodeMethod · 0.95

Calls 2

printFreeFloatingMethod · 0.95
PrintMethod · 0.95

Tested by

no test coverage detected