MCPcopy Create free account
hub / github.com/webpy/webpy / SuiteNode

Class SuiteNode

web/template.py:728–738  ·  view source on GitHub ↗

Suite is a list of sections.

Source from the content-addressed store, hash-verified

726
727
728class SuiteNode:
729 """Suite is a list of sections."""
730
731 def __init__(self, sections):
732 self.sections = sections
733
734 def emit(self, indent, text_indent=""):
735 return "\n" + "".join([s.emit(indent, text_indent) for s in self.sections])
736
737 def __repr__(self):
738 return repr(self.sections)
739
740
741STATEMENT_NODES = {

Callers 1

read_suiteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected