emitCloseCode

fun emitCloseCode(tokens: A_Tuple, compiledCode: A_RawFunction, neededVariables: A_Tuple)

Create a function from CompiledCodeDescriptor compiled code and the pushed outer (lexically bound) variables.

Parameters

tokens

The A_Tuple of A_Tokens associated with this function closing operation.

compiledCode

The code from which to make a function.

neededVariables

A tuple of declarations of variables that the code needs to access.