MCPcopy Create free account
hub / github.com/astral-sh/ruff / push

Method push

crates/ruff_python_parser/src/parser/scratch_buffer.rs:24–26  ·  view source on GitHub ↗
(&mut self, value: T)

Source from the content-addressed store, hash-verified

22
23 #[inline]
24 pub(super) fn push(&mut self, value: T) {
25 self.buffer.push(value);
26 }
27
28 #[inline]
29 pub(super) fn is_empty(&self, snapshot: &ScratchSnapshot) -> bool {

Callers 15

push_errorMethod · 0.45
lexFunction · 0.45
test_non_ascii_name_flagFunction · 0.45
parse_cells_uncheckedFunction · 0.45
parse_bytesMethod · 0.45
parse_stringMethod · 0.45
visit_exprMethod · 0.45
bumpMethod · 0.45
do_bumpMethod · 0.45
parse_argumentsMethod · 0.45

Calls

no outgoing calls