UNPKG

marko

Version:

UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.

11 lines (9 loc) 245 B
import { types as t } from "@marko/compiler"; export default function write(method, ...args) { return t.expressionStatement( t.callExpression( t.memberExpression(t.identifier("out"), t.identifier(method)), args, ), ); }