src/Jit/TokenStream.php
public function skipWhitespaces($skipComment = false)
    {
        $skips = [T_WHITESPACE => true];

        if (!$skipComment) {
            $skips += [T_COMMENT => true, T_DOC_COMMENT => true];
        }

        $this->_current++;
        return $this->_skip($skips);
    }
public function skipWhitespaces($skipComment = false)
    {
        $skips = [T_WHITESPACE => true];

        if (!$skipComment) {
            $skips += [T_COMMENT => true, T_DOC_COMMENT => true];
        }

        $this->_current++;
        return $this->_skip($skips);
    }
public function skipWhitespaces ( $ skipComment = false ) { $ skips = [ T_WHITESPACE => true ] ; if ( ! $ skipComment ) { $ skips += [ T_COMMENT => true , T_DOC_COMMENT => true ] ; } $ this -> _current ++ ; return $ this -> _skip ( $ skips ) ; }
Skips whitespaces and comments next to the current position.

@param  boolean $skipComment Skip docblocks as well.
@return string               The skipped string.
Skips whitespaces and comments next to the current position .