import { getDefaultExportFromCjs } from '../../../../../../../../_virtual/_commonjsHelpers.mjs';
import '../../../../../../../../_virtual/mixin-base.mjs';
import '../../../../../../../../_virtual/preprocessor-mixin2.mjs';
import '../../../../../../../../_virtual/mixin.mjs';
import { m as mixinBase } from './mixin-base.mjs';
import { p as preprocessorMixin } from './preprocessor-mixin.mjs';
import { m as mixin } from '../../utils/mixin.mjs';

'use strict';

const ErrorReportingMixinBase = mixinBase;
const ErrorReportingPreprocessorMixin = preprocessorMixin;
const 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__*/getDefaultExportFromCjs(tokenizerMixin);

export { tokenizerMixin_default as default, tokenizerMixin as t };
//# sourceMappingURL=tokenizer-mixin.mjs.map
