protected function skip(string $kind): bool
    {
        if ($match = $this->peek($kind)) {
            $this->lexer->advance();
        }

        return $match;
    }
protected function skip(string $kind): bool
    {
        if ($match = $this->peek($kind)) {
            $this->lexer->advance();
        }

        return $match;
    }
protected function skip ( string $ kind ) : bool { if ( $ match = $ this -> peek ( $ kind ) ) { $ this -> lexer -> advance ( ) ; } return $ match ; }
If the next token is of the given kind, return true after advancing
the lexer. Otherwise, do not change the parser state and return false.

@param string $kind
@return bool
If the next token is of the given kind return true after advancing the lexer . Otherwise do not change the parser state and return false .