code: function squashTokens(tokens) {
      var token, lastToken;
  
      for (var i = 0; i < tokens.length; ++i) {
        token = tokens[i];
  
        if (lastToken && lastToken[0] === "text" && token[0] === "text") {
          lastToken[1] += token[1];
          lastToken[3] = token[3];
          tokens.splice(i--, 1); // Remove this token from the array.
        } else {
          lastToken = token;
        }
      }
    }
docs: Combines the values of consecutive text tokens in the given `tokens` array
  to a single token.