| Conditions | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | from coalib.misc.Decorators import generate_ordering, generate_repr |
||
| 55 | @property |
||
| 56 | def range(self): |
||
| 57 | """ |
||
| 58 | Returns the position range where the text was matched. |
||
| 59 | |||
| 60 | :returns: A pair indicating the position range. The first element is |
||
| 61 | the start position, the second one the end position. |
||
| 62 | """ |
||
| 63 | return (self.position, self.end_position) |
||
| 64 |