test_clojure_pre_processor() — tailwindcss Function Reference
Architecture documentation for the test_clojure_pre_processor() function in clojure.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 629f172e_c2fa_69b1_82d0_e65b2ee53898["test_clojure_pre_processor()"] d5897009_a00e_cc82_ddfa_bf299b0bd83d["clojure.rs"] 629f172e_c2fa_69b1_82d0_e65b2ee53898 -->|defined in| d5897009_a00e_cc82_ddfa_bf299b0bd83d style 629f172e_c2fa_69b1_82d0_e65b2ee53898 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/pre_processors/clojure.rs lines 207–232
fn test_clojure_pre_processor() {
for (input, expected) in [
(":div.flex-1.flex-2", " div flex-1 flex-2"),
(
":.flex-3.flex-4 ;defaults to div",
" flex-3 flex-4 ",
),
("{:class :flex-5.flex-6", " flex-5 flex-6"),
(r#"{:class "flex-7 flex-8"}"#, r#" flex-7 flex-8 "#),
(
r#"{:class ["flex-9" :flex-10]}"#,
r#" flex-9 flex-10 "#,
),
(
r#"(dom/div {:class "flex-11 flex-12"})"#,
r#" flex-11 flex-12 "#,
),
("(dom/div :.flex-13.flex-14", " flex-13 flex-14"),
(
r#"[:div#hello.bg-white.pr-1.5 {:class ["grid grid-cols-[auto,1fr] grid-rows-2"]}]"#,
r#" div#hello bg-white pr-1.5 grid grid-cols-[auto,1fr] grid-rows-2 "#,
),
] {
Clojure::test(input, expected);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does test_clojure_pre_processor() do?
test_clojure_pre_processor() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/pre_processors/clojure.rs.
Where is test_clojure_pre_processor() defined?
test_clojure_pre_processor() is defined in crates/oxide/src/extractor/pre_processors/clojure.rs at line 207.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free