index.js
function removeImplementedInterfaces(context, node, ast) {
  if (node.implements && node.implements.length > 0) {
    var first = node.implements[0];
    var last = node.implements[node.implements.length - 1];
    var idx = findTokenIndex(ast.tokens, first.start);
    do {
      idx--;
    } while (ast.tokens[idx].value !== 'implements');

    var lastIdx = findTokenIndex(ast.tokens, last.start);
    do {
      if (!isComment(ast.tokens[idx])) {
        removeNode(context, ast.tokens[idx]);
      }
    } while (idx++ !== lastIdx);
  }
}
function removeImplementedInterfaces(context, node, ast) {
  if (node.implements && node.implements.length > 0) {
    var first = node.implements[0];
    var last = node.implements[node.implements.length - 1];
    var idx = findTokenIndex(ast.tokens, first.start);
    do {
      idx--;
    } while (ast.tokens[idx].value !== 'implements');

    var lastIdx = findTokenIndex(ast.tokens, last.start);
    do {
      if (!isComment(ast.tokens[idx])) {
        removeNode(context, ast.tokens[idx]);
      }
    } while (idx++ !== lastIdx);
  }
}
function removeImplementedInterfaces ( context , node , ast ) { if ( node . implements && node . implements . length > 0 ) { var first = node . implements [ 0 ] ; var last = node . implements [ node . implements . length - 1 ] ; var idx = findTokenIndex ( ast . tokens , first . start ) ; do { idx -- ; } while ( ast . tokens [ idx ] . value !== 'implements' ) ; var lastIdx = findTokenIndex ( ast . tokens , last . start ) ; do { if ( ! isComment ( ast . tokens [ idx ] ) ) { removeNode ( context , ast . tokens [ idx ] ) ; } } while ( idx ++ !== lastIdx ) ; } }
If this class declaration or expression implements interfaces, remove the associated tokens.
If this class declaration or expression implements interfaces remove the associated tokens .