Searched refs:param (Results 1 – 14 of 14) sorted by relevance
/PHP-Parser/test/code/prettyPrinter/stmt/ |
H A D | param_comments.test | 8 $param 15 $param 21 $param 27 $param 41 $param 47 $param 52 $param 67 $param 73 $param 79 $param [all …]
|
H A D | attributes.test | 18 #[A7] $param, 41 public function m(#[A7] $param)
|
/PHP-Parser/lib/PhpParser/Builder/ |
H A D | FunctionLike.php | 34 public function addParam($param) { argument 35 $param = BuilderHelpers::normalizeNode($param); 37 if (!$param instanceof Node\Param) { 38 … throw new \LogicException(sprintf('Expected parameter node, got "%s"', $param->getType())); 41 $this->params[] = $param; 54 foreach ($params as $param) { 55 $this->addParam($param);
|
/PHP-Parser/test/PhpParser/ |
H A D | NodeVisitorForTesting.php | 31 private function traceEvent(string $method, $param) { argument 32 $this->trace[] = [$method, $param]; 35 if ($currentReturn[0] === $method && $currentReturn[1] === $param) {
|
H A D | ParserTestAbstract.php | 68 $param = $fn->params[0]; 69 $this->assertInstanceOf(Node\Param::class, $param); 77 ], $param->getAttributes());
|
H A D | BuilderFactoryTest.php | 299 ->addParam($factory->param('someParam')->setType('SomeClass')) 308 ->addParam($factory->param('someParam')
|
/PHP-Parser/test/PhpParser/Node/Stmt/ |
H A D | ClassMethodTest.php | 99 $param = new Param(new Variable('a')); 104 'params' => [$param], 110 $this->assertSame([$param], $method->getParams());
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 114 foreach ($node->params as $param) { 115 $param->type = $this->resolveType($param->type); 116 $this->resolveAttrGroups($param); 184 foreach ($node->params as $param) { 185 $param->type = $this->resolveType($param->type); 186 $this->resolveAttrGroups($param);
|
/PHP-Parser/grammar/ |
H A D | phpyLang.php | 44 foreach ($params as $param) { 45 $paramCode .= $param . ', ';
|
/PHP-Parser/doc/component/ |
H A D | JSON_representation.markdown | 15 /** @param string $msg */ 43 "text": "\/** @param string $msg *\/",
|
H A D | AST_builders.markdown | 52 ->addParam($factory->param('someParam')->setType('SomeClass')) 56 * @param SomeClass And takes a parameter 62 ->addParam($factory->param('someParam')->setDefault('test')) 103 * @param SomeClass And takes a parameter
|
H A D | Lexer.markdown | 54 /** @param int|string|(int|string)[] $kind Token ID or text (or array of them) */ 90 /** @param PhpParser\Token[] $tokens */
|
/PHP-Parser/test/code/parser/stmt/ |
H A D | attributes.test | 18 #[A7] $param, 159 name: param
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderFactory.php | 128 public function param(string $name): Builder\Param { function in PhpParser\\BuilderFactory
|
Completed in 15 milliseconds