Class Method

Summary


 This class encapsulates information about a class method.

Package:
lang
File:
method.icn
Methods:
get_as_procedure, get_defining_class, get_method_name, get_procedure_name, invoke, invoke_list

Fields:
as_proc, defining_class, method_name

Source code.

Details
Constructor

Method(as_proc, method_name, defining_class)

Methods:

get_as_procedure()


 Get as a procedure


get_defining_class()


 Get the name of the defining class


get_method_name()


 Get the method name eg "mymethod"


get_procedure_name()


 Get the procedure name, ec "Mypackage__Myclass_mymethod"


invoke(obj, args)


 Invoke with the specified object and parameters


invoke_list(obj, args)


 Invoke with the specified object and parameters, given as a list


Fields:
as_proc

defining_class

method_name


This page produced by UniDoc on 2021/04/15 @ 23:59:53.