1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.ParserContext = void 0;
|
4 | var TextRange_1 = require("./TextRange");
|
5 | var nodes_1 = require("../nodes");
|
6 | var ParserMessageLog_1 = require("./ParserMessageLog");
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | var ParserContext = (function () {
|
12 | function ParserContext(configuration, sourceRange) {
|
13 | |
14 |
|
15 |
|
16 |
|
17 | this.commentRange = TextRange_1.TextRange.empty;
|
18 | |
19 |
|
20 |
|
21 | this.lines = [];
|
22 | |
23 |
|
24 |
|
25 | this.tokens = [];
|
26 | this.configuration = configuration;
|
27 | this.sourceRange = sourceRange;
|
28 | this.docComment = new nodes_1.DocComment({ configuration: this.configuration });
|
29 | this.log = new ParserMessageLog_1.ParserMessageLog();
|
30 | }
|
31 | return ParserContext;
|
32 | }());
|
33 | exports.ParserContext = ParserContext;
|
34 |
|
\ | No newline at end of file |