package css_lexer import ( "strings" "unicode/utf8" "github.com/evanw/esbuild/internal/logger" ) // The lexer converts a source file to a stream of tokens. Unlike esbuild's // JavaScript lexer, this CSS lexer runs to completion before the CSS parser // begins, resulting in a single array of all tokens in the file. type T uint8 const eof = -1 const ( TEndOfFile T = iota TAtKeyword TBadString TBadURL TCDC // "-->" TCDO // "\"", "\"