blob: 50f761d2d2a13bd101a7db9c259fedc98eed52cf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
from typing import NamedTuple
class FeatureLibLocation(NamedTuple):
"""A location in a feature file"""
file: str
line: int
column: int
def __str__(self):
return f"{self.file}:{self.line}:{self.column}"
|