github.com/evanw/esbuild/internal/css_ast.Token.Text (field)

56 uses

	github.com/evanw/esbuild/internal/css_ast (current package)
		css_ast.go#L35: 	Text string // 16 bytes
		css_ast.go#L78: 	return t.Text[:len(t.Text)-1]
		css_ast.go#L82: 	return t.Text[:t.UnitOffset]
		css_ast.go#L86: 	return t.Text[t.UnitOffset:]

	github.com/evanw/esbuild/internal/css_parser
		css_decls.go#L247: 		if value, err := strconv.ParseFloat(token.Text, 64); err == nil {
		css_decls.go#L270: 		if value, err := strconv.ParseFloat(token.Text[:len(token.Text)-1], 64); err == nil {
		css_decls.go#L272: 			token.Text = floatToString(value / 100.0)
		css_decls.go#L281: 		Text: ",",
		css_decls.go#L291: 	text := token.Text
		css_decls.go#L302: 					token.Text = "rgba"
		css_decls.go#L305: 						{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexR(hex))}, commaToken,
		css_decls.go#L306: 						{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexG(hex))}, commaToken,
		css_decls.go#L307: 						{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexB(hex))}, commaToken,
		css_decls.go#L308: 						{Kind: css_lexer.TNumber, Text: floatToString(float64(hexA(hex)) / 255)},
		css_decls.go#L316: 					token.Text = "rgba"
		css_decls.go#L319: 						{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexR(hex))}, commaToken,
		css_decls.go#L320: 						{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexG(hex))}, commaToken,
		css_decls.go#L321: 						{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexB(hex))}, commaToken,
		css_decls.go#L322: 						{Kind: css_lexer.TNumber, Text: floatToString(float64(hexA(hex)) / 255)},
		css_decls.go#L331: 			token.Text = "663399"
		css_decls.go#L346: 						args[0].Text = floatToString(degrees)
		css_decls.go#L399: 						token.Text = "rgb"
		css_decls.go#L401: 						token.Text = "hsl"
		css_decls.go#L405: 						token.Text = "rgba"
		css_decls.go#L407: 						token.Text = "hsla"
		css_decls.go#L418: 	text := token.Text
		css_decls.go#L599: 		if f, err := strconv.ParseFloat(token.Text, 64); err == nil {
		css_decls.go#L629: 				token.Text = name
		css_decls.go#L635: 					token.Text = fmt.Sprintf("%03x", compact)
		css_decls.go#L637: 					token.Text = fmt.Sprintf("%06x", hex)
		css_decls.go#L645: 				token.Text = fmt.Sprintf("%04x", compact)
		css_decls.go#L647: 				token.Text = fmt.Sprintf("%08x", hex)
		css_decls.go#L651: 			token.Text = "rgba"
		css_decls.go#L660: 				{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexR(hex))}, commaToken,
		css_decls.go#L661: 				{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexG(hex))}, commaToken,
		css_decls.go#L662: 				{Kind: css_lexer.TNumber, Text: strconv.Itoa(hexB(hex))}, commaToken,
		css_decls.go#L663: 				{Kind: css_lexer.TNumber, Text: alpha},
		css_parser.go#L563: 			Text:       t.DecodedText(p.source.Contents),
		css_parser.go#L578: 				if text, ok := mangleNumber(token.Text); ok {
		css_parser.go#L579: 					token.Text = text
		css_parser.go#L586: 					token.Text = text + "%"
		css_parser.go#L595: 					token.Text = text + token.DimensionUnit()
		css_parser.go#L604: 				Path:     logger.Path{Text: token.Text},
		css_parser.go#L608: 			token.Text = ""
		css_parser.go#L614: 			if token.Text == "var" {
		css_parser.go#L622: 			if token.Text == "url" && len(nested) == 1 && nested[0].Kind == css_lexer.TString {
		css_parser.go#L624: 				token.Text = ""
		css_parser.go#L629: 					Path:     logger.Path{Text: nested[0].Text},

	github.com/evanw/esbuild/internal/css_printer
		css_printer.go#L616: 			p.printIdent(t.Text, identNormal, whitespace)
		css_printer.go#L619: 			p.printIdent(t.Text, identNormal, whitespace)
		css_printer.go#L628: 			p.printIdent(t.Text, identNormal, whitespace)
		css_printer.go#L632: 			p.printIdent(t.Text, identHash, whitespace)
		css_printer.go#L635: 			p.printQuoted(t.Text)
		css_printer.go#L644: 			p.print(t.Text)