Sha256: ebfa0c0bd4fa74d3453d204a5b7ab79c3111228ab15ac9b8a79f2af14de05cc9

Contents?: true

Size: 227 Bytes

Versions: 8

Compression:

Stored size: 227 Bytes

Contents

const { concat, hardline, join } = require("../../prettier");

// The root node in the AST
function root(path, _opts, print) {
  return concat([join(hardline, path.map(print, "children")), hardline]);
}

module.exports = root;

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
prettier-1.5.5 src/haml/nodes/root.js
prettier-1.5.4 src/haml/nodes/root.js
prettier-1.5.3 src/haml/nodes/root.js
prettier-1.5.2 src/haml/nodes/root.js
prettier-1.5.1 src/haml/nodes/root.js
prettier-1.5.0 src/haml/nodes/root.js
prettier-1.4.0 src/haml/nodes/root.js
prettier-1.3.0 src/haml/nodes/root.js