js-ast-parser
Version:
把javascript代码字符串解析为AST对象
15 lines • 571 B
JavaScript
;
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