Skip to main content

directive_targets

Function directive_targets 

Source
pub fn directive_targets(source: &str) -> Vec<(DirectiveKind, String)>
Expand description

Every well-formed part, part of and import target in source, in order, paths as written. Malformed directive lines are skipped, and nothing else in the file is looked at, so this never fails.