Debian Codegraph @

vendor/mck89/peast/lib/Peast/Syntax/Node/NullLiteral.php

raw
1 <?php
2 /**
3 * This file is part of the Peast package
4 *
5 * (c) Marco Marchiò <[email protected]>
6 *
7 * For the full copyright and license information refer to the LICENSE file
8 * distributed with this source code
9 */
10 namespace Peast\Syntax\Node;
11
12 /**
13 * A node that represents a null literal.
14 *
15 * @author Marco Marchiò <[email protected]>
16 */
17 class NullLiteral extends Literal
18 {
19 /**
20 * Node's value
21 *
22 * @var mixed
23 */
24 protected $value = null;
25
26 /**
27 * Node's raw value
28 *
29 * @var string
30 */
31 protected $raw = "null";
32
33 /**
34 * Sets node's value
35 *
36 * @param mixed $value Value
37 *
38 * @return $this
39 */
40 public function setValue($value)
41 {
42 return $this;
43 }
44 }