Next: , Up: ClassDescription   [Index]


1.32.1 ClassDescription: compiling

compile: code classified: categoryName

Compile code in the receiver, assigning the method to the given category. Answer the newly created CompiledMethod, or nil if an error was found.

compile: code classified: categoryName ifError: block

Compile method source and install in method category, categoryName. If there are parsing errors, invoke exception block, ’block’ (see compile:ifError:). Return the method

compile: code classified: categoryName notifying: requestor

Compile method source and install in method category, categoryName. If there are parsing errors, send an error message to requestor