/* File: TS_la6.h Date and Time: Sat Oct 11 20:57:16 2014 */ #ifndef __TS_la6_h__ #define __TS_la6_h__ 1 #include "yacco2.h" #include "yacco2_T_enumeration.h" #include "yacco2_k_symbols.h" #include "yacco2_err_symbols.h" #include "yacco2_terminals.h" #include "yacco2_characters.h" extern yacco2::Thread_entry ITH_TS_la6; extern yacco2::State S1_CTS_la6; namespace NS_TS_la6 { yacco2::THR _YACCO2_CALL_TYPE TH_TS_la6(yacco2::Parser* Caller);// called thread yacco2::THR_result _YACCO2_CALL_TYPE PROC_TH_TS_la6(yacco2::Parser* Caller);// called thread's twin the procedure using namespace NS_yacco2_T_enum;// enumerate using namespace yacco2; struct fsm_rules_reuse_table_type{ fsm_rules_reuse_table_type(); int no_rules_entries_; Per_rule_s_reuse_table* per_rule_s_table_[8]; }; class CTS_la6: public yacco2::CAbs_fsm { public: enum rules_and_subrules{ start_of_rule_list = NS_yacco2_T_enum::T_Enum::sum_total_T ,R_Reol_ = 569//start_of_rule_list + 0 ,rhs1_Reol_ = 1 ,R_Rdelimiters_ = 570//start_of_rule_list + 2 ,rhs1_Rdelimiters_ = 2 ,rhs2_Rdelimiters_ = 3 ,rhs3_Rdelimiters_ = 4 ,R_Rminus_la_ = 571//start_of_rule_list + 4 ,rhs1_Rminus_la_ = 5 ,rhs2_Rminus_la_ = 6 ,rhs3_Rminus_la_ = 7 ,rhs4_Rminus_la_ = 8 ,rhs5_Rminus_la_ = 9 ,rhs6_Rminus_la_ = 10 ,rhs7_Rminus_la_ = 11 ,R_RUPPER_A_M_ = 572//start_of_rule_list + 6 ,rhs1_RUPPER_A_M_ = 12 ,rhs2_RUPPER_A_M_ = 13 ,rhs3_RUPPER_A_M_ = 14 ,rhs4_RUPPER_A_M_ = 15 ,rhs5_RUPPER_A_M_ = 16 ,rhs6_RUPPER_A_M_ = 17 ,rhs7_RUPPER_A_M_ = 18 ,rhs8_RUPPER_A_M_ = 19 ,rhs9_RUPPER_A_M_ = 20 ,rhs10_RUPPER_A_M_ = 21 ,rhs11_RUPPER_A_M_ = 22 ,rhs12_RUPPER_A_M_ = 23 ,rhs13_RUPPER_A_M_ = 24 ,R_RUPPER_N_Z_ = 573//start_of_rule_list + 8 ,rhs1_RUPPER_N_Z_ = 25 ,rhs2_RUPPER_N_Z_ = 26 ,rhs3_RUPPER_N_Z_ = 27 ,rhs4_RUPPER_N_Z_ = 28 ,rhs5_RUPPER_N_Z_ = 29 ,rhs6_RUPPER_N_Z_ = 30 ,rhs7_RUPPER_N_Z_ = 31 ,rhs8_RUPPER_N_Z_ = 32 ,rhs9_RUPPER_N_Z_ = 33 ,rhs10_RUPPER_N_Z_ = 34 ,rhs11_RUPPER_N_Z_ = 35 ,rhs12_RUPPER_N_Z_ = 36 ,rhs13_RUPPER_N_Z_ = 37 ,R_Rlower_a_m_ = 574//start_of_rule_list + 10 ,rhs1_Rlower_a_m_ = 38 ,rhs2_Rlower_a_m_ = 39 ,rhs3_Rlower_a_m_ = 40 ,rhs4_Rlower_a_m_ = 41 ,rhs5_Rlower_a_m_ = 42 ,rhs6_Rlower_a_m_ = 43 ,rhs7_Rlower_a_m_ = 44 ,rhs8_Rlower_a_m_ = 45 ,rhs9_Rlower_a_m_ = 46 ,rhs10_Rlower_a_m_ = 47 ,rhs11_Rlower_a_m_ = 48 ,rhs12_Rlower_a_m_ = 49 ,rhs13_Rlower_a_m_ = 50 ,R_Rlower_n_z_ = 575//start_of_rule_list + 12 ,rhs1_Rlower_n_z_ = 51 ,rhs2_Rlower_n_z_ = 52 ,rhs3_Rlower_n_z_ = 53 ,rhs4_Rlower_n_z_ = 54 ,rhs5_Rlower_n_z_ = 55 ,rhs6_Rlower_n_z_ = 56 ,rhs7_Rlower_n_z_ = 57 ,rhs8_Rlower_n_z_ = 58 ,rhs9_Rlower_n_z_ = 59 ,rhs10_Rlower_n_z_ = 60 ,rhs11_Rlower_n_z_ = 61 ,rhs12_Rlower_n_z_ = 62 ,rhs13_Rlower_n_z_ = 63 ,R_RNUMBERS_ = 576//start_of_rule_list + 14 ,rhs1_RNUMBERS_ = 64 ,rhs2_RNUMBERS_ = 65 ,rhs3_RNUMBERS_ = 66 ,rhs4_RNUMBERS_ = 67 ,rhs5_RNUMBERS_ = 68 ,rhs6_RNUMBERS_ = 69 ,rhs7_RNUMBERS_ = 70 ,rhs8_RNUMBERS_ = 71 ,rhs9_RNUMBERS_ = 72 ,rhs10_RNUMBERS_ = 73 }; //no of la sets = 1 //no of states = 6 CTS_la6(); ~CTS_la6(); void op(); bool failed(); void reduce_rhs_of_rule (yacco2::UINT Sub_rule_no,yacco2::Rule_s_reuse_entry** Recycled_rule); fsm_rules_reuse_table_type fsm_rules_reuse_table; static int rhs_to_rules_mapping_[74]; }; struct Reol; struct Rdelimiters; struct Rminus_la; struct RUPPER_A_M; struct RUPPER_N_Z; struct Rlower_a_m; struct Rlower_n_z; struct RNUMBERS; struct Reol:public yacco2::CAbs_lr1_sym { Reol(yacco2::Parser* P); public: }; struct Rdelimiters:public yacco2::CAbs_lr1_sym { Rdelimiters(yacco2::Parser* P); public: }; struct Rminus_la:public yacco2::CAbs_lr1_sym { Rminus_la(yacco2::Parser* P); public: }; struct RUPPER_A_M:public yacco2::CAbs_lr1_sym { RUPPER_A_M(yacco2::Parser* P); public: }; struct RUPPER_N_Z:public yacco2::CAbs_lr1_sym { RUPPER_N_Z(yacco2::Parser* P); public: }; struct Rlower_a_m:public yacco2::CAbs_lr1_sym { Rlower_a_m(yacco2::Parser* P); public: }; struct Rlower_n_z:public yacco2::CAbs_lr1_sym { Rlower_n_z(yacco2::Parser* P); public: }; struct RNUMBERS:public yacco2::CAbs_lr1_sym { RNUMBERS(yacco2::Parser* P); public: }; } // end of namespace #endif