Next: , Up: BlockClosure   [Index]


1.11.1 BlockClosure class: instance creation

block: aCompiledBlock

Answer a BlockClosure that activates the passed CompiledBlock.

block: aCompiledBlock receiver: anObject

Answer a BlockClosure that activates the passed CompiledBlock with the given receiver.

block: aCompiledBlock receiver: anObject outerContext: aContext

Answer a BlockClosure that activates the passed CompiledBlock with the given receiver.

numArgs: args numTemps: temps bytecodes: bytecodes depth: depth literals: literalArray

Answer a BlockClosure for a new CompiledBlock that is created using the passed parameters. To make it work, you must put the BlockClosure into a CompiledMethod’s literals.