Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Parser

TokenStream::skipWhitespacepublicWC 1.0

Skips next whitespace if any.

Method of the class: TokenStream{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

TokenStream::skipWhitespace() code WC 10.8.1

public function skipWhitespace()
{
    $peek = $this->getPeek();

    if ($peek->isWhitespace()) {
        $this->getNext();
    }
}