public function TokenStream::getPeek in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/Parser/TokenStream.php \Symfony\Component\CssSelector\Parser\TokenStream::getPeek()
Returns peeked token.
Return value
1 call to TokenStream::getPeek()
- TokenStream::skipWhitespace in vendor/
symfony/ css-selector/ Parser/ TokenStream.php - Skips next whitespace if any.
File
- vendor/
symfony/ css-selector/ Parser/ TokenStream.php, line 111
Class
- TokenStream
- CSS selector token stream.
Namespace
Symfony\Component\CssSelector\ParserCode
public function getPeek() {
if (!$this->peeking) {
$this->peeked = $this
->getNext();
$this->peeking = true;
}
return $this->peeked;
}