Searched refs:lhsPrecedence (Results 1 – 3 of 3) sorted by relevance
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 258 … protected function pExpr_Assign(Expr\Assign $node, int $precedence, int $lhsPrecedence): string { argument 432 $precedence, $lhsPrecedence); 477 protected function pExpr_Print(Expr\Print_ $node, int $precedence, int $lhsPrecedence): string { argument 483 … protected function pExpr_Cast_Int(Cast\Int_ $node, int $precedence, int $lhsPrecedence): string { argument 694 $node->expr, $precedence, $lhsPrecedence); 710 protected function pExpr_Clone(Expr\Clone_ $node, int $precedence, int $lhsPrecedence): string { argument 719 $precedence, $lhsPrecedence 729 protected function pExpr_Throw(Expr\Throw_ $node, int $precedence, int $lhsPrecedence): string { argument 733 protected function pExpr_Yield(Expr\Yield_ $node, int $precedence, int $lhsPrecedence): string { argument 736 return $opPrecedence >= $lhsPrecedence ? '(yield)' : 'yield'; [all …]
|
/PHP-Parser/lib/PhpParser/ |
H A D | PrettyPrinterAbstract.php | 387 int $precedence, int $lhsPrecedence argument 395 $lhsPrecedence = self::MAX_PRECEDENCE; 416 if ($opPrecedence >= $lhsPrecedence) { 419 $lhsPrecedence = self::MAX_PRECEDENCE; 421 $printedArg = $this->p($node, $opPrecedence, $lhsPrecedence); 449 $lhsPrecedence = self::MAX_PRECEDENCE; 451 if ($opPrecedence < $lhsPrecedence) { 452 $lhsPrecedence = $opPrecedence; 585 return $this->{'p' . $node->getType()}($node, $precedence, $lhsPrecedence); 612 return $this->pFallback($node, $precedence, $lhsPrecedence); [all …]
|
/PHP-Parser/ |
H A D | UPGRADE-5.0.md | 407 Node $node, int $precedence = self::MAX_PRECEDENCE, int $lhsPrecedence = self::MAX_PRECEDENCE, 412 …$lhsPrecedence` is that precedence of the nearest binary operator on whose left-hand-side the node… 418 BinaryOp\Plus $node, int $precedence, int $lhsPrecedence 421 BinaryOp\Plus::class, $node->left, ' + ', $node->right, $precedence, $lhsPrecedence); 425 Expr\UnaryPlus $node, int $precedence, int $lhsPrecedence 427 return $this->pPrefixOp(Expr\UnaryPlus::class, '+', $node->expr, $precedence, $lhsPrecedence); 431 The new `$precedence` and `$lhsPrecedence` arguments need to be passed down to the `pInfixOp()`, `p…
|
Completed in 22 milliseconds