yapp 4.0.119 → 4.0.121

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/example.js +6969 -9844
  2. package/lib/div/gutter.js +49 -60
  3. package/lib/div/lineNumbers.js +44 -55
  4. package/lib/div/overlay.js +50 -61
  5. package/lib/div/syntax.js +44 -55
  6. package/lib/example/div/sizeable/left.js +32 -32
  7. package/lib/example/div/sizeable/middle.js +32 -32
  8. package/lib/example/div/sizeable/right.js +32 -32
  9. package/lib/example/div/sizeable/top.js +32 -32
  10. package/lib/example/input.js +6 -6
  11. package/lib/example/subHeading.js +6 -6
  12. package/lib/example/textarea/bnf.js +29 -29
  13. package/lib/example/textarea/lexicalEntries.js +29 -29
  14. package/lib/example/textarea/parseTree.js +29 -29
  15. package/lib/example/textarea/tokens.js +29 -29
  16. package/lib/example/textarea.js +6 -6
  17. package/lib/example/view/javascript.js +31 -31
  18. package/lib/example/view/json.js +31 -31
  19. package/lib/example/view/plainText.js +31 -31
  20. package/lib/example/view/xml.js +31 -31
  21. package/lib/example/view.js +64 -75
  22. package/lib/example/yapp.js +31 -31
  23. package/lib/example.js +6 -6
  24. package/lib/index.js +6 -6
  25. package/lib/lexer/javascript.js +41 -41
  26. package/lib/lexer/json.js +41 -41
  27. package/lib/lexer/plainText.js +41 -41
  28. package/lib/lexer/xml.js +41 -41
  29. package/lib/parser/javascript.js +33 -33
  30. package/lib/parser/json.js +31 -31
  31. package/lib/parser/plainText.js +31 -31
  32. package/lib/parser/xml.js +31 -31
  33. package/lib/plugin/javascript.js +46 -57
  34. package/lib/plugin/json.js +46 -57
  35. package/lib/plugin/plainText.js +46 -57
  36. package/lib/plugin/xml.js +46 -57
  37. package/lib/plugin.js +5 -5
  38. package/lib/prettyPrinter.js +53 -64
  39. package/lib/processor/javascript.js +35 -35
  40. package/lib/processor/json.js +27 -27
  41. package/lib/processor/plainText.js +27 -27
  42. package/lib/processor/xml.js +33 -33
  43. package/lib/processor.js +9 -9
  44. package/lib/renderYappStyles.js +6 -6
  45. package/lib/richTextarea.js +41 -41
  46. package/lib/style/syntax.js +6 -6
  47. package/lib/token/significant/argument.js +28 -28
  48. package/lib/token/significant/attribute.js +28 -28
  49. package/lib/token/significant/comment.js +28 -28
  50. package/lib/token/significant/error.js +28 -28
  51. package/lib/token/significant/jsx/attributeName.js +28 -28
  52. package/lib/token/significant/jsx/tagName.js +28 -28
  53. package/lib/token/significant/name.js +28 -28
  54. package/lib/token/significant/string.js +29 -29
  55. package/lib/token/significant/variable.js +28 -28
  56. package/lib/utilities/plugin.js +6 -6
  57. package/lib/yapp.js +49 -60
  58. package/package.json +6 -6
@@ -8,45 +8,34 @@ Object.defineProperty(exports, "default", {
8
8
  return JSONPlugin;
9
9
  }
10
10
  });
11
- var _plugin = /*#__PURE__*/ _interopRequireDefault(require("../plugin"));
12
- var _json = /*#__PURE__*/ _interopRequireDefault(require("../lexer/json"));
13
- var _json1 = /*#__PURE__*/ _interopRequireDefault(require("../parser/json"));
14
- var _json2 = /*#__PURE__*/ _interopRequireDefault(require("../processor/json"));
11
+ var _plugin = /*#__PURE__*/ _interop_require_default(require("../plugin"));
12
+ var _json = /*#__PURE__*/ _interop_require_default(require("../lexer/json"));
13
+ var _json1 = /*#__PURE__*/ _interop_require_default(require("../parser/json"));
14
+ var _json2 = /*#__PURE__*/ _interop_require_default(require("../processor/json"));
15
15
  var _languages = require("../languages");
