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

Method generate

python/python3/tornado/template.py:626–631  ·  view source on GitHub ↗
(self, writer: "_CodeWriter")

Source from the content-addressed store, hash-verified

624 return (self.body,)
625
626 def generate(self, writer: "_CodeWriter") -> None:
627 writer.write_line("%s:" % self.statement, self.line)
628 with writer.indent():
629 self.body.generate(writer)
630 # Just in case the body was empty
631 writer.write_line("pass", self.line)
632
633
634class _IntermediateControlBlock(_Node):

Callers

nothing calls this directly

Calls 3

write_lineMethod · 0.80
indentMethod · 0.80
generateMethod · 0.45

Tested by

no test coverage detected