const go/token.SUB
20 uses
go/token (current package)
token.go#L39: SUB // -
token.go#L148: SUB: "-",
token.go#L274: case ADD, SUB, OR, XOR:
go/constant
value.go#L966: case token.SUB:
value.go#L982: re := UnaryOp(token.SUB, y.re, 0)
value.go#L983: im := UnaryOp(token.SUB, y.im, 0)
value.go#L1129: case token.SUB:
value.go#L1165: case token.SUB:
value.go#L1195: case token.SUB:
value.go#L1213: case token.SUB:
value.go#L1234: case token.SUB:
value.go#L1275: func sub(x, y Value) Value { return BinaryOp(x, token.SUB, y) }
go/parser
parser.go#L1780: case token.ADD, token.SUB, token.NOT, token.XOR, token.AND, token.TILDE:
parser.go#L2437: token.ADD, token.SUB, token.MUL, token.AND, token.XOR, token.ARROW, token.NOT: // unary operators
go/printer
printer.go#L873: case token.SUB:
go/scanner
scanner.go#L887: tok = s.switch3(token.SUB, token.SUB_ASSIGN, '-', token.DEC)
go/types
expr.go#L67: token.SUB: allNumeric,
expr.go#L122: token.SUB: "subtraction",
expr.go#L736: token.SUB: allNumeric,
stmt.go#L491: op = token.SUB