const go/token.ARROW
19 uses
go/token (current package)
token.go#L66: ARROW // <-
token.go#L175: ARROW: "<-",
go/parser
parser.go#L831: case token.IDENT, token.MUL, token.ARROW, token.FUNC, token.CHAN, token.MAP, token.STRUCT, token.INTERFACE, token.LPAREN:
parser.go#L864: case token.MUL, token.ARROW, token.FUNC, token.LBRACK, token.CHAN, token.MAP, token.STRUCT, token.INTERFACE, token.LPAREN:
parser.go#L1340: if p.tok == token.ARROW {
parser.go#L1346: arrow = p.expect(token.ARROW)
parser.go#L1410: case token.CHAN, token.ARROW:
parser.go#L1816: case token.ARROW:
parser.go#L1860: return &ast.UnaryExpr{OpPos: arrow, Op: token.ARROW, X: x}
parser.go#L1996: case token.ARROW:
parser.go#L2311: if p.tok == token.ARROW {
parser.go#L2467: 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#L932: tok = token.ARROW
go/types
expr.go#L149: case token.ARROW:
expr.go#L1149: if e.Op == token.ARROW {
stmt.go#L813: if x, _ := ast.Unparen(rhs).(*ast.UnaryExpr); x != nil && x.Op == token.ARROW {