code: function deleteSelector(token){
    var simpleselector = token.stack[0];
    var selector = token.stack[1];
    var rule = token.stack[2];
    var stylesheet = token.stack[3];
    var idx;
  
    idx = selector.indexOf(simpleselector);
    if (idx != -1)
    {
      // delete selector from selector group
      selector.splice(idx > 2 ? idx - 1 : idx, 2);
    }
  
    // if no more selectors
    if (selector.length == 2)
    {
      idx = stylesheet.indexOf(rule);
      if (idx != -1)
      {
        // delete rule from stylesheet
        stylesheet.splice(idx, 1);
        if (stylesheet[idx] && stylesheet[idx][1] == 's')
          stylesheet.splice(idx, 1);
      }
    }
  }
docs: utils