Function syn_select::select

source ·
pub fn select(path: &str, file: &File) -> Result<Vec<Item>, Error>
Expand description

Parse a path, then search a file for all results that exactly match the specified path.

Returns

This function can find multiple items if:

  1. There is a module and a function of the same name
  2. The same path is declared multiple times, differing by config flags