Home
last modified time | relevance | path

Searched refs:subNodes (Results 1 – 13 of 13) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Expr/
H A DClosure.php47 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 DArrowFunction.php44 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 DFor_.php32 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 DClass_.php52 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 DEnum_.php27 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 DClassMethod.php66 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 DFunction_.php43 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 DInterface_.php25 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 DIf_.php31 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 DForeach_.php34 …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 DTrait_.php20 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 DPropertyHook.php38 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 DUPGRADE-5.0.md313 * 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 24 milliseconds