MCPcopy Create free account
hub / github.com/EasyIME/PIME / _IntermediateControlBlock

Class _IntermediateControlBlock

python/python3/tornado/template.py:634–642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632
633
634class _IntermediateControlBlock(_Node):
635 def __init__(self, statement: str, line: int) -> None:
636 self.statement = statement
637 self.line = line
638
639 def generate(self, writer: "_CodeWriter") -> None:
640 # In case the previous block was empty
641 writer.write_line("pass", self.line)
642 writer.write_line("%s:" % self.statement, self.line, writer.indent_size() - 1)
643
644
645class _Statement(_Node):

Callers 1

_parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected