Lines Matching refs:scanner
88 type scanner struct { struct
104 func newScanner(data []byte, filename string, errorHandler ErrorHandler) *scanner {
108 s := &scanner{
128 func (s *scanner) Scan() (tok token, lit string, pos Pos) { argument
173 func (s *scanner) scanCExpr(pos Pos) string { argument
185 func (s *scanner) scanStr(pos Pos) string { argument
211 func (s *scanner) scanInt(pos Pos) string { argument
236 func (s *scanner) scanChar(pos Pos) string { argument
247 func (s *scanner) scanIdent(pos Pos) (tok token, lit string) { argument
262 func (s *scanner) Error(pos Pos, msg string, args ...interface{}) { argument
267 func (s *scanner) Ok() bool { argument
271 func (s *scanner) next() { argument
299 func (s *scanner) skipWhitespace() { argument
305 func (s *scanner) pos() Pos { argument