UNPKG

1.26 kBJavaScriptView Raw
1"use strict";
2/**
3 * @license
4 * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
5 * This code may only be used under the BSD style license found at
6 * http://polymer.github.io/LICENSE.txt
7 * The complete set of authors may be found at
8 * http://polymer.github.io/AUTHORS.txt
9 * The complete set of contributors may be found at
10 * http://polymer.github.io/CONTRIBUTORS.txt
11 * Code distributed by Google as part of the polymer project is also
12 * subject to an additional IP rights grant found at
13 * http://polymer.github.io/PATENTS.txt
14 */
15Object.defineProperty(exports, "__esModule", { value: true });
16class Feature {
17 constructor(sourceRange, astNode, warnings) {
18 this.kinds = new Set();
19 this.identifiers = new Set();
20 this.sourceRange = sourceRange;
21 this.astNode = astNode;
22 this.warnings = warnings || [];
23 }
24}
25exports.Feature = Feature;
26class ScannedFeature {
27 constructor(sourceRange, astNode, description, jsdoc, warnings) {
28 this.sourceRange = sourceRange;
29 this.astNode = astNode;
30 this.description = description;
31 this.jsdoc = jsdoc;
32 this.warnings = warnings || [];
33 }
34}
35exports.ScannedFeature = ScannedFeature;
36//# sourceMappingURL=feature.js.map
\No newline at end of file