Function collect_rsc_module_info

Source
pub fn collect_rsc_module_info(
    comments: &SwcComments,
    is_react_server_layer: bool,
) -> RscModuleInfo
Expand description

Parse comments from the given source code and collect the RSC module info. This doesn’t use visitor, only read comments to parse necessary information.