test_fluid_template_syntax() — tailwindcss Function Reference
Architecture documentation for the test_fluid_template_syntax() function in mod.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 2870cc05_33db_dc36_2d1a_57ab869cba32["test_fluid_template_syntax()"] 0fcd0fda_f6d1_052f_9575_133f5b2763a7["mod.rs"] 2870cc05_33db_dc36_2d1a_57ab869cba32 -->|defined in| 0fcd0fda_f6d1_052f_9575_133f5b2763a7 08871a07_5115_fd1d_37f0_ee5de4206d3d["assert_extract_candidates_contains()"] 2870cc05_33db_dc36_2d1a_57ab869cba32 -->|calls| 08871a07_5115_fd1d_37f0_ee5de4206d3d style 2870cc05_33db_dc36_2d1a_57ab869cba32 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/mod.rs lines 962–984
fn test_fluid_template_syntax() {
let input = r#"
<f:variable name="bgStyle">
<f:switch expression="{data.layout}">
<f:case value="0">from-blue-900 to-cyan-200</f:case>
<f:case value="1">from-cyan-600 to-teal-200</f:case>
<f:defaultCase>from-blue-300 to-cyan-100</f:defaultCase>
</f:switch>
</f:variable>
"#;
assert_extract_candidates_contains(
input,
vec![
"from-blue-900",
"to-cyan-200",
"from-cyan-600",
"to-teal-200",
"from-blue-300",
"to-cyan-100",
],
);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_fluid_template_syntax() do?
test_fluid_template_syntax() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/mod.rs.
Where is test_fluid_template_syntax() defined?
test_fluid_template_syntax() is defined in crates/oxide/src/extractor/mod.rs at line 962.
What does test_fluid_template_syntax() call?
test_fluid_template_syntax() calls 1 function(s): assert_extract_candidates_contains.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free