Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Scans the AST for callable definitions and converts them to class definitions which inherit from System.MulticastDelegate, and adds the definition of the Invoke and BeginInvoke methods. These are later filled in by the CLR.

That is, if the code before the step looks like this:

Code Block
callable MyCallable(arg as int) as bool

 It will be transformed to this:

Code Block
class MyCallable(MulticastDelegate):
	def Invoke(arg as int) as bool:
		pass
 
	def BeginInvoke(arg as int, state as object, callaback as AsyncCallback):
 		pass  

and so on.