mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Instead of creating multiple CodeBlockItemList nodes, that need to get merged and discarded later on, do this: * Ensure for libSyntax parsing that we parse the whole file * Create top-level CodeBlockItem nodes that we just directly wrap with a single CodeBlockItemList node at the end The importance of this change will become more obvious later on when we'll decouple syntax parsing from the formation of libSyntax tree nodes.
58 KiB
58 KiB