Searched refs:UnaryMinus (Results 1 – 9 of 9) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | UnaryMinus.php | 7 class UnaryMinus extends Expr { class
|
/PHP-Parser/tools/fuzzing/ |
H A D | target.php | 69 new Expr\UnaryMinus(new Scalar\Int_(\PHP_INT_MAX)), 72 return new Expr\UnaryMinus(new Scalar\Int_(-$node->value));
|
/PHP-Parser/test/PhpParser/ |
H A D | NodeTraverserTest.php | 185 $negNode = new Expr\UnaryMinus($mulNode); 222 $negNode = new Expr\UnaryMinus($mulNode);
|
/PHP-Parser/lib/PhpParser/ |
H A D | ConstExprEvaluator.php | 122 if ($expr instanceof Expr\UnaryMinus) {
|
H A D | PrettyPrinterAbstract.php | 46 Expr\UnaryMinus::class => [ 10, -1, -1], 1385 …ass, Expr\BitwiseNot::class, Expr\BooleanNot::class, Expr\UnaryPlus::class, Expr\UnaryMinus::class,
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 445 …protected function pExpr_UnaryMinus(Expr\UnaryMinus $node, int $precedence, int $lhsPrecedence): s… 446 … return $this->pPrefixOp(Expr\UnaryMinus::class, '-', $node->expr, $precedence, $lhsPrecedence);
|
/PHP-Parser/grammar/ |
H A D | php.y | 1047 | '-' expr %prec T_INC { $$ = Expr\UnaryMinus[$2]; }
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 2294 …$self->semValue = new Expr\UnaryMinus($self->semStack[$stackPos-(2-2)], $self->getAttributes($self…
|
H A D | Php8.php | 2296 …$self->semValue = new Expr\UnaryMinus($self->semStack[$stackPos-(2-2)], $self->getAttributes($self…
|
Completed in 39 milliseconds