(cls, data: ReadBuffer)
| 3295 | |
| 3296 | @classmethod |
| 3297 | def read(cls, data: ReadBuffer) -> LiteralType: |
| 3298 | assert read_tag(data) == INSTANCE |
| 3299 | fallback = Instance.read(data) |
| 3300 | tag = read_tag(data) |
| 3301 | ret = LiteralType(read_literal(data, tag), fallback) |
| 3302 | assert read_tag(data) == END_TAG |
| 3303 | return ret |
| 3304 | |
| 3305 | |
| 3306 | class UnionType(ProperType): |
nothing calls this directly
no test coverage detected