Home / Function/ _debug() — react Function Reference

_debug() — react Function Reference

Architecture documentation for the _debug() function in AlignReactiveScopesToBlockScopesHIR.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  e3db5fcb_8863_ef65_e742_41ce7309cd82["_debug()"]
  7be237a7_8abd_01cf_0fb0_fb02f23a8086["AlignReactiveScopesToBlockScopesHIR.ts"]
  e3db5fcb_8863_ef65_e742_41ce7309cd82 -->|defined in| 7be237a7_8abd_01cf_0fb0_fb02f23a8086
  d5f455d2_6789_7901_6032_b0018a8eca0a["_printNode()"]
  e3db5fcb_8863_ef65_e742_41ce7309cd82 -->|calls| d5f455d2_6789_7901_6032_b0018a8eca0a
  style e3db5fcb_8863_ef65_e742_41ce7309cd82 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/AlignReactiveScopesToBlockScopesHIR.ts lines 298–302

function _debug(node: ValueBlockNode): string {
  const buf: Array<string> = [];
  _printNode(node, buf, 0);
  return buf.join('\n');
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does _debug() do?
_debug() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/AlignReactiveScopesToBlockScopesHIR.ts.
Where is _debug() defined?
_debug() is defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/AlignReactiveScopesToBlockScopesHIR.ts at line 298.
What does _debug() call?
_debug() calls 1 function(s): _printNode.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free