| 1 | <?php |
||
| 9 | class Parser implements ParserInterface |
||
| 10 | { |
||
| 11 | /** @var TokenParser */ |
||
| 12 | private $tokenParser; |
||
| 13 | |||
| 14 | 14 | public function __construct(TokenParser $tokenParser = null) |
|
| 18 | |||
| 19 | /** |
||
| 20 | * @param \Traversable $tokenStream |
||
| 21 | * @param TokenMap $tokenMap |
||
| 22 | * @return OperandInterface |
||
| 23 | * @throws ParserException |
||
| 24 | */ |
||
| 25 | 14 | public function parseTokenStream(\Traversable $tokenStream, TokenMap $tokenMap) |
|
| 48 | } |
||
| 49 |