Sha256: c06c40a5244fadcfb71ec6ef16b4a75fcbc7f2bfa2dca79595947b45cd8634f7
Contents?: true
Size: 328 Bytes
Versions: 8
Compression:
Stored size: 328 Bytes
Contents
const { concat, group, indent, line } = require("../prettier"); const printHook = name => (path, opts, print) => group( concat([ `${name} {`, indent(concat([line, path.call(print, "body", 0)])), concat([line, "}"]) ]) ); module.exports = { BEGIN: printHook("BEGIN"), END: printHook("END") };
Version data entries
8 entries across 8 versions & 1 rubygems