MCPcopy
hub / github.com/prettier/prettier / visit

Method visit

src/language-html/parse/postprocess.js:30–35  ·  view source on GitHub ↗
(node, { parseOptions })

Source from the content-addressed store, hash-verified

28 }
29 }
30 visit(node, { parseOptions }) {
31 restoreNameAndValue(node);
32 addTagDefinition(node, parseOptions);
33 normalizeName(node, parseOptions);
34 fixSourceSpan(node);
35 }
36}
37
38function postprocess(rawAst, frontMatter, parseOptions, parseSubHtml) {

Callers

nothing calls this directly

Calls 4

restoreNameAndValueFunction · 0.85
addTagDefinitionFunction · 0.85
normalizeNameFunction · 0.85
fixSourceSpanFunction · 0.85

Tested by

no test coverage detected