mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Lazy parsing for the members of nominal types and extensions depends only on information already present in `IterableDeclContext`. Eliminate the use of PersistentParserState as an intermediary and have the member-parsing request construct a new `Parser` instance itself to handle parsing. Make this possible even for ill-formed nominal types/extensions to simplify the code path. Eliminate `LazyMemberParser` and all of its uses, because it was only present for lazy member parsing, which no longer needs it.
6.1 KiB
6.1 KiB