Home / Function/ advance_twice() — tailwindcss Function Reference

advance_twice() — tailwindcss Function Reference

Architecture documentation for the advance_twice() function in cursor.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  07207bb0_f195_4067_2024_eb12d4800851["advance_twice()"]
  29a7a051_ba4a_e033_78ab_d2c261b4cdcd["parse_property_variable()"]
  29a7a051_ba4a_e033_78ab_d2c261b4cdcd -->|calls| 07207bb0_f195_4067_2024_eb12d4800851
  c99f4d14_b1af_aab1_fe10_454e81d22ef3["next()"]
  c99f4d14_b1af_aab1_fe10_454e81d22ef3 -->|calls| 07207bb0_f195_4067_2024_eb12d4800851
  6777d995_aaad_5fb2_8029_e7560441e0a3["next()"]
  6777d995_aaad_5fb2_8029_e7560441e0a3 -->|calls| 07207bb0_f195_4067_2024_eb12d4800851
  6e555fdd_6567_3e2e_cd71_90e2b29e480c["next()"]
  6e555fdd_6567_3e2e_cd71_90e2b29e480c -->|calls| 07207bb0_f195_4067_2024_eb12d4800851
  f370f0b7_18ea_89c6_58ab_a689cbf857db["next()"]
  f370f0b7_18ea_89c6_58ab_a689cbf857db -->|calls| 07207bb0_f195_4067_2024_eb12d4800851
  5a027b49_30e5_8153_230e_0018cf161193["process()"]
  5a027b49_30e5_8153_230e_0018cf161193 -->|calls| 07207bb0_f195_4067_2024_eb12d4800851
  02ae3fa0_054b_cd63_1b1e_fc1cea727265["process()"]
  02ae3fa0_054b_cd63_1b1e_fc1cea727265 -->|calls| 07207bb0_f195_4067_2024_eb12d4800851
  df07b2ab_5c7f_0413_879f_f42437b5101e["process()"]
  df07b2ab_5c7f_0413_879f_f42437b5101e -->|calls| 07207bb0_f195_4067_2024_eb12d4800851
  ffc5693d_f72e_53c2_3a9f_e796ab1c4070["skip_indented_block()"]
  ffc5693d_f72e_53c2_3a9f_e796ab1c4070 -->|calls| 07207bb0_f195_4067_2024_eb12d4800851
  85c8911d_9b59_d243_b448_f837f302aacf["process()"]
  85c8911d_9b59_d243_b448_f837f302aacf -->|calls| 07207bb0_f195_4067_2024_eb12d4800851
  1916f555_a863_9e22_fc38_d0f5bf0b5696["process()"]
  1916f555_a863_9e22_fc38_d0f5bf0b5696 -->|calls| 07207bb0_f195_4067_2024_eb12d4800851
  style 07207bb0_f195_4067_2024_eb12d4800851 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/cursor.rs lines 61–70

    pub fn advance_twice(&mut self) {
        self.pos += 2;

        self.prev = self.next;
        self.curr = *self.input.get(self.pos).unwrap_or(&0x00u8);
        self.next = *self
            .input
            .get(self.pos.saturating_add(1))
            .unwrap_or(&0x00u8);
    }

Domain

Subdomains

Frequently Asked Questions

What does advance_twice() do?
advance_twice() is a function in the tailwindcss codebase.
What calls advance_twice()?
advance_twice() is called by 11 function(s): next, next, next, next, parse_property_variable, process, process, process, and 3 more.

Analyze Your Own Codebase

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

Try Supermodel Free