TypeParameter are generics in Go Foo[T comparable] -> - name: T - Modifiers: [] - Type: Comparable - DefaultType: nil
| 51 | // - Type: Comparable |
| 52 | // - DefaultType: nil |
| 53 | type TypeParameter struct { |
| 54 | Name Identifier |
| 55 | Modifiers []Modifier |
| 56 | Type ExpressionType |
| 57 | // DefaultType does not map to any Golang concepts and will never be |
| 58 | // used. |
| 59 | DefaultType ExpressionType |
| 60 | } |
| 61 | |
| 62 | func (p *TypeParameter) isNode() {} |
| 63 |
nothing calls this directly
no outgoing calls
no test coverage detected