public void Run() { int __ruleIndex = 0; __res = new __MetaCnvResult <Tuples.Tuple <int, Tuples.Tuple <int, unit> > >(); __res.Value = default(Tuples.Tuple <int, Tuples.Tuple <int, unit> >); __res.HasValue = false; switch (__ruleIndex) { case 0: { Tuples.Tuple <int, Tuples.Tuple <int, unit> > res = default(Tuples.Tuple <int, Tuples.Tuple <int, unit> >); RecordField2.cons __tmp0 = new RecordField2.cons(); __tmp0.__arg0 = 1; __opComma <int, unit> __tmp1 = new __opComma <int, unit>(); __tmp1.__arg0 = 5; __tmp1.__arg1 = new unit(); __tmp0.__arg1 = __tmp1; __tmp0.Run(); if (!(__tmp0.__res.HasValue)) { goto default; } __MetaCnvResult <Tuples.Tuple <int, Tuples.Tuple <int, unit> > > __tmp2 = __tmp0.__res; res = __tmp2.Value; __res.HasValue = true; __res.Value = res; break; } default: break; } }
public void Run() { int __ruleIndex = 0; __res = new __MetaCnvResult <int>(); __res.Value = default(int); __res.HasValue = false; switch (__ruleIndex) { case 0: { int x = default(int); Tuples.Tuple <int, Tuples.Tuple <int, Tuples.Tuple <int, unit> > > xs = default(Tuples.Tuple <int, Tuples.Tuple <int, Tuples.Tuple <int, unit> > >); int y = default(int); if (!(__arg0 is __opComma <int, Tuples.Tuple <int, Tuples.Tuple <int, Tuples.Tuple <int, unit> > > >)) { goto default; } __opComma <int, Tuples.Tuple <int, Tuples.Tuple <int, Tuples.Tuple <int, unit> > > > __tmp0 = (__opComma <int, Tuples.Tuple <int, Tuples.Tuple <int, Tuples.Tuple <int, unit> > > >)__arg0; x = __tmp0.__arg0; xs = __tmp0.__arg1; Getter2.get __tmp1 = new Getter2.get(); __tmp1.__arg0 = xs; __tmp1.Run(); if (!(__tmp1.__res.HasValue)) { goto default; } __MetaCnvResult <int> __tmp2 = __tmp1.__res; y = __tmp2.Value; __res.HasValue = true; __res.Value = y; break; } default: break; } }