man-roxygen/class_prototype_slots.R

# class_prototype_slots.R


# Always merged with class_prototype.R.


#' @slot archetype any \R object. A representation of the prototype that
#' conveys the object's class.
#'
#' @slot enclosure an [`environment`][environment()] in which the object's
#' class is defined or `NULL`.
#'
#' @slot constructor a [`call`][call()] that can be used to generate an object
#' of the same class as `archetype` or `NULL`.
jeanmathieupotvin/cargo documentation built on Oct. 27, 2020, 5:22 p.m.