Trait erl_tokenize::PositionRange [−][src]
pub trait PositionRange {
fn start_position(&self) -> Position;
fn end_position(&self) -> Position;
}
Expand description
This trait allows to get a (half-open) range where the subject is located.
Required methods
fn start_position(&self) -> Position
fn start_position(&self) -> Position
Returns the (inclusive) start position of this.
fn end_position(&self) -> Position
fn end_position(&self) -> Position
Returns the (exclusive) end position of this.