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 0aee320e_3153_85c6_6e1c_8b7baf0f59a4["test_csharp_syntax()"] 322a5768_e6e0_c5e9_b1c2_7c6638e21f71["assert_extract_sorted_candidates()"] 0aee320e_3153_85c6_6e1c_8b7baf0f59a4 -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 style 0aee320e_3153_85c6_6e1c_8b7baf0f59a4 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
Source
Frequently Asked Questions
What does test_csharp_syntax() do?
test_csharp_syntax() is a function in the tailwindcss codebase.
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