Skip to main content

CODEGEN_COUNT

Static CODEGEN_COUNT 

Source
static CODEGEN_COUNT: AtomicUsize
Expand description

Generate JavaScript source code from a transformed AST

§Arguments

  • allocator - The allocator used for the AST
  • program - The transformed program AST
  • _source_type - The source type (JavaScript, JSX, etc.)
  • config - Codegen configuration options

§Returns

A CodegenResult containing the generated source code