test_clojure_syntax() — tailwindcss Function Reference
Architecture documentation for the test_clojure_syntax() function in mod.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 9c77d4f1_89b7_0b7c_0a25_57d727e16bf2["test_clojure_syntax()"] eb5f3ab1_80da_abe4_f35c_a91e8e409b69["mod.rs"] 9c77d4f1_89b7_0b7c_0a25_57d727e16bf2 -->|defined in| eb5f3ab1_80da_abe4_f35c_a91e8e409b69 f399a804_afd3_1dc0_3b42_e281573ed6f8["assert_extract_candidates_contains()"] 9c77d4f1_89b7_0b7c_0a25_57d727e16bf2 -->|calls| f399a804_afd3_1dc0_3b42_e281573ed6f8 ddd570de_fcb0_6f2b_bb73_ed27e62391cc["pre_process_input()"] 9c77d4f1_89b7_0b7c_0a25_57d727e16bf2 -->|calls| ddd570de_fcb0_6f2b_bb73_ed27e62391cc style 9c77d4f1_89b7_0b7c_0a25_57d727e16bf2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/mod.rs lines 691–709
fn test_clojure_syntax() {
for (input, expected) in [
(r#"[:div {:class ["p-2"]}"#, vec!["p-2"]),
(
r#"[:div {:class ["p-2" "text-green"]}"#,
vec!["p-2", "text-green"],
),
(r#"[:div {:class ["p-2""#, vec!["p-2"]),
(r#" "text-green"]}"#, vec!["text-green"]),
(r#"[:div.p-2]"#, vec!["p-2"]),
(r#"[:div {:class ["p-2"]}"#, vec!["p-2"]),
(
r#"[:div {:class ["p-2" "text-green"]}"#,
vec!["p-2", "text-green"],
),
] {
assert_extract_candidates_contains(&pre_process_input(input, "cljs"), expected);
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_clojure_syntax() do?
test_clojure_syntax() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/mod.rs.
Where is test_clojure_syntax() defined?
test_clojure_syntax() is defined in crates/oxide/src/extractor/mod.rs at line 691.
What does test_clojure_syntax() call?
test_clojure_syntax() calls 2 function(s): assert_extract_candidates_contains, pre_process_input.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free