current returns the run at the 0th index of the input.
()
| 152 | |
| 153 | // current returns the run at the 0th index of the input. |
| 154 | func (t *Tokenizer) current() rune { |
| 155 | return t.getRuneAt(0) |
| 156 | } |
| 157 | |
| 158 | // getRuneAt returns the rune at the ith index of the input. |
| 159 | func (t *Tokenizer) getRuneAt(i int) rune { |