Home / Function/ next() — tailwindcss Function Reference

next() — tailwindcss Function Reference

Architecture documentation for the next() function in arbitrary_property_machine.rs from the tailwindcss codebase.

Function rust RustCore MachineExtractor calls 4 called by 2

Entity Profile

Dependency Diagram

graph TD
  c99f4d14_b1af_aab1_fe10_454e81d22ef3["next()"]
  29a7a051_ba4a_e033_78ab_d2c261b4cdcd["parse_property_variable()"]
  29a7a051_ba4a_e033_78ab_d2c261b4cdcd -->|calls| c99f4d14_b1af_aab1_fe10_454e81d22ef3
  1c70cd4c_b6e5_df37_0973_3676aae3c1fb["parse_string()"]
  1c70cd4c_b6e5_df37_0973_3676aae3c1fb -->|calls| c99f4d14_b1af_aab1_fe10_454e81d22ef3
  435a321a_a1e2_cb4f_7579_0ca15cb86434["advance()"]
  c99f4d14_b1af_aab1_fe10_454e81d22ef3 -->|calls| 435a321a_a1e2_cb4f_7579_0ca15cb86434
  29a7a051_ba4a_e033_78ab_d2c261b4cdcd["parse_property_variable()"]
  c99f4d14_b1af_aab1_fe10_454e81d22ef3 -->|calls| 29a7a051_ba4a_e033_78ab_d2c261b4cdcd
  1c70cd4c_b6e5_df37_0973_3676aae3c1fb["parse_string()"]
  c99f4d14_b1af_aab1_fe10_454e81d22ef3 -->|calls| 1c70cd4c_b6e5_df37_0973_3676aae3c1fb
  07207bb0_f195_4067_2024_eb12d4800851["advance_twice()"]
  c99f4d14_b1af_aab1_fe10_454e81d22ef3 -->|calls| 07207bb0_f195_4067_2024_eb12d4800851
  style c99f4d14_b1af_aab1_fe10_454e81d22ef3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/arbitrary_property_machine.rs lines 76–88

    fn next(&mut self, cursor: &mut cursor::Cursor<'_>) -> MachineState {
        match cursor.curr.into() {
            // Start of an arbitrary property
            Class::OpenBracket => {
                self.start_pos = cursor.pos;
                cursor.advance();
                self.transition::<ParsingPropertyState>().next(cursor)
            }

            // Anything else is not a valid start of an arbitrary value
            _ => MachineState::Idle,
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does next() do?
next() is a function in the tailwindcss codebase.
What does next() call?
next() calls 4 function(s): advance, advance_twice, parse_property_variable, parse_string.
What calls next()?
next() is called by 2 function(s): parse_property_variable, parse_string.

Analyze Your Own Codebase

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

Try Supermodel Free