Skip to main content

export_containing

Function export_containing 

Source
pub fn export_containing(
    source: &str,
    kind: SourceKind,
    span: (u32, u32),
) -> Option<String>
Expand description

The export whose declaration holds span in a plain JavaScript or TypeScript source (see fallow_mutation::export_containing). The parse runs inside parse_bounded, so a deep source gives None.