Searched refs:Assign (Results 1 – 12 of 12) sorted by relevance
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | FirstFindingVisitorTest.php | 17 $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 D | FindingVisitorTest.php | 17 $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 D | Assign.php | 7 class Assign extends Expr { class
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | fixup.test | 19 $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 D | basic.test | 122 new Expr\Assign(new Expr\Variable('a'), new Expr\Variable('b')));
|
/PHP-Parser/test/PhpParser/ |
H A D | NodeFinderTest.php | 9 $assign = new Expr\Assign(new Expr\Variable('a'), new Expr\BinaryOp\Concat(
|
/PHP-Parser/grammar/ |
H A D | php.y | 997 | 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 D | PrettyPrinterAbstract.php | 81 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 D | Standard.php | 258 … 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 D | Walking_the_AST.markdown | 201 new Node\Stmt\Expression(new Node\Expr\Assign($var, $node->expr)),
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 2162 …$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 D | Php8.php | 2164 …$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