printSourceLocationLine() — react Function Reference
Architecture documentation for the printSourceLocationLine() function in PrintHIR.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 109b0dcb_1439_a6cc_f796_4ddf088678a3["printSourceLocationLine()"] 6976a9ee_9d8e_4f16_3016_495f39aff2fd["PrintHIR.ts"] 109b0dcb_1439_a6cc_f796_4ddf088678a3 -->|defined in| 6976a9ee_9d8e_4f16_3016_495f39aff2fd 6e048cfd_d7b0_b702_7929_3e87d8dcd51c["ensureNoRemainingCalleeCaptures()"] 6e048cfd_d7b0_b702_7929_3e87d8dcd51c -->|calls| 109b0dcb_1439_a6cc_f796_4ddf088678a3 style 109b0dcb_1439_a6cc_f796_4ddf088678a3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts lines 900–906
export function printSourceLocationLine(loc: SourceLocation): string {
if (typeof loc === 'symbol') {
return 'generated';
} else {
return `${loc.start.line}:${loc.end.line}`;
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does printSourceLocationLine() do?
printSourceLocationLine() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts.
Where is printSourceLocationLine() defined?
printSourceLocationLine() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/PrintHIR.ts at line 900.
What calls printSourceLocationLine()?
printSourceLocationLine() is called by 1 function(s): ensureNoRemainingCalleeCaptures.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free