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

Method printExprConstFetch

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

Source from the content-addressed store, hash-verified

1469}
1470
1471func (p *Printer) printExprConstFetch(n node.Node) {
1472 nn := n.(*expr.ConstFetch)
1473 p.printFreeFloating(nn, freefloating.Start)
1474 p.Print(nn.Constant)
1475 p.printFreeFloating(nn, freefloating.End)
1476}
1477
1478func (p *Printer) printExprEmpty(n node.Node) {
1479 nn := n.(*expr.Empty)

Callers 1

printNodeMethod · 0.95

Calls 2

printFreeFloatingMethod · 0.95
PrintMethod · 0.95

Tested by

no test coverage detected