16
- function _assertThisInitialized(self) {
16
+ function _assert_this_initialized(self) {
17
17
  if (self === void 0) {
18
18
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
19
19
  }
20
20
  return self;
21
21
  }
22
- function _classCallCheck(instance, Constructor) {
22
+ function _class_call_check(instance, Constructor) {
23
23
  if (!(instance instanceof Constructor)) {
24
24
  throw new TypeError("Cannot call a class as a function");
25
25
  }
26
26
  }
27
- function isNativeReflectConstruct() {
28
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
29
- if (Reflect.construct.sham) return false;
30
- if (typeof Proxy === "function") return true;
31
- try {
32
- Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
33
- return true;
34
- } catch (e) {
35
- return false;
36
- }
37
- }
38
27
  function _construct(Parent, args, Class) {
39
- if (isNativeReflectConstruct()) {
28
+ if (_is_native_reflect_construct()) {
40
29
  _construct = Reflect.construct;
41
30
  } else {
42
- _construct = function _construct(Parent, args, Class) {
31
+ _construct = function construct(Parent, args, Class) {
43
32
  var a = [
44
33
  null
45
34
  ];
46
35
  a.push.apply(a, args);
47
36
  var Constructor = Function.bind.apply(Parent, a);
48
37
  var instance = new Constructor();
49
- if (Class) _setPrototypeOf(instance, Class.prototype);
38
+ if (Class) _set_prototype_of(instance, Class.prototype);
50
39
  return instance;
51
40
  };
52
41
  }
@@ -61,12 +50,12 @@ function _defineProperties(target, props) {
61
50
  Object.defineProperty(target, descriptor.key, descriptor);
62
51
  }
63
52
  }
64
- function _createClass(Constructor, protoProps, staticProps) {
53
+ function _create_class(Constructor, protoProps, staticProps) {
65
54
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
66
55
  if (staticProps) _defineProperties(Constructor, staticProps);
67
56
  return Constructor;
68
57
  }
69
- function _defineProperty(obj, key, value) {
58
+ function _define_property(obj, key, value) {
70
59
  if (key in obj) {
71
60
  Object.defineProperty(obj, key, {
72
61
  value: value,
@@ -79,11 +68,11 @@ function _defineProperty(obj, key, value) {
79
68
  }
80
69
  return obj;
81
70
  }
82
- function _getPrototypeOf(o) {
83
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
71
+ function _get_prototype_of(o) {
72
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
84
73
  return o.__proto__ || Object.getPrototypeOf(o);
85
74
  };
86
- return _getPrototypeOf(o);
75
+ return _get_prototype_of(o);
87
76
  }
88
77
  function _inherits(subClass, superClass) {
89
78
  if (typeof superClass !== "function" && superClass !== null) {
@@ -96,37 +85,37 @@ function _inherits(subClass, superClass) {
96
85
  configurable: true
97
86
  }
98
87
  });
99
- if (superClass) _setPrototypeOf(subClass, superClass);
88
+ if (superClass) _set_prototype_of(subClass, superClass);
100
89
  }
101
- function _interopRequireDefault(obj) {
90
+ function _interop_require_default(obj) {
102
91
  return obj && obj.__esModule ? obj : {
103
92
  default: obj
104
93
  };
105
94
  }
106
- function _isNativeFunction(fn) {
95
+ function _is_native_function(fn) {
107
96
  return Function.toString.call(fn).indexOf("[native code]") !== -1;
108
97
  }
109
- function _possibleConstructorReturn(self, call) {
110
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
98
+ function _possible_constructor_return(self, call) {
99
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
111
100
  return call;
112
101
  }
113
- return _assertThisInitialized(self);
102
+ return _assert_this_initialized(self);
114
103
  }
115
- function _setPrototypeOf(o, p) {
116
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
104
+ function _set_prototype_of(o, p) {
105
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
117
106
  o.__proto__ = p;
118
107
  return o;
119
108
  };
120
- return _setPrototypeOf(o, p);
109
+ return _set_prototype_of(o, p);
121
110
  }
122
- var _typeof = function(obj) {
111
+ function _type_of(obj) {
123
112
  "@swc/helpers - typeof";
124
113
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
125
- };
126
- function _wrapNativeSuper(Class) {
114
+ }
115
+ function _wrap_native_super(Class) {
127
116
  var _cache = typeof Map === "function" ? new Map() : undefined;
128
- _wrapNativeSuper = function _wrapNativeSuper(Class) {
129
- if (Class === null || !_isNativeFunction(Class)) return Class;
117
+ _wrap_native_super = function wrapNativeSuper(Class) {
118
+ if (Class === null || !_is_native_function(Class)) return Class;
130
119
  if (typeof Class !== "function") {
131
120
  throw new TypeError("Super expression must either be null or a function");
132
121
  }
@@ -135,7 +124,7 @@ function _wrapNativeSuper(Class) {
135
124
  _cache.set(Class, Wrapper);
136
125
  }
137
126
  function Wrapper() {
138
- return _construct(Class, arguments, _getPrototypeOf(this).constructor);
127
+ return _construct(Class, arguments, _get_prototype_of(this).constructor);
139
128
  }
140
129
  Wrapper.prototype = Object.create(Class.prototype, {
141
130
  constructor: {
@@ -145,11 +134,11 @@ function _wrapNativeSuper(Class) {
145
134
  configurable: true
146
135
  }
147
136
  });
148
- return _setPrototypeOf(Wrapper, Class);
137
+ return _set_prototype_of(Wrapper, Class);
149
138
  };
150
- return _wrapNativeSuper(Class);
139
+ return _wrap_native_super(Class);
151
140
  }
152
- function _isNativeReflectConstruct() {
141
+ function _is_native_reflect_construct() {
153
142
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
154
143
  if (Reflect.construct.sham) return false;
155
144
  if (typeof Proxy === "function") return true;
@@ -160,27 +149,27 @@ function _isNativeReflectConstruct() {
160
149
  return false;
161
150
  }
162
151
  }
163
- function _createSuper(Derived) {
164
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
152
+ function _create_super(Derived) {
153
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
165
154
  return function _createSuperInternal() {
166
- var Super = _getPrototypeOf(Derived), result;
155
+ var Super = _get_prototype_of(Derived), result;
167
156
  if (hasNativeReflectConstruct) {
168
- var NewTarget = _getPrototypeOf(this).constructor;
157
+ var NewTarget = _get_prototype_of(this).constructor;
169
158
  result = Reflect.construct(Super, arguments, NewTarget);
170
159
  } else {
171
160
  result = Super.apply(this, arguments);
172
161
  }
173
- return _possibleConstructorReturn(this, result);
162
+ return _possible_constructor_return(this, result);
174
163
  };
175
164
  }
176
165
  var JSONPlugin = /*#__PURE__*/ function(Plugin) {
177
166
  _inherits(JSONPlugin, Plugin);
178
- var _super = _createSuper(JSONPlugin);
167
+ var _super = _create_super(JSONPlugin);
179
168
  function JSONPlugin() {
180
- _classCallCheck(this, JSONPlugin);
169
+ _class_call_check(this, JSONPlugin);
181
170
  return _super.apply(this, arguments);
182
171
  }
183
- _createClass(JSONPlugin, null, [
172
+ _create_class(JSONPlugin, null, [
184
173
  {
185
174
  key: "fromNothing",
186
175
  value: function fromNothing() {
@@ -189,10 +178,10 @@ var JSONPlugin = /*#__PURE__*/ function(Plugin) {
189
178
  }
190
179
  ]);
191
180
  return JSONPlugin;
192
- }(_wrapNativeSuper(_plugin.default));
193
- _defineProperty(JSONPlugin, "language", _languages.JSON_LANGUAGE);
194
- _defineProperty(JSONPlugin, "Lexer", _json.default);
195
- _defineProperty(JSONPlugin, "Parser", _json1.default);
196
- _defineProperty(JSONPlugin, "Processor", _json2.default);
181
+ }(_wrap_native_super(_plugin.default));
182
+ _define_property(JSONPlugin, "language", _languages.JSON_LANGUAGE);
183
+ _define_property(JSONPlugin, "Lexer", _json.default);
184
+ _define_property(JSONPlugin, "Parser", _json1.default);
185
+ _define_property(JSONPlugin, "Processor", _json2.default);
197
186
 
198
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wbHVnaW4vanNvbi5qcyIsIjw8anN4LWNvbmZpZy1wcmFnbWEuanM+PiJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuaW1wb3J0IFBsdWdpbiBmcm9tIFwiLi4vcGx1Z2luXCI7XG5pbXBvcnQgSlNPTkxleGVyIGZyb20gXCIuLi9sZXhlci9qc29uXCI7XG5pbXBvcnQgSlNPTlBhcnNlciBmcm9tIFwiLi4vcGFyc2VyL2pzb25cIjtcbmltcG9ydCBKU09OUHJvY2Vzc29yIGZyb20gXCIuLi9wcm9jZXNzb3IvanNvblwiO1xuXG5pbXBvcnQgeyBKU09OX0xBTkdVQUdFIH0gZnJvbSBcIi4uL2xhbmd1YWdlc1wiXG5cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIEpTT05QbHVnaW4gZXh0ZW5kcyBQbHVnaW4ge1xuICBzdGF0aWMgbGFuZ3VhZ2UgPSBKU09OX0xB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nIiwiUGx1Z2luIiwibGFuZ3VhZ2UiLCJKU09OX0xBTkdVQUdFIiwiTGV4ZXIiLCJKU09OTGV4ZXIiLCJQYXJzZXIiLCJKU09OUGFyc2VyIiwiUHJvY2Vzc29yIiwiSlNPTlByb2Nlc3NvciJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7ZUFTcUJBOzs7NkRBUEY7MkRBQ0c7NERBQ0M7NERBQ0c7eUJBRUk7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUVmLElBQUEsQUFBTUEsMkJBQU47Y0FBTUE7K0JBQUFBO2FBQUFBO2dDQUFBQTs7O2tCQUFBQTs7WUFTWkMsS0FBQUE7bUJBQVAsU0FBT0EsY0FBYztnQkFBRSxPQUFPQyxlQUFNLENBQUNELFdBQVcsQ0FUN0JEO1lBUzJDOzs7V0FUM0NBO3FCQUFtQkUsZUFBTTtBQUM1QyxpQkFEbUJGLFlBQ1pHLFlBQVdDLHdCQUFhO0FBRS9CLGlCQUhtQkosWUFHWkssU0FBUUMsYUFBUztBQUV4QixpQkFMbUJOLFlBS1pPLFVBQVNDLGNBQVU7QUFFMUIsaUJBUG1CUixZQU9aUyxhQUFZQyxjQUFhIn0=
@@ -8,45 +8,34 @@ Object.defineProperty(exports, "default", {
8
8
  return PlainTextPlugin;
9
9
  }
10
10
  });
11
- var _plugin = /*#__PURE__*/ _interopRequireDefault(require("../plugin"));
12
- var _plainText = /*#__PURE__*/ _interopRequireDefault(require("../lexer/plainText"));
13
- var _plainText1 = /*#__PURE__*/ _interopRequireDefault(require("../parser/plainText"));
14
- var _plainText2 = /*#__PURE__*/ _interopRequireDefault(require("../processor/plainText"));
11
+ var _plugin = /*#__PURE__*/ _interop_require_default(require("../plugin"));
12
+ var _plainText = /*#__PURE__*/ _interop_require_default(require("../lexer/plainText"));
13
+ var _plainText1 = /*#__PURE__*/ _interop_require_default(require("../parser/plainText"));
14
+ var _plainText2 = /*#__PURE__*/ _interop_require_default(require("../processor/plainText"));
15
15
  var _languages = require("../languages");
16
- function _assertThisInitialized(self) {
16
+ function _assert_this_initialized(self) {
17
17
  if (self === void 0) {
18
18
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
19
19
  }
20
20
  return self;
21
21
  }
22
- function _classCallCheck(instance, Constructor) {
22
+ function _class_call_check(instance, Constructor) {
23
23
  if (!(instance instanceof Constructor)) {
24
24
  throw new TypeError("Cannot call a class as a function");
25
25
  }
26
26
  }
27
- function isNativeReflectConstruct() {
28
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
29
- if (Reflect.construct.sham) return false;
30
- if (typeof Proxy === "function") return true;
31
- try {
32
- Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
33
- return true;
34
- } catch (e) {
35
- return false;
36
- }
37
- }
38
27
  function _construct(Parent, args, Class) {
39
- if (isNativeReflectConstruct()) {
28
+ if (_is_native_reflect_construct()) {
40
29
  _construct = Reflect.construct;
41
30
  } else {
42
- _construct = function _construct(Parent, args, Class) {
31
+ _construct = function construct(Parent, args, Class) {
43
32
  var a = [
44
33
  null
45
34
  ];
46
35
  a.push.apply(a, args);
47
36
  var Constructor = Function.bind.apply(Parent, a);
48
37
  var instance = new Constructor();
49
- if (Class) _setPrototypeOf(instance, Class.prototype);
38
+ if (Class) _set_prototype_of(instance, Class.prototype);
50
39
  return instance;
51
40
  };
52
41
  }
@@ -61,12 +50,12 @@ function _defineProperties(target, props) {
61
50
  Object.defineProperty(target, descriptor.key, descriptor);
62
51
  }
63
52
  }
64
- function _createClass(Constructor, protoProps, staticProps) {
53
+ function _create_class(Constructor, protoProps, staticProps) {
65
54
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
66
55
  if (staticProps) _defineProperties(Constructor, staticProps);
67
56
  return Constructor;
68
57
  }
69
- function _defineProperty(obj, key, value) {
58
+ function _define_property(obj, key, value) {
70
59
  if (key in obj) {
71
60
  Object.defineProperty(obj, key, {
72
61
  value: value,
@@ -79,11 +68,11 @@ function _defineProperty(obj, key, value) {
79
68
  }
80
69
  return obj;
81
70
  }
82
- function _getPrototypeOf(o) {
83
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
71
+ function _get_prototype_of(o) {
72
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
84
73
  return o.__proto__ || Object.getPrototypeOf(o);
85
74
  };
86
- return _getPrototypeOf(o);
75
+ return _get_prototype_of(o);
87
76
  }
88
77
  function _inherits(subClass, superClass) {
89
78
  if (typeof superClass !== "function" && superClass !== null) {
@@ -96,37 +85,37 @@ function _inherits(subClass, superClass) {
96
85
  configurable: true
97
86
  }
98
87
  });
99
- if (superClass) _setPrototypeOf(subClass, superClass);
88
+ if (superClass) _set_prototype_of(subClass, superClass);
100
89
  }
101
- function _interopRequireDefault(obj) {
90
+ function _interop_require_default(obj) {
102
91
  return obj && obj.__esModule ? obj : {
103
92
  default: obj
104
93
  };
105
94
  }
106
- function _isNativeFunction(fn) {
95
+ function _is_native_function(fn) {
107
96
  return Function.toString.call(fn).indexOf("[native code]") !== -1;
108
97
  }
109
- function _possibleConstructorReturn(self, call) {
110
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
98
+ function _possible_constructor_return(self, call) {
99
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
111
100
  return call;
112
101
  }
113
- return _assertThisInitialized(self);
102
+ return _assert_this_initialized(self);
114
103
  }
115
- function _setPrototypeOf(o, p) {
116
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
104
+ function _set_prototype_of(o, p) {
105
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
117
106
  o.__proto__ = p;
118
107
  return o;
119
108
  };
120
- return _setPrototypeOf(o, p);
109
+ return _set_prototype_of(o, p);
121
110
  }
122
- var _typeof = function(obj) {
111
+ function _type_of(obj) {
123
112
  "@swc/helpers - typeof";
124
113
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
125
- };
126
- function _wrapNativeSuper(Class) {
114
+ }
115
+ function _wrap_native_super(Class) {
127
116
  var _cache = typeof Map === "function" ? new Map() : undefined;
128
- _wrapNativeSuper = function _wrapNativeSuper(Class) {
129
- if (Class === null || !_isNativeFunction(Class)) return Class;
117
+ _wrap_native_super = function wrapNativeSuper(Class) {
118
+ if (Class === null || !_is_native_function(Class)) return Class;
130
119
  if (typeof Class !== "function") {
131
120
  throw new TypeError("Super expression must either be null or a function");
132
121
  }
@@ -135,7 +124,7 @@ function _wrapNativeSuper(Class) {
135
124
  _cache.set(Class, Wrapper);
136
125
  }
137
126
  function Wrapper() {
138
- return _construct(Class, arguments, _getPrototypeOf(this).constructor);
127
+ return _construct(Class, arguments, _get_prototype_of(this).constructor);
139
128
  }
140
129
  Wrapper.prototype = Object.create(Class.prototype, {
141
130
  constructor: {
@@ -145,11 +134,11 @@ function _wrapNativeSuper(Class) {
145
134
  configurable: true
146
135
  }
147
136
  });
148
- return _setPrototypeOf(Wrapper, Class);
137
+ return _set_prototype_of(Wrapper, Class);
149
138
  };
150
- return _wrapNativeSuper(Class);
139
+ return _wrap_native_super(Class);
151
140
  }
152
- function _isNativeReflectConstruct() {
141
+ function _is_native_reflect_construct() {
153
142
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
154
143
  if (Reflect.construct.sham) return false;
155
144
  if (typeof Proxy === "function") return true;
@@ -160,27 +149,27 @@ function _isNativeReflectConstruct() {
160
149
  return false;
161
150
  }
162
151
  }
163
- function _createSuper(Derived) {
164
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
152
+ function _create_super(Derived) {
153
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
165
154
  return function _createSuperInternal() {
166
- var Super = _getPrototypeOf(Derived), result;
155
+ var Super = _get_prototype_of(Derived), result;
167
156
  if (hasNativeReflectConstruct) {
168
- var NewTarget = _getPrototypeOf(this).constructor;
157
+ var NewTarget = _get_prototype_of(this).constructor;
169
158
  result = Reflect.construct(Super, arguments, NewTarget);
170
159
  } else {
171
160
  result = Super.apply(this, arguments);
172
161
  }
173
- return _possibleConstructorReturn(this, result);
162
+ return _possible_constructor_return(this, result);
174
163
  };
175
164
  }
176
165
  var PlainTextPlugin = /*#__PURE__*/ function(Plugin) {
177
166
  _inherits(PlainTextPlugin, Plugin);
178
- var _super = _createSuper(PlainTextPlugin);
167
+ var _super = _create_super(PlainTextPlugin);
179
168
  function PlainTextPlugin() {
180
- _classCallCheck(this, PlainTextPlugin);
169
+ _class_call_check(this, PlainTextPlugin);
181
170
  return _super.apply(this, arguments);
182
171
  }
183
- _createClass(PlainTextPlugin, null, [
172
+ _create_class(PlainTextPlugin, null, [
184
173
  {
185
174
  key: "fromNothing",
186
175
  value: function fromNothing() {
@@ -189,10 +178,10 @@ var PlainTextPlugin = /*#__PURE__*/ function(Plugin) {
189
178
  }
190
179
  ]);
191
180
  return PlainTextPlugin;
192
- }(_wrapNativeSuper(_plugin.default));
193
- _defineProperty(PlainTextPlugin, "language", _languages.PLAIN_TEXT_LANGUAGE);
194
- _defineProperty(PlainTextPlugin, "Lexer", _plainText.default);
195
- _defineProperty(PlainTextPlugin, "Parser", _plainText1.default);
196
- _defineProperty(PlainTextPlugin, "Processor", _plainText2.default);
181
+ }(_wrap_native_super(_plugin.default));
182
+ _define_property(PlainTextPlugin, "language", _languages.PLAIN_TEXT_LANGUAGE);
183
+ _define_property(PlainTextPlugin, "Lexer", _plainText.default);
184
+ _define_property(PlainTextPlugin, "Parser", _plainText1.default);
185
+ _define_property(PlainTextPlugin, "Processor", _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xQkE7Ozs2REFQRjtnRUFDUTtpRUFDQztpRUFDRzt5QkFFSzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRXJCLElBQUEsQUFBTUEsZ0NBQU47Y0FBTUE7K0JBQUFBO2FBQUFBO2dDQUFBQTs7O2tCQUFBQTs7WUFTWkMsS0FBQUE7bUJBQVAsU0FBT0EsY0FBYztnQkFBRSxPQUFPQyxlQUFNLENBQUNELFdBQVcsQ0FUN0JEO1lBU2dEOzs7V0FUaERBO3FCQUF3QkUsZUFBTTtBQUNqRCxpQkFEbUJGLGlCQUNaRyxZQUFXQyw4QkFBbUI7QUFFckMsaUJBSG1CSixpQkFHWkssU0FBUUMsa0JBQWM7QUFFN0IsaUJBTG1CTixpQkFLWk8sVUFBU0MsbUJBQWU7QUFFL0IsaUJBUG1CUixpQkFPWlMsYUFBWUMsbUJBQWtCIn0=
package/lib/plugin/xml.js CHANGED
@@ -8,45 +8,34 @@ Object.defineProperty(exports, "default", {
8
8
  return XMLPlugin;
9
9
  }
10
10
  });
11
- var _plugin = /*#__PURE__*/ _interopRequireDefault(require("../plugin"));
12
- var _xml = /*#__PURE__*/ _interopRequireDefault(require("../lexer/xml"));
13
- var _xml1 = /*#__PURE__*/ _interopRequireDefault(require("../parser/xml"));
14
- var _xml2 = /*#__PURE__*/ _interopRequireDefault(require("../processor/xml"));
11
+ var _plugin = /*#__PURE__*/ _interop_require_default(require("../plugin"));
12
+ var _xml = /*#__PURE__*/ _interop_require_default(require("../lexer/xml"));
13
+ var _xml1 = /*#__PURE__*/ _interop_require_default(require("../parser/xml"));
14
+ var _xml2 = /*#__PURE__*/ _interop_require_default(require("../processor/xml"));
15
15
  var _languages = require("../languages");
16
- function _assertThisInitialized(self) {
16
+ function _assert_this_initialized(self) {
17
17
  if (self === void 0) {
18
18
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
19
19
  }
20
20
  return self;
21
21
  }
22
- function _classCallCheck(instance, Constructor) {
22
+ function _class_call_check(instance, Constructor) {
23
23
  if (!(instance instanceof Constructor)) {
24
24
  throw new TypeError("Cannot call a class as a function");
25
25
  }
26
26
  }
27
- function isNativeReflectConstruct() {
28
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
29
- if (Reflect.construct.sham) return false;
30
- if (typeof Proxy === "function") return true;
31
- try {
32
- Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
33
- return true;
34
- } catch (e) {
35
- return false;
36
- }
37
- }
38
27
  function _construct(Parent, args, Class) {
39
- if (isNativeReflectConstruct()) {
28
+ if (_is_native_reflect_construct()) {
40
29
  _construct = Reflect.construct;
41
30
  } else {
42
- _construct = function _construct(Parent, args, Class) {
31
+ _construct = function construct(Parent, args, Class) {
43
32
  var a = [
44
33
  null
45
34
  ];
46
35
  a.push.apply(a, args);
47
36
  var Constructor = Function.bind.apply(Parent, a);
48
37
  var instance = new Constructor();
49
- if (Class) _setPrototypeOf(instance, Class.prototype);
38
+ if (Class) _set_prototype_of(instance, Class.prototype);
50
39
  return instance;
51
40
  };
52
41
  }
@@ -61,12 +50,12 @@ function _defineProperties(target, props) {
61
50
  Object.defineProperty(target, descriptor.key, descriptor);
62
51
  }
63
52
  }
64
- function _createClass(Constructor, protoProps, staticProps) {
53
+ function _create_class(Constructor, protoProps, staticProps) {
65
54
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
66
55
  if (staticProps) _defineProperties(Constructor, staticProps);
67
56
  return Constructor;
68
57
  }
69
- function _defineProperty(obj, key, value) {
58
+ function _define_property(obj, key, value) {
70
59
  if (key in obj) {
71
60
  Object.defineProperty(obj, key, {
72
61
  value: value,
@@ -79,11 +68,11 @@ function _defineProperty(obj, key, value) {
79
68
  }
80
69
  return obj;
81
70
  }
82
- function _getPrototypeOf(o) {
83
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
71
+ function _get_prototype_of(o) {
72
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
84
73
  return o.__proto__ || Object.getPrototypeOf(o);
85
74
  };
86
- return _getPrototypeOf(o);
75
+ return _get_prototype_of(o);
87
76
  }
88
77
  function _inherits(subClass, superClass) {
89
78
  if (typeof superClass !== "function" && superClass !== null) {
@@ -96,37 +85,37 @@ function _inherits(subClass, superClass) {
96
85
  configurable: true
97
86
  }
98
87
  });
99
- if (superClass) _setPrototypeOf(subClass, superClass);
88
+ if (superClass) _set_prototype_of(subClass, superClass);
100
89
  }
101
- function _interopRequireDefault(obj) {
90
+ function _interop_require_default(obj) {
102
91
  return obj && obj.__esModule ? obj : {
103
92
  default: obj
104
93
  };
105
94
  }
106
- function _isNativeFunction(fn) {
95
+ function _is_native_function(fn) {
107
96
  return Function.toString.call(fn).indexOf("[native code]") !== -1;
108
97
  }
109
- function _possibleConstructorReturn(self, call) {
110
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
98
+ function _possible_constructor_return(self, call) {
99
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
111
100
  return call;
112
101
  }
113
- return _assertThisInitialized(self);
102
+ return _assert_this_initialized(self);
114
103
  }
115
- function _setPrototypeOf(o, p) {
116
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
104
+ function _set_prototype_of(o, p) {
105
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
117
106
  o.__proto__ = p;
118
107
  return o;
119
108
  };
120
- return _setPrototypeOf(o, p);
109
+ return _set_prototype_of(o, p);
121
110
  }
122
- var _typeof = function(obj) {
111
+ function _type_of(obj) {
123
112
  "@swc/helpers - typeof";
124
113
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
125
- };
126
- function _wrapNativeSuper(Class) {
114
+ }
115
+ function _wrap_native_super(Class) {
127
116
  var _cache = typeof Map === "function" ? new Map() : undefined;
128
- _wrapNativeSuper = function _wrapNativeSuper(Class) {
129
- if (Class === null || !_isNativeFunction(Class)) return Class;
117
+ _wrap_native_super = function wrapNativeSuper(Class) {
118
+ if (Class === null || !_is_native_function(Class)) return Class;
130
119
  if (typeof Class !== "function") {
131
120
  throw new TypeError("Super expression must either be null or a function");
132
121
  }
@@ -135,7 +124,7 @@ function _wrapNativeSuper(Class) {
135
124
  _cache.set(Class, Wrapper);
136
125
  }
137
126
  function Wrapper() {
138
- return _construct(Class, arguments, _getPrototypeOf(this).constructor);
127
+ return _construct(Class, arguments, _get_prototype_of(this).constructor);
139
128
  }
140
129
  Wrapper.prototype = Object.create(Class.prototype, {
141
130
  constructor: {
@@ -145,11 +134,11 @@ function _wrapNativeSuper(Class) {
145
134
  configurable: true
146
135
  }
147
136
  });
148
- return _setPrototypeOf(Wrapper, Class);
137
+ return _set_prototype_of(Wrapper, Class);
149
138
  };
150
- return _wrapNativeSuper(Class);
139
+ return _wrap_native_super(Class);
151
140
  }
152
- function _isNativeReflectConstruct() {
141
+ function _is_native_reflect_construct() {
153
142
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
154
143
  if (Reflect.construct.sham) return false;
155
144
  if (typeof Proxy === "function") return true;
@@ -160,27 +149,27 @@ function _isNativeReflectConstruct() {
160
149
  return false;
161
150
  }
162
151
  }
163
- function _createSuper(Derived) {
164
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
152
+ function _create_super(Derived) {
153
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
165
154
  return function _createSuperInternal() {
166
- var Super = _getPrototypeOf(Derived), result;
155
+ var Super = _get_prototype_of(Derived), result;
167
156
  if (hasNativeReflectConstruct) {
168
- var NewTarget = _getPrototypeOf(this).constructor;
157
+ var NewTarget = _get_prototype_of(this).constructor;
169
158
  result = Reflect.construct(Super, arguments, NewTarget);
170
159
  } else {
171
160
  result = Super.apply(this, arguments);
172
161
  }
173
- return _possibleConstructorReturn(this, result);
162
+ return _possible_constructor_return(this, result);
174
163
  };
175
164
  }
176
165
  var XMLPlugin = /*#__PURE__*/ function(Plugin) {
177
166
  _inherits(XMLPlugin, Plugin);
178
- var _super = _createSuper(XMLPlugin);
167
+ var _super = _create_super(XMLPlugin);
179
168
  function XMLPlugin() {
180
- _classCallCheck(this, XMLPlugin);
169
+ _class_call_check(this, XMLPlugin);
181
170
  return _super.apply(this, arguments);
182
171
  }
183
- _createClass(XMLPlugin, null, [
172
+ _create_class(XMLPlugin, null, [
184
173
  {
185
174
  key: "fromNothing",
186
175
  value: function fromNothing() {
@@ -189,10 +178,10 @@ var XMLPlugin = /*#__PURE__*/ function(Plugin) {
189
178
  }
190
179
  ]);
191
180
  return XMLPlugin;
192
- }(_wrapNativeSuper(_plugin.default));
193
- _defineProperty(XMLPlugin, "language", _languages.XML_LANGUAGE);
194
- _defineProperty(XMLPlugin, "Lexer", _xml.default);
195
- _defineProperty(XMLPlugin, "Parser", _xml1.default);
196
- _defineProperty(XMLPlugin, "Processor", _xml2.default);
181
+ }(_wrap_native_super(_plugin.default));
182
+ _define_property(XMLPlugin, "language", _languages.XML_LANGUAGE);
183
+ _define_property(XMLPlugin, "Lexer", _xml.default);
184
+ _define_property(XMLPlugin, "Parser", _xml1.default);
185
+ _define_property(XMLPlugin, "Processor", _xml2.default);
197
186
 
198
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wbHVnaW4veG1sLmpzIiwiPDxqc3gtY29uZmlnLXByYWdtYS5qcz4+Il0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5pbXBvcnQgUGx1Z2luIGZyb20gXCIuLi9wbHVnaW5cIj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