MCPcopy Create free account
hub / github.com/congo-cc/congo-parser-generator / clear_node_scope

Method clear_node_scope

examples/rust/testfiles/ast.rs:1033–1037  ·  view source on GitHub ↗

Clears all nodes from the current scope and pops it. Used on the error path: discards all nodes that were pushed during the failed production and removes the scope entry so the scope stack stays balanced.

(&mut self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

parse_rootMethod · 0.80
parse_blockMethod · 0.80
parse_statementMethod · 0.80
parse_assignmentMethod · 0.80
parse_doblockMethod · 0.80
parse_gotostatementMethod · 0.80
parse_forstatementMethod · 0.80
parse_ifstatementMethod · 0.80
parse_repeatstatementMethod · 0.80

Calls 2

truncateMethod · 0.80
popMethod · 0.45

Tested by

no test coverage detected