/PHP-Parser/lib/PhpParser/Builder/ |
H A D | FunctionLike.php | 11 protected array $params = []; variable in PhpParser\\Builder\\FunctionLike 41 $this->params[] = $param; 53 public function addParams(array $params) { argument 54 foreach ($params as $param) {
|
/PHP-Parser/test/code/parser/stmt/function/ |
H A D | nullFalseTrueTypes.test | 18 params: array( 33 params: array( 48 params: array( 73 params: array( 88 params: array( 103 params: array(
|
H A D | returnTypes.test | 18 params: array( 31 params: array( 46 params: array( 61 params: array(
|
H A D | byRef.test | 16 params: array( 43 params: array(
|
H A D | variadic.test | 17 params: array( 58 params: array( 99 params: array( 142 params: array(
|
H A D | parameters_trailing_comma.test | 16 params: array( 67 params: array( 115 params: array(
|
H A D | exit_die_function.test | 17 params: array( 57 params: array(
|
H A D | neverType.test | 14 params: array(
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | implicitPublic.test | 67 params: array( 80 params: array( 94 params: array( 108 params: array( 122 params: array(
|
H A D | property_hooks.test | 57 params: array( 75 params: array( 111 params: array( 125 params: array( 155 params: array( 167 params: array( 195 params: array( 213 params: array( 284 params: array( 350 params: array( [all …]
|
H A D | staticMethod.test | 26 params: array( 59 params: array( 92 params: array( 125 params: array( 158 params: array( 191 params: array(
|
H A D | abstract.test | 30 params: array( 44 params: array(
|
H A D | simple.test | 129 params: array( 143 params: array( 171 params: array( 187 params: array( 201 params: array(
|
H A D | php4Style.test | 47 params: array( 61 params: array(
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | emptyListInsertion.test | 38 $stmts[0]->params[] = new Node\Param(new Node\Expr\Variable('a')); 39 $stmts[0]->params[] = new Node\Param(new Node\Expr\Variable('b')); 40 $stmts[1]->stmts[0]->params[] = new Node\Param(new Node\Expr\Variable('a')); 41 $stmts[1]->stmts[0]->params[] = new Node\Param(new Node\Expr\Variable('b')); 42 $stmts[2]->expr->params[] = new Node\Param(new Node\Expr\Variable('a')); 43 $stmts[2]->expr->params[] = new Node\Param(new Node\Expr\Variable('b')); 46 $stmts[3]->expr->params[] = new Node\Param(new Node\Expr\Variable('a')); 47 $stmts[3]->expr->params[] = new Node\Param(new Node\Expr\Variable('b'));
|
H A D | modifierChange.test | 45 $stmts[0]->params[0]->flags = Stmt\Class_::MODIFIER_PRIVATE; 46 $stmts[0]->params[1]->flags = 0; 47 $stmts[0]->params[2]->flags = Stmt\Class_::MODIFIER_PUBLIC;
|
H A D | listRemoval.test | 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'));
|
/PHP-Parser/test/code/parser/expr/ |
H A D | closure.test | 19 params: array( 53 params: array( 88 params: array( 115 params: array( 144 params: array( 159 params: array( 190 params: array(
|
H A D | arrow_function.test | 21 params: array( 51 params: array( 81 params: array( 109 params: array( 137 params: array( 179 params: array( 195 params: array( 242 params: array(
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | ArrowFunction.php | 17 public array $params = []; variable in PhpParser\\Node\\Expr\\ArrowFunction 48 $this->params = $subNodes['params'] ?? []; 63 return $this->params;
|
H A D | Closure.php | 16 public array $params; variable in PhpParser\\Node\\Expr\\Closure 51 $this->params = $subNodes['params'] ?? []; 67 return $this->params;
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | Function_.php | 14 public array $params; variable in PhpParser\\Node\\Stmt\\Function_ 47 $this->params = $subNodes['params'] ?? []; 62 return $this->params;
|
H A D | ClassMethod.php | 17 public array $params; variable in PhpParser\\Node\\Stmt\\ClassMethod 71 $this->params = $subNodes['params'] ?? []; 86 return $this->params;
|
/PHP-Parser/lib/PhpParser/Node/ |
H A D | PropertyHook.php | 18 public array $params; variable in PhpParser\\Node\\PropertyHook 44 $this->params = $subNodes['params'] ?? []; 53 return $this->params;
|
/PHP-Parser/test/code/parser/stmt/ |
H A D | attributes.test | 92 params: array( 139 params: array( 262 params: array( 293 params: array( 323 params: array( 354 params: array(
|