MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / enter_block

Method enter_block

compiler/src/modules/parser/mod.rs:189–194  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

187
188impl<'src, I: Iterator<Item = Token>> Parser<'src, I> {
189 pub(super) fn enter_block(&mut self) {
190 self.join_stack.push(JoinNode {
191 backup: self.ssa_versions.clone(),
192 then: None,
193 });
194 }
195
196 pub(super) fn mid_block(&mut self) {
197 let Some(j) = self.join_stack.last_mut() else { return };

Callers 4

if_stmtMethod · 0.80
while_stmtMethod · 0.80
for_stmt_innerMethod · 0.80
try_stmtMethod · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected