Lines Matching refs:stmts
5 array_splice($stmts, 1, 1, []);
16 array_pop($stmts[0]->params);
31 array_pop($stmts[0]->params);
32 $stmts[0]->params[] = new Node\Param(new Expr\Variable('x'));
33 $stmts[0]->params[] = new Node\Param(new Expr\Variable('y'));
48 array_pop($stmts[0]->returnType->types);
56 array_splice($stmts, 0, 1, []);
62 array_splice($stmts, 0, 2, []);
70 array_splice($stmts, 0, 1, []);
79 array_splice($stmts, 0, 1, []);
88 array_pop($stmts);
97 array_pop($stmts);
107 array_splice($stmts, 0, 1, []);
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);
189 $stmts[0]->stmts[2] = new Node\Stmt\ClassMethod('getBar');
190 $stmts[0]->stmts[3] = new Node\Stmt\ClassMethod('getBaz');
213 unset($stmts[0]->stmts[0]->traits[0]);