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 e355d6a1_b33e_c558_0948_f347b7a4fca0["advance_twice()"] 3d889371_52ae_87e1_810f_7e71098819d9["cursor.rs"] e355d6a1_b33e_c558_0948_f347b7a4fca0 -->|defined in| 3d889371_52ae_87e1_810f_7e71098819d9 style e355d6a1_b33e_c558_0948_f347b7a4fca0 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
Defined In
Source
Frequently Asked Questions
What does advance_twice() do?
advance_twice() is a function in the tailwindcss codebase, defined in crates/oxide/src/cursor.rs.
Where is advance_twice() defined?
advance_twice() is defined in crates/oxide/src/cursor.rs at line 61.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free