Path 1: 337 calls (1.0)

Paragraph (218) EvaluationSection (107) Section (12)

1def format_children(self, layout: EvaluationSection | Paragraph | Section) -> None:
2        """Recurse on the layout children and call their accept method
3        (see the Visitor pattern).
4        """
5        for child in getattr(layout, "children", ()):
6            child.accept(self)