func (t *Tokeniser) advance(w int) {
	newPos := t.pos + w
	for _, r := range t.Input[t.pos:newPos] {
		if r == '\n' {
			t.line++
			t.col = 1
		} else {
			t.col++
		}
	}
	t.pos = newPos
}
// advance moves the tokeniser's current position forward by offset w
// This is usually used with the width w returned by currentRune
advance moves the tokeniser's current position forward by offset w
This is usually used with the width w returned by currentRune
// advance moves the tokeniser ' s current position forward by offset w // This is usually used with the width w returned by currentRune
func (t *Tokeniser) advance(w int) {
	newPos := t.pos + w
	for _, r := range t.Input[t.pos:newPos] {
		if r == '\n' {
			t.line++
			t.col = 1
		} else {
			t.col++
		}
	}
	t.pos = newPos
}
func ( t * Tokeniser ) advance ( w int ) { newPos := t . pos + w for _ , r := range t . Input [ t . pos : newPos ] { if r == '\n' { t . line ++ t . col = 1 } else { t . col ++ } } t . pos = newPos }
advance moves the tokeniser's current position forward by offset w
This is usually used with the width w returned by currentRune
advance moves the tokeniser ' s current position forward by offset w This is usually used with the width w returned by currentRune