push() — tailwindcss Function Reference
Architecture documentation for the push() function in bracket_stack.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 2c3dea25_8534_307e_ed29_9da5e42908c7["push()"] 1916f555_a863_9e22_fc38_d0f5bf0b5696["process()"] 1916f555_a863_9e22_fc38_d0f5bf0b5696 -->|calls| 2c3dea25_8534_307e_ed29_9da5e42908c7 27acbaf9_c0fa_6604_691a_4e61de20fd6b["process_maud_templates()"] 27acbaf9_c0fa_6604_691a_4e61de20fd6b -->|calls| 2c3dea25_8534_307e_ed29_9da5e42908c7 style 2c3dea25_8534_307e_ed29_9da5e42908c7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/bracket_stack.rs lines 18–34
pub fn push(&mut self, bracket: u8) -> bool {
if self.bracket_stack_len >= SIZE {
return false;
}
unsafe {
*self.bracket_stack.get_unchecked_mut(self.bracket_stack_len) = match bracket {
b'(' => b')',
b'[' => b']',
b'{' => b'}',
_ => std::hint::unreachable_unchecked(),
};
}
self.bracket_stack_len += 1;
true
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does push() do?
push() is a function in the tailwindcss codebase.
What calls push()?
push() is called by 2 function(s): process, process_maud_templates.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free