~kf5jwc/imp-parser

ref: 4a8b0d0c4a9b3e235854c13031f981f55fc7ece5 imp-parser/imp_parser/parser/result.py -rw-r--r-- 168 bytes View raw
4a8b0d0c — Kyle Jones More typing! 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
import attr

@attr.s
class Result(object):
    value = attr.ib()
    pos = attr.ib()

    def __repr__(self) -> str:
        return f"Result({self.value}, {self.pos})"