pub trait UniqueSemanticMap {
// Required method
fn unique_semantic(
&self,
name: &str,
) -> Option<Semantic<UniqueSemantics, ()>>;
}
Expand description
A trait for maps that can return unique semantic units.
Required Methods§
Sourcefn unique_semantic(&self, name: &str) -> Option<Semantic<UniqueSemantics, ()>>
fn unique_semantic(&self, name: &str) -> Option<Semantic<UniqueSemantics, ()>>
Get the unique semantic for the given variable name.