const go/token.FLOAT
8 uses
go/token (current package)
token.go#L31: FLOAT // 123.45
token.go#L138: FLOAT: "FLOAT",
go/parser
parser.go#L1154: case token.INT, token.FLOAT, token.IMAG, token.CHAR, token.STRING:
parser.go#L2226: token.IDENT, token.INT, token.FLOAT, token.IMAG, token.CHAR, token.STRING, token.FUNC, token.LPAREN, // operands
go/printer
nodes.go#L986: if lit.Kind != token.INT && lit.Kind != token.FLOAT && lit.Kind != token.IMAG {
go/scanner
scanner.go#L438: tok = token.FLOAT
scanner.go#L459: tok = token.FLOAT
scanner.go#L468: } else if prefix == 'x' && tok == token.FLOAT {
 |
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. |