1
0
mirror of synced 2025-01-19 15:01:40 +03:00
doctrine2/draft/Doctrine/Query/Production/PathExpressionEndingWithAsterisk.php

17 lines
473 B
PHP
Raw Normal View History

2008-01-12 22:32:45 +00:00
<?php
/**
* PathExpressionEndingWithAsterisk = {identifier "."} "*"
*/
class Doctrine_Query_Production_PathExpressionEndingWithAsterisk extends Doctrine_Query_Production
{
public function execute(array $params = array())
{
while ($this->_isNextToken(Doctrine_Query_Token::T_IDENTIFIER)) {
$this->_parser->match(Doctrine_Query_Token::T_IDENTIFIER);
$this->_parser->match('.');
}
$this->_parser->match('*');
}
}