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

Method printExprFunctionCall

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

Source from the content-addressed store, hash-verified

1531}
1532
1533func (p *Printer) printExprFunctionCall(n node.Node) {
1534 nn := n.(*expr.FunctionCall)
1535 p.printFreeFloating(nn, freefloating.Start)
1536
1537 p.Print(nn.Function)
1538
1539 p.printFreeFloating(nn.ArgumentList, freefloating.Start)
1540 io.WriteString(p.w, "(")
1541 p.joinPrint(",", nn.ArgumentList.Arguments)
1542 p.printFreeFloating(nn.ArgumentList, freefloating.ArgumentList)
1543 io.WriteString(p.w, ")")
1544 p.printFreeFloating(nn.ArgumentList, freefloating.End)
1545
1546 p.printFreeFloating(nn, freefloating.End)
1547}
1548
1549func (p *Printer) printExprInclude(n node.Node) {
1550 nn := n.(*expr.Include)

Callers 1

printNodeMethod · 0.95

Calls 3

printFreeFloatingMethod · 0.95
PrintMethod · 0.95
joinPrintMethod · 0.95

Tested by

no test coverage detected