function Standard::pStaticDereferenceLhs
3 calls to Standard::pStaticDereferenceLhs()
- Standard::pExpr_ClassConstFetch in vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinter/ Standard.php - Standard::pExpr_StaticCall in vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinter/ Standard.php - Standard::pExpr_StaticPropertyFetch in vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinter/ Standard.php
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinter/ Standard.php, line 1137
Class
Namespace
PhpParser\PrettyPrinterCode
protected function pStaticDereferenceLhs(Node $node) : string {
if (!$this->staticDereferenceLhsRequiresParens($node)) {
return $this->p($node);
}
else {
return '(' . $this->p($node) . ')';
}
}