UNPKG

js-ast-parser

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