1 | <?php |
||
8 | class Nil extends \PhpParser\Node\Scalar |
||
9 | { |
||
10 | /** @var null */ |
||
11 | public $value; |
||
12 | |||
13 | /** |
||
14 | * @param null $value |
||
15 | * @param array $attributes Additional attributes |
||
16 | */ |
||
17 | public function __construct($value = null, array $attributes = array()) |
||
18 | { |
||
19 | parent::__construct($attributes); |
||
20 | $this->value = $value; |
||
21 | } |
||
22 | |||
23 | //@codeCoverageIgnoreStart |
||
24 | /** |
||
25 | * @return array |
||
26 | */ |
||
27 | public function getSubNodeNames(): array |
||
31 | //@codeCoverageIgnoreEnd |
||
32 | |||
33 | /** |
||
34 | * Gets the type of the node. |
||
35 | * |
||
36 | * @return string Type of the node |
||
37 | */ |
||
38 | public function getType(): string |
||
42 | } |
||
43 |