marko
Version:
UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.
10 lines (9 loc) • 358 B
JavaScript
;exports.__esModule = true;exports.default = write;var _compiler = require("@marko/compiler");
function write(method, ...args) {
return _compiler.types.expressionStatement(
_compiler.types.callExpression(
_compiler.types.memberExpression(_compiler.types.identifier("out"), _compiler.types.identifier(method)),
args
)
);
}