const go/token.ARROW
14 uses
go/token (current package)
token.go#L67: ARROW // <-
token.go#L171: ARROW: "<-",
go/parser
parser.go#L1016: if p.tok == token.ARROW {
parser.go#L1022: arrow = p.expect(token.ARROW)
parser.go#L1049: case token.CHAN, token.ARROW:
parser.go#L1540: case token.ARROW:
parser.go#L1584: return &ast.UnaryExpr{OpPos: arrow, Op: token.ARROW, X: p.checkExpr(x)}
parser.go#L1729: case token.ARROW:
parser.go#L2068: if p.tok == token.ARROW {
parser.go#L2228: token.ADD, token.SUB, token.MUL, token.AND, token.XOR, token.ARROW, token.NOT: // unary operators
go/printer
nodes.go#L965: p.print(token.ARROW, token.CHAN) // x.Arrow and x.Pos() are the same
nodes.go#L967: p.print(token.CHAN, x.Arrow, token.ARROW)
nodes.go#L1270: p.print(blank, s.Arrow, token.ARROW, blank)
go/scanner
scanner.go#L906: tok = token.ARROW
 |
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. |