Searched refs:Plus (Results 1 – 12 of 12) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Expr/AssignOp/ |
H A D | Plus.php | 7 class Plus extends AssignOp { class
|
/PHP-Parser/lib/PhpParser/Node/Expr/BinaryOp/ |
H A D | Plus.php | 7 class Plus extends BinaryOp { class
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | fixup.test | 13 $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 D | ConstExprEvaluatorTest.php | 91 $expr = new Expr\BinaryOp\Plus( 126 new Expr\BinaryOp\Plus(new Scalar\Int_(42), new Scalar\String_("1foo")),
|
H A D | PrettyPrinterTest.php | 62 new Expr\BinaryOp\Plus(new Expr\Variable('a'), new Expr\Variable('b')),
|
/PHP-Parser/lib/PhpParser/ |
H A D | PrettyPrinterAbstract.php | 60 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 D | Standard.php | 266 …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 D | UPGRADE-5.0.md | 418 BinaryOp\Plus $node, int $precedence, int $lhsPrecedence 421 BinaryOp\Plus::class, $node->left, ' + ', $node->right, $precedence, $lhsPrecedence);
|
H A D | CHANGELOG.md | 790 * Added `Expr\BinaryOp::getOperatorSigil()`, returning `+` for `Expr\BinaryOp\Plus`, etc.
|
/PHP-Parser/grammar/ |
H A D | php.y | 1011 … | 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 D | Php7.php | 2186 …$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 D | Php8.php | 2188 …$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 48 milliseconds