Source symbols: packages/react-devtools-shared/src/backend/views/Highlighter/index.js
Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.
- Revision: main@83840902c890f0eb85decda239ef6b1b14945779 · 2026-07-20T14:18:32Z
- Declarations: 53
- Referenced calls: 36
Declared symbols
iframesListeningTo— let at line 23; referencesSetinspectOnlySuspenseNodes— let at line 24setupHighlighter— exported function at line 26; referencesaddListener,isReactNativeEnvironment,round,scrollTo,clearTimeout,send,sendScroll,addEventListener,setTimeout,registerListenersOnWindow,emit,hideOverlay,removeListenersOnWindow,Set,removeEventListener,warn,hasElementWithId,findHostInstancesForElementID,for,getClientRectsapplyingScroll— let at line 40; referencesisReactNativeEnvironment,round,scrollToscrollDocumentTo— function at line 42; referencesisReactNativeEnvironment,round,scrollToscrollTimer— let at line 72; referencesisReactNativeEnvironment,clearTimeout,sendsendScroll— function at line 73; referencesisReactNativeEnvironment,clearTimeout,sendleft— const at line 86; referencessendtop— const at line 87; referencessendright— const at line 88; referencessendbottom— const at line 89; referencessendscrollEnd— function at line 93; referencessendScrollstartInspectingHost— function at line 114; referencesregisterListenersOnWindowregisterListenersOnWindow— function at line 119; referencesaddEventListener,emitstopInspectingHost— function at line 134; referenceshideOverlay,removeListenersOnWindow,SetremoveListenersOnWindow— function at line 147; referencesremoveEventListener,emitclearHostInstanceHighlight— function at line 162; referenceshideOverlayhighlightHostInstance— function at line 166; referenceswarn,hideOverlay,hasElementWithId,findHostInstancesForElementID,for,getClientRects,clearTimeout,scrollIntoView,showOverlay,sendrenderer— const at line 182; referenceswarn,hideOverlaynodes— const at line 196; referencesfindHostInstancesForElementID,for,getClientRects,clearTimeout,scrollIntoView,showOverlay,sendnode— const at line 199nodeRects— const at line 203; referencesgetClientRects,clearTimeout,scrollIntoView,showOverlay,sendhighlightHostInstances— function at line 240; referencesfor,warn,hasElementWithId,findHostInstancesForElementID,push,scrollIntoView,showOverlaynodes— const at line 251; referencesfor,warn,hasElementWithId,findHostInstancesForElementID,pushrenderer— const at line 254; referenceswarnhostInstances— const at line 265; referencesfindHostInstancesForElementID,for,pushnode— const at line 274; referencesscrollIntoViewattemptScrollToHostInstance— function at line 286; referencesfindHostInstancesForElementID,for,getClientRects,scrollIntoViewnodes— const at line 290; referencesfindHostInstancesForElementID,for,getClientRects,scrollIntoViewnode— const at line 293nodeRects— const at line 297; referencesgetClientRects,scrollIntoViewscrollDelayTimer— let at line 325; referenceshideOverlay,isReactNativeEnvironment,clearTimeout,warn,hasElementWithId,attemptScrollToHostInstance,findLastKnownRectsForID,for,scrollTo,setTimeoutscrollToHostInstance— function at line 326; referenceshideOverlay,isReactNativeEnvironment,clearTimeout,warn,hasElementWithId,attemptScrollToHostInstance,findLastKnownRectsForID,for,scrollTo,setTimeoutrenderer— const at line 348; referenceswarnrects— const at line 367; referencesfindLastKnownRectsForID,for,scrollTo,setTimeout,attemptScrollToHostInstancex— let at line 369; referencesfory— let at line 370; referencesforrect— const at line 372element— const at line 380onClick— function at line 406; referencespreventDefault,stopPropagation,stopInspectingHost,sendonMouseEvent— function at line 415; referencespreventDefault,stopPropagationonPointerDown— function at line 420; referencespreventDefault,stopPropagation,selectElementForNode,getEventTargetlastHoveredNode— let at line 427; referencespreventDefault,stopPropagation,getEventTarget,has,registerListenersOnWindow,add,getIDForHostInstance,warn,highlightHostInstance,getDisplayNameForElementID,showOverlayonPointerMove— function at line 428; referencespreventDefault,stopPropagation,getEventTarget,has,registerListenersOnWindow,add,getIDForHostInstance,warn,highlightHostInstance,getDisplayNameForElementID,showOverlaytarget— const at line 432; referencesgetEventTarget,has,registerListenersOnWindow,addiframe— const at line 437; referenceshas,registerListenersOnWindow,addwindow— const at line 440; referencesregisterListenersOnWindow,addmatch— const at line 454; referencesgetIDForHostInstance,warn,highlightHostInstance,getDisplayNameForElementIDrenderer— const at line 459; referenceswarnonPointerUp— function at line 482; referencespreventDefault,stopPropagationselectElementForNode— const at line 487; referencesgetIDForHostInstance,sendmatch— const at line 488; referencesgetIDForHostInstance,sendgetEventTarget— function at line 494; referencescomposedPath
Imported modules
react-devtools-shared/src/backend/agent./Highlighterreact-devtools-shared/src/backend/utilsreact-devtools-shared/src/backend/typesreact-devtools-shared/src/bridge../../types
File-level call references
Set— line 23addListener— line 30isReactNativeEnvironment— line 53round— line 59scrollTo— line 65clearTimeout— line 80send— line 90sendScroll— line 95addEventListener— line 104setTimeout— line 107registerListenersOnWindow— line 116emit— line 130hideOverlay— line 135removeListenersOnWindow— line 136removeEventListener— line 150warn— line 184hasElementWithId— line 191findHostInstancesForElementID— line 196for— line 198getClientRects— line 206scrollIntoView— line 223showOverlay— line 226push— line 268attemptScrollToHostInstance— line 359findLastKnownRectsForID— line 367preventDefault— line 407stopPropagation— line 408stopInspectingHost— line 410selectElementForNode— line 424getEventTarget— line 424has— line 439add— line 442getIDForHostInstance— line 454highlightHostInstance— line 466getDisplayNameForElementID— line 467composedPath— line 496
Source: packages/react-devtools-shared/src/backend/views/Highlighter/index.js