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

Method printExprClassConstFetch

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

Source from the content-addressed store, hash-verified

1388}
1389
1390func (p *Printer) printExprClassConstFetch(n node.Node) {
1391 nn := n.(*expr.ClassConstFetch)
1392 p.printFreeFloating(nn, freefloating.Start)
1393
1394 p.Print(nn.Class)
1395 p.printFreeFloating(nn, freefloating.Name)
1396 io.WriteString(p.w, "::")
1397 p.Print(nn.ConstantName)
1398
1399 p.printFreeFloating(nn, freefloating.End)
1400}
1401
1402func (p *Printer) printExprClone(n node.Node) {
1403 nn := n.(*expr.Clone)

Callers 1

printNodeMethod · 0.95

Calls 2

printFreeFloatingMethod · 0.95
PrintMethod · 0.95

Tested by

no test coverage detected