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