Working on #48 : Fixed first version of ExpressionParser.py
This commit is contained in:
@@ -13,6 +13,9 @@ class ErrorSink:
|
||||
def __init__(self):
|
||||
self.sink = []
|
||||
|
||||
def __repr__(self):
|
||||
return f"Errors({self.sink})"
|
||||
|
||||
def add_error(self, error):
|
||||
self.sink.append(error)
|
||||
|
||||
@@ -258,4 +261,3 @@ class BaseParserInputParser(BaseParser):
|
||||
by_ids.add(c.id)
|
||||
|
||||
return list_a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user