PhpParser\PrettyPrinterAbstract::p PHP Method

p() protected method

Pretty prints a node.
protected p ( phpparser\Node $node ) : string
$node phpparser\Node Node to be pretty printed
return string Pretty printed node
    protected function p(Node $node)
    {
        return $this->{'p' . $node->getType()}($node);
    }