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
  f98ff9a1_6340_f91b_d841_e3dc0eb6f82a["test_clojure_syntax()"]
  a88440ca_3a3f_4a07_4234_760efd75f698["assert_extract_candidates_contains()"]
  f98ff9a1_6340_f91b_d841_e3dc0eb6f82a -->|calls| a88440ca_3a3f_4a07_4234_760efd75f698
  950dd1f1_4d68_5e31_aeaa_e1d3ecf0464e["pre_process_input()"]
  f98ff9a1_6340_f91b_d841_e3dc0eb6f82a -->|calls| 950dd1f1_4d68_5e31_aeaa_e1d3ecf0464e
  style f98ff9a1_6340_f91b_d841_e3dc0eb6f82a 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