Home
last modified time | relevance | path

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

/PHP-Parser/test/PhpParser/NodeVisitor/
H A DFirstFindingVisitorTest.php17 $assign = new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b'));
31 $assign = new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b'));
H A DFindingVisitorTest.php17 $assign = new Expr\Assign(new Expr\Variable('a'), new Expr\BinaryOp\Concat(
37 $assign = new Expr\Assign(new Expr\Variable('a'), new Expr\BinaryOp\Concat(
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DAssign.php7 class Assign extends Expr { class
/PHP-Parser/test/code/formatPreservation/
H A Dfixup.test19 $stmts[3]->expr->cond = new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b'));
20 $stmts[3]->expr->if = new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b'));
21 $stmts[3]->expr->else = new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b'));
H A Dbasic.test122 new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b')));
/PHP-Parser/test/PhpParser/
H A DNodeFinderTest.php9 $assign = new Expr\Assign(new Expr\Variable('a'), new Expr\BinaryOp\Concat(
/PHP-Parser/grammar/
H A Dphp.y997 | list_expr '=' expr { $$ = Expr\Assign[$1, $3]; }
999 { $$ = Expr\Assign[$this->fixupArrayDestructuring($1), $3]; }
1000 | variable '=' expr { $$ = Expr\Assign[$1, $3]; }
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php81 Expr\Assign::class => [160, -1, -1],
1389 Expr\Assign::class, Expr\AssignRef::class, AssignOp\Plus::class, AssignOp\Minus::class,
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php258 … protected function pExpr_Assign(Expr\Assign $node, int $precedence, int $lhsPrecedence): string {
259 …return $this->pPrefixOp(Expr\Assign::class, $this->p($node->var) . ' = ', $node->expr, $precedence…
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown201 new Node\Stmt\Expression(new Node\Expr\Assign($var, $node->expr)),
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2162 …$self->semValue = new Expr\Assign($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3…
2165 …$self->semValue = new Expr\Assign($self->fixupArrayDestructuring($self->semStack[$stackPos-(3-1)])…
2168 …$self->semValue = new Expr\Assign($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3…
H A DPhp8.php2164 …$self->semValue = new Expr\Assign($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3…
2167 …$self->semValue = new Expr\Assign($self->fixupArrayDestructuring($self->semStack[$stackPos-(3-1)])…
2170 …$self->semValue = new Expr\Assign($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPos-(3-3…

Completed in 125 milliseconds