You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 line
766 B

  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var _h2xTypes = require("h2x-types");
  7. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  8. class JSXAttribute {
  9. constructor() {
  10. _defineProperty(this, "name", null);
  11. _defineProperty(this, "value", null);
  12. _defineProperty(this, "literal", false);
  13. _defineProperty(this, "spread", false);
  14. }
  15. }
  16. _defineProperty(JSXAttribute, _h2xTypes.NODE_TYPE, 'JSXAttribute');
  17. _defineProperty(JSXAttribute, _h2xTypes.VISITOR_KEYS, null);
  18. var _default = JSXAttribute;
  19. exports.default = _default;