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

Method printAssignReference

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

Source from the content-addressed store, hash-verified

670}
671
672func (p *Printer) printAssignReference(n node.Node) {
673 nn := n.(*assign.Reference)
674 p.printFreeFloating(nn, freefloating.Start)
675 p.Print(nn.Variable)
676 p.printFreeFloating(nn, freefloating.Var)
677 io.WriteString(p.w, "=")
678 p.printFreeFloating(nn, freefloating.Equal)
679 io.WriteString(p.w, "&")
680 p.Print(nn.Expression)
681
682 p.printFreeFloating(nn, freefloating.End)
683}
684
685func (p *Printer) printAssignBitwiseAnd(n node.Node) {
686 nn := n.(*assign.BitwiseAnd)

Callers 1

printNodeMethod · 0.95

Calls 2

printFreeFloatingMethod · 0.95
PrintMethod · 0.95

Tested by

no test coverage detected