File tree Expand file tree Collapse file tree 10 files changed +47
-20
lines changed
src/main/java/nl/utwente/groove/grammar Expand file tree Collapse file tree 10 files changed +47
-20
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
2
<gxl xmlns =" http://www.gupro.de/GXL/gxl-1.0.dtd" >
3
- <graph edgemode =" directed" edgeids =" false" role =" rule" id =" a" >
3
+ <graph role =" rule" edgeids =" false" edgemode =" directed" id =" a" >
4
+ <attr name =" actionRole" >
5
+ <string >transformer</string >
6
+ </attr >
4
7
<attr name =" $version" >
5
8
<string >curly</string >
6
9
</attr >
9
12
<string >125 59 19 19</string >
10
13
</attr >
11
14
</node >
12
- <edge to =" n0" from =" n0" >
15
+ <edge from =" n0" to =" n0" >
13
16
<attr name =" label" >
14
17
<string >par:</string >
15
18
</attr >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
2
<gxl xmlns =" http://www.gupro.de/GXL/gxl-1.0.dtd" >
3
- <graph edgemode =" directed" edgeids =" false" role =" rule" id =" b" >
3
+ <graph role =" rule" edgeids =" false" edgemode =" directed" id =" b" >
4
+ <attr name =" actionRole" >
5
+ <string >transformer</string >
6
+ </attr >
4
7
<attr name =" $version" >
5
8
<string >curly</string >
6
9
</attr >
9
12
<string >85 82 19 19</string >
10
13
</attr >
11
14
</node >
12
- <edge to =" n0" from =" n0" >
15
+ <edge from =" n0" to =" n0" >
13
16
<attr name =" label" >
14
17
<string >par:</string >
15
18
</attr >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
2
<gxl xmlns =" http://www.gupro.de/GXL/gxl-1.0.dtd" >
3
- <graph edgemode =" directed" edgeids =" false" role =" rule" id =" c" >
3
+ <graph role =" rule" edgeids =" false" edgemode =" directed" id =" c" >
4
+ <attr name =" actionRole" >
5
+ <string >transformer</string >
6
+ </attr >
4
7
<attr name =" $version" >
5
8
<string >curly</string >
6
9
</attr >
9
12
<string >135 89 19 19</string >
10
13
</attr >
11
14
</node >
12
- <edge to =" n0" from =" n0" >
15
+ <edge from =" n0" to =" n0" >
13
16
<attr name =" label" >
14
17
<string >par:</string >
15
18
</attr >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
2
<gxl xmlns =" http://www.gupro.de/GXL/gxl-1.0.dtd" >
3
- <graph edgemode =" directed" edgeids =" false" role =" rule" id =" d" >
3
+ <graph role =" rule" edgeids =" false" edgemode =" directed" id =" d" >
4
+ <attr name =" actionRole" >
5
+ <string >transformer</string >
6
+ </attr >
4
7
<attr name =" $version" >
5
8
<string >curly</string >
6
9
</attr >
9
12
<string >148 88 19 19</string >
10
13
</attr >
11
14
</node >
12
- <edge to =" n0" from =" n0" >
15
+ <edge from =" n0" to =" n0" >
13
16
<attr name =" label" >
14
17
<string >par:</string >
15
18
</attr >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
2
<gxl xmlns =" http://www.gupro.de/GXL/gxl-1.0.dtd" >
3
- <graph edgemode =" directed" edgeids =" false" role =" rule" id =" a" >
3
+ <graph role =" rule" edgeids =" false" edgemode =" directed" id =" a" >
4
+ <attr name =" actionRole" >
5
+ <string >transformer</string >
6
+ </attr >
4
7
<attr name =" $version" >
5
8
<string >curly</string >
6
9
</attr >
9
12
<string >97 60 19 19</string >
10
13
</attr >
11
14
</node >
12
- <edge to =" n0" from =" n0" >
15
+ <edge from =" n0" to =" n0" >
13
16
<attr name =" label" >
14
17
<string >par:</string >
15
18
</attr >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
2
<gxl xmlns =" http://www.gupro.de/GXL/gxl-1.0.dtd" >
3
- <graph edgemode =" directed" edgeids =" false" role =" rule" id =" b" >
3
+ <graph role =" rule" edgeids =" false" edgemode =" directed" id =" b" >
4
+ <attr name =" actionRole" >
5
+ <string >transformer</string >
6
+ </attr >
4
7
<attr name =" $version" >
5
8
<string >curly</string >
6
9
</attr >
9
12
<string >90 53 19 19</string >
10
13
</attr >
11
14
</node >
12
- <edge to =" n0" from =" n0" >
15
+ <edge from =" n0" to =" n0" >
13
16
<attr name =" label" >
14
17
<string >par:</string >
15
18
</attr >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
2
<gxl xmlns =" http://www.gupro.de/GXL/gxl-1.0.dtd" >
3
- <graph edgemode =" directed" edgeids =" false" role =" rule" id =" c" >
3
+ <graph role =" rule" edgeids =" false" edgemode =" directed" id =" c" >
4
+ <attr name =" actionRole" >
5
+ <string >transformer</string >
6
+ </attr >
4
7
<attr name =" $version" >
5
8
<string >curly</string >
6
9
</attr >
9
12
<string >117 79 19 19</string >
10
13
</attr >
11
14
</node >
12
- <edge to =" n0" from =" n0" >
15
+ <edge from =" n0" to =" n0" >
13
16
<attr name =" label" >
14
17
<string >par:</string >
15
18
</attr >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
2
<gxl xmlns =" http://www.gupro.de/GXL/gxl-1.0.dtd" >
3
- <graph edgemode =" directed" edgeids =" false" role =" rule" id =" d" >
3
+ <graph role =" rule" edgeids =" false" edgemode =" directed" id =" d" >
4
+ <attr name =" actionRole" >
5
+ <string >transformer</string >
6
+ </attr >
4
7
<attr name =" $version" >
5
8
<string >curly</string >
6
9
</attr >
9
12
<string >121 81 19 19</string >
10
13
</attr >
11
14
</node >
12
- <edge to =" n0" from =" n0" >
15
+ <edge from =" n0" to =" n0" >
13
16
<attr name =" label" >
14
17
<string >par:</string >
15
18
</attr >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" yes" ?>
2
2
<gxl xmlns =" http://www.gupro.de/GXL/gxl-1.0.dtd" >
3
- <graph edgemode =" directed" edgeids =" false" role =" rule" id =" e" >
3
+ <graph role =" rule" edgeids =" false" edgemode =" directed" id =" e" >
4
+ <attr name =" actionRole" >
5
+ <string >transformer</string >
6
+ </attr >
4
7
<attr name =" $version" >
5
8
<string >curly</string >
6
9
</attr >
9
12
<string >91 84 19 19</string >
10
13
</attr >
11
14
</node >
12
- <edge to =" n0" from =" n0" >
15
+ <edge from =" n0" to =" n0" >
13
16
<attr name =" label" >
14
17
<string >par:</string >
15
18
</attr >
Original file line number Diff line number Diff line change @@ -504,9 +504,9 @@ public CheckPolicy getPolicy() {
504
504
* and has zero priority.
505
505
*/
506
506
private boolean isPropertyLike () {
507
- boolean result = !isModifying () && getPriority () == 0 && getHiddenPars (). isEmpty () ;
507
+ boolean result = !isModifying () && getPriority () == 0 ;
508
508
if (result ) {
509
- result = getSignature ().stream ().allMatch ( v -> ! v . isInOnly () );
509
+ result = getSignature ().stream ().noneMatch ( UnitPar :: isInOnly );
510
510
}
511
511
return result ;
512
512
}
You can’t perform that action at this time.
0 commit comments