Home / Function/ test_csharp_syntax() — tailwindcss Function Reference

test_csharp_syntax() — tailwindcss Function Reference

Architecture documentation for the test_csharp_syntax() function in mod.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  ad3b2f19_191d_d7b8_5eae_8fe01ca13a2a["test_csharp_syntax()"]
  0fcd0fda_f6d1_052f_9575_133f5b2763a7["mod.rs"]
  ad3b2f19_191d_d7b8_5eae_8fe01ca13a2a -->|defined in| 0fcd0fda_f6d1_052f_9575_133f5b2763a7
  0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9["assert_extract_sorted_candidates()"]
  ad3b2f19_191d_d7b8_5eae_8fe01ca13a2a -->|calls| 0b7ae7d0_7e0e_b8cd_767a_15a18e3d04c9
  style ad3b2f19_191d_d7b8_5eae_8fe01ca13a2a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/mod.rs lines 673–687

    fn test_csharp_syntax() {
        for (input, expected) in [
            // Not a valid arbitrary value or variant
            // Extract inner candidates: `gap-y-4`
            (r#"[CssClass("gap-y-4")]"#, vec!["gap-y-4"]),
            (r#"[CssClass("hover:gap-y-4")]"#, vec!["hover:gap-y-4"]),
            // Valid arbitrary variant + utility, extract full candidate without inner candidates
            (
                r#"[CssClass("gap-y-4")]:flex"#,
                vec![r#"[CssClass("gap-y-4")]:flex"#],
            ),
        ] {
            assert_extract_sorted_candidates(input, expected);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does test_csharp_syntax() do?
test_csharp_syntax() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/mod.rs.
Where is test_csharp_syntax() defined?
test_csharp_syntax() is defined in crates/oxide/src/extractor/mod.rs at line 673.
What does test_csharp_syntax() call?
test_csharp_syntax() calls 1 function(s): assert_extract_sorted_candidates.

Analyze Your Own Codebase

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

Try Supermodel Free