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#L1132: case token.SUB:
value.go#L1168: case token.SUB:
value.go#L1198: case token.SUB:
value.go#L1216: case token.SUB:
value.go#L1237: case token.SUB:
value.go#L1278: func sub(x, y Value) Value { return BinaryOp(x, token.SUB, y) }
go/parser
parser.go#L1800: case token.ADD, token.SUB, token.NOT, token.XOR, token.AND, token.TILDE:
parser.go#L2457: 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#L910: 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#L762: token.SUB: allNumeric,
stmt.go#L481: op = token.SUB