const go/token.RBRACK

38 uses

	go/token (current package)
		token.go#L89: 	RBRACK    // ]
		token.go#L198: 	RBRACK:    "]",

	go/parser
		parser.go#L440: 	token.RBRACK:    true,
		parser.go#L584: 		} else if p.tok != token.RBRACK {
		parser.go#L596: 	p.expect(token.RBRACK)
		parser.go#L609: 	if p.tok != token.RBRACK {
		parser.go#L615: 			if p.tok == token.RBRACK {
		parser.go#L623: 	rbrack := p.expect(token.RBRACK)
		parser.go#L881: 	tparams := closing == token.RBRACK
		parser.go#L1054: 		list := p.parseParameterList(nil, nil, token.RBRACK)
		parser.go#L1055: 		rbrack := p.expect(token.RBRACK)
		parser.go#L1130: 			if name0, _ := x.(*ast.Ident); name0 != nil && p.tok != token.COMMA && p.tok != token.RBRACK {
		parser.go#L1135: 				_ = p.parseParameterList(name0, nil, token.RBRACK)
		parser.go#L1136: 				_ = p.expect(token.RBRACK)
		parser.go#L1152: 				if p.atComma("type argument list", token.RBRACK) {
		parser.go#L1155: 					for p.tok != token.RBRACK && p.tok != token.EOF {
		parser.go#L1157: 						if !p.atComma("type argument list", token.RBRACK) {
		parser.go#L1164: 				rbrack := p.expectClosing(token.RBRACK, "type argument list")
		parser.go#L1294: 	p.expect(token.RBRACK)
		parser.go#L1333: 	for p.tok != token.RBRACK && p.tok != token.EOF {
		parser.go#L1335: 		if !p.atComma("type argument list", token.RBRACK) {
		parser.go#L1342: 	closing := p.expectClosing(token.RBRACK, "type argument list")
		parser.go#L1532: 	if p.tok == token.RBRACK {
		parser.go#L1564: 			if p.tok != token.COLON && p.tok != token.RBRACK && p.tok != token.EOF {
		parser.go#L1573: 			if p.tok != token.RBRACK && p.tok != token.EOF {
		parser.go#L1580: 	rbrack := p.expect(token.RBRACK)
		parser.go#L2575: 	list := p.parseParameterList(name0, typ0, token.RBRACK)
		parser.go#L2576: 	closePos := p.expect(token.RBRACK)
		parser.go#L2634: 			if pname, ptype := extractName(x, p.tok == token.COMMA); pname != nil && (ptype != nil || p.tok != token.RBRACK) {

	go/printer
		nodes.go#L331: 		openTok, closeTok = token.LBRACK, token.RBRACK
		nodes.go#L916: 		p.print(token.RBRACK)
		nodes.go#L926: 		p.print(token.RBRACK)
		nodes.go#L969: 		p.print(token.RBRACK)
		nodes.go#L1047: 		p.print(token.RBRACK)
		nodes.go#L1065: 		p.print(token.RBRACK)
		printer.go#L793: 			(tok != token.RBRACK || p.prevOpen == token.LBRACK) {
		printer.go#L982: 				token.INC, token.DEC, token.RPAREN, token.RBRACK, token.RBRACE:

	go/scanner
		scanner.go#L875: 			tok = token.RBRACK