Test.connect 699 Bytes
Newer Older
René Schöne's avatar
René Schöne committed
1
2
// --- update definitions ---
// OnSameNonterminal
3
4
5
receive OnSameNonterminal.Input1;
receive OnSameNonterminal.Input2;
send OnSameNonterminal.OutInteger;
René Schöne's avatar
René Schöne committed
6
7

// OnDifferentNonterminal
8
9
10
receive OnDifferentNonterminal.Input1;
receive OnDifferentNonterminal.Input2;
send TheOther.OutInteger;
René Schöne's avatar
René Schöne committed
11
12
13
14
15
16
17
18

// --- dependency definitions ---
// OnSameNonterminal
OnSameNonterminal.OutInteger canDependOn OnSameNonterminal.Input1 as Int1Dependency;
OnSameNonterminal.OutInteger canDependOn OnSameNonterminal.Input2 as Int2Dependency;
// OnDifferentNonterminal
TheOther.OutInteger canDependOn OnDifferentNonterminal.Input1 as Int1Dependency;
TheOther.OutInteger canDependOn OnDifferentNonterminal.Input2 as Int2Dependency;