Searched refs:catches (Results 1 – 12 of 12) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | TryCatch.php | 11 public array $catches; variable in PhpParser\\Node\\Stmt\\TryCatch 19 * @param Catch_[] $catches Catches 23 …public function __construct(array $stmts, array $catches, ?Finally_ $finally = null, array $attrib… argument 26 $this->catches = $catches;
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | listRemoval.test | 126 $catch = $stmts[0]->catches[2]; 127 unset($stmts[0]->catches[2]); 128 $stmts[0]->catches = array_values($stmts[0]->catches); 129 array_splice($stmts[0]->catches, 1, 0, [$catch]); 159 unset($stmts[0]->catches[2]); 160 $stmts[0]->catches = array_values($stmts[0]->catches);
|
H A D | removalViaNull.test | 214 $stmts[0]->catches[0]->var = null;
|
H A D | listInsertion.test | 52 $stmts[0]->catches[0]->types[] = new Node\Name('Bar'); 102 $stmts[0]->catches[] = new Stmt\Catch_([new Node\Name('Bar')], new Expr\Variable('bar'), []);
|
H A D | insertionOfNullable.test | 195 $stmts[0]->catches[0]->var = new Expr\Variable('e');
|
/PHP-Parser/test/code/parser/stmt/ |
H A D | tryCatch.test | 37 catches: array( 98 catches: array( 120 catches: array(
|
H A D | tryCatch_without_variable.test | 15 catches: array(
|
H A D | tryWithoutCatch.test | 23 catches: array(
|
H A D | multiCatch.test | 21 catches: array(
|
/PHP-Parser/grammar/ |
H A D | php.y | 402 | T_TRY '{' inner_statement_list '}' catches optional_finally 418 catches: 420 | catches catch { push($1, $2); }
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 952 . ($node->catches ? ' ' . $this->pImplode($node->catches, ' ') : '')
|
/PHP-Parser/lib/PhpParser/ |
H A D | ParserAbstract.php | 1050 if (empty($node->catches) && null === $node->finally) {
|
Completed in 39 milliseconds