Home | History | Annotate | Download | only in scanner

Lines Matching full:character

8 // existing tools, the NUL character is not allowed. If the first character
32 Column int // column number, starting at 1 (character count per line)
76 // The result of Scan is one of the following tokens or a Unicode character.
100 // TokenString returns a printable string for a token or Unicode character.
127 column int // character count
129 lastCharLen int // length of last character in bytes
139 // One character look-ahead
140 ch rune // character before current srcPos
155 // as white space. To recognize a character ch <= ' ' as white space,
199 // initialize one character look-ahead
212 // next reads and returns the next Unicode character. It is designed such
248 // previous character was not EOF
286 s.error("illegal character NUL")
296 // Next reads and returns the next Unicode character.
312 // Peek returns the next Unicode character in the source without advancing
314 // character of the source.
317 // this code is only run for the very first character
455 ch := s.next() // read character after '/'
475 ch := s.next() // read character after quote
492 ch := s.next() // read character after '`'
512 ch = s.next() // read character after "//"
520 ch = s.next() // read character after "/*"
536 // Scan reads the next token or Unicode character from source and returns it.
562 // common case: last character was not a '\n'
566 // last character was a '\n'
641 // Pos returns the position of the character immediately after
642 // the character
648 // common case: last character was not a '\n'
652 // last character was a '\n'