CodeGenUtils
object CodeGenUtils
Fills a JSDescriptor.Builder from the IR tree. Shared by every code generator.
Functions
Link copied to clipboard
fun fillInForNestedFunction(builder: JSDescriptor.Builder<JSFunction>, parent: JSDescriptor.Builder<*>, fn: FunctionNode)
Link copied to clipboard
fun fillInForScript(builder: JSDescriptor.Builder<*>, scriptOrFn: ScriptNode, rawSource: String?, compilerEnv: CompilerEnvirons)
Link copied to clipboard
fun fillInForTopLevelFunction(builder: JSDescriptor.Builder<*>, fn: FunctionNode, rawSource: String?, compilerEnv: CompilerEnvirons)
Link copied to clipboard