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 |
|
---|
3 | const ErrorReportingMixinBase = require('./mixin-base');
|
---|
4 | const ErrorReportingPreprocessorMixin = require('./preprocessor-mixin');
|
---|
5 | const Mixin = require('../../utils/mixin');
|
---|
6 |
|
---|
7 | class 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 |
|
---|
17 | module.exports = ErrorReportingTokenizerMixin;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.