test_nested_slim_syntax() — tailwindcss Function Reference
Architecture documentation for the test_nested_slim_syntax() function in slim.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 036dcd53_1c56_496e_4452_2a314c8a511f["test_nested_slim_syntax()"] 728c6622_d993_001c_2e5b_541b85f1c521["slim.rs"] 036dcd53_1c56_496e_4452_2a314c8a511f -->|defined in| 728c6622_d993_001c_2e5b_541b85f1c521 style 036dcd53_1c56_496e_4452_2a314c8a511f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/pre_processors/slim.rs lines 193–208
fn test_nested_slim_syntax() {
let input = r#"
.text-black[
data-controller= ['foo', ('bar' if rand.positive?)].join(' ')
]
.bg-green-300
| BLACK on GREEN - OK
.bg-red-300[
data-foo= 42
]
| Should be BLACK on RED - FAIL
"#;
Slim::test_extract_contains(input, vec!["text-black", "bg-green-300", "bg-red-300"]);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does test_nested_slim_syntax() do?
test_nested_slim_syntax() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/pre_processors/slim.rs.
Where is test_nested_slim_syntax() defined?
test_nested_slim_syntax() is defined in crates/oxide/src/extractor/pre_processors/slim.rs at line 193.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free