| 1 | <?php |
||
| 18 | class Variable implements Node |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var array |
||
| 22 | */ |
||
| 23 | protected $name; |
||
| 24 | |||
| 25 | |||
| 26 | /** |
||
| 27 | * Constructor. |
||
| 28 | * |
||
| 29 | * @param array $name |
||
| 30 | */ |
||
| 31 | 9 | public function __construct($name) |
|
| 35 | |||
| 36 | |||
| 37 | /** |
||
| 38 | * Compiles the variable reference into the buffer. |
||
| 39 | * |
||
| 40 | * @param \Zicht\Tool\Script\Buffer $buffer |
||
| 41 | * @return mixed|void |
||
| 42 | */ |
||
| 43 | public function compile(Buffer $buffer) |
||
| 47 | } |
||
| 48 |