Home / Function/ parse_arbitrary_end() — tailwindcss Function Reference

parse_arbitrary_end() — tailwindcss Function Reference

Architecture documentation for the parse_arbitrary_end() function in variant_machine.rs from the tailwindcss codebase.

Function rust RustCore MachineExtractor calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  f996f6d3_3507_8884_d2d3_a1ee00e178ce["parse_arbitrary_end()"]
  4b8c6b98_c3e7_04f1_778f_acd7366c04ac["next()"]
  4b8c6b98_c3e7_04f1_778f_acd7366c04ac -->|calls| f996f6d3_3507_8884_d2d3_a1ee00e178ce
  435a321a_a1e2_cb4f_7579_0ca15cb86434["advance()"]
  f996f6d3_3507_8884_d2d3_a1ee00e178ce -->|calls| 435a321a_a1e2_cb4f_7579_0ca15cb86434
  style f996f6d3_3507_8884_d2d3_a1ee00e178ce fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/variant_machine.rs lines 46–64

    fn parse_arbitrary_end(
        &mut self,
        start_pos: usize,
        cursor: &mut cursor::Cursor<'_>,
    ) -> MachineState {
        match cursor.next.into() {
            // End of an arbitrary value, must be followed by a `:`
            //
            // E.g.: `[&:hover]:`
            //                 ^
            Class::Colon => {
                cursor.advance();
                self.done(start_pos, cursor)
            }

            // Everything else is invalid
            _ => self.restart(),
        }
    }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does parse_arbitrary_end() do?
parse_arbitrary_end() is a function in the tailwindcss codebase.
What does parse_arbitrary_end() call?
parse_arbitrary_end() calls 1 function(s): advance.
What calls parse_arbitrary_end()?
parse_arbitrary_end() is called by 1 function(s): next.

Analyze Your Own Codebase

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

Try Supermodel Free