mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "[SyntaxParse] Parse generic parameter clause and generic where clause"
This commit is contained in:
@@ -28,20 +28,20 @@ namespace swift {
|
||||
% # Emit the non-collection classes first, then emit the collection classes
|
||||
% # that reference these classes.
|
||||
|
||||
% for node in SYNTAX_NODES + SILONLY_NODES:
|
||||
% for node in SYNTAX_NODES:
|
||||
% if not node.is_syntax_collection():
|
||||
class Parsed${node.name};
|
||||
% end
|
||||
% end
|
||||
|
||||
% for node in SYNTAX_NODES + SILONLY_NODES:
|
||||
% for node in SYNTAX_NODES:
|
||||
% if node.is_syntax_collection():
|
||||
using Parsed${node.name} =
|
||||
ParsedSyntaxCollection<syntax::SyntaxKind::${node.syntax_kind}>;
|
||||
% end
|
||||
% end
|
||||
|
||||
% for node in SYNTAX_NODES + SILONLY_NODES:
|
||||
% for node in SYNTAX_NODES:
|
||||
% if not node.is_syntax_collection():
|
||||
% qualifier = "" if node.is_base() else "final"
|
||||
% for line in dedented_lines(node.description):
|
||||
|
||||
Reference in New Issue
Block a user