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

Method printExprArray

printer/pretty_printer.go:983–989  ·  view source on GitHub ↗
(n node.Node)

Source from the content-addressed store, hash-verified

981}
982
983func (p *PrettyPrinter) printExprArray(n node.Node) {
984 nn := n.(*expr.Array)
985
986 io.WriteString(p.w, "array(")
987 p.joinPrint(", ", nn.Items)
988 io.WriteString(p.w, ")")
989}
990
991func (p *PrettyPrinter) printExprBitwiseNot(n node.Node) {
992 nn := n.(*expr.BitwiseNot)

Callers 1

printNodeMethod · 0.95

Calls 1

joinPrintMethod · 0.95

Tested by

no test coverage detected