(pos int, end int, kind ast.Kind)
| 15 | } |
| 16 | |
| 17 | func NewTextRangeWithKind(pos int, end int, kind ast.Kind) TextRangeWithKind { |
| 18 | return TextRangeWithKind{ |
| 19 | Loc: core.NewTextRange(pos, end), |
| 20 | Kind: kind, |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | type tokenInfo struct { |
| 25 | leadingTrivia []TextRangeWithKind |
no test coverage detected