Home
last modified time | relevance | path

Searched refs:arms (Results 1 – 4 of 4) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Expr/
H A DMatch_.php12 public array $arms; variable in PhpParser\\Node\\Expr\\Match_
16 * @param MatchArm[] $arms
19 public function __construct(Node\Expr $cond, array $arms = [], array $attributes = []) { argument
22 $this->arms = $arms;
/PHP-Parser/test/code/formatPreservation/
H A Dmatch.test11 $stmts[0]->expr->expr->arms[] = new Node\MatchArm(null, new Scalar\String_('two'));
28 $stmts[0]->expr->expr->arms[0]->conds[] = new Scalar\LNumber(3);
49 array_splice($stmts[0]->expr->expr->arms, 1, 1, []);
69 $stmts[0]->expr->expr->arms[0]->conds = [new Scalar\LNumber(1)];
85 $stmts[0]->expr->expr->arms[0]->conds = null;
/PHP-Parser/test/code/parser/expr/
H A Dmatch.test17 arms: array(
61 arms: array(
100 arms: array(
144 arms: array(
184 arms: array(
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php667 . $this->pCommaSeparatedMultiline($node->arms, true)

Completed in 14 milliseconds