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 075eca00_6cc8_bc98_2075_b8aead23f568["test_fluid_template_syntax()"] a88440ca_3a3f_4a07_4234_760efd75f698["assert_extract_candidates_contains()"] 075eca00_6cc8_bc98_2075_b8aead23f568 -->|calls| a88440ca_3a3f_4a07_4234_760efd75f698 style 075eca00_6cc8_bc98_2075_b8aead23f568 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
Source
Frequently Asked Questions
What does test_fluid_template_syntax() do?
test_fluid_template_syntax() is a function in the tailwindcss codebase.
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