github.com/quantosnetwork/Quantos@v0.0.0-20220306172517-e20b28c5a29a/quantix/interpreter/scanner.go (about) 1 package interpreter 2 3 import ( 4 "github.com/quantosnetwork/Quantos/quantix/token" 5 ) 6 7 func (s *Scanner) scanTokens() []token.Token { 8 9 isAtEnd := false 10 for !isAtEnd { 11 _, err := s.reader.Read([]byte(s._source)) 12 if err != nil { 13 isAtEnd = true 14 } 15 16 } 17 18 }