Home / Function/ test_extract_candidates() — tailwindcss Function Reference

test_extract_candidates() — tailwindcss Function Reference

Architecture documentation for the test_extract_candidates() function in elixir.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  57608fc1_babb_b12f_91a2_af75619e4552["test_extract_candidates()"]
  49b7c9b9_4460_eeb3_7d00_eaf6ca7e963c["elixir.rs"]
  57608fc1_babb_b12f_91a2_af75619e4552 -->|defined in| 49b7c9b9_4460_eeb3_7d00_eaf6ca7e963c
  style 57608fc1_babb_b12f_91a2_af75619e4552 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/pre_processors/elixir.rs lines 101–153

    fn test_extract_candidates() {
        let input = r#"
          ~W(c1 c2)
          ~W[c3 c4]
          ~W{c5 c6}
          ~W(text-(--c7) bg-(--c8))
          ~W[text-[c9] bg-[c10]]
          ~W(c13 c14)a
          ~W(c15 c16)c
          ~W(c17 c18)s
          ~w(c19 c20)
          ~c(c21 c22)
          ~C(c23 c24)
          ~s(c25 c26)
          ~S(c27 c28)
          ~W"c29 c30"
          ~W'c31 c32'
        "#;

        Elixir::test_extract_contains(
            input,
            vec![
                "c1",
                "c2",
                "c3",
                "c4",
                "c5",
                "c6",
                "text-(--c7)",
                "bg-(--c8)",
                "c13",
                "c14",
                "c15",
                "c16",
                "c17",
                "c18",
                "c19",
                "c20",
                "c21",
                "c22",
                "c23",
                "c24",
                "c25",
                "c26",
                "c27",
                "c28",
                "c29",
                "c30",
                "c31",
                "c32",
            ],
        );
    }

Domain

Subdomains

Frequently Asked Questions

What does test_extract_candidates() do?
test_extract_candidates() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/pre_processors/elixir.rs.
Where is test_extract_candidates() defined?
test_extract_candidates() is defined in crates/oxide/src/extractor/pre_processors/elixir.rs at line 101.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free