Home / Function/ simple() — tailwindcss Function Reference

simple() — tailwindcss Function Reference

Architecture documentation for the simple() function in overrides.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  0a0ea79b_159e_2a53_f203_e5794b43676a["simple()"]
  a5cba1a8_a3c5_ad4e_86ce_19011ecc045b["ov()"]
  0a0ea79b_159e_2a53_f203_e5794b43676a -->|calls| a5cba1a8_a3c5_ad4e_86ce_19011ecc045b
  db737829_f91d_719c_4c7f_a4130e5a1912["matched()"]
  0a0ea79b_159e_2a53_f203_e5794b43676a -->|calls| db737829_f91d_719c_4c7f_a4130e5a1912
  style 0a0ea79b_159e_2a53_f203_e5794b43676a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/overrides.rs lines 202–210

    fn simple() {
        let ov = ov(&["*.foo", "!*.bar"]);
        assert!(ov.matched("a.foo", false).is_whitelist());
        assert!(ov.matched("a.foo", true).is_whitelist());
        assert!(ov.matched("a.rs", false).is_ignore());
        assert!(ov.matched("a.rs", true).is_none());
        assert!(ov.matched("a.bar", false).is_ignore());
        assert!(ov.matched("a.bar", true).is_ignore());
    }

Subdomains

Frequently Asked Questions

What does simple() do?
simple() is a function in the tailwindcss codebase.
What does simple() call?
simple() calls 2 function(s): matched, ov.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free