struct GenericDeclA declared generic parameter (T: Proto = Default, or the ADR 0035 static form static N: Int whose declared value type is static_ty).
Properties
let name: String
The type or static parameter name.
let name_start: Int
The inclusive starting byte offset of the name.
let name_end: Int
The exclusive ending byte offset of the name.
let generics: [GenericDecl]
The generic parameters in declaration order.
let conformances: [TypeAnnotation]
Protocol bounds joined on this parameter.
let default_value: GenericArg?
The generic parameter default, when present.
let static_ty: TypeAnnotation?
The value type of a static parameter, when applicable.
let start: Int
The inclusive starting byte offset in the source.
let end: Int
The exclusive ending byte offset in the source.