1 | <?php |
||
8 | class Identifier extends Node |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $name; |
||
14 | |||
15 | /** |
||
16 | * @param $name |
||
17 | */ |
||
18 | public function __construct(string $name) |
||
22 | |||
23 | /** |
||
24 | * @return string |
||
25 | */ |
||
26 | public function getName() |
||
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | */ |
||
34 | public function __toString() |
||
38 | |||
39 | /** |
||
40 | * @param Frame $frame |
||
41 | * @return mixed|null |
||
42 | */ |
||
43 | public function evaluate(Frame $frame) |
||
47 | } |
||
48 |