WordPress at a glance
function is not described

Symfony\Component\CssSelector\Parser

TokenStream::getPeek() public WC 1.0

Returns peeked token.

{} It's a method of the class: TokenStream{}

No Hooks.

Return

Token. Nothing.

Usage

$TokenStream = new TokenStream();
$TokenStream->getPeek();

Code of TokenStream::getPeek() WC 5.4.1

<?php
public function getPeek()
{
    if (!$this->peeking) {
        $this->peeked = $this->getNext();
        $this->peeking = true;
    }

    return $this->peeked;
}