1
0
mirror of synced 2024-12-13 22:56:04 +03:00

[Query] removed unused private _peekBeyond() method from Parser class.

This commit is contained in:
Hugo Hamon 2012-01-12 20:16:34 +01:00 committed by Benjamin Eberlei
parent c0620bf857
commit 16da74d1da

View File

@ -413,26 +413,6 @@ class Parser
throw QueryException::semanticalError($message);
}
/**
* Peeks beyond the specified token and returns the first token after that one.
*
* @param array $token
* @return array
*/
private function _peekBeyond($token)
{
$peek = $this->_lexer->peek();
while ($peek['value'] != $token) {
$peek = $this->_lexer->peek();
}
$peek = $this->_lexer->peek();
$this->_lexer->resetPeek();
return $peek;
}
/**
* Peek beyond the matched closing parenthesis and return the first token after that one.
*