pub trait GetLocation {
// Required method
fn location(&self) -> CodeLocation;
}
Expand description
GetLocation
represent location of source data for AST element.
Useful to locate specific source code location, especially for Ident
.
pub trait GetLocation {
// Required method
fn location(&self) -> CodeLocation;
}
GetLocation
represent location of source data for AST element.
Useful to locate specific source code location, especially for Ident
.