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

Method printString

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

Source from the content-addressed store, hash-verified

946}
947
948func (p *PrettyPrinter) printString(n node.Node) {
949 nn := n.(*cast.String)
950
951 io.WriteString(p.w, "(string)")
952 p.Print(nn.Expr)
953}
954
955func (p *PrettyPrinter) printUnset(n node.Node) {
956 nn := n.(*cast.Unset)

Callers 1

printNodeMethod · 0.95

Calls 1

PrintMethod · 0.95

Tested by

no test coverage detected