()
| 203 | input.croak(`Can't handle character :${ch}(${ch.charCodeAt(0)})`); |
| 204 | } |
| 205 | function peek() { |
| 206 | return current || (current = read_next());//after next() not call peek() |
| 207 | } |
| 208 | function next() { |
| 209 | var tok = current; |
| 210 | if(current?.type=='id')prev_id=current; |