Home | History | Annotate | Download | only in scanner

Lines Matching defs:EOF

75 	EOF = -(iota + 1)
87 EOF: "EOF",
198 s.ch = -2 // no char read yet, not EOF
231 // (an io.Reader must return io.EOF when it reaches
241 if err != io.EOF {
246 // previous character was not EOF
250 return EOF
252 // If err == EOF, we won't be getting more
295 // It returns EOF at the end of the source. It reports
304 if ch != EOF {
311 // the scanner. It returns EOF if the scanner's position is at the last
536 // It returns EOF at the end of the source. It reports scanner errors (read and
589 case EOF:
672 // if EOF was reached, s.tokEnd is set to -1 (s.srcPos == 0)