Home / Function/ test_clojure_syntax() — tailwindcss Function Reference

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
  7930a87e_aad9_5f0c_8173_781513145610["test_clojure_syntax()"]
  67c0e082_b760_8463_2a6c_c5f39c564f98["assert_extract_candidates_contains()"]
  7930a87e_aad9_5f0c_8173_781513145610 -->|calls| 67c0e082_b760_8463_2a6c_c5f39c564f98
  99bd82af_ea44_3bb9_15bc_4fd7af18fd2f["pre_process_input()"]
  7930a87e_aad9_5f0c_8173_781513145610 -->|calls| 99bd82af_ea44_3bb9_15bc_4fd7af18fd2f
  style 7930a87e_aad9_5f0c_8173_781513145610 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

Frequently Asked Questions

What does test_clojure_syntax() do?
test_clojure_syntax() is a function in the tailwindcss codebase.
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