MCPcopy Create free account
hub / github.com/tailwindlabs/tailwindcss / pop

Method pop

crates/oxide/src/extractor/bracket_stack.rs:37–50  ·  view source on GitHub ↗
(&mut self, bracket: u8)

Source from the content-addressed store, hash-verified

35
36 #[inline(always)]
37 pub fn pop(&mut self, bracket: u8) -> bool {
38 if self.bracket_stack_len == 0 {
39 return false;
40 }
41
42 self.bracket_stack_len -= 1;
43 unsafe {
44 if *self.bracket_stack.get_unchecked(self.bracket_stack_len) != bracket {
45 return false;
46 }
47 }
48
49 true
50 }
51
52 #[inline(always)]
53 pub fn reset(&mut self) {

Callers 15

endMethod · 0.45
reportMethod · 0.45
normalizePathBaseFunction · 0.45
parseFunction · 0.45
resolveValueFunctionFunction · 0.45
parentFunction · 0.45
optimizeAstFunction · 0.45
parseFunction · 0.45
parseCandidateFunction · 0.45
collapseCandidatesFunction · 0.45
parseFunction · 0.45

Calls

no outgoing calls

Tested by 1

migrateFunction · 0.36