go/ast.BasicLit.Kind (field)

17 uses

	go/ast (current package)
		ast.go#L301: 		Kind     token.Token // token.INT, token.FLOAT, token.IMAG, token.CHAR, or token.STRING

	go/parser
		parser.go#L744: 		tag = &ast.BasicLit{ValuePos: p.pos, Kind: p.tok, Value: p.lit}
		parser.go#L1155: 		x := &ast.BasicLit{ValuePos: p.pos, Kind: p.tok, Value: p.lit}
		parser.go#L2322: 		Path:    &ast.BasicLit{ValuePos: pos, Kind: token.STRING, Value: path},

	go/printer
		nodes.go#L986: 	if lit.Kind != token.INT && lit.Kind != token.FLOAT && lit.Kind != token.IMAG {
		nodes.go#L1034: 	return &ast.BasicLit{ValuePos: lit.ValuePos, Kind: lit.Kind, Value: x}
		nodes.go#L1519: 	if lit.Kind != token.STRING {
		nodes.go#L1550: 	return &ast.BasicLit{ValuePos: lit.ValuePos, Kind: token.STRING, Value: s}
		printer.go#L936: 			p.lastTok = x.Kind

	golang.org/x/pkgsite/internal/godoc
		encode_ast.gen.go#L318: 	if x.Kind != 0 {
		encode_ast.gen.go#L320: 		e.EncodeInt(int64(x.Kind))
		encode_ast.gen.go#L349: 			x.Kind = token.Token(d.DecodeInt())

	golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
		linkify.go#L538: 		if n.Kind != token.STRING {

	golang.org/x/pkgsite/internal/godoc/internal/doc
		example.go#L484: 			Path:   &ast.BasicLit{Value: strconv.Quote(p), Kind: token.STRING, ValuePos: pos},