remove unnecessary visitor function

This commit is contained in:
Trolli Schmittlauch 2017-06-26 16:36:38 +02:00
parent 6d0f334350
commit 122fdbbb38

View file

@ -26,10 +26,6 @@ class JobShop1Visitor(JobShopVisitor):
print("skip_preface\nchildren:", children) print("skip_preface\nchildren:", children)
return list(filter(lambda x: type(x) is list, children))[0] 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 # ignore eol nodes
def visit_eol(self, node:arpeggio.ParseTreeNode, children: arpeggio.SemanticActionResults) -> None: def visit_eol(self, node:arpeggio.ParseTreeNode, children: arpeggio.SemanticActionResults) -> None:
return None return None