go/scanner.Scanner.switch2 (method)
9 uses
go/scanner (current package)
scanner.go#L715: func (s *Scanner) switch2(tok0, tok1 token.Token) token.Token {
scanner.go#L836: tok = s.switch2(token.COLON, token.DEFINE)
scanner.go#L876: tok = s.switch2(token.MUL, token.MUL_ASSIGN)
scanner.go#L897: tok = s.switch2(token.QUO, token.QUO_ASSIGN)
scanner.go#L900: tok = s.switch2(token.REM, token.REM_ASSIGN)
scanner.go#L902: tok = s.switch2(token.XOR, token.XOR_ASSIGN)
scanner.go#L913: tok = s.switch2(token.ASSIGN, token.EQL)
scanner.go#L915: tok = s.switch2(token.NOT, token.NEQ)
scanner.go#L919: tok = s.switch2(token.AND_NOT, token.AND_NOT_ASSIGN)
![]() |
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. |