mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Implement function-parameter-list and friends in lib/Syntax
Implements the following grammar productions: - function-parameter-list - function-parameter This is mostly reusable for other flavors of function declarations, such as initializers and whatnot, but those will have separate top-level syntax nodes. https://bugs.swift.org/browse/SR-4067
This commit is contained in:
@@ -51,6 +51,7 @@ public:
|
||||
};
|
||||
|
||||
class ExprSyntax : public Syntax {
|
||||
friend class FunctionParameterSyntax;
|
||||
public:
|
||||
using DataType = ExprSyntaxData;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user