Home / Function/ signatureArgument() — react Function Reference

signatureArgument() — react Function Reference

Architecture documentation for the signatureArgument() function in ObjectShape.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  cf7ad9bc_bfc5_bfed_c15e_762d1f3aa262["signatureArgument()"]
  58f81300_7c82_5086_3e10_e46b5f3ab04d["ObjectShape.ts"]
  cf7ad9bc_bfc5_bfed_c15e_762d1f3aa262 -->|defined in| 58f81300_7c82_5086_3e10_e46b5f3ab04d
  e3b73b76_4b2f_e1c7_6ea9_544f184a98e7["parseAliasingSignatureConfig()"]
  e3b73b76_4b2f_e1c7_6ea9_544f184a98e7 -->|calls| cf7ad9bc_bfc5_bfed_c15e_762d1f3aa262
  9994dc80_69bc_44aa_ef8c_97977d75801a["makeDeclarationId()"]
  cf7ad9bc_bfc5_bfed_c15e_762d1f3aa262 -->|calls| 9994dc80_69bc_44aa_ef8c_97977d75801a
  7acba8cd_83f0_fe9c_342c_9cd4f8c74673["makeIdentifierId()"]
  cf7ad9bc_bfc5_bfed_c15e_762d1f3aa262 -->|calls| 7acba8cd_83f0_fe9c_342c_9cd4f8c74673
  d0270ab6_a621_bd55_a1b9_a5cad8b406b2["makeInstructionId()"]
  cf7ad9bc_bfc5_bfed_c15e_762d1f3aa262 -->|calls| d0270ab6_a621_bd55_a1b9_a5cad8b406b2
  c50e6c61_a100_0e6f_983b_951164ba4856["makeType()"]
  cf7ad9bc_bfc5_bfed_c15e_762d1f3aa262 -->|calls| c50e6c61_a100_0e6f_983b_951164ba4856
  style cf7ad9bc_bfc5_bfed_c15e_762d1f3aa262 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/HIR/ObjectShape.ts lines 1515–1532

export function signatureArgument(id: number): Place {
  const place: Place = {
    kind: 'Identifier',
    effect: Effect.Unknown,
    loc: GeneratedSource,
    reactive: false,
    identifier: {
      declarationId: makeDeclarationId(id),
      id: makeIdentifierId(id),
      loc: GeneratedSource,
      mutableRange: {start: makeInstructionId(0), end: makeInstructionId(0)},
      name: null,
      scope: null,
      type: makeType(),
    },
  };
  return place;
}

Subdomains

Frequently Asked Questions

What does signatureArgument() do?
signatureArgument() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/ObjectShape.ts.
Where is signatureArgument() defined?
signatureArgument() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/ObjectShape.ts at line 1515.
What does signatureArgument() call?
signatureArgument() calls 4 function(s): makeDeclarationId, makeIdentifierId, makeInstructionId, makeType.
What calls signatureArgument()?
signatureArgument() is called by 1 function(s): parseAliasingSignatureConfig.

Analyze Your Own Codebase

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

Try Supermodel Free