Home
last modified time | relevance | path

Searched refs:Plus (Results 1 – 12 of 12) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Expr/AssignOp/
H A DPlus.php7 class Plus extends AssignOp { class
/PHP-Parser/lib/PhpParser/Node/Expr/BinaryOp/
H A DPlus.php7 class Plus extends BinaryOp { class
/PHP-Parser/test/code/formatPreservation/
H A Dfixup.test13 $stmts[0]->expr->left = new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b'));
15 $stmts[1]->expr->right = new Expr\BinaryOp\Plus(new Expr\Variable('b'), new Expr\Variable('c'));
17 $stmts[2]->expr->left = new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b'));
23 $stmts[4]->expr->left = new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b'));
24 $stmts[5]->expr->left = new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b'));
/PHP-Parser/test/PhpParser/
H A DConstExprEvaluatorTest.php91 $expr = new Expr\BinaryOp\Plus(
126 new Expr\BinaryOp\Plus(new Scalar\Int_(42), new Scalar\String_("1foo")),
H A DPrettyPrinterTest.php62 new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b')),
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php60 BinaryOp\Plus::class => [ 50, 51, 50],
83 AssignOp\Plus::class => [160, -1, -1],
1368 BinaryOp\Plus::class, BinaryOp\Minus::class, BinaryOp\Concat::class,
1389 Expr\Assign::class, Expr\AssignRef::class, AssignOp\Plus::class, AssignOp\Minus::class,
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php266 …protected function pExpr_AssignOp_Plus(AssignOp\Plus $node, int $precedence, int $lhsPrecedence): …
267 …return $this->pPrefixOp(AssignOp\Plus::class, $this->p($node->var) . ' += ', $node->expr, $precede…
320 …protected function pExpr_BinaryOp_Plus(BinaryOp\Plus $node, int $precedence, int $lhsPrecedence): …
321 …return $this->pInfixOp(BinaryOp\Plus::class, $node->left, ' + ', $node->right, $precedence, $lhsPr…
/PHP-Parser/
H A DUPGRADE-5.0.md418 BinaryOp\Plus $node, int $precedence, int $lhsPrecedence
421 BinaryOp\Plus::class, $node->left, ' + ', $node->right, $precedence, $lhsPrecedence);
H A DCHANGELOG.md790 * Added `Expr\BinaryOp::getOperatorSigil()`, returning `+` for `Expr\BinaryOp\Plus`, etc.
/PHP-Parser/grammar/
H A Dphp.y1011 … | variable T_PLUS_EQUAL expr { $$ = Expr\AssignOp\Plus [$1, $3]; }
1038 … | expr '+' expr { $$ = Expr\BinaryOp\Plus [$1, $3]; }
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2186 …$self->semValue = new Expr\AssignOp\Plus($self->semStack[$stackPos-(3-1)], $self->semStack[$stackP…
2267 …$self->semValue = new Expr\BinaryOp\Plus($self->semStack[$stackPos-(3-1)], $self->semStack[$stackP…
H A DPhp8.php2188 …$self->semValue = new Expr\AssignOp\Plus($self->semStack[$stackPos-(3-1)], $self->semStack[$stackP…
2269 …$self->semValue = new Expr\BinaryOp\Plus($self->semStack[$stackPos-(3-1)], $self->semStack[$stackP…

Completed in 56 milliseconds