pub trait SourceLocation {
// Required method
fn location(&self) -> Option<TokenLocation>;
}Expand description
Provides the source location for the syntax item
Required Methods§
Sourcefn location(&self) -> Option<TokenLocation>
fn location(&self) -> Option<TokenLocation>
The location of the syntax item, when known