func lexDot(t *Tokeniser) stateFunc {
	_, w := t.currentRune()
	// Do a lookahead to see if its a floating point number vs
	// just a normal dot.
	if r, _ := runeAtPosition(t.Input, t.pos+w); r < '0' || r > '9' {
		// Not number, advance the dot and emit
		t.advance(w)
		t.emit(DOT)
		return lexCode
	}
	return lexNumber
}
// lexDot scans a dot and determines if its part of the number or a dot
// to access property
lexDot scans a dot and determines if its part of the number or a dot
to access property
// lexDot scans a dot and determines if its part of the number or a dot // to access property
func lexDot(t *Tokeniser) stateFunc {
	_, w := t.currentRune()
	if r, _ := runeAtPosition(t.Input, t.pos+w); r < '0' || r > '9' {
		t.advance(w)
		t.emit(DOT)
		return lexCode
	}
	return lexNumber
}
func lexDot ( t * Tokeniser ) stateFunc { _ , w := t . currentRune ( ) if r , _ := runeAtPosition ( t . Input , t . pos + w ) ; r < '0' || r > '9' { t . advance ( w ) t . emit ( DOT ) return lexCode } return lexNumber }
lexDot scans a dot and determines if its part of the number or a dot
to access property
lexDot scans a dot and determines if its part of the number or a dot to access property
// Do a lookahead to see if its a floating point number vs // just a normal dot. // Not number, advance the dot and emit