terminateWithContinuation() — react Function Reference
Architecture documentation for the terminateWithContinuation() function in HIRBuilder.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 43f67b81_ddfd_4289_903f_8e9e60469eb7["terminateWithContinuation()"] d1b85268_f4cd_bc3c_7ba0_ee15dcc8a845["HIRBuilder"] 43f67b81_ddfd_4289_903f_8e9e60469eb7 -->|defined in| d1b85268_f4cd_bc3c_7ba0_ee15dcc8a845 f214c28b_2f6d_b5a3_71e1_9a69d9b50455["lower()"] f214c28b_2f6d_b5a3_71e1_9a69d9b50455 -->|calls| 43f67b81_ddfd_4289_903f_8e9e60469eb7 c01b12bd_811d_9f90_f641_fac8e518dbb7["lowerStatement()"] c01b12bd_811d_9f90_f641_fac8e518dbb7 -->|calls| 43f67b81_ddfd_4289_903f_8e9e60469eb7 ace1177a_10b2_b870_31fd_da4aa845554c["lowerExpression()"] ace1177a_10b2_b870_31fd_da4aa845554c -->|calls| 43f67b81_ddfd_4289_903f_8e9e60469eb7 bb81d73c_5996_9609_94fe_e0f8ad5e876d["lowerOptionalMemberExpression()"] bb81d73c_5996_9609_94fe_e0f8ad5e876d -->|calls| 43f67b81_ddfd_4289_903f_8e9e60469eb7 e401a324_13b9_af8a_12c7_b731c9f220a3["lowerOptionalCallExpression()"] e401a324_13b9_af8a_12c7_b731c9f220a3 -->|calls| 43f67b81_ddfd_4289_903f_8e9e60469eb7 b98634fa_1f83_e1bb_1406_d07e28c93b41["lowerAssignment()"] b98634fa_1f83_e1bb_1406_d07e28c93b41 -->|calls| 43f67b81_ddfd_4289_903f_8e9e60469eb7 53244187_914c_cc90_5880_7bfc1fc9c0bb["push()"] 53244187_914c_cc90_5880_7bfc1fc9c0bb -->|calls| 43f67b81_ddfd_4289_903f_8e9e60469eb7 8e8a7c07_79b4_f2fb_53bd_2e3554679223["writeOptionalDependency()"] 8e8a7c07_79b4_f2fb_53bd_2e3554679223 -->|calls| 43f67b81_ddfd_4289_903f_8e9e60469eb7 style 43f67b81_ddfd_4289_903f_8e9e60469eb7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/HIRBuilder.ts lines 425–436
terminateWithContinuation(terminal: Terminal, continuation: WipBlock): void {
const {id: blockId, kind, instructions} = this.#current;
this.#completed.set(blockId, {
kind: kind,
id: blockId,
instructions,
terminal: terminal,
preds: new Set(),
phis: new Set(),
});
this.#current = continuation;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does terminateWithContinuation() do?
terminateWithContinuation() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIRBuilder.ts.
Where is terminateWithContinuation() defined?
terminateWithContinuation() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIRBuilder.ts at line 425.
What calls terminateWithContinuation()?
terminateWithContinuation() is called by 8 function(s): lower, lowerAssignment, lowerExpression, lowerOptionalCallExpression, lowerOptionalMemberExpression, lowerStatement, push, writeOptionalDependency.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free