Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class VariableNode extends AbstractNode implements ValueNodeInterface, NameAwareInterface |
||
8 | { |
||
9 | use NameTrait; |
||
10 | |||
11 | /** |
||
12 | * VariableNode constructor. |
||
13 | * |
||
14 | * @param NameNode $name |
||
15 | * @param Location|null $location |
||
16 | */ |
||
17 | public function __construct(NameNode $name, ?Location $location) |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @inheritdoc |
||
26 | */ |
||
27 | public function toAST(): array |
||
35 |