mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
To construct struct syntax, this patch first specialized type inheritance clause. For protocol's class requirement, we currently treat it as an unknown type. This patch also teaches SyntaxParsingContext to collect syntax nodes from back in place. This is useful to squash multiple decl modifiers for declarations like function. This is not used for struct declaration because only accessibility modifier is allowed.
6.2 KiB
6.2 KiB