code: private void visitMemberFunctionDefInObjectLit(Node n, Node parent) {
      String name = n.getString();
      Node nameNode = n.getFirstFirstChild();
      Node stringKey = withType(IR.stringKey(name, n.getFirstChild().detach()), n.getJSType());
      stringKey.setJSDocInfo(n.getJSDocInfo());
      parent.replaceChild(n, stringKey);
      stringKey.useSourceInfoFrom(nameNode);
      compiler.reportChangeToEnclosingScope(stringKey);
    }
docs: Converts a member definition in an object literal to an ES3 key/value pair.
  Member definitions in classes are handled in {@link Es6RewriteClass}.