makePropertyLiteral() — react Function Reference
Architecture documentation for the makePropertyLiteral() function in HIR.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 3532df9c_cf42_5889_99aa_db6c6d3e1708["makePropertyLiteral()"] 18a78965_f593_105b_e5e8_07001321c2ec["HIR.ts"] 3532df9c_cf42_5889_99aa_db6c6d3e1708 -->|defined in| 18a78965_f593_105b_e5e8_07001321c2ec ace1177a_10b2_b870_31fd_da4aa845554c["lowerExpression()"] ace1177a_10b2_b870_31fd_da4aa845554c -->|calls| 3532df9c_cf42_5889_99aa_db6c6d3e1708 d3430316_6bb4_9d91_4539_1bff5c189f83["lowerMemberExpression()"] d3430316_6bb4_9d91_4539_1bff5c189f83 -->|calls| 3532df9c_cf42_5889_99aa_db6c6d3e1708 7477f6f4_c8ce_95b3_d35f_2f53341af86d["lowerJsxMemberExpression()"] 7477f6f4_c8ce_95b3_d35f_2f53341af86d -->|calls| 3532df9c_cf42_5889_99aa_db6c6d3e1708 b98634fa_1f83_e1bb_1406_d07e28c93b41["lowerAssignment()"] b98634fa_1f83_e1bb_1406_d07e28c93b41 -->|calls| 3532df9c_cf42_5889_99aa_db6c6d3e1708 b282c6e8_cb4e_aa17_9bb5_f36ea62991f4["generateInstructionTypes()"] b282c6e8_cb4e_aa17_9bb5_f36ea62991f4 -->|calls| 3532df9c_cf42_5889_99aa_db6c6d3e1708 style 3532df9c_cf42_5889_99aa_db6c6d3e1708 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts lines 1636–1638
export function makePropertyLiteral(value: string | number): PropertyLiteral {
return value as PropertyLiteral;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does makePropertyLiteral() do?
makePropertyLiteral() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts.
Where is makePropertyLiteral() defined?
makePropertyLiteral() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts at line 1636.
What calls makePropertyLiteral()?
makePropertyLiteral() is called by 5 function(s): generateInstructionTypes, lowerAssignment, lowerExpression, lowerJsxMemberExpression, lowerMemberExpression.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free