PluginProbe
WPIDE – File Manager & Code Editor / 3.5.9
WPIDE – File Manager & Code Editor v3.5.9
3.5.9 3.5.8 3.5.7 2.0.14 2.0.15 2.0.16 2.0.2 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1 2.2 2.3 2.3.1 2.3.2 2.4.0 2.5 2.6 3.0 3.1 3.2 3.3 All 55 releases
wpide / vendor / nikic / php-parser / lib / PhpParser / Node / Stmt / GroupUse.php

GroupUse.php in WPIDE – File Manager & Code Editor 3.5.9, at vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/GroupUse.php

40 lines 1005 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php declare(strict_types=1);
2
3 namespace PhpParser\Node\Stmt;
4
5 use PhpParser\Node\Name;
6 use PhpParser\Node\Stmt;
7
8 class GroupUse extends Stmt
9 {
10 /** @var int Type of group use */
11 public $type;
12 /** @var Name Prefix for uses */
13 public $prefix;
14 /** @var UseUse[] Uses */
15 public $uses;
16
17 /**
18 * Constructs a group use node.
19 *
20 * @param Name $prefix Prefix for uses
21 * @param UseUse[] $uses Uses
22 * @param int $type Type of group use
23 * @param array $attributes Additional attributes
24 */
25 public function __construct(Name $prefix, array $uses, int $type = Use_::TYPE_NORMAL, array $attributes = []) {
26 $this->attributes = $attributes;
27 $this->type = $type;
28 $this->prefix = $prefix;
29 $this->uses = $uses;
30 }
31
32 public function getSubNodeNames() : array {
33 return ['type', 'prefix', 'uses'];
34 }
35
36 public function getType() : string {
37 return 'Stmt_GroupUse';
38 }
39 }
40