|
60 | 60 | import NFComponent.Component; |
61 | 61 | import NFClassTree.ClassTree; |
62 | 62 | import NFClass.Class; |
| 63 | + import NFComponentRef.Origin; |
63 | 64 |
|
64 | 65 | record INTEGER |
65 | 66 | Integer value; |
@@ -1457,7 +1458,7 @@ public |
1457 | 1458 | list<Subscript> subs; |
1458 | 1459 | ComponentRef rest; |
1459 | 1460 |
|
1460 | | - case ComponentRef.CREF() |
| 1461 | + case ComponentRef.CREF(origin = Origin.CREF) |
1461 | 1462 | algorithm |
1462 | 1463 | subs := list(mapSubscript(s, func) for s in cref.subscripts); |
1463 | 1464 | rest := mapCref(cref.restCref, func); |
@@ -1635,7 +1636,7 @@ public |
1635 | 1636 | list<Subscript> subs; |
1636 | 1637 | ComponentRef rest; |
1637 | 1638 |
|
1638 | | - case ComponentRef.CREF() |
| 1639 | + case ComponentRef.CREF(origin = Origin.CREF) |
1639 | 1640 | algorithm |
1640 | 1641 | subs := list(mapSubscriptShallow(s, func) for s in cref.subscripts); |
1641 | 1642 | rest := mapCref(cref.restCref, func); |
@@ -1972,7 +1973,7 @@ public |
1972 | 1973 | end FoldFunc; |
1973 | 1974 | algorithm |
1974 | 1975 | () := match cref |
1975 | | - case ComponentRef.CREF() |
| 1976 | + case ComponentRef.CREF(origin = Origin.CREF) |
1976 | 1977 | algorithm |
1977 | 1978 | arg := List.fold(cref.subscripts, function foldSubscript(func = func), arg); |
1978 | 1979 | arg := foldCref(cref.restCref, func, arg); |
@@ -2193,7 +2194,7 @@ public |
2193 | 2194 | end ApplyFunc; |
2194 | 2195 | algorithm |
2195 | 2196 | () := match cref |
2196 | | - case ComponentRef.CREF() |
| 2197 | + case ComponentRef.CREF(origin = Origin.CREF) |
2197 | 2198 | algorithm |
2198 | 2199 | for s in cref.subscripts loop |
2199 | 2200 | applyCrefSubscript(s, func); |
@@ -2518,7 +2519,7 @@ public |
2518 | 2519 | list<Subscript> subs; |
2519 | 2520 | ComponentRef rest; |
2520 | 2521 |
|
2521 | | - case ComponentRef.CREF() |
| 2522 | + case ComponentRef.CREF(origin = Origin.CREF) |
2522 | 2523 | algorithm |
2523 | 2524 | (subs, arg) := List.map1Fold(cref.subscripts, mapFoldSubscript, func, arg); |
2524 | 2525 | (rest, arg) := mapFoldCref(cref.restCref, func, arg); |
|
0 commit comments