| 1 | <?php |
||
| 17 | class Declaration implements Node |
||
| 18 | { |
||
| 19 | protected $path; |
||
| 20 | protected $expr; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Constructor. |
||
| 24 | * |
||
| 25 | * @param array $path |
||
| 26 | * @param null|Node $value |
||
| 27 | */ |
||
| 28 | public function __construct(array $path, Node $value = null) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @{inheritDoc} |
||
| 36 | */ |
||
| 37 | public function compile(Buffer $buffer) |
||
| 45 | |||
| 46 | |||
| 47 | /** |
||
| 48 | * Compiles the definition body |
||
| 49 | * |
||
| 50 | * @param \Zicht\Tool\Script\Buffer $buffer |
||
| 51 | * @return void |
||
| 52 | */ |
||
| 53 | protected function compileBody(Buffer $buffer) |
||
| 59 | } |
||
| 60 |