pub fn new(token: String, definitions: Tags) -> Self {
        let defined_paths = definitions
            .iter()
            .map(|v| v.file_path.to_path_buf())
            .collect::<HashSet<_>>();

        Self {
            token,
            definitions,
            defined_paths,
        }
    }
/// Construct a token based on the value and set of definitions
Construct a token based on the value and set of definitions
Construct a token based on the value and set of definitions
pub fn new(token: String, definitions: Tags) -> Self {
        let defined_paths = definitions
            .iter()
            .map(|v| v.file_path.to_path_buf())
            .collect::<HashSet<_>>();
        Self {
            token,
            definitions,
            defined_paths,
        }
    }
pub fn new ( token : String , definitions : Tags ) -> Self { let defined_paths = definitions . iter ( ) . map ( | v | v . file_path . to_path_buf ( ) ) . collect :: < HashSet < _ > > ( ) ; Self { token , definitions , defined_paths , } }
Construct a token based on the value and set of definitions
Construct a token based on the value and set of definitions
token
String
definitions
Tags
token
String
definitions
Tags