(stream, c)
| 802 | |
| 803 | // it's like "peek", but need for look-ahead or look-behind if index < 0 |
| 804 | function look(stream, c){ |
| 805 | return stream.string.charAt(stream.pos+(c||0)); |
| 806 | } |
| 807 | |
| 808 | // return a part of prefix of current stream from current position |
| 809 | function prefix(stream, c){ |