Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prettier/prettier
/ attrMap
Method
attrMap
src/language-html/parse/ast.js:188–193 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
186
}
187
188
get attrMap() {
189
return
Object.fromEntries(
190
// @ts-expect-error
191
this.attrs.map((attr) => [attr.fullName, attr.value]),
192
);
193
}
194
}
195
196
function
mapNodesIfChanged(nodes, fn) {
Callers
nothing calls this directly
Calls
1
map
Method · 0.45
Tested by
no test coverage detected