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

Method printAssignDiv

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

Source from the content-addressed store, hash-verified

739}
740
741func (p *Printer) printAssignDiv(n node.Node) {
742 nn := n.(*assign.Div)
743 p.printFreeFloating(nn, freefloating.Start)
744 p.Print(nn.Variable)
745 p.printFreeFloating(nn, freefloating.Var)
746 io.WriteString(p.w, "/=")
747 p.Print(nn.Expression)
748
749 p.printFreeFloating(nn, freefloating.End)
750}
751
752func (p *Printer) printAssignMinus(n node.Node) {
753 nn := n.(*assign.Minus)

Callers 1

printNodeMethod · 0.95

Calls 2

printFreeFloatingMethod · 0.95
PrintMethod · 0.95

Tested by

no test coverage detected