normalizeCodeLocInfo() — react Function Reference
Architecture documentation for the normalizeCodeLocInfo() function in ReactMarkupClient-test.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD cef60ec8_a319_fc65_1bbe_740d86559b3f["normalizeCodeLocInfo()"] bbda390b_8ef5_b1aa_65c2_f6b708d312f2["ReactMarkupClient-test.js"] cef60ec8_a319_fc65_1bbe_740d86559b3f -->|defined in| bbda390b_8ef5_b1aa_65c2_f6b708d312f2 style cef60ec8_a319_fc65_1bbe_740d86559b3f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-markup/src/__tests__/ReactMarkupClient-test.js lines 15–22
function normalizeCodeLocInfo(str) {
return (
str &&
String(str).replace(/\n +(?:at|in) ([\S]+)[^\n]*/g, function (m, name) {
return '\n in ' + name + ' (at **)';
})
);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does normalizeCodeLocInfo() do?
normalizeCodeLocInfo() is a function in the react codebase, defined in packages/react-markup/src/__tests__/ReactMarkupClient-test.js.
Where is normalizeCodeLocInfo() defined?
normalizeCodeLocInfo() is defined in packages/react-markup/src/__tests__/ReactMarkupClient-test.js at line 15.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free