UNPKG

js-ast-parser

Version:
16 lines 639 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ArrayLiteralExpression = void 0; const constants_1 = require("../../constants"); const Expression_1 = require("./Expression"); class ArrayLiteralExpression extends Expression_1.Expression { constructor(currentToken) { super(); this.type = 'ArrayLiteralExpression'; this.code = constants_1.NodeCode.ArrayLiteralExpression; this.items = []; this.loc.start = currentToken.loc.start; } } exports.ArrayLiteralExpression = ArrayLiteralExpression; //# sourceMappingURL=ArrayLiteralExpression.js.map