Searched refs:subNodes (Results 1 – 13 of 13) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | Closure.php | 47 public function __construct(array $subNodes = [], array $attributes = []) { argument 49 $this->static = $subNodes['static'] ?? false; 50 $this->byRef = $subNodes['byRef'] ?? false; 51 $this->params = $subNodes['params'] ?? []; 52 $this->uses = $subNodes['uses'] ?? []; 53 $this->returnType = $subNodes['returnType'] ?? null; 54 $this->stmts = $subNodes['stmts'] ?? []; 55 $this->attrGroups = $subNodes['attrGroups'] ?? [];
|
H A D | ArrowFunction.php | 44 public function __construct(array $subNodes, array $attributes = []) { argument 46 $this->static = $subNodes['static'] ?? false; 47 $this->byRef = $subNodes['byRef'] ?? false; 48 $this->params = $subNodes['params'] ?? []; 49 $this->returnType = $subNodes['returnType'] ?? null; 50 $this->expr = $subNodes['expr']; 51 $this->attrGroups = $subNodes['attrGroups'] ?? [];
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | For_.php | 32 public function __construct(array $subNodes = [], array $attributes = []) { argument 34 $this->init = $subNodes['init'] ?? []; 35 $this->cond = $subNodes['cond'] ?? []; 36 $this->loop = $subNodes['loop'] ?? []; 37 $this->stmts = $subNodes['stmts'] ?? [];
|
H A D | Class_.php | 52 public function __construct($name, array $subNodes = [], array $attributes = []) { argument 54 $this->flags = $subNodes['flags'] ?? $subNodes['type'] ?? 0; 56 $this->extends = $subNodes['extends'] ?? null; 57 $this->implements = $subNodes['implements'] ?? []; 58 $this->stmts = $subNodes['stmts'] ?? []; 59 $this->attrGroups = $subNodes['attrGroups'] ?? [];
|
H A D | Enum_.php | 27 public function __construct($name, array $subNodes = [], array $attributes = []) { argument 29 $this->scalarType = $subNodes['scalarType'] ?? null; 30 $this->implements = $subNodes['implements'] ?? []; 31 $this->stmts = $subNodes['stmts'] ?? []; 32 $this->attrGroups = $subNodes['attrGroups'] ?? [];
|
H A D | ClassMethod.php | 66 public function __construct($name, array $subNodes = [], array $attributes = []) { argument 68 $this->flags = $subNodes['flags'] ?? $subNodes['type'] ?? 0; 69 $this->byRef = $subNodes['byRef'] ?? false; 71 $this->params = $subNodes['params'] ?? []; 72 $this->returnType = $subNodes['returnType'] ?? null; 73 $this->stmts = array_key_exists('stmts', $subNodes) ? $subNodes['stmts'] : []; 74 $this->attrGroups = $subNodes['attrGroups'] ?? [];
|
H A D | Function_.php | 43 public function __construct($name, array $subNodes = [], array $attributes = []) { argument 45 $this->byRef = $subNodes['byRef'] ?? false; 47 $this->params = $subNodes['params'] ?? []; 48 $this->returnType = $subNodes['returnType'] ?? null; 49 $this->stmts = $subNodes['stmts'] ?? []; 50 $this->attrGroups = $subNodes['attrGroups'] ?? [];
|
H A D | Interface_.php | 25 public function __construct($name, array $subNodes = [], array $attributes = []) { argument 28 $this->extends = $subNodes['extends'] ?? []; 29 $this->stmts = $subNodes['stmts'] ?? []; 30 $this->attrGroups = $subNodes['attrGroups'] ?? [];
|
H A D | If_.php | 31 public function __construct(Node\Expr $cond, array $subNodes = [], array $attributes = []) { argument 34 $this->stmts = $subNodes['stmts'] ?? []; 35 $this->elseifs = $subNodes['elseifs'] ?? []; 36 $this->else = $subNodes['else'] ?? null;
|
H A D | Foreach_.php | 34 …public function __construct(Node\Expr $expr, Node\Expr $valueVar, array $subNodes = [], array $att… argument 37 $this->keyVar = $subNodes['keyVar'] ?? null; 38 $this->byRef = $subNodes['byRef'] ?? false; 40 $this->stmts = $subNodes['stmts'] ?? [];
|
H A D | Trait_.php | 20 public function __construct($name, array $subNodes = [], array $attributes = []) { argument 23 $this->stmts = $subNodes['stmts'] ?? []; 24 $this->attrGroups = $subNodes['attrGroups'] ?? [];
|
/PHP-Parser/lib/PhpParser/Node/ |
H A D | PropertyHook.php | 38 public function __construct($name, $body, array $subNodes = [], array $attributes = []) { argument 42 $this->flags = $subNodes['flags'] ?? 0; 43 $this->byRef = $subNodes['byRef'] ?? false; 44 $this->params = $subNodes['params'] ?? []; 45 $this->attrGroups = $subNodes['attrGroups'] ?? [];
|
/PHP-Parser/ |
H A D | UPGRADE-5.0.md | 313 * The `'returnType'` key of `$subNodes` argument of `Node\Expr\ArrowFunction`. 314 * The `'returnType'` key of `$subNodes` argument of `Node\Expr\Closure`. 315 * The `'returnType'` key of `$subNodes` argument of `Node\Stmt\ClassMethod`. 316 * The `'returnType'` key of `$subNodes` argument of `Node\Stmt\Function_`.
|
Completed in 15 milliseconds