* ```abnf * TypeParam = IDENT * ```
(s: ITokenStream)
| 51 | * ``` |
| 52 | */ |
| 53 | function parseTypeParam(s: ITokenStream): TypeParam { |
| 54 | s.expect(TokenKind.Identifier); |
| 55 | const name = s.getTokenValue(); |
| 56 | s.next(); |
| 57 | |
| 58 | return { name }; |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * ```abnf |
no test coverage detected