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

Method printBinaryMod

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

Source from the content-addressed store, hash-verified

1039}
1040
1041func (p *Printer) printBinaryMod(n node.Node) {
1042 nn := n.(*binary.Mod)
1043 p.printFreeFloating(nn, freefloating.Start)
1044
1045 p.Print(nn.Left)
1046 p.printFreeFloating(nn, freefloating.Expr)
1047 io.WriteString(p.w, "%")
1048 p.Print(nn.Right)
1049
1050 p.printFreeFloating(nn, freefloating.End)
1051}
1052
1053func (p *Printer) printBinaryMul(n node.Node) {
1054 nn := n.(*binary.Mul)

Callers 1

printNodeMethod · 0.95

Calls 2

printFreeFloatingMethod · 0.95
PrintMethod · 0.95

Tested by

no test coverage detected