github.com/evanw/esbuild/internal/css_ast.Token.Kind (field)
58 uses
github.com/evanw/esbuild/internal/css_ast (current package)
css_ast.go#L61: Kind css_lexer.T // 1 byte
github.com/evanw/esbuild/internal/css_parser
css_decls.go#L245: switch token.Kind {
css_decls.go#L269: if token.Kind == css_lexer.TPercentage {
css_decls.go#L271: token.Kind = css_lexer.TNumber
css_decls.go#L280: Kind: css_lexer.TComma,
css_decls.go#L293: switch token.Kind {
css_decls.go#L301: token.Kind = css_lexer.TFunction
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#L315: token.Kind = css_lexer.TFunction
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#L330: token.Kind = css_lexer.THash
css_decls.go#L345: args[0].Kind = css_lexer.TNumber
css_decls.go#L367: if args[1].Kind == css_lexer.TComma && args[3].Kind == css_lexer.TComma {
css_decls.go#L374: if args[3].Kind == css_lexer.TDelimSlash {
css_decls.go#L391: if args[1].Kind == css_lexer.TComma && args[3].Kind == css_lexer.TComma && args[5].Kind == css_lexer.TComma {
css_decls.go#L420: switch token.Kind {
css_decls.go#L466: if args[1].Kind == css_lexer.TComma && args[3].Kind == css_lexer.TComma {
css_decls.go#L472: if args[3].Kind == css_lexer.TDelimSlash {
css_decls.go#L478: if args[1].Kind == css_lexer.TComma && args[3].Kind == css_lexer.TComma && args[5].Kind == css_lexer.TComma {
css_decls.go#L504: if args[1].Kind == css_lexer.TComma && args[3].Kind == css_lexer.TComma {
css_decls.go#L510: if args[3].Kind == css_lexer.TDelimSlash {
css_decls.go#L516: if args[1].Kind == css_lexer.TComma && args[3].Kind == css_lexer.TComma && args[5].Kind == css_lexer.TComma {
css_decls.go#L572: if token.Kind == css_lexer.TPercentage {
css_decls.go#L587: if token.Kind == css_lexer.T(0) {
css_decls.go#L597: switch token.Kind {
css_decls.go#L628: token.Kind = css_lexer.TIdent
css_decls.go#L631: token.Kind = css_lexer.THash
css_decls.go#L642: token.Kind = css_lexer.THash
css_decls.go#L650: token.Kind = css_lexer.TFunction
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#L562: Kind: t.Kind,
css_parser.go#L622: if token.Text == "url" && len(nested) == 1 && nested[0].Kind == css_lexer.TString {
css_parser.go#L623: token.Kind = css_lexer.TURL
css_parser.go#L673: switch token.Kind {
css_parser.go#L704: Kind: css_lexer.TWhitespace,
github.com/evanw/esbuild/internal/css_printer
css_printer.go#L586: if t.Kind == css_lexer.TComma {
css_printer.go#L594: if t.Kind == css_lexer.TWhitespace {
css_printer.go#L599: if isMultiLineValue && (i == 0 || tokens[i-1].Kind == css_lexer.TComma) {
css_printer.go#L614: switch t.Kind {
css_printer.go#L650: switch t.Kind {
 |
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. |