Home / Function/ test_elixir_pre_processor() — tailwindcss Function Reference

test_elixir_pre_processor() — tailwindcss Function Reference

Architecture documentation for the test_elixir_pre_processor() function in elixir.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  6c962de0_4ac1_c64a_9603_537c6ac0fb58["test_elixir_pre_processor()"]
  49b7c9b9_4460_eeb3_7d00_eaf6ca7e963c["elixir.rs"]
  6c962de0_4ac1_c64a_9603_537c6ac0fb58 -->|defined in| 49b7c9b9_4460_eeb3_7d00_eaf6ca7e963c
  style 6c962de0_4ac1_c64a_9603_537c6ac0fb58 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/pre_processors/elixir.rs lines 73–98

    fn test_elixir_pre_processor() {
        for (input, expected) in [
            // Simple sigils
            ("~W(flex underline)", "~W flex underline "),
            ("~W[flex underline]", "~W flex underline "),
            ("~W{flex underline}", "~W flex underline "),
            // Sigils with nested brackets
            (
                "~W(text-(--my-color) bg-(--my-color))",
                "~W text-(--my-color) bg-(--my-color) ",
            ),
            ("~W[text-[red] bg-[red]]", "~W text-[red] bg-[red] "),
            // Word sigils with modifiers
            ("~W(flex underline)a", "~W flex underline a"),
            ("~W(flex underline)c", "~W flex underline c"),
            ("~W(flex underline)s", "~W flex underline s"),
            // Other sigil types
            ("~w(flex underline)", "~w flex underline "),
            ("~c(flex underline)", "~c flex underline "),
            ("~C(flex underline)", "~C flex underline "),
            ("~s(flex underline)", "~s flex underline "),
            ("~S(flex underline)", "~S flex underline "),
        ] {
            Elixir::test(input, expected);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does test_elixir_pre_processor() do?
test_elixir_pre_processor() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/pre_processors/elixir.rs.
Where is test_elixir_pre_processor() defined?
test_elixir_pre_processor() is defined in crates/oxide/src/extractor/pre_processors/elixir.rs at line 73.

Analyze Your Own Codebase

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

Try Supermodel Free