MethodDefinition-class package:methods R Documentation _C_l_a_s_s_e_s _t_o _R_e_p_r_e_s_e_n_t _M_e_t_h_o_d _D_e_f_i_n_i_t_i_o_n_s _D_e_s_c_r_i_p_t_i_o_n: These classes extend the basic class '"function"' when functions are to be stored and used as method definitions. _D_e_t_a_i_l_s: Method definition objects are functions with additional information defining how the function is being used as a method. The 'target' slot is the class signature for which the method will be dispatched, and the 'defined' slot the signature for which the method was originally specified (that is, the one that appeared in some call to 'setMethod'). _O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s: The action of setting a method by a call to 'setMethod' creates an object of this class. It's unwise to create them directly. The class '"SealedMethodDefinition"' is created by a call to 'setMethod' with argument 'sealed = TRUE'. It has the same representation as '"MethodDefinition"'. _S_l_o_t_s: '._D_a_t_a': Object of class '"function"'; the data part of the definition. '_t_a_r_g_e_t': Object of class '"signature"'; the signature for which the method was wanted. '_d_e_f_i_n_e_d': Object of class '"signature"'; the signature for which a method was found. If the method was inherited, this will not be identical to 'target'. '_g_e_n_e_r_i_c': Object of class '"character"'; the function for which the method was created. _E_x_t_e_n_d_s: Class '"function"', from data part. Class '"PossibleMethod"', directly. Class '"OptionalMethods"', by class '"function"'. _S_e_e _A_l_s_o: class 'MethodsList' for the objects defining sets of methods associated with a particular generic function. The individual method definitions stored in these objects are from class 'MethodDefinition', or an extension. Class 'MethodWithNext' for an extension used by 'callNextMethod'.