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

Method printArray

printer/pretty_printer.go:913–918  ·  view source on GitHub ↗

cast

(n node.Node)

Source from the content-addressed store, hash-verified

911// cast
912
913func (p *PrettyPrinter) printArray(n node.Node) {
914 nn := n.(*cast.Array)
915
916 io.WriteString(p.w, "(array)")
917 p.Print(nn.Expr)
918}
919
920func (p *PrettyPrinter) printBool(n node.Node) {
921 nn := n.(*cast.Bool)

Callers 1

printNodeMethod · 0.95

Calls 1

PrintMethod · 0.95

Tested by

no test coverage detected