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

Method printAssignMod

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

Source from the content-addressed store, hash-verified

761}
762
763func (p *Printer) printAssignMod(n node.Node) {
764 nn := n.(*assign.Mod)
765 p.printFreeFloating(nn, freefloating.Start)
766 p.Print(nn.Variable)
767 p.printFreeFloating(nn, freefloating.Var)
768 io.WriteString(p.w, "%=")
769 p.Print(nn.Expression)
770
771 p.printFreeFloating(nn, freefloating.End)
772}
773
774func (p *Printer) printAssignMul(n node.Node) {
775 nn := n.(*assign.Mul)

Callers 1

printNodeMethod · 0.95

Calls 2

printFreeFloatingMethod · 0.95
PrintMethod · 0.95

Tested by

no test coverage detected