const go/token.SUB
7 uses
go/token (current package)
token.go#L40: SUB // -
token.go#L144: SUB: "-",
token.go#L271: case ADD, SUB, OR, XOR:
go/parser
parser.go#L1534: case token.ADD, token.SUB, token.NOT, token.XOR, token.AND:
parser.go#L2228: token.ADD, token.SUB, token.MUL, token.AND, token.XOR, token.ARROW, token.NOT: // unary operators
go/printer
printer.go#L853: case token.SUB:
go/scanner
scanner.go#L871: tok = s.switch3(token.SUB, token.SUB_ASSIGN, '-', token.DEC)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |