WithGenericParametersSyntax
Syntax nodes that have generic parameters.
protocol WithGenericParametersSyntax : SyntaxProtocol
Browse conforming typesFor example, functions or nominal types like class
or struct
can have generic parameters and have a generic where clause that restricts these generic parameters.