blob: 31b9286ea2da4eb483bf551efacd83c9d14ecf7d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package hu.bme.mit.inf.dslreasoner.domains.fam
import epackage "http://www.inf.mit.bme.hu/viatrasolver/example/fam"
@Constraint(message="terminatorAndInformation", severity="error", key={T})
pattern terminatorAndInformation(T : FAMTerminator, I : InformationLink) = {
FunctionalOutput.outgoingLinks(Out,I);
FunctionalOutput.terminator(Out,T);
} or {
InformationLink.to(I,In);
FunctionalInput.terminator(In,T);
}
pattern informationLink(I : InformationLink) {
InformationLink(I);
}
|