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

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

Architecture documentation for labeled-break-within-label-loop.ts, a typescript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

function useHook(end) {
  const log = [];
  for (let i = 0; i < end + 1; i++) {
    log.push(`${i} @A`);
    bb0: {
      if (i === end) {
        break bb0;
      }
      log.push(`${i} @B`);
    }
    log.push(`${i} @C`);
  }
  return log;
}

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

Subdomains

Functions

Frequently Asked Questions

What does labeled-break-within-label-loop.ts do?
labeled-break-within-label-loop.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-loop.ts?
labeled-break-within-label-loop.ts defines 1 function(s): useHook.
Where is labeled-break-within-label-loop.ts in the architecture?
labeled-break-within-label-loop.ts is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/labeled-break-within-label-loop.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