Test.connect 679 Bytes
Newer Older
1
2
// --- update definitions ---
// OnSameNonterminal
3
4
5
receive OnSameNonterminal.Input;
send OnSameNonterminal.OutInteger;
send OnSameNonterminal.OutString;
6
7

// OnDifferentNonterminal
8
9
10
receive OnDifferentNonterminal.Input;
send TheOther.OutInteger;
send TheOther.OutString;
11
12
13
14
15
16
17
18

// --- dependency definitions ---
// OnSameNonterminal
OnSameNonterminal.OutInteger canDependOn OnSameNonterminal.Input as IntDependency;
OnSameNonterminal.OutString canDependOn OnSameNonterminal.Input as StringDependency;
// OnDifferentNonterminal
TheOther.OutInteger canDependOn OnDifferentNonterminal.Input as IntDependency;
TheOther.OutString canDependOn OnDifferentNonterminal.Input as StringDependency;