Lines Matching refs:end
80 /// range where the start is greater than the end.
147 /// range is invalid if the start is greater than the end.
244 the start must be <= the end"
260 reached end of pattern prematurely"
271 write!(f, "expected flag but got end of regex")
291 the start must be <= the end"
326 /// The end byte offset.
327 pub end: Position,
332 write!(f, "Span({:?}, {:?})", self.start, self.end)
338 (&self.start, &self.end).cmp(&(&other.start, &other.end))
387 pub fn new(start: Position, end: Position) -> Span {
388 Span { start, end }
391 /// Create a new span using the given position as the start and end.
405 Span { end: pos, ..self }
410 self.start.line == self.end.line
416 self.start.offset == self.end.offset
1003 /// The end of this range.
1004 pub end: Literal,
1011 /// its end.
1013 self.start.c <= self.end.c
1042 self.span.end = item.span().end;
1168 /// and its start is greater than its end.