prepack
Version:
Execute a JS bundle, serialize global state and side effects to a snapshot that can be quickly restored.
20 lines (14 loc) • 599 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = function (ast, strictCode, env, realm) {
// 1. Let tagRef be the result of evaluating MemberExpression.
let tagRef = env.evaluate(ast.tag, strictCode);
// 2. Let thisCall be this MemberExpression.
// 3. Let tailCall be IsInTailPosition(thisCall).
// 4. Return ? EvaluateCall(tagRef, TemplateLiteral, tailCall).
return (0, _call.EvaluateCall)(realm, strictCode, env, tagRef, ast.quasi);
};
var _call = require("../methods/call.js");
//# sourceMappingURL=TaggedTemplateExpression.js.map