language-class            package:methods            R Documentation

_C_l_a_s_s_e_s _t_o _R_e_p_r_e_s_e_n_t _U_n_e_v_a_l_u_a_t_e_d _L_a_n_g_u_a_g_e _O_b_j_e_c_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     The virtual class '"language"' and the specific classes that
     extend it represent unevaluated objects, as produced for example
     by the parser or by functions such as 'quote'.

_U_s_a_g_e:

     ### each of these classes corresponds to an unevaluated object
     ### in the S language.  The class name can appear in method signatures,
     ### and in a few other contexts (such as some calls to as()).

     "("
     "<-"
     "call"
     "for"
     "if"
     "repeat"
     "while"
     "name"
     "{"

     ### Each of the classes above extends the virtual class

     "language"

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     '"language"' is a virtual class; no objects may be created from
     it.

     Objects from the other classes can be generated by a call to
     'new(Class, ...)', where 'Class' is the quoted class name, and the
     ... arguments are either empty or a _single_ object that is from
     this class (or an extension).

_M_e_t_h_o_d_s:

     _c_o_e_r_c_e 'signature(from = "ANY", to = "call")'.  A method exists
          for 'as(object, "call")', calling 'as.call()'. 

