-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #131 Fix the quick fix adding a template/query for collection c…
…alls.
- Loading branch information
Showing
29 changed files
with
250 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ources/resolution/importmoduleQueryCollectionCallPrivate/generated/World.txt-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
generated from import.t11(EClass) | ||
|
3 changes: 3 additions & 0 deletions
3
...cceleo.aql.tests/resources/resolution/importmoduleQueryCollectionCallPrivate/imported.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[module imported('http://www.eclipse.org/emf/2002/Ecore')/] | ||
|
||
[query private t41(param1 : OrederedSet(ecore::EObject)) : String = 'generated from imported.t41(EClass)'/] |
15 changes: 15 additions & 0 deletions
15
...lectionCallPrivate/importmoduleQueryCollectionCallPrivate-WindowsEndLine-expected-ast.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
header position 0..75 | ||
module importmoduleQueryPrivate | ||
metamodel http://www.eclipse.org/emf/2002/Ecore (34..72) | ||
imports resolution::importmoduleQueryCollectionReceiverPrivate::imported (87..151) (79..153) | ||
[comment @main (166..172) /] (157..174) | ||
|
||
public template t11(param1 : EClass (197..219)) | ||
@main | ||
[file url .add(.aqlFeatureAccess(param1, 'name'), '.txt') (232..252) mode overwrite | ||
generated from import.t11(EClass) (newLineNeeded) (271..306) | ||
[->t41(param1) (311..324)/] (newLineNeeded (310..328) (265..330) | ||
[/file] (225..337) | ||
(newLineNeeded) (337..339) (221..339) | ||
[/template] (176..350) (0..352) |
10 changes: 10 additions & 0 deletions
10
...CallPrivate/importmoduleQueryCollectionCallPrivate-WindowsEndLine-expected-quickFixes.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//@moduleElements.1/@body/@statements.0/@body/@statements.1/@expression/@aql | ||
Add template t41(Set(EClassifier=EClass)) to this module | ||
Replace file:/home/development/git/acceleo/tests/org.eclipse.acceleo.aql.tests/resources/resolution/importmoduleQueryCollectionCallPrivate/importmoduleQueryCollectionCallPrivate.mtl [352, 11, 0, 352, 11, 0] | ||
[template public t41(parameter0 : OrderedSet(ecore::EClass))] | ||
[/template] | ||
Add template t41(Set(EClassifier=EClass)) to resolution::importmoduleQueryCollectionReceiverPrivate::imported | ||
Replace file:/home/development/git/acceleo/tests/org.eclipse.acceleo.aql.tests/resources/resolution/importmoduleQueryCollectionReceiverPrivate/imported.mtl [155, 2, 94, 155, 2, 94] | ||
|
||
[template public t41(parameter0 : OrderedSet(ecore::EClass))] | ||
[/template] |
3 changes: 3 additions & 0 deletions
3
...rivate/importmoduleQueryCollectionCallPrivate-WindowsEndLine-expected-runtimeMessages.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(null 0 2) null[] | ||
(org.eclipse.acceleo.aql 0 2) AQL evaluation issue[org.eclipse.acceleo.impl.ExpressionImpl@00000000 (ast: org.eclipse.acceleo.query.parser.AstResult@00000000 [(param1, org.eclipse.emf.ecore.impl.EClassImpl@00000000 (name: World) (instanceClassName: null) (abstract: false, interface: false)), ]] | ||
(org.eclipse.acceleo.query 0 2) Couldn't find the 't41(java.util.LinkedHashSet)' service[null] |
1 change: 1 addition & 0 deletions
1
...CallPrivate/importmoduleQueryCollectionCallPrivate-WindowsEndLine-expected-validation.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ERROR Couldn't find the 't41(Set(EClassifier=EClass))' service - 317 324 |
15 changes: 15 additions & 0 deletions
15
...tmoduleQueryCollectionCallPrivate/importmoduleQueryCollectionCallPrivate-expected-ast.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
header position 0..75 | ||
module importmoduleQueryPrivate | ||
metamodel http://www.eclipse.org/emf/2002/Ecore (34..72) | ||
imports resolution::importmoduleQueryCollectionReceiverPrivate::imported (85..149) (77..151) | ||
[comment @main (162..168) /] (153..170) | ||
|
||
public template t11(param1 : EClass (192..214)) | ||
@main | ||
[file url .add(.aqlFeatureAccess(param1, 'name'), '.txt') (226..246) mode overwrite | ||
generated from import.t11(EClass) (newLineNeeded) (264..298) | ||
[->t41(param1) (303..316)/] (newLineNeeded (302..319) (259..321) | ||
[/file] (219..328) | ||
(newLineNeeded) (328..329) (216..329) | ||
[/template] (171..340) (0..341) |
10 changes: 10 additions & 0 deletions
10
...QueryCollectionCallPrivate/importmoduleQueryCollectionCallPrivate-expected-quickFixes.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//@moduleElements.1/@body/@statements.0/@body/@statements.1/@expression/@aql | ||
Add template t41(Set(EClassifier=EClass)) to this module | ||
Replace file:/home/development/git/acceleo/tests/org.eclipse.acceleo.aql.tests/resources/resolution/importmoduleQueryCollectionCallPrivate/importmoduleQueryCollectionCallPrivate.mtl [341, 11, 0, 341, 11, 0] | ||
[template public t41(parameter0 : OrderedSet(ecore::EClass))] | ||
[/template] | ||
Add template t41(Set(EClassifier=EClass)) to resolution::importmoduleQueryCollectionReceiverPrivate::imported | ||
Replace file:/home/development/git/acceleo/tests/org.eclipse.acceleo.aql.tests/resources/resolution/importmoduleQueryCollectionReceiverPrivate/imported.mtl [155, 2, 94, 155, 2, 94] | ||
|
||
[template public t41(parameter0 : OrderedSet(ecore::EClass))] | ||
[/template] |
3 changes: 3 additions & 0 deletions
3
...CollectionCallPrivate/importmoduleQueryCollectionCallPrivate-expected-runtimeMessages.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(null 0 2) null[] | ||
(org.eclipse.acceleo.aql 0 2) AQL evaluation issue[org.eclipse.acceleo.impl.ExpressionImpl@00000000 (ast: org.eclipse.acceleo.query.parser.AstResult@00000000 [(param1, org.eclipse.emf.ecore.impl.EClassImpl@00000000 (name: World) (instanceClassName: null) (abstract: false, interface: false)), ]] | ||
(org.eclipse.acceleo.query 0 2) Couldn't find the 't41(java.util.LinkedHashSet)' service[null] |
1 change: 1 addition & 0 deletions
1
...QueryCollectionCallPrivate/importmoduleQueryCollectionCallPrivate-expected-validation.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ERROR Couldn't find the 't41(Set(EClassifier=EClass))' service - 309 316 |
11 changes: 11 additions & 0 deletions
11
...olution/importmoduleQueryCollectionCallPrivate/importmoduleQueryCollectionCallPrivate.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[module importmoduleQueryPrivate('http://www.eclipse.org/emf/2002/Ecore')/] | ||
|
||
[import resolution::importmoduleQueryCollectionReceiverPrivate::imported/] | ||
|
||
[comment @main /] | ||
[template public t11(param1 : ecore::EClass)] | ||
[file (param1.name + '.txt', overwrite)] | ||
generated from import.t11(EClass) | ||
[param1->t41()/] | ||
[/file] | ||
[/template] |
13 changes: 13 additions & 0 deletions
13
...olution/importmoduleQueryCollectionCallPrivate/importmoduleQueryCollectionCallPrivate.xmi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ecore:EPackage | ||
xmi:version="2.0" | ||
xmlns:xmi="http://www.omg.org/XMI" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" | ||
name="anydsl" | ||
nsURI="http://www.eclipse.org/acceleo/anydsl" | ||
nsPrefix="anydsl"> | ||
<eClassifiers | ||
xsi:type="ecore:EClass" | ||
name="World"/> | ||
</ecore:EPackage> |
2 changes: 2 additions & 0 deletions
2
...es/resolution/importmoduleQueryCollectionReceiverPrivate/generated/World.txt-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
generated from import.t11(EClass) | ||
|
3 changes: 3 additions & 0 deletions
3
...eo.aql.tests/resources/resolution/importmoduleQueryCollectionReceiverPrivate/imported.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[module imported('http://www.eclipse.org/emf/2002/Ecore')/] | ||
|
||
[query private t41(param1 : ecore::EObject) : String = 'generated from imported.t41(EClass)'/] |
15 changes: 15 additions & 0 deletions
15
...eceiverPrivate/importmoduleQueryCollectionReceiverPrivate-WindowsEndLine-expected-ast.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
header position 0..75 | ||
module importmoduleQueryPrivate | ||
metamodel http://www.eclipse.org/emf/2002/Ecore (34..72) | ||
imports resolution::importmoduleQueryCollectionReceiverPrivate::imported (87..151) (79..153) | ||
[comment @main (166..172) /] (157..174) | ||
|
||
public template t11(param1 : EClass (197..219)) | ||
@main | ||
[file url .add(.aqlFeatureAccess(param1, 'name'), '.txt') (232..252) mode overwrite | ||
generated from import.t11(EClass) (newLineNeeded) (271..306) | ||
[.t41(Sequence{param1, }) (311..333)/] (newLineNeeded (310..337) (265..339) | ||
[/file] (225..346) | ||
(newLineNeeded) (346..348) (221..348) | ||
[/template] (176..359) (0..361) |
10 changes: 10 additions & 0 deletions
10
...Private/importmoduleQueryCollectionReceiverPrivate-WindowsEndLine-expected-quickFixes.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//@moduleElements.1/@body/@statements.0/@body/@statements.1/@expression/@aql | ||
Add template t41(EClassifier=EClass) to this module | ||
Replace file:/home/development/git/acceleo/tests/org.eclipse.acceleo.aql.tests/resources/resolution/importmoduleQueryCollectionReceiverPrivate/importmoduleQueryCollectionReceiverPrivate.mtl [361, 11, 0, 361, 11, 0] | ||
[template public t41(parameter0 : ecore::EClass)] | ||
[/template] | ||
Add template t41(EClassifier=EClass) to resolution::importmoduleQueryCollectionReceiverPrivate::imported | ||
Replace file:/home/development/git/acceleo/tests/org.eclipse.acceleo.aql.tests/resources/resolution/importmoduleQueryCollectionReceiverPrivate/imported.mtl [155, 2, 94, 155, 2, 94] | ||
|
||
[template public t41(parameter0 : ecore::EClass)] | ||
[/template] |
3 changes: 3 additions & 0 deletions
3
...te/importmoduleQueryCollectionReceiverPrivate-WindowsEndLine-expected-runtimeMessages.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(null 0 2) null[] | ||
(org.eclipse.acceleo.aql 0 2) AQL evaluation issue[org.eclipse.acceleo.impl.ExpressionImpl@00000000 (ast: org.eclipse.acceleo.query.parser.AstResult@00000000 [(param1, org.eclipse.emf.ecore.impl.EClassImpl@00000000 (name: World) (instanceClassName: null) (abstract: false, interface: false)), ]] | ||
(org.eclipse.acceleo.query 0 2) Couldn't find the 't41(EClassifier=EClass)' service[null] |
1 change: 1 addition & 0 deletions
1
...Private/importmoduleQueryCollectionReceiverPrivate-WindowsEndLine-expected-validation.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ERROR Couldn't find the 't41(EClassifier=EClass)' service - 327 333 |
15 changes: 15 additions & 0 deletions
15
...ueryCollectionReceiverPrivate/importmoduleQueryCollectionReceiverPrivate-expected-ast.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
header position 0..75 | ||
module importmoduleQueryPrivate | ||
metamodel http://www.eclipse.org/emf/2002/Ecore (34..72) | ||
imports resolution::importmoduleQueryCollectionReceiverPrivate::imported (85..149) (77..151) | ||
[comment @main (162..168) /] (153..170) | ||
|
||
public template t11(param1 : EClass (192..214)) | ||
@main | ||
[file url .add(.aqlFeatureAccess(param1, 'name'), '.txt') (226..246) mode overwrite | ||
generated from import.t11(EClass) (newLineNeeded) (264..298) | ||
[.t41(Sequence{param1, }) (303..325)/] (newLineNeeded (302..328) (259..330) | ||
[/file] (219..337) | ||
(newLineNeeded) (337..338) (216..338) | ||
[/template] (171..349) (0..350) |
10 changes: 10 additions & 0 deletions
10
...lectionReceiverPrivate/importmoduleQueryCollectionReceiverPrivate-expected-quickFixes.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//@moduleElements.1/@body/@statements.0/@body/@statements.1/@expression/@aql | ||
Add template t41(EClassifier=EClass) to this module | ||
Replace file:/home/development/git/acceleo/tests/org.eclipse.acceleo.aql.tests/resources/resolution/importmoduleQueryCollectionReceiverPrivate/importmoduleQueryCollectionReceiverPrivate.mtl [350, 11, 0, 350, 11, 0] | ||
[template public t41(parameter0 : ecore::EClass)] | ||
[/template] | ||
Add template t41(EClassifier=EClass) to resolution::importmoduleQueryCollectionReceiverPrivate::imported | ||
Replace file:/home/development/git/acceleo/tests/org.eclipse.acceleo.aql.tests/resources/resolution/importmoduleQueryCollectionReceiverPrivate/imported.mtl [155, 2, 94, 155, 2, 94] | ||
|
||
[template public t41(parameter0 : ecore::EClass)] | ||
[/template] |
3 changes: 3 additions & 0 deletions
3
...onReceiverPrivate/importmoduleQueryCollectionReceiverPrivate-expected-runtimeMessages.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(null 0 2) null[] | ||
(org.eclipse.acceleo.aql 0 2) AQL evaluation issue[org.eclipse.acceleo.impl.ExpressionImpl@00000000 (ast: org.eclipse.acceleo.query.parser.AstResult@00000000 [(param1, org.eclipse.emf.ecore.impl.EClassImpl@00000000 (name: World) (instanceClassName: null) (abstract: false, interface: false)), ]] | ||
(org.eclipse.acceleo.query 0 2) Couldn't find the 't41(EClassifier=EClass)' service[null] |
1 change: 1 addition & 0 deletions
1
...lectionReceiverPrivate/importmoduleQueryCollectionReceiverPrivate-expected-validation.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ERROR Couldn't find the 't41(EClassifier=EClass)' service - 319 325 |
11 changes: 11 additions & 0 deletions
11
...importmoduleQueryCollectionReceiverPrivate/importmoduleQueryCollectionReceiverPrivate.mtl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[module importmoduleQueryPrivate('http://www.eclipse.org/emf/2002/Ecore')/] | ||
|
||
[import resolution::importmoduleQueryCollectionReceiverPrivate::imported/] | ||
|
||
[comment @main /] | ||
[template public t11(param1 : ecore::EClass)] | ||
[file (param1.name + '.txt', overwrite)] | ||
generated from import.t11(EClass) | ||
[Sequence{param1}.t41()/] | ||
[/file] | ||
[/template] |
13 changes: 13 additions & 0 deletions
13
...importmoduleQueryCollectionReceiverPrivate/importmoduleQueryCollectionReceiverPrivate.xmi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ecore:EPackage | ||
xmi:version="2.0" | ||
xmlns:xmi="http://www.omg.org/XMI" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" | ||
name="anydsl" | ||
nsURI="http://www.eclipse.org/acceleo/anydsl" | ||
nsPrefix="anydsl"> | ||
<eClassifiers | ||
xsi:type="ecore:EClass" | ||
name="World"/> | ||
</ecore:EPackage> |
3 changes: 3 additions & 0 deletions
3
...serialization/resolution/importmoduleQueryCollectionCallPrivate/imported.mtl-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[module imported('http://www.eclipse.org/emf/2002/Ecore')/] | ||
|
||
[query private t41(param1 : null::null) : ecore::EObject = /] |
11 changes: 11 additions & 0 deletions
11
...tmoduleQueryCollectionCallPrivate/importmoduleQueryCollectionCallPrivate.mtl-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[module importmoduleQueryPrivate('http://www.eclipse.org/emf/2002/Ecore')/] | ||
|
||
[import resolution::importmoduleQueryCollectionReceiverPrivate::imported/] | ||
|
||
[comment @main /] | ||
[template public t11(param1 : ecore::EClass)] | ||
[file (param1.name + '.txt', overwrite)] | ||
generated from import.t11(EClass) | ||
[param1->t41()/] | ||
[/file] | ||
[/template] |
3 changes: 3 additions & 0 deletions
3
...alization/resolution/importmoduleQueryCollectionReceiverPrivate/imported.mtl-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[module imported('http://www.eclipse.org/emf/2002/Ecore')/] | ||
|
||
[query private t41(param1 : ecore::EObject) : String = 'generated from imported.t41(EClass)'/] |
11 changes: 11 additions & 0 deletions
11
...ueryCollectionReceiverPrivate/importmoduleQueryCollectionReceiverPrivate.mtl-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[module importmoduleQueryPrivate('http://www.eclipse.org/emf/2002/Ecore')/] | ||
|
||
[import resolution::importmoduleQueryCollectionReceiverPrivate::imported/] | ||
|
||
[comment @main /] | ||
[template public t11(param1 : ecore::EClass)] | ||
[file (param1.name + '.txt', overwrite)] | ||
generated from import.t11(EClass) | ||
[Sequence{param1}.t41()/] | ||
[/file] | ||
[/template] |