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

Method printExprIncludeOnce

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

Source from the content-addressed store, hash-verified

1558}
1559
1560func (p *Printer) printExprIncludeOnce(n node.Node) {
1561 nn := n.(*expr.IncludeOnce)
1562 p.printFreeFloating(nn, freefloating.Start)
1563 io.WriteString(p.w, "include_once")
1564 if nn.Expr.GetFreeFloating().IsEmpty() {
1565 io.WriteString(p.w, " ")
1566 }
1567 p.Print(nn.Expr)
1568 p.printFreeFloating(nn, freefloating.End)
1569}
1570
1571func (p *Printer) printExprInstanceOf(n node.Node) {
1572 nn := n.(*expr.InstanceOf)

Callers 1

printNodeMethod · 0.95

Calls 4

printFreeFloatingMethod · 0.95
PrintMethod · 0.95
IsEmptyMethod · 0.80
GetFreeFloatingMethod · 0.65

Tested by

no test coverage detected