"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.matcher = exports.default = void 0;
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
var _callSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/callSuper"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
var _type = _interopRequireDefault(require("./type"));
const matcher = exports.matcher = /^integer/gim;
var _default = () => /*#__PURE__*/function (_Type) {
  function NInteger(value) {
    var _this;
    (0, _classCallCheck2.default)(this, NInteger);
    _this = (0, _callSuper2.default)(this, NInteger, [value]);
    _this.matchers = [/\d+/];
    return _this;
  }
  (0, _inherits2.default)(NInteger, _Type);
  return (0, _createClass2.default)(NInteger);
}(_type.default);
exports.default = _default;