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

Method printExprIsset

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

Source from the content-addressed store, hash-verified

1589}
1590
1591func (p *Printer) printExprIsset(n node.Node) {
1592 nn := n.(*expr.Isset)
1593 p.printFreeFloating(nn, freefloating.Start)
1594
1595 io.WriteString(p.w, "isset")
1596 p.printFreeFloating(nn, freefloating.Isset)
1597 io.WriteString(p.w, "(")
1598 p.joinPrint(",", nn.Variables)
1599 p.printFreeFloating(nn, freefloating.VarList)
1600 io.WriteString(p.w, ")")
1601
1602 p.printFreeFloating(nn, freefloating.End)
1603}
1604
1605func (p *Printer) printExprList(n node.Node) {
1606 nn := n.(*expr.List)

Callers 1

printNodeMethod · 0.95

Calls 2

printFreeFloatingMethod · 0.95
joinPrintMethod · 0.95

Tested by

no test coverage detected