Trait erl_tokenize::PositionRange [] [src]

pub trait PositionRange {
    fn start_position(&self) -> Position;
    fn end_position(&self) -> Position;
}

This trait allows to get a (half-open) range where the subject is located.

Required Methods

Returns the (inclusive) start position of this.

Returns the (exclusive) end position of this.

Implementors