Trait rustpython_ast::Ranged
source · pub trait Ranged {
// Required method
fn range(&self) -> TextRange;
// Provided methods
fn start(&self) -> TextSize { ... }
fn end(&self) -> TextSize { ... }
}
pub trait Ranged {
// Required method
fn range(&self) -> TextRange;
// Provided methods
fn start(&self) -> TextSize { ... }
fn end(&self) -> TextSize { ... }
}