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

Entity Profile

Dependency Diagram

graph TD
  9c0ad347_d280_55c5_168a_ddcbd70cbd15["next()"]
  96ab391e_bd5b_ffd3_f8ec_cf3a9bd1263a["parse_property_variable()"]
  96ab391e_bd5b_ffd3_f8ec_cf3a9bd1263a -->|calls| 9c0ad347_d280_55c5_168a_ddcbd70cbd15
  d88e0eba_6413_f9ec_36aa_bf15c0c2b665["parse_string()"]
  d88e0eba_6413_f9ec_36aa_bf15c0c2b665 -->|calls| 9c0ad347_d280_55c5_168a_ddcbd70cbd15
  35b2adf8_a27b_5aee_3865_21fb048c97fb["advance()"]
  9c0ad347_d280_55c5_168a_ddcbd70cbd15 -->|calls| 35b2adf8_a27b_5aee_3865_21fb048c97fb
  96ab391e_bd5b_ffd3_f8ec_cf3a9bd1263a["parse_property_variable()"]
  9c0ad347_d280_55c5_168a_ddcbd70cbd15 -->|calls| 96ab391e_bd5b_ffd3_f8ec_cf3a9bd1263a
  d88e0eba_6413_f9ec_36aa_bf15c0c2b665["parse_string()"]
  9c0ad347_d280_55c5_168a_ddcbd70cbd15 -->|calls| d88e0eba_6413_f9ec_36aa_bf15c0c2b665
  a342bcc5_aaba_6cba_f921_8c94c0d956ac["advance_twice()"]
  9c0ad347_d280_55c5_168a_ddcbd70cbd15 -->|calls| a342bcc5_aaba_6cba_f921_8c94c0d956ac
  style 9c0ad347_d280_55c5_168a_ddcbd70cbd15 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