Struct commands::tokenizer::SourceLocation
[−]
[src]
pub struct SourceLocation { pub start: SourceOffset, pub end: SourceOffset, }
A range within a body of text.
Fields
start | The start of the range. |
end | The end of the range. |
Methods
impl SourceLocation
fn new(start: SourceOffset, end: SourceOffset) -> SourceLocation
Construct a SourceLocation
.