Function
next
(stream: Scanner, kind: TokenKind, pos: TokenPosition, opts: { hasLeftSpacing?: boolean, value?: string })
Source from the content-addressed store, hash-verified
| 157 | return stream; |
| 158 | } |
| 159 | function next(stream: Scanner, kind: TokenKind, pos: TokenPosition, opts: { hasLeftSpacing?: boolean, value?: string }) { |
| 160 | assert.deepStrictEqual(stream.getToken(), TOKEN(kind, pos, opts)); |
| 161 | stream.next(); |
| 162 | } |
| 163 | |
| 164 | test.concurrent('eof', async () => { |
| 165 | const source = ''; |
Tested by
no test coverage detected