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

Method printStmtTraitMethodRef

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

Source from the content-addressed store, hash-verified

2043}
2044
2045func (p *PrettyPrinter) printStmtTraitMethodRef(n node.Node) {
2046 nn := n.(*stmt.TraitMethodRef)
2047
2048 p.Print(nn.Trait)
2049 io.WriteString(p.w, "::")
2050 p.Print(nn.Method)
2051}
2052
2053func (p *PrettyPrinter) printStmtTraitUseAlias(n node.Node) {
2054 nn := n.(*stmt.TraitUseAlias)

Callers 1

printNodeMethod · 0.95

Calls 1

PrintMethod · 0.95

Tested by

no test coverage detected