function checkPunctuators(token, values) {
    if (token.type === "(punctuator)") {
      return _.includes(values, token.value);
    }
    return false;
  }
Test whether a given token is a punctuator whose `value` property matches
one of the specified values. This function explicitly verifies the token's
`type` property so that like-valued string literals (e.g. `";"`) do not
produce false positives.

@param {Token} token
@param {Array.<string>} values

@returns {boolean}