source: frontend/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 552 bytes
Line 
1'use strict';
2
3const ErrorReportingMixinBase = require('./mixin-base');
4const ErrorReportingPreprocessorMixin = require('./preprocessor-mixin');
5const Mixin = require('../../utils/mixin');
6
7class ErrorReportingTokenizerMixin extends ErrorReportingMixinBase {
8 constructor(tokenizer, opts) {
9 super(tokenizer, opts);
10
11 const preprocessorMixin = Mixin.install(tokenizer.preprocessor, ErrorReportingPreprocessorMixin, opts);
12
13 this.posTracker = preprocessorMixin.posTracker;
14 }
15}
16
17module.exports = ErrorReportingTokenizerMixin;
Note: See TracBrowser for help on using the repository browser.