| 1 | <?php |
||
| 19 | abstract class MacroAbstract implements Macro |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @param string $string |
||
| 23 | * @param int $lineNumber |
||
| 24 | * @param string $filename |
||
| 25 | * |
||
| 26 | * @return array |
||
| 27 | */ |
||
| 28 | protected function parse(string $string, int $lineNumber, string $filename): array |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param \Iterator $it |
||
| 54 | * |
||
| 55 | * @throws LogicException |
||
| 56 | * |
||
| 57 | * @return Token |
||
| 58 | */ |
||
| 59 | protected static function next(\Iterator $it): Token |
||
| 69 | } |
||
| 70 |