validator/engine/amp4ads-parse-css.js
/**
 * Fills an ErrorToken with the provided position, code, and params.
 * @param {!parse_css.Token} positionToken
 * @param {!amp.validator.ValidationError.Code} code
 * @param {!Array<string>} params
 * @return {!parse_css.ErrorToken}
 */
Fills an ErrorToken with the provided position, code, and params.
Fills an ErrorToken with the provided position code and params .
function createParseErrorTokenAt(positionToken, code, params) {
  const token = new parse_css.ErrorToken(code, params);
  positionToken.copyPosTo(token);
  return token;
}
function createParseErrorTokenAt ( positionToken , code , params ) { const token = new parse_css . ErrorToken ( code , params ) ; positionToken . copyPosTo ( token ) ; return token ; }
Fills an ErrorToken with the provided position, code, and params.
Fills an ErrorToken with the provided position code and params .