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
  c6c44495_3642_2fbb_7d64_fb2d56fd9c59["test_clojure_syntax()"]
  0fcd0fda_f6d1_052f_9575_133f5b2763a7["mod.rs"]
  c6c44495_3642_2fbb_7d64_fb2d56fd9c59 -->|defined in| 0fcd0fda_f6d1_052f_9575_133f5b2763a7
  08871a07_5115_fd1d_37f0_ee5de4206d3d["assert_extract_candidates_contains()"]
  c6c44495_3642_2fbb_7d64_fb2d56fd9c59 -->|calls| 08871a07_5115_fd1d_37f0_ee5de4206d3d
  cfc07640_f3ad_1fd8_e118_770b90d7badd["pre_process_input()"]
  c6c44495_3642_2fbb_7d64_fb2d56fd9c59 -->|calls| cfc07640_f3ad_1fd8_e118_770b90d7badd
  style c6c44495_3642_2fbb_7d64_fb2d56fd9c59 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, 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