'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var _commonjsHelpers = require('../../../../../../../../_virtual/_commonjsHelpers.js');
require('../../../../../../../../_virtual/mixin-base.js');
require('../../../../../../../../_virtual/preprocessor-mixin2.js');
require('../../../../../../../../_virtual/mixin.js');
var mixinBase = require('./mixin-base.js');
var preprocessorMixin = require('./preprocessor-mixin.js');
var mixin = require('../../utils/mixin.js');

'use strict';

const ErrorReportingMixinBase = mixinBase.mixinBase;
const ErrorReportingPreprocessorMixin = preprocessorMixin.preprocessorMixin;
const Mixin = mixin.mixin;

class ErrorReportingTokenizerMixin extends ErrorReportingMixinBase {
    constructor(tokenizer, opts) {
        super(tokenizer, opts);

        const preprocessorMixin = Mixin.install(tokenizer.preprocessor, ErrorReportingPreprocessorMixin, opts);

        this.posTracker = preprocessorMixin.posTracker;
    }
}

var tokenizerMixin = ErrorReportingTokenizerMixin;

var tokenizerMixin_default = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(tokenizerMixin);

exports.default = tokenizerMixin_default;
exports.tokenizerMixin = tokenizerMixin;
//# sourceMappingURL=tokenizer-mixin.js.map
