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 10bea763_874f_4c40_c6a8_053b55991746["test_csharp_syntax()"] c09b3ad8_e61d_4dcb_3819_2280661fbc5d["assert_extract_sorted_candidates()"] 10bea763_874f_4c40_c6a8_053b55991746 -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d style 10bea763_874f_4c40_c6a8_053b55991746 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