(self, src: Value, field: str, line: int = -1)
| 1702 | is_borrowed = True |
| 1703 | |
| 1704 | def __init__(self, src: Value, field: str, line: int = -1) -> None: |
| 1705 | super().__init__(line) |
| 1706 | assert isinstance(src.type, (RStruct, RVec)) |
| 1707 | self.type = src.type.field_type(field) |
| 1708 | self.src = src |
| 1709 | self.src_type = src.type |
| 1710 | self.field = field |
| 1711 | |
| 1712 | def sources(self) -> list[Value]: |
| 1713 | return [self.src] |
nothing calls this directly
no test coverage detected