const go/token.RANGE
8 uses
go/token (current package)
token.go#L119: RANGE
token.go#L220: RANGE: "range",
go/parser
parser.go#L1687: if mode == rangeOk && p.tok == token.RANGE && (tok == token.DEFINE || tok == token.ASSIGN) {
parser.go#L1690: y = []ast.Expr{&ast.UnaryExpr{OpPos: pos, Op: token.RANGE, X: p.parseRhs()}}
parser.go#L2148: if p.tok == token.RANGE {
parser.go#L2152: y := []ast.Expr{&ast.UnaryExpr{OpPos: pos, Op: token.RANGE, X: p.parseRhs()}}
go/printer
nodes.go#L786: if x.Op == token.RANGE {
nodes.go#L1408: p.print(token.RANGE, blank)
![]() |
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. |