source: trip-planner-front/node_modules/parse5/lib/extensions/error-reporting/tokenizer-mixin.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • 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.