const go/token.RBRACK
15 uses
go/token (current package)
token.go#L90: RBRACK // ]
token.go#L194: RBRACK: "]",
go/parser
parser.go#L519: token.RBRACK: true,
parser.go#L678: } else if p.tok != token.RBRACK {
parser.go#L682: p.expect(token.RBRACK)
parser.go#L1000: p.expect(token.RBRACK)
parser.go#L1232: if p.tok != token.COLON && p.tok != token.RBRACK && p.tok != token.EOF {
parser.go#L1237: rbrack := p.expect(token.RBRACK)
go/printer
nodes.go#L835: p.print(x.Rbrack, token.RBRACK)
nodes.go#L876: p.print(x.Rbrack, token.RBRACK)
nodes.go#L939: p.print(token.RBRACK)
nodes.go#L957: p.print(token.RBRACK)
printer.go#L770: (tok != token.RBRACK || p.prevOpen == token.LBRACK) {
printer.go#L957: token.INC, token.DEC, token.RPAREN, token.RBRACK, token.RBRACE:
go/scanner
scanner.go#L859: tok = token.RBRACK
![]() |
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. |