Renamed ConceptMatch into ConceptExpression and added unit tests

This commit is contained in:
2020-01-15 19:44:32 +01:00
parent 8152f82c6b
commit 3789ef25d1
12 changed files with 109 additions and 88 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class ConceptOrRuleNameVisitor(ParsingExpressionVisitor):
def __init__(self):
self.names = set()
def visit_ConceptMatch(self, node):
def visit_ConceptExpression(self, node):
if node.rule_name:
self.names.add(node.rule_name)
elif isinstance(node.concept, Concept):