diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/QueryLoader.xtend | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/QueryLoader.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/QueryLoader.xtend index c25bfb07..8f8348b1 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/QueryLoader.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/execution/QueryLoader.xtend | |||
@@ -21,6 +21,7 @@ import org.eclipse.viatra.query.runtime.api.IQuerySpecification | |||
21 | import org.eclipse.xtext.EcoreUtil2 | 21 | import org.eclipse.xtext.EcoreUtil2 |
22 | 22 | ||
23 | import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* | 23 | import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* |
24 | import org.eclipse.viatra.query.patternlanguage.emf.vql.PatternCall | ||
24 | 25 | ||
25 | class QueryLoader { | 26 | class QueryLoader { |
26 | //val parser = new VQLParser | 27 | //val parser = new VQLParser |
@@ -99,7 +100,7 @@ class QueryLoader { | |||
99 | .map[constraints] | 100 | .map[constraints] |
100 | .flatten | 101 | .flatten |
101 | .filter(PatternCompositionConstraint) | 102 | .filter(PatternCompositionConstraint) |
102 | .map[call.patternRef].toSet | 103 | .map[(call as PatternCall).patternRef].toSet |
103 | } | 104 | } |
104 | 105 | ||
105 | def private referredEcoreModels(Set<Pattern> patterns) { | 106 | def private referredEcoreModels(Set<Pattern> patterns) { |