code: function JSXOpeningElement(node, print) {
    this.push("<");
    print.plain(node.name);
    if (node.attributes.length > 0) {
      this.push(" ");
      print.join(node.attributes, { separator: " " });
    }
    this.push(node.selfClosing ? " />" : ">");
  }
docs: Prints JSXOpeningElement, prints name and attributes, handles selfClosing.