UNPKG

js-ast-parser

Version:
17 lines 618 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ImportStatement = void 0; const constants_1 = require("../../constants"); const Statement_1 = require("./Statement"); class ImportStatement extends Statement_1.Statement { constructor(currentToken) { super(); this.type = 'ImportStatement'; this.code = constants_1.NodeCode.ImportStatement; this.specifiers = []; this.from = null; this.loc.start = currentToken.loc.start; } } exports.ImportStatement = ImportStatement; //# sourceMappingURL=ImportStatement.js.map