mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-22 03:09:27 +08:00
a0f00e5017
Co-authored-by: OliverMKing <OliverMKing@users.noreply.github.com>
18 lines
552 B
JavaScript
18 lines
552 B
JavaScript
'use strict';
|
|
|
|
const ErrorReportingMixinBase = require('./mixin-base');
|
|
const ErrorReportingPreprocessorMixin = require('./preprocessor-mixin');
|
|
const Mixin = require('../../utils/mixin');
|
|
|
|
class ErrorReportingTokenizerMixin extends ErrorReportingMixinBase {
|
|
constructor(tokenizer, opts) {
|
|
super(tokenizer, opts);
|
|
|
|
const preprocessorMixin = Mixin.install(tokenizer.preprocessor, ErrorReportingPreprocessorMixin, opts);
|
|
|
|
this.posTracker = preprocessorMixin.posTracker;
|
|
}
|
|
}
|
|
|
|
module.exports = ErrorReportingTokenizerMixin;
|