code: function getElementTag(node) {
          if (node.openingElement && t.isJSXIdentifier(node.openingElement.name)) {
              return node.openingElement.name.name;
          } else {
              error(node.openingElement, "Unable to parse opening tag.");
          }
      }
docs: Retrieve the tag string for an element node.