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

Method printExprReference

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

Source from the content-addressed store, hash-verified

1725}
1726
1727func (p *Printer) printExprReference(n node.Node) {
1728 nn := n.(*expr.Reference)
1729 p.printFreeFloating(nn, freefloating.Start)
1730
1731 io.WriteString(p.w, "&")
1732 p.Print(nn.Variable)
1733
1734 p.printFreeFloating(nn, freefloating.End)
1735}
1736
1737func (p *Printer) printExprRequire(n node.Node) {
1738 nn := n.(*expr.Require)

Callers 1

printNodeMethod · 0.95

Calls 2

printFreeFloatingMethod · 0.95
PrintMethod · 0.95

Tested by

no test coverage detected