function skip(lexer, kind) {
  var match = lexer.token.kind === kind;
  if (match) {
    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.