| 1 | <?php |
||
| 4 | class SubLexerChain implements SubLexerInterface |
||
| 5 | { |
||
| 6 | /** |
||
| 7 | * @var SubLexerInterface[] |
||
| 8 | */ |
||
| 9 | protected $subLexers = []; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @param SubLexerInterface $subLexer |
||
| 13 | * @return $this |
||
| 14 | */ |
||
| 15 | 85 | public function addSubLexer(SubLexerInterface $subLexer) |
|
| 20 | |||
| 21 | /** |
||
| 22 | * @inheritdoc |
||
| 23 | */ |
||
| 24 | 85 | public function getTokenAt($code, $cursor) |
|
| 35 | } |
||
| 36 |