Create a PossibleValueSet object for a value which is a member of a lookup table. :param list(LookupTableEntry) lookup_table: List of table entries :param dict of (int, int) mapping: Mapping used for resolution :rtype: PossibleValueSet
(lookup_table, mapping)
| 612 | |
| 613 | @staticmethod |
| 614 | def lookup_table_value(lookup_table, mapping) -> 'PossibleValueSet': |
| 615 | """ |
| 616 | Create a PossibleValueSet object for a value which is a member of a |
| 617 | lookup table. |
| 618 | |
| 619 | :param list(LookupTableEntry) lookup_table: List of table entries |
| 620 | :param dict of (int, int) mapping: Mapping used for resolution |
| 621 | :rtype: PossibleValueSet |
| 622 | """ |
| 623 | result = PossibleValueSet() |
| 624 | result._type = RegisterValueType.LookupTableValue |
| 625 | result._table = lookup_table |
| 626 | result._mapping = mapping |
| 627 | return result |
| 628 | |
| 629 | |
| 630 | @dataclass(frozen=True) |
nothing calls this directly
no test coverage detected