Kahlan\Jit\TokenStream::skipWhile PHP Method

skipWhile() public method

Skips elements until an element doesn't match the elements in the passed array.
public skipWhile ( array $skips = [] ) : The
$skips array The elements array to skip.
return The skipped string.
    public function skipWhile($skips = [])
    {
        $skips = array_fill_keys($skips, true);
        return $this->_skip($skips);
    }