diff options
author | 2019-03-20 20:39:28 -0400 | |
---|---|---|
committer | 2020-06-07 19:33:22 -0400 | |
commit | 513a5afe3a8663ad30112f7e3c0e66137938e635 (patch) | |
tree | e9ae81f529712a372bd203cb0ef2a19b9b224c95 /Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse | |
parent | Implement Containment mapping (partially) and revisit enum mapping (diff) | |
download | VIATRA-Generator-513a5afe3a8663ad30112f7e3c0e66137938e635.tar.gz VIATRA-Generator-513a5afe3a8663ad30112f7e3c0e66137938e635.tar.zst VIATRA-Generator-513a5afe3a8663ad30112f7e3c0e66137938e635.zip |
Add gitignore, commit everything
Diffstat (limited to 'Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse')
2 files changed, 2 insertions, 15 deletions
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/famPatterns.vql b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/famPatterns.vql index 1c6a545e..7e0db222 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/famPatterns.vql +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/famPatterns.vql | |||
@@ -25,7 +25,7 @@ pattern type(This : Function, Target : FunctionType) = { | |||
25 | find parent(_Child, This); | 25 | find parent(_Child, This); |
26 | Target == FunctionType::Intermediate; | 26 | Target == FunctionType::Intermediate; |
27 | } | 27 | } |
28 | 28 | */ | |
29 | pattern rootElements(Model: FunctionalArchitectureModel, Root : Function) = { | 29 | pattern rootElements(Model: FunctionalArchitectureModel, Root : Function) = { |
30 | FunctionalArchitectureModel.rootElements(Model, Root); | 30 | FunctionalArchitectureModel.rootElements(Model, Root); |
31 | } | 31 | } |
@@ -33,7 +33,7 @@ pattern rootElements(Model: FunctionalArchitectureModel, Root : Function) = { | |||
33 | pattern parent(Func : Function, Par : Function) = { | 33 | pattern parent(Func : Function, Par : Function) = { |
34 | Function.parent(Func, Par); | 34 | Function.parent(Func, Par); |
35 | } | 35 | } |
36 | 36 | /* | |
37 | @QueryBasedFeature | 37 | @QueryBasedFeature |
38 | pattern model(This:FunctionalElement, Target: FunctionalArchitectureModel) { | 38 | pattern model(This:FunctionalElement, Target: FunctionalArchitectureModel) { |
39 | FunctionalElement(This); | 39 | FunctionalElement(This); |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/famSPatterns.vql b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/famSPatterns.vql deleted file mode 100644 index 307b0f9c..00000000 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/queries/ca/mcgill/ecse/dslreasoner/standalone/test/fam/queries/famSPatterns.vql +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | package ca.mcgill.ecse.dslreasoner.standalone.test.fam.queries | ||
2 | |||
3 | //import epackage "http://www.inf.mit.bme.hu/viatrasolver/example/fam" | ||
4 | import epackage "FamMetamodel" | ||
5 | |||
6 | @Constraint(message="terminatorAndInformation", severity="error", key={T}) | ||
7 | pattern terminatorAndInformation(T : FAMTerminator, I : InformationLink) = { | ||
8 | FunctionalOutput.outgoingLinks(Out,I); | ||
9 | FunctionalOutput.terminator(Out,T); | ||
10 | } or { | ||
11 | InformationLink.to(I,In); | ||
12 | FunctionalInput.terminator(In,T); | ||
13 | } \ No newline at end of file | ||