MCPcopy
hub / github.com/prettier/prettier / preprocess

Function preprocess

src/language-html/print-preprocess.js:28–34  ·  view source on GitHub ↗
(ast, options)

Source from the content-addressed store, hash-verified

26];
27
28function preprocess(ast, options) {
29 for (const fn of PREPROCESS_PIPELINE) {
30 fn(ast, options);
31 }
32
33 return ast;
34}
35
36function removeIgnorableFirstLf(ast /* , options */) {
37 ast.walk((node) => {

Callers 1

prepareToPrintFunction · 0.50

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…