Skip to main content

Module s7_class

Module s7_class 

Source
Expand description

S7 class wrapper generator (new_class / new_generic modern R OOP). S7-class R wrapper generator.

Functionsยง

class_ref_or_any_or_verbatim ๐Ÿ”’
S7-property variant of class_ref_or_verbatim that asks the resolver to fall back silently to S7::class_any on miss (unregistered type, or a registered-but-non-S7 class). Prevents the load-time object not found noise called out in #203.
extract_prop_doc_from_tags ๐Ÿ”’
Extract the full property documentation from a getterโ€™s doc_tags for use in @prop <name> <doc> emission.
generate_s7_r_wrapper
Generates the complete R wrapper string for an S7-style class.
rust_type_to_s7_class ๐Ÿ”’
Map a Rust return type to an S7 class name.