Home
last modified time | relevance | path

Searched refs:Concat (Results 1 – 13 of 13) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Expr/AssignOp/
H A DConcat.php7 class Concat extends AssignOp { class
/PHP-Parser/lib/PhpParser/Node/Expr/BinaryOp/
H A DConcat.php7 class Concat extends BinaryOp { class
/PHP-Parser/test/PhpParser/NodeVisitor/
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/test/PhpParser/
H A DBuilderFactoryTest.php8 use PhpParser\Node\Expr\BinaryOp\Concat; alias
73 new Concat($varA, $varB),
77 new Concat(new Concat($varA, $varB), $varC),
81 new Concat(new Concat(new String_("a"), $varB), new String_("c")),
H A DNodeFinderTest.php9 $assign = new Expr\Assign(new Expr\Variable('a'), new Expr\BinaryOp\Concat(
/PHP-Parser/test/code/formatPreservation/
H A Dfixup.test53 $stmts[1]->expr->name = new Expr\BinaryOp\Concat(new Expr\Variable('a'), new Expr\Variable('b'));
55 $stmts[3]->expr->var = new Expr\BinaryOp\Concat(new Expr\Variable('a'), new Expr\Variable('b'));
60 $stmts[6]->expr->name = new Expr\BinaryOp\Concat(new Expr\Variable('a'), new Expr\Variable('b'));
62 $stmts[8]->expr->name = new Expr\BinaryOp\Concat(new Expr\Variable('a'), new Expr\Variable('b'));
/PHP-Parser/lib/PhpParser/
H A DBuilderFactory.php7 use PhpParser\Node\Expr\BinaryOp\Concat; alias
348 public function concat(...$exprs): Concat {
356 $lastConcat = new Concat($lastConcat, $this->normalizeStringExpr($exprs[$i]));
H A DPrettyPrinterAbstract.php62 BinaryOp\Concat::class => [ 50, 51, 50],
87 AssignOp\Concat::class => [160, -1, -1],
1368 BinaryOp\Plus::class, BinaryOp\Minus::class, BinaryOp\Concat::class,
1390 AssignOp\Mul::class, AssignOp\Div::class, AssignOp\Concat::class, AssignOp\Mod::class,
/PHP-Parser/doc/component/
H A DAST_builders.markdown136 * `concat(...$exprs)`: Create a tree of `BinaryOp\Concat` nodes for the given expressions.
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php282 …protected function pExpr_AssignOp_Concat(AssignOp\Concat $node, int $precedence, int $lhsPrecedenc…
283 …return $this->pPrefixOp(AssignOp\Concat::class, $this->p($node->var) . ' .= ', $node->expr, $prece…
336 …protected function pExpr_BinaryOp_Concat(BinaryOp\Concat $node, int $precedence, int $lhsPrecedenc…
337 …return $this->pInfixOp(BinaryOp\Concat::class, $node->left, ' . ', $node->right, $precedence, $lhs…
/PHP-Parser/grammar/
H A Dphp.y1015 … | variable T_CONCAT_EQUAL expr { $$ = Expr\AssignOp\Concat [$1, $3]; }
1037 … | expr '.' expr { $$ = Expr\BinaryOp\Concat [$1, $3]; }
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2198 …$self->semValue = new Expr\AssignOp\Concat($self->semStack[$stackPos-(3-1)], $self->semStack[$stac…
2264 …$self->semValue = new Expr\BinaryOp\Concat($self->semStack[$stackPos-(3-1)], $self->semStack[$stac…
H A DPhp8.php2200 …$self->semValue = new Expr\AssignOp\Concat($self->semStack[$stackPos-(3-1)], $self->semStack[$stac…
2266 …$self->semValue = new Expr\BinaryOp\Concat($self->semStack[$stackPos-(3-1)], $self->semStack[$stac…

Completed in 64 milliseconds