Refactored parsers to introduce priority
This commit is contained in:
@@ -524,7 +524,7 @@ class ConceptMatch(Match):
|
||||
|
||||
class ConceptLexerParser(BaseParser):
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__("ConceptLexer")
|
||||
super().__init__("ConceptLexer", 50)
|
||||
if 'grammars' in kwargs:
|
||||
self.concepts_grammars = kwargs.get("grammars")
|
||||
elif 'sheerka' in kwargs:
|
||||
|
||||
Reference in New Issue
Block a user