type go/scanner.Mode
5 uses
go/scanner (current package)
scanner.go#L38: mode Mode // scanning mode
scanner.go#L100: type Mode uint
scanner.go#L103: ScanComments Mode = 1 << iota // return comments as COMMENT tokens
scanner.go#L122: func (s *Scanner) Init(file *token.File, src []byte, err ErrorHandler, mode Mode) {
go/parser
parser.go#L75: var m scanner.Mode
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |