Searched refs:visitor (Results 1 – 2 of 2) sorted by relevance
53 def accept(self, visitor): argument54 visitor.visitDocument(self)56 element.accept(visitor) 57 visitor.leaveDocument(self)80 def accept(self, visitor): argument82 visitor.visitSection(self)84 element.accept(visitor) 86 element.accept(visitor) 87 visitor.leaveSection(self) 114 def accept(self, visitor): argument[all …]
336 A Runner is just an implementation of the visitor pattern. A runner is applied to the tree of tests.