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 OxideCore Extractor calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  305b43d8_7827_fde5_2227_55329fd0ad2f["parse_arbitrary_end()"]
  d8a45e05_0e02_9a6d_ad28_ab8a030be141["next()"]
  d8a45e05_0e02_9a6d_ad28_ab8a030be141 -->|calls| 305b43d8_7827_fde5_2227_55329fd0ad2f
  35b2adf8_a27b_5aee_3865_21fb048c97fb["advance()"]
  305b43d8_7827_fde5_2227_55329fd0ad2f -->|calls| 35b2adf8_a27b_5aee_3865_21fb048c97fb
  style 305b43d8_7827_fde5_2227_55329fd0ad2f 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