(self, node, dep)
| 232 | ) |
| 233 | |
| 234 | def printTree(self, node, dep): |
| 235 | pStr = "" |
| 236 | for i in xrange(dep): |
| 237 | pStr += "\t" |
| 238 | |
| 239 | if node.token == "": |
| 240 | pStr += "Root" |
| 241 | else: |
| 242 | pStr += node.token |
| 243 | if node.logClust is not None: |
| 244 | pStr += "-->" + " ".join(node.logClust.logTemplate) |
| 245 | print(pStr + " (" + str(node.templateNo) + ")") |
| 246 | |
| 247 | for child in node.childD: |
| 248 | self.printTree(node.childD[child], dep + 1) |
| 249 | |
| 250 | def parse(self, logname): |
| 251 | starttime = datetime.now() |
nothing calls this directly
no outgoing calls
no test coverage detected