Sha256: fc9b35fdbb51a25c5abec377ebf18ef4a7b16c4500a89e2393208ce010fed40d
Contents?: true
Size: 575 Bytes
Versions: 3
Compression:
Stored size: 575 Bytes
Contents
"use strict"; exports.__esModule = true; exports.File = File; exports.Program = Program; exports.BlockStatement = BlockStatement; exports.Noop = Noop; function File(node, print) { print.plain(node.program); } function Program(node, print) { print.sequence(node.body); } function BlockStatement(node, print) { if (node.body.length === 0) { this.push("{}"); } else { this.push("{"); this.newline(); print.sequence(node.body, { indent: true }); if (!this.format.retainLines) this.removeLast("\n"); this.rightBrace(); } } function Noop() {}
Version data entries
3 entries across 3 versions & 1 rubygems