PhpParser\PrettyPrinter\Standard::pCallLhs PHP Method

pCallLhs() protected method

protected pCallLhs ( PhpParser\Node $node )
$node PhpParser\Node
    protected function pCallLhs(Node $node) {
        if ($node instanceof Name
            || $node instanceof Expr\Variable
            || $node instanceof Expr\ArrayDimFetch
            || $node instanceof Expr\FuncCall
            || $node instanceof Expr\MethodCall
            || $node instanceof Expr\StaticCall
            || $node instanceof Expr\Array_
        ) {
            return $this->p($node);
        } else  {
            return '(' . $this->p($node) . ')';
        }
    }
Standard