Home / File/ labeled-break-within-label-switch.ts — react Source File

labeled-break-within-label-switch.ts — react Source File

Architecture documentation for labeled-break-within-label-switch.ts, a typescript file in the react codebase. 1 imports, 0 dependents.

File typescript TestingUtilities Fixtures 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  76a8f5e7_8138_ffa1_580b_6607d9d3ae71["labeled-break-within-label-switch.ts"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  76a8f5e7_8138_ffa1_580b_6607d9d3ae71 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style 76a8f5e7_8138_ffa1_580b_6607d9d3ae71 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {CONST_STRING0} from 'shared-runtime';

function useHook(cond) {
  const log = [];
  switch (CONST_STRING0) {
    case CONST_STRING0:
      log.push(`@A`);
      bb0: {
        if (cond) {
          break bb0;
        }
        log.push(`@B`);
      }
      log.push(`@C`);
  }
  return log;
}

export const FIXTURE_ENTRYPOINT = {
  fn: useHook,
  params: [true],
};

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

What does labeled-break-within-label-switch.ts do?
labeled-break-within-label-switch.ts is a source file in the react codebase, written in typescript. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in labeled-break-within-label-switch.ts?
labeled-break-within-label-switch.ts defines 1 function(s): useHook.
What does labeled-break-within-label-switch.ts depend on?
labeled-break-within-label-switch.ts imports 1 module(s): shared-runtime.
Where is labeled-break-within-label-switch.ts in the architecture?
labeled-break-within-label-switch.ts is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/labeled-break-within-label-switch.ts (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler).

Analyze Your Own Codebase

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

Try Supermodel Free