const go/token.ARROW
19 uses
go/token (current package)
token.go#L66: ARROW // <-
token.go#L175: ARROW: "<-",
go/parser
parser.go#L817: case token.IDENT, token.MUL, token.ARROW, token.FUNC, token.CHAN, token.MAP, token.STRUCT, token.INTERFACE, token.LPAREN:
parser.go#L850: case token.MUL, token.ARROW, token.FUNC, token.LBRACK, token.CHAN, token.MAP, token.STRUCT, token.INTERFACE, token.LPAREN:
parser.go#L1310: if p.tok == token.ARROW {
parser.go#L1316: arrow = p.expect(token.ARROW)
parser.go#L1380: case token.CHAN, token.ARROW:
parser.go#L1786: case token.ARROW:
parser.go#L1830: return &ast.UnaryExpr{OpPos: arrow, Op: token.ARROW, X: x}
parser.go#L1966: case token.ARROW:
parser.go#L2281: if p.tok == token.ARROW {
parser.go#L2437: token.ADD, token.SUB, token.MUL, token.AND, token.XOR, token.ARROW, token.NOT: // unary operators
go/printer
nodes.go#L1073: p.print(token.ARROW, token.CHAN) // x.Arrow and x.Pos() are the same
nodes.go#L1077: p.print(token.ARROW)
nodes.go#L1389: p.print(token.ARROW, blank)
go/scanner
scanner.go#L922: tok = token.ARROW
go/types
expr.go#L149: case token.ARROW:
expr.go#L1124: if e.Op == token.ARROW {
stmt.go#L823: if x, _ := ast.Unparen(rhs).(*ast.UnaryExpr); x != nil && x.Op == token.ARROW {