21 lines
639 B
PHP
21 lines
639 B
PHP
<?php
|
|
/**
|
|
* RangeVariableDeclaration = AbstractSchemaName ["AS"] IdentificationVariable
|
|
*/
|
|
class Doctrine_Query_Production_RangeVariableDeclaration extends Doctrine_Query_Production
|
|
{
|
|
public function execute(array $params = array())
|
|
{
|
|
$abstractSchemaName = $this->AbstractSchemaName();
|
|
|
|
if ($this->_isNextToken(Doctrine_Query_Token::T_AS)) {
|
|
$this->_parser->match(Doctrine_Query_Token::T_AS);
|
|
}
|
|
|
|
$identifier = $this->IdentificationVariable();
|
|
|
|
return array('abstractSchemaName' => $abstractSchemaName,
|
|
'identifier' => $identifier);
|
|
}
|
|
}
|