Home
last modified time | relevance | path

Searched refs:UnaryMinus (Results 1 – 9 of 9) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Expr/
H A DUnaryMinus.php7 class UnaryMinus extends Expr { class
/PHP-Parser/tools/fuzzing/
H A Dtarget.php69 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 DNodeTraverserTest.php185 $negNode = new Expr\UnaryMinus($mulNode);
222 $negNode = new Expr\UnaryMinus($mulNode);
/PHP-Parser/lib/PhpParser/
H A DConstExprEvaluator.php122 if ($expr instanceof Expr\UnaryMinus) {
H A DPrettyPrinterAbstract.php46 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 DStandard.php445 …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 Dphp.y1047 | '-' expr %prec T_INC { $$ = Expr\UnaryMinus[$2]; }
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2294 …$self->semValue = new Expr\UnaryMinus($self->semStack[$stackPos-(2-2)], $self->getAttributes($self…
H A DPhp8.php2296 …$self->semValue = new Expr\UnaryMinus($self->semStack[$stackPos-(2-2)], $self->getAttributes($self…

Completed in 39 milliseconds