PhpParser\PrettyPrinter\Standard::pExpr_Exit PHP Method

pExpr_Exit() protected method

protected pExpr_Exit ( PhpParser\Node\Expr\Exit_ $node )
$node PhpParser\Node\Expr\Exit_
    protected function pExpr_Exit(Expr\Exit_ $node) {
        $kind = $node->getAttribute('kind', Expr\Exit_::KIND_DIE);
        return ($kind === Expr\Exit_::KIND_EXIT ? 'exit' : 'die')
             . (null !== $node->expr ? '(' . $this->p($node->expr) . ')' : '');
    }
Standard