MCPcopy Create free account
hub / github.com/python/cpython / emit_dummy_action

Method emit_dummy_action

Tools/peg_generator/pegen/c_generator.py:778–779  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

776 self.print(f"_res = {self.local_variable_names[0]};")
777
778 def emit_dummy_action(self) -> None:
779 self.print("_res = _PyPegen_dummy_name(p);")
780
781 def handle_alt_normal(self, node: Alt, is_gather: bool, rulename: str | None) -> None:
782 self.join_conditions(keyword="if", node=node)

Callers 2

handle_alt_normalMethod · 0.95
handle_alt_loopMethod · 0.95

Calls 1

printMethod · 0.45

Tested by

no test coverage detected