[SwiftLexicalLookup][GSoC] Add switch, generic parameter and function scopes.
This PR introduces switch case, generic parameter/primary associated types and function scopes.
WithGenericParametersOrAssociatedTypesScopeSyntaxandGenericParameterOrAssociatedTypeScopeSyntaxare used to properly handle generic parameters/primary associated types by providing an alternative route for the lookup method before propagating it to parent scope.switchnow introduces names in it'scasebodies- Function parameters are now passed into to the body
- Includes some changes suggested in #2748
Would it be possible to do the changes that address my review comments from https://github.com/swiftlang/swift-syntax/pull/2748 in a separate PR again? It just makes it easier to review.
Would it be possible to do the changes that address my review comments from https://github.com/swiftlang/swift-syntax/pull/2748 in a separate PR again?
Ok, I think this is a great idea. I've opened #2789.
@swift-ci please test
@swift-ci please test Windows
@swift-ci please test
@swift-ci please test Windows
@swift-ci please test