Home / Type/ InstructionKind Type — react Architecture

InstructionKind Type — react Architecture

Architecture documentation for the InstructionKind type/interface in HIR.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  03aa18e2_bd2c_e9cb_5973_bae3ec02373c["InstructionKind"]
  18a78965_f593_105b_e5e8_07001321c2ec["HIR.ts"]
  03aa18e2_bd2c_e9cb_5973_bae3ec02373c -->|defined in| 18a78965_f593_105b_e5e8_07001321c2ec
  style 03aa18e2_bd2c_e9cb_5973_bae3ec02373c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts lines 741–759

export enum InstructionKind {
  // const declaration
  Const = 'Const',
  // let declaration
  Let = 'Let',
  // assing a new value to a let binding
  Reassign = 'Reassign',
  // catch clause binding
  Catch = 'Catch',

  // hoisted const declarations
  HoistedConst = 'HoistedConst',

  // hoisted const declarations
  HoistedLet = 'HoistedLet',

  HoistedFunction = 'HoistedFunction',
  Function = 'Function',
}

Frequently Asked Questions

What is the InstructionKind type?
InstructionKind is a type/interface in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts.
Where is InstructionKind defined?
InstructionKind is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts at line 741.

Analyze Your Own Codebase

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

Try Supermodel Free