remove unnecessary visitor function
This commit is contained in:
parent
6d0f334350
commit
122fdbbb38
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue