MCPcopy Index your code
hub / github.com/python/mypy / visit_goto

Method visit_goto

mypyc/codegen/emitfunc.py:224–226  ·  view source on GitHub ↗
(self, op: Goto)

Source from the content-addressed store, hash-verified

222 return self.emitter.temp_name()
223
224 def visit_goto(self, op: Goto) -> None:
225 if op.label is not self.next_block:
226 self.emit_line("goto %s;" % self.label(op.label))
227
228 def error_value_check(self, value: Value, compare: str) -> str:
229 typ = value.type

Callers

nothing calls this directly

Calls 2

emit_lineMethod · 0.95
labelMethod · 0.95

Tested by

no test coverage detected