Home / File/ index.ts — react Source File

index.ts — react Source File

Architecture documentation for index.ts, a typescript file in the react codebase. 0 imports, 69 dependents.

Entity Profile

Dependency Diagram

graph LR
  0423f759_97e0_9101_4634_ed555abc5ca9["index.ts"]
  e96f281e_f381_272d_2359_3e6a091c9a1d["CompilerError.ts"]
  e96f281e_f381_272d_2359_3e6a091c9a1d --> 0423f759_97e0_9101_4634_ed555abc5ca9
  3acb56d9_57da_7e65_c06b_21b238146737["Gating.ts"]
  3acb56d9_57da_7e65_c06b_21b238146737 --> 0423f759_97e0_9101_4634_ed555abc5ca9
  2a7e50cd_6171_085d_277c_6ced6ddd7148["Imports.ts"]
  2a7e50cd_6171_085d_277c_6ced6ddd7148 --> 0423f759_97e0_9101_4634_ed555abc5ca9
  e3cfc07a_10c8_5dcd_e270_e8e14c29309b["Pipeline.ts"]
  e3cfc07a_10c8_5dcd_e270_e8e14c29309b --> 0423f759_97e0_9101_4634_ed555abc5ca9
  9aa4477d_960b_1ea1_b6d9_36076aaa70bd["Program.ts"]
  9aa4477d_960b_1ea1_b6d9_36076aaa70bd --> 0423f759_97e0_9101_4634_ed555abc5ca9
  f3160d78_61c2_0ad9_2d19_6daf9a63b386["Suppression.ts"]
  f3160d78_61c2_0ad9_2d19_6daf9a63b386 --> 0423f759_97e0_9101_4634_ed555abc5ca9
  93f3a2c7_a7ce_3c94_87fe_ee7d66d9b64b["ValidateNoUntransformedReferences.ts"]
  93f3a2c7_a7ce_3c94_87fe_ee7d66d9b64b --> 0423f759_97e0_9101_4634_ed555abc5ca9
  1fccc28d_09ce_cbd9_cc1b_5224a1b90f93["TypeUtils.ts"]
  1fccc28d_09ce_cbd9_cc1b_5224a1b90f93 --> 0423f759_97e0_9101_4634_ed555abc5ca9
  912702ee_f06e_77d9_d237_a41c50607cdf["Types.ts"]
  912702ee_f06e_77d9_d237_a41c50607cdf --> 0423f759_97e0_9101_4634_ed555abc5ca9
  686094a4_f90a_6b2e_949a_aa03f03b5c66["DeriveMinimalDependenciesHIR.ts"]
  686094a4_f90a_6b2e_949a_aa03f03b5c66 --> 0423f759_97e0_9101_4634_ed555abc5ca9
  2f00e901_2271_5b46_4d72_3fa77ff15e31["AliasingEffects.ts"]
  2f00e901_2271_5b46_4d72_3fa77ff15e31 --> 0423f759_97e0_9101_4634_ed555abc5ca9
  212338a1_d579_40dc_af88_824802fa3262["AnalyseFunctions.ts"]
  212338a1_d579_40dc_af88_824802fa3262 --> 0423f759_97e0_9101_4634_ed555abc5ca9
  5d62162e_5fa5_1488_29bf_5150b4be53a0["ControlDominators.ts"]
  5d62162e_5fa5_1488_29bf_5150b4be53a0 --> 0423f759_97e0_9101_4634_ed555abc5ca9
  4b3f307b_2e5b_6c5a_0729_065bd25db103["DropManualMemoization.ts"]
  4b3f307b_2e5b_6c5a_0729_065bd25db103 --> 0423f759_97e0_9101_4634_ed555abc5ca9
  style 0423f759_97e0_9101_4634_ed555abc5ca9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

export {assertConsistentIdentifiers} from './AssertConsistentIdentifiers';
export {
  assertTerminalSuccessorsExist,
  assertTerminalPredsExist,
} from './AssertTerminalBlocksExist';
export {assertValidBlockNesting} from './AssertValidBlockNesting';
export {assertValidMutableRanges} from './AssertValidMutableRanges';
export {lower} from './BuildHIR';
export {buildReactiveScopeTerminalsHIR} from './BuildReactiveScopeTerminalsHIR';
export {computeDominatorTree, computePostDominatorTree} from './Dominator';
export {
  Environment,
  validateEnvironmentConfig,
  type EnvironmentConfig,
  type ExternalFunction,
  type Hook,
} from './Environment';
export * from './HIR';
export {
  markInstructionIds,
  markPredecessors,
  removeUnnecessaryTryCatch,
  reversePostorderBlocks,
} from './HIRBuilder';
export {mergeConsecutiveBlocks} from './MergeConsecutiveBlocks';
export {mergeOverlappingReactiveScopesHIR} from './MergeOverlappingReactiveScopesHIR';
export {printFunction, printHIR, printFunctionWithOutlined} from './PrintHIR';
export {pruneUnusedLabelsHIR} from './PruneUnusedLabelsHIR';

Imported By

Frequently Asked Questions

What does index.ts do?
index.ts is a source file in the react codebase, written in typescript. It belongs to the MIRInfrastructure domain.
What files import index.ts?
index.ts is imported by 69 file(s): AliasingEffects.ts, AlignMethodCallScopes.ts, AlignObjectMethodScopes.ts, AnalyseFunctions.ts, AssertScopeInstructionsWithinScope.ts, AssertWellFormedBreakTargets.ts, BuildReactiveFunction.ts, CodegenReactiveFunction.ts, and 61 more.
Where is index.ts in the architecture?
index.ts is located at compiler/packages/babel-plugin-react-compiler/src/HIR/index.ts (domain: MIRInfrastructure, directory: compiler/packages/babel-plugin-react-compiler/src/HIR).

Analyze Your Own Codebase

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

Try Supermodel Free