Revert "[SyntaxParse] Parse generic parameter clause and generic where clause"

This commit is contained in:
Rintaro Ishizaki
2019-09-20 14:02:53 -07:00
committed by GitHub
parent 4804444c14
commit 1584e87aa7
33 changed files with 364 additions and 634 deletions

View File

@@ -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):