From 122fdbbb384a7e439377a4745bae2f55017ae355 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Mon, 26 Jun 2017 16:36:38 +0200 Subject: [PATCH] remove unnecessary visitor function --- src/JobShopParser/jobshop1_parser.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/JobShopParser/jobshop1_parser.py b/src/JobShopParser/jobshop1_parser.py index 594e535..0d80899 100644 --- a/src/JobShopParser/jobshop1_parser.py +++ b/src/JobShopParser/jobshop1_parser.py @@ -26,10 +26,6 @@ class JobShop1Visitor(JobShopVisitor): print("skip_preface\nchildren:", children) return list(filter(lambda x: type(x) is list, children))[0] - def visit_job_shop1(self, node: arpeggio.ParseTreeNode, children: arpeggio.SemanticActionResults) -> List[JobShopProblem]: - if self.debug: - print("job_shop1\nchildren:", children) - # ignore eol nodes def visit_eol(self, node:arpeggio.ParseTreeNode, children: arpeggio.SemanticActionResults) -> None: return None