fn check_method_formals(parsed: &ParsedImpl) -> Result<()>Expand description
Check the R formals of every generated method
(check_r_formals), reserving
the names each class system’s wrapper binds itself:
- the receiver of an instance method:
xfor S3 and S4, the first dispatch argument (xunlesss7(dispatch)or an operator says otherwise) for S7; shortcuts use the collision-free.mx_self; selfandprivate, which R6 binds insideinitializeand every method of the class: the wrapper reads the pointer fromprivate$.ptrand returnsselffrom a chaining method.
Static methods and the other constructors are plain functions and reserve
nothing; S7 property accessors have fixed formals, so a formal(...) on
one is refused (#1842); vctrs impls take no instance methods (MXL120).