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

Method printExprBitwiseNot

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

Source from the content-addressed store, hash-verified

1372}
1373
1374func (p *Printer) printExprBitwiseNot(n node.Node) {
1375 nn := n.(*expr.BitwiseNot)
1376 p.printFreeFloating(nn, freefloating.Start)
1377 io.WriteString(p.w, "~")
1378 p.Print(nn.Expr)
1379 p.printFreeFloating(nn, freefloating.End)
1380}
1381
1382func (p *Printer) printExprBooleanNot(n node.Node) {
1383 nn := n.(*expr.BooleanNot)

Callers 1

printNodeMethod · 0.95

Calls 2

printFreeFloatingMethod · 0.95
PrintMethod · 0.95

Tested by

no test coverage detected