UNPKG

js-ast-parser

Version:
16 lines 621 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SwitchCaseStatement = void 0; const constants_1 = require("../../constants"); const Statement_1 = require("./Statement"); class SwitchCaseStatement extends Statement_1.Statement { constructor(currentToken) { super(); this.type = 'SwitchCaseStatement'; this.code = constants_1.NodeCode.SwitchCaseStatement; this.isDefault = false; this.loc.start = currentToken.loc.start; } } exports.SwitchCaseStatement = SwitchCaseStatement; //# sourceMappingURL=SwitchCaseStatement.js.map