positionsToRange() — react Function Reference
Architecture documentation for the positionsToRange() function in mapping.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 019d81e6_8b49_263c_d537_63ee2b44c137["positionsToRange()"] eb31addc_e8f2_e650_2d2e_73b1e6707d3b["mapping.ts"] 019d81e6_8b49_263c_d537_63ee2b44c137 -->|defined in| eb31addc_e8f2_e650_2d2e_73b1e6707d3b 53a1361f_1c97_6de1_db62_3c0cc543d4ec["requestAutoDepsDecorations()"] 53a1361f_1c97_6de1_db62_3c0cc543d4ec -->|calls| 019d81e6_8b49_263c_d537_63ee2b44c137 8b03c84d_93d1_8f5d_1738_d4c92b683f01["positionLiteralToVSCodePosition()"] 019d81e6_8b49_263c_d537_63ee2b44c137 -->|calls| 8b03c84d_93d1_8f5d_1738_d4c92b683f01 style 019d81e6_8b49_263c_d537_63ee2b44c137 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/react-forgive/client/src/mapping.ts lines 17–22
export function positionsToRange(start: Position, end: Position): vscode.Range {
return new vscode.Range(
positionLiteralToVSCodePosition(start),
positionLiteralToVSCodePosition(end),
);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does positionsToRange() do?
positionsToRange() is a function in the react codebase, defined in compiler/packages/react-forgive/client/src/mapping.ts.
Where is positionsToRange() defined?
positionsToRange() is defined in compiler/packages/react-forgive/client/src/mapping.ts at line 17.
What does positionsToRange() call?
positionsToRange() calls 1 function(s): positionLiteralToVSCodePosition.
What calls positionsToRange()?
positionsToRange() is called by 1 function(s): requestAutoDepsDecorations.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free