package j import ( . "github.com/alecthomas/chroma" // nolint "github.com/alecthomas/chroma/lexers/internal" ) // JSX lexer. // // This was generated from https://github.com/fcurella/jsx-lexer var JSX = internal.Register(MustNewLazyLexer( &Config{ Name: "react", Aliases: []string{"jsx", "react"}, Filenames: []string{"*.jsx", "*.react"}, MimeTypes: []string{"text/jsx", "text/typescript-jsx"}, DotAll: true, }, jsxRules, )) func jsxRules() Rules { return Rules{ "commentsandwhitespace": { {`\s+`, Text, nil}, {`