code: function _method(node, print) {
    var value = node.value;
    var kind = node.kind;
    var key = node.key;
  
    if (kind === "method" || kind === "init") {
      if (value.generator) {
        this.push("*");
      }
    }
  
    if (kind === "get" || kind === "set") {
      this.push(kind + " ");
    }
  
    if (value.async) this.push("async ");
  
    if (node.computed) {
      this.push("[");
      print.plain(key);
      this.push("]");
    } else {
      print.plain(key);
    }
  
    this._params(value, print);
    this.space();
    print.plain(value.body);
  }
docs: Prints method-like nodes, prints key, value, and body, handles async, generator, computed, and get or set.