2020-07-02 14:09:10 +01:00
|
|
|
from typing import NamedTuple
|
|
|
|
|
2020-07-15 17:16:12 +01:00
|
|
|
|
2020-07-02 14:09:10 +01:00
|
|
|
class FeatureLibLocation(NamedTuple):
|
|
|
|
"""A location in a feature file"""
|
2020-07-15 17:16:12 +01:00
|
|
|
|
2020-07-02 14:09:10 +01:00
|
|
|
file: str
|
|
|
|
line: int
|
|
|
|
column: int
|
|
|
|
|
|
|
|
def __str__(self):
|
2020-07-15 17:16:12 +01:00
|
|
|
return f"{self.file}:{self.line}:{self.column}"
|