const go/token.ADD
26 uses
go/token (current package)
token.go#L39: ADD // +
token.go#L148: ADD: "+",
token.go#L278: case ADD, SUB, OR, XOR:
go/constant
value.go#L951: case token.ADD:
value.go#L1117: case token.ADD:
value.go#L1156: case token.ADD:
value.go#L1186: case token.ADD:
value.go#L1204: case token.ADD:
value.go#L1223: case token.ADD:
value.go#L1258: if op == token.ADD {
value.go#L1267: func add(x, y Value) Value { return BinaryOp(x, token.ADD, y) }
go/parser
parser.go#L1732: case token.ADD, token.SUB, token.NOT, token.XOR, token.AND:
parser.go#L2440: token.ADD, token.SUB, token.MUL, token.AND, token.XOR, token.ARROW, token.NOT: // unary operators
go/printer
printer.go#L856: case token.ADD:
go/scanner
scanner.go#L913: tok = s.switch3(token.ADD, token.ADD_ASSIGN, '+', token.INC)
go/types
builtins.go#L340: x.val = constant.BinaryOp(constant.ToFloat(x.val), token.ADD, constant.MakeImag(constant.ToFloat(y.val)))
expr.go#L67: token.ADD: allNumeric,
expr.go#L140: token.ADD: "addition",
expr.go#L386: *rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
expr.go#L396: *rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
expr.go#L1044: token.ADD: allNumericOrString,
stmt.go#L168: return op + (token.ADD - token.ADD_ASSIGN)
stmt.go#L441: op = token.ADD
golang.org/x/tools/internal/gcimporter
bimport.go#L768: return constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
iimport.go#L612: val = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
golang.org/x/tools/internal/pkgbits
decoder.go#L434: val = constant.BinaryOp(val, token.ADD, constant.MakeImag(r.scalar()))