| 1 | <?php |
||
| 18 | class Shell extends Branch implements Annotation |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Construct the decorator with the specified expression as the SHELL to use. |
||
| 22 | * |
||
| 23 | * @param \Zicht\Tool\Script\Node\Node $expr |
||
| 24 | */ |
||
| 25 | public function __construct($expr) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @{inheritDoc} |
||
| 32 | */ |
||
| 33 | public function beforeScript(Buffer $buffer) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @{inheritDoc} |
||
| 42 | */ |
||
| 43 | public function afterScript(Buffer $buffer) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Compiles the node into the buffer. |
||
| 50 | * |
||
| 51 | * @param \Zicht\Tool\Script\Buffer $buffer |
||
| 52 | * @return void |
||
| 53 | */ |
||
| 54 | public function compile(Buffer $buffer) |
||
| 57 | } |
||
| 58 |