/
generalizeModifiers-read1.xbgf
79 lines (75 loc) · 1.84 KB
/
generalizeModifiers-read1.xbgf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="utf-8"?>
<xbgf:sequence
xmlns:bgf="http://planet-sl.org/bgf"
xmlns:xbgf="http://planet-sl.org/xbgf">
<!--
- Fail: FieldDeclaration.
- [], ,([?(n(FieldModifiers)), n(Type), n(VariableDeclarators), t((;))])
vs.
- [], ,([?(n(Modifiers)), n(Type), n(VariableDeclarators), t((;))])
(and many similar ones)
-->
<!-- ISSUE PERMISSIVENESS -->
<!-- RELAXATION -->
<xbgf:unite>
<add>InterfaceModifier</add>
<to>Modifier</to>
</xbgf:unite>
<!-- RELAXATION -->
<xbgf:unite>
<add>ConstructorModifier</add>
<to>Modifier</to>
</xbgf:unite>
<!-- RELAXATION -->
<xbgf:unite>
<add>AbstractMethodModifier</add>
<to>Modifier</to>
</xbgf:unite>
<!-- RELAXATION -->
<xbgf:unite>
<add>MethodModifier</add>
<to>Modifier</to>
</xbgf:unite>
<!-- RELAXATION -->
<xbgf:unite>
<add>FieldModifier</add>
<to>Modifier</to>
</xbgf:unite>
<!-- RELAXATION -->
<!-- NB: was a weird name (plural) -->
<xbgf:unite>
<add>ConstantModifier</add>
<to>Modifier</to>
</xbgf:unite>
<!-- ISSUE PERMISSIVENESS plural -->
<!-- RELAXATION -->
<xbgf:unite>
<add>ConstantModifiers</add>
<to>Modifiers</to>
</xbgf:unite>
<!-- RELAXATION -->
<xbgf:unite>
<add>InterfaceModifiers</add>
<to>Modifiers</to>
</xbgf:unite>
<!-- RELAXATION -->
<xbgf:unite>
<add>ConstructorModifiers</add>
<to>Modifiers</to>
</xbgf:unite>
<!-- RELAXATION -->
<xbgf:unite>
<add>AbstractMethodModifiers</add>
<to>Modifiers</to>
</xbgf:unite>
<!-- RELAXATION -->
<xbgf:unite>
<add>MethodModifiers</add>
<to>Modifiers</to>
</xbgf:unite>
<!-- RELAXATION -->
<xbgf:unite>
<add>FieldModifiers</add>
<to>Modifiers</to>
</xbgf:unite>
</xbgf:sequence>