@@ -5,6 +5,7 @@ B_Times deactQ_W_223;
55B_Plus deactQ_W_586 ;
66B_Eq deactQ_W_761 ;
77$R deactQ_L_1C_1cont ($Cont C_cont , B_NoneType C_2res ) {
8+ #line 15 "test/src/deact.act"
89 ((B_NoneType (* ) (B_tuple , B_str , B_str , B_bool , B_bool ))B_print )($NEWTUPLE (1 , to$str ("Apa" )), B_None , B_None , B_None , B_None );
910 return $R_CONT (C_cont , B_None );
1011}
@@ -75,7 +76,9 @@ deactQ_L_4action deactQ_L_4actionG_new(deactQ_Apa G_1) {
7576}
7677struct deactQ_L_4actionG_class deactQ_L_4actionG_methods ;
7778$R deactQ_L_5C_3cont ($action cb , $Cont C_cont , B_int C_4res ) {
79+ #line 7 "test/src/deact.act"
7880 B_int v = C_4res ;
81+ #line 8 "test/src/deact.act"
7982 B_Msg m = ((B_Msg )((B_Msg (* ) ($action , B_int ))cb -> $class -> __asyn__ )(cb , to$int (2 )));
8083 B_int N_tmp = ((B_int (* ) (B_Times , B_int , B_int ))deactQ_W_223 -> $class -> __mul__ )(deactQ_W_223 , v , to$int (10 ));
8184 return $R_CONT (C_cont , N_tmp );
@@ -371,9 +374,13 @@ deactQ_L_19action deactQ_L_19actionG_new(deactQ_main G_1) {
371374}
372375struct deactQ_L_19actionG_class deactQ_L_19actionG_methods ;
373376$R deactQ_L_17C_9cont (deactQ_main self , $Cont C_cont , B_int C_10res ) {
377+ #line 34 "test/src/deact.act"
374378 self -> r = C_10res ;
379+ #line 35 "test/src/deact.act"
375380 ((B_NoneType (* ) (B_tuple , B_str , B_str , B_bool , B_bool ))B_print )($NEWTUPLE (2 , to$str ("r =" ), self -> r ), B_None , B_None , B_None , B_None );
381+ #line 36 "test/src/deact.act"
376382 ((B_Msg (* ) (deactQ_Apa , $action ))self -> a -> $class -> compute )(self -> a , (($action )deactQ_L_19actionG_new (self )));
383+ #line 37 "test/src/deact.act"
377384 ((B_NoneType (* ) (B_tuple , B_str , B_str , B_bool , B_bool ))B_print )($NEWTUPLE (1 , to$str ("main" )), B_None , B_None , B_None , B_None );
378385 return $R_CONT (C_cont , B_None );
379386}
@@ -412,9 +419,13 @@ deactQ_L_20Cont deactQ_L_20ContG_new(deactQ_main G_1, $Cont G_2) {
412419}
413420struct deactQ_L_20ContG_class deactQ_L_20ContG_methods ;
414421$R deactQ_L_12C_7cont (deactQ_main self , $Cont C_cont , deactQ_Bepa C_8res ) {
422+ #line 30 "test/src/deact.act"
415423 self -> b = C_8res ;
424+ #line 31 "test/src/deact.act"
416425 ((B_NoneType (* ) (B_tuple , B_str , B_str , B_bool , B_bool ))B_print )($NEWTUPLE (1 , to$str ("-----" )), B_None , B_None , B_None , B_None );
426+ #line 32 "test/src/deact.act"
417427 ((B_Msg (* ) (deactQ_Apa , $action ))self -> a -> $class -> setup )(self -> a , (($action )deactQ_L_14actionG_new (self -> a )));
428+ #line 33 "test/src/deact.act"
418429 self -> x = ((B_Msg (* ) (deactQ_Apa , $action ))self -> a -> $class -> compute )(self -> a , (($action )deactQ_L_16actionG_new (self -> b )));
419430 return $AWAIT ((($Cont )deactQ_L_20ContG_new (self , C_cont )), self -> x );
420431}
@@ -453,6 +464,7 @@ deactQ_L_21Cont deactQ_L_21ContG_new(deactQ_main G_1, $Cont G_2) {
453464}
454465struct deactQ_L_21ContG_class deactQ_L_21ContG_methods ;
455466$R deactQ_L_11C_5cont (deactQ_main self , $Cont C_cont , deactQ_Apa C_6res ) {
467+ #line 29 "test/src/deact.act"
456468 self -> a = C_6res ;
457469 return deactQ_BepaG_newact ((($Cont )deactQ_L_21ContG_new (self , C_cont )));
458470}
@@ -744,16 +756,23 @@ struct deactQ_L_32procG_class deactQ_L_32procG_methods;
744756$R deactQ_ApaD___init__ (deactQ_Apa self , $Cont C_cont ) {
745757 return (($R (* ) (deactQ_Apa , $Cont , $action ))self -> $class -> setupG_local )(self , (($Cont )deactQ_L_2ContG_new (C_cont )), (($action )deactQ_L_4actionG_new (self )));
746758}
759+ #line 2 "test/src/deact.act"
747760$R deactQ_ApaD_setupG_local (deactQ_Apa self , $Cont C_cont , $action cb ) {
761+ #line 3 "test/src/deact.act"
748762 ((B_NoneType (* ) (B_tuple , B_str , B_str , B_bool , B_bool ))B_print )($NEWTUPLE (1 , to$str ("setup" )), B_None , B_None , B_None , B_None );
763+ #line 4 "test/src/deact.act"
749764 ((B_Msg (* ) ($action , B_int ))cb -> $class -> __asyn__ )(cb , to$int (0 ));
750765 return $R_CONT (C_cont , B_None );
751766}
767+ #line 5 "test/src/deact.act"
752768$R deactQ_ApaD_computeG_local (deactQ_Apa self , $Cont C_cont , $action cb ) {
769+ #line 6 "test/src/deact.act"
753770 ((B_NoneType (* ) (B_tuple , B_str , B_str , B_bool , B_bool ))B_print )($NEWTUPLE (1 , to$str ("compute" )), B_None , B_None , B_None , B_None );
754771 return $AWAIT ((($Cont )deactQ_L_6ContG_new (cb , C_cont )), ((B_Msg )((B_Msg (* ) ($action , B_int ))cb -> $class -> __asyn__ )(cb , to$int (1 ))));
755772}
773+ #line 10 "test/src/deact.act"
756774$R deactQ_ApaD_noticeG_local (deactQ_Apa self , $Cont C_cont , B_int i ) {
775+ #line 11 "test/src/deact.act"
757776 ((B_NoneType (* ) (B_tuple , B_str , B_str , B_bool , B_bool ))B_print )($NEWTUPLE (1 , to$str ("notice" )), B_None , B_None , B_None , B_None );
758777 B_int N_1tmp = ((B_int (* ) (B_Plus , B_int , B_int ))deactQ_W_586 -> $class -> __add__ )(deactQ_W_586 , i , to$int (1 ));
759778 return $R_CONT (C_cont , N_1tmp );
@@ -793,10 +812,13 @@ void deactQ_ApaD__GC_finalizer (void *obj, void *cdata) {
793812}
794813struct deactQ_ApaG_class deactQ_ApaG_methods ;
795814$R deactQ_BepaD___init__ (deactQ_Bepa self , $Cont C_cont ) {
815+ #line 21 "test/src/deact.act"
796816 ((B_NoneType (* ) (B_tuple , B_str , B_str , B_bool , B_bool ))B_print )($NEWTUPLE (1 , to$str ("Bepa" )), B_None , B_None , B_None , B_None );
797817 return $R_CONT (C_cont , B_None );
798818}
819+ #line 18 "test/src/deact.act"
799820$R deactQ_BepaD_callbackG_local (deactQ_Bepa self , $Cont C_cont , B_int i ) {
821+ #line 19 "test/src/deact.act"
800822 ((B_NoneType (* ) (B_tuple , B_str , B_str , B_bool , B_bool ))B_print )($NEWTUPLE (2 , to$str ("callback" ), i ), B_None , B_None , B_None , B_None );
801823 B_int N_2tmp = ((B_int (* ) (B_Plus , B_int , B_int ))deactQ_W_586 -> $class -> __add__ )(deactQ_W_586 , i , to$int (1 ));
802824 return $R_CONT (C_cont , N_2tmp );
@@ -833,9 +855,13 @@ struct deactQ_BepaG_class deactQ_BepaG_methods;
833855 self -> env = env ;
834856 return deactQ_ApaG_newact ((($Cont )deactQ_L_22ContG_new (self , C_cont )));
835857}
858+ #line 24 "test/src/deact.act"
836859$R deactQ_mainD_myprocG_local (deactQ_main self , $Cont C_cont , B_int i ) {
860+ #line 25 "test/src/deact.act"
837861 ((B_NoneType (* ) (B_tuple , B_str , B_str , B_bool , B_bool ))B_print )($NEWTUPLE (2 , to$str ("myproc" ), i ), B_None , B_None , B_None , B_None );
862+ #line 26 "test/src/deact.act"
838863 if (ORD_B_int__eq__ (i , to$int (2 ))) {
864+ #line 27 "test/src/deact.act"
839865 ((B_Msg (* ) (B_Env , B_int ))self -> env -> $class -> exit )(self -> env , to$int (0 ));
840866 }
841867 return $R_CONT (C_cont , i );
0 commit comments