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.
62 lines
2.4 KiB
62 lines
2.4 KiB
"use strict"; |
|
|
|
Object.defineProperty(exports, "__esModule", { |
|
value: true |
|
}); |
|
exports.LinkError = exports.CompileError = exports.RuntimeError = void 0; |
|
|
|
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } |
|
|
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } |
|
|
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } |
|
|
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } |
|
|
|
var RuntimeError = |
|
/*#__PURE__*/ |
|
function (_Error) { |
|
_inherits(RuntimeError, _Error); |
|
|
|
function RuntimeError() { |
|
_classCallCheck(this, RuntimeError); |
|
|
|
return _possibleConstructorReturn(this, (RuntimeError.__proto__ || Object.getPrototypeOf(RuntimeError)).apply(this, arguments)); |
|
} |
|
|
|
return RuntimeError; |
|
}(Error); |
|
|
|
exports.RuntimeError = RuntimeError; |
|
|
|
var CompileError = |
|
/*#__PURE__*/ |
|
function (_Error2) { |
|
_inherits(CompileError, _Error2); |
|
|
|
function CompileError() { |
|
_classCallCheck(this, CompileError); |
|
|
|
return _possibleConstructorReturn(this, (CompileError.__proto__ || Object.getPrototypeOf(CompileError)).apply(this, arguments)); |
|
} |
|
|
|
return CompileError; |
|
}(Error); |
|
|
|
exports.CompileError = CompileError; |
|
|
|
var LinkError = |
|
/*#__PURE__*/ |
|
function (_Error3) { |
|
_inherits(LinkError, _Error3); |
|
|
|
function LinkError() { |
|
_classCallCheck(this, LinkError); |
|
|
|
return _possibleConstructorReturn(this, (LinkError.__proto__ || Object.getPrototypeOf(LinkError)).apply(this, arguments)); |
|
} |
|
|
|
return LinkError; |
|
}(Error); |
|
|
|
exports.LinkError = LinkError; |