code: function apply_autodetected(m, ast, inheritable) {
    docset = find_docset(ast);
    var inheritable = inheritable || true;
    
    if (!docset || docset["type"] != "doc_comment") {
      if (inheritable)
        m["inheritdoc"] = {};
      else
        m["private"] = true;
        
      m["autodetected"] = true;
    }
  
    if (docset) {
      docset["code"] = m;
      return false;
    }
    else {
      // Get line number from third place at range array.
      // This third item exists in forked EsprimaJS at
      // https://github.com/nene/esprima/tree/linenr-in-range
      m["linenr"] = ast["range"][2];
      return true;
    }
  }
docs: When member has a comment, adds code to the related docset and returns false. Otherwise detects the line number of member and returns true.