/* File: bad_char_set.h Date and Time: Fri Jan 30 18:55:05 2015 */ #ifndef __bad_char_set_h__ #define __bad_char_set_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_bad_char_set; extern yacco2::State S1_Cbad_char_set; namespace NS_bad_char_set { yacco2::THR _YACCO2_CALL_TYPE TH_bad_char_set(yacco2::Parser* Caller);// called thread yacco2::THR_result _YACCO2_CALL_TYPE PROC_TH_bad_char_set(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_[11]; }; class Cbad_char_set: public yacco2::CAbs_fsm { public: enum rules_and_subrules{ start_of_rule_list = NS_yacco2_T_enum::T_Enum::sum_total_T ,R_Rbad_char_set_ = 569//start_of_rule_list + 0 ,rhs1_Rbad_char_set_ = 1 ,rhs2_Rbad_char_set_ = 2 ,rhs3_Rbad_char_set_ = 3 ,rhs4_Rbad_char_set_ = 4 ,rhs5_Rbad_char_set_ = 5 ,rhs6_Rbad_char_set_ = 6 ,rhs7_Rbad_char_set_ = 7 ,rhs8_Rbad_char_set_ = 8 ,rhs9_Rbad_char_set_ = 9 ,rhs10_Rbad_char_set_ = 10 ,R_Rbad_char_00_0f_ = 570//start_of_rule_list + 2 ,rhs1_Rbad_char_00_0f_ = 11 ,rhs2_Rbad_char_00_0f_ = 12 ,rhs3_Rbad_char_00_0f_ = 13 ,rhs4_Rbad_char_00_0f_ = 14 ,rhs5_Rbad_char_00_0f_ = 15 ,rhs6_Rbad_char_00_0f_ = 16 ,rhs7_Rbad_char_00_0f_ = 17 ,rhs8_Rbad_char_00_0f_ = 18 ,rhs9_Rbad_char_00_0f_ = 19 ,rhs10_Rbad_char_00_0f_ = 20 ,rhs11_Rbad_char_00_0f_ = 21 ,R_Rbad_char_10_7f_ = 571//start_of_rule_list + 4 ,rhs1_Rbad_char_10_7f_ = 22 ,rhs2_Rbad_char_10_7f_ = 23 ,rhs3_Rbad_char_10_7f_ = 24 ,rhs4_Rbad_char_10_7f_ = 25 ,rhs5_Rbad_char_10_7f_ = 26 ,rhs6_Rbad_char_10_7f_ = 27 ,rhs7_Rbad_char_10_7f_ = 28 ,rhs8_Rbad_char_10_7f_ = 29 ,rhs9_Rbad_char_10_7f_ = 30 ,rhs10_Rbad_char_10_7f_ = 31 ,rhs11_Rbad_char_10_7f_ = 32 ,rhs12_Rbad_char_10_7f_ = 33 ,rhs13_Rbad_char_10_7f_ = 34 ,rhs14_Rbad_char_10_7f_ = 35 ,rhs15_Rbad_char_10_7f_ = 36 ,rhs16_Rbad_char_10_7f_ = 37 ,rhs17_Rbad_char_10_7f_ = 38 ,R_Rbad_char_80_8f_ = 572//start_of_rule_list + 6 ,rhs1_Rbad_char_80_8f_ = 39 ,rhs2_Rbad_char_80_8f_ = 40 ,rhs3_Rbad_char_80_8f_ = 41 ,rhs4_Rbad_char_80_8f_ = 42 ,rhs5_Rbad_char_80_8f_ = 43 ,rhs6_Rbad_char_80_8f_ = 44 ,rhs7_Rbad_char_80_8f_ = 45 ,rhs8_Rbad_char_80_8f_ = 46 ,rhs9_Rbad_char_80_8f_ = 47 ,rhs10_Rbad_char_80_8f_ = 48 ,rhs11_Rbad_char_80_8f_ = 49 ,rhs12_Rbad_char_80_8f_ = 50 ,rhs13_Rbad_char_80_8f_ = 51 ,rhs14_Rbad_char_80_8f_ = 52 ,rhs15_Rbad_char_80_8f_ = 53 ,rhs16_Rbad_char_80_8f_ = 54 ,R_Rbad_char_90_9f_ = 573//start_of_rule_list + 8 ,rhs1_Rbad_char_90_9f_ = 55 ,rhs2_Rbad_char_90_9f_ = 56 ,rhs3_Rbad_char_90_9f_ = 57 ,rhs4_Rbad_char_90_9f_ = 58 ,rhs5_Rbad_char_90_9f_ = 59 ,rhs6_Rbad_char_90_9f_ = 60 ,rhs7_Rbad_char_90_9f_ = 61 ,rhs8_Rbad_char_90_9f_ = 62 ,rhs9_Rbad_char_90_9f_ = 63 ,rhs10_Rbad_char_90_9f_ = 64 ,rhs11_Rbad_char_90_9f_ = 65 ,rhs12_Rbad_char_90_9f_ = 66 ,rhs13_Rbad_char_90_9f_ = 67 ,rhs14_Rbad_char_90_9f_ = 68 ,rhs15_Rbad_char_90_9f_ = 69 ,rhs16_Rbad_char_90_9f_ = 70 ,R_Rbad_char_a0_af_ = 574//start_of_rule_list + 10 ,rhs1_Rbad_char_a0_af_ = 71 ,rhs2_Rbad_char_a0_af_ = 72 ,rhs3_Rbad_char_a0_af_ = 73 ,rhs4_Rbad_char_a0_af_ = 74 ,rhs5_Rbad_char_a0_af_ = 75 ,rhs6_Rbad_char_a0_af_ = 76 ,rhs7_Rbad_char_a0_af_ = 77 ,rhs8_Rbad_char_a0_af_ = 78 ,rhs9_Rbad_char_a0_af_ = 79 ,rhs10_Rbad_char_a0_af_ = 80 ,rhs11_Rbad_char_a0_af_ = 81 ,rhs12_Rbad_char_a0_af_ = 82 ,rhs13_Rbad_char_a0_af_ = 83 ,rhs14_Rbad_char_a0_af_ = 84 ,rhs15_Rbad_char_a0_af_ = 85 ,rhs16_Rbad_char_a0_af_ = 86 ,R_Rbad_char_b0_bf_ = 575//start_of_rule_list + 12 ,rhs1_Rbad_char_b0_bf_ = 87 ,rhs2_Rbad_char_b0_bf_ = 88 ,rhs3_Rbad_char_b0_bf_ = 89 ,rhs4_Rbad_char_b0_bf_ = 90 ,rhs5_Rbad_char_b0_bf_ = 91 ,rhs6_Rbad_char_b0_bf_ = 92 ,rhs7_Rbad_char_b0_bf_ = 93 ,rhs8_Rbad_char_b0_bf_ = 94 ,rhs9_Rbad_char_b0_bf_ = 95 ,rhs10_Rbad_char_b0_bf_ = 96 ,rhs11_Rbad_char_b0_bf_ = 97 ,rhs12_Rbad_char_b0_bf_ = 98 ,rhs13_Rbad_char_b0_bf_ = 99 ,rhs14_Rbad_char_b0_bf_ = 100 ,rhs15_Rbad_char_b0_bf_ = 101 ,rhs16_Rbad_char_b0_bf_ = 102 ,R_Rbad_char_c0_cf_ = 576//start_of_rule_list + 14 ,rhs1_Rbad_char_c0_cf_ = 103 ,rhs2_Rbad_char_c0_cf_ = 104 ,rhs3_Rbad_char_c0_cf_ = 105 ,rhs4_Rbad_char_c0_cf_ = 106 ,rhs5_Rbad_char_c0_cf_ = 107 ,rhs6_Rbad_char_c0_cf_ = 108 ,rhs7_Rbad_char_c0_cf_ = 109 ,rhs8_Rbad_char_c0_cf_ = 110 ,rhs9_Rbad_char_c0_cf_ = 111 ,rhs10_Rbad_char_c0_cf_ = 112 ,rhs11_Rbad_char_c0_cf_ = 113 ,rhs12_Rbad_char_c0_cf_ = 114 ,rhs13_Rbad_char_c0_cf_ = 115 ,rhs14_Rbad_char_c0_cf_ = 116 ,rhs15_Rbad_char_c0_cf_ = 117 ,rhs16_Rbad_char_c0_cf_ = 118 ,R_Rbad_char_d0_df_ = 577//start_of_rule_list + 16 ,rhs1_Rbad_char_d0_df_ = 119 ,rhs2_Rbad_char_d0_df_ = 120 ,rhs3_Rbad_char_d0_df_ = 121 ,rhs4_Rbad_char_d0_df_ = 122 ,rhs5_Rbad_char_d0_df_ = 123 ,rhs6_Rbad_char_d0_df_ = 124 ,rhs7_Rbad_char_d0_df_ = 125 ,rhs8_Rbad_char_d0_df_ = 126 ,rhs9_Rbad_char_d0_df_ = 127 ,rhs10_Rbad_char_d0_df_ = 128 ,rhs11_Rbad_char_d0_df_ = 129 ,rhs12_Rbad_char_d0_df_ = 130 ,rhs13_Rbad_char_d0_df_ = 131 ,rhs14_Rbad_char_d0_df_ = 132 ,rhs15_Rbad_char_d0_df_ = 133 ,rhs16_Rbad_char_d0_df_ = 134 ,R_Rbad_char_e0_ef_ = 578//start_of_rule_list + 18 ,rhs1_Rbad_char_e0_ef_ = 135 ,rhs2_Rbad_char_e0_ef_ = 136 ,rhs3_Rbad_char_e0_ef_ = 137 ,rhs4_Rbad_char_e0_ef_ = 138 ,rhs5_Rbad_char_e0_ef_ = 139 ,rhs6_Rbad_char_e0_ef_ = 140 ,rhs7_Rbad_char_e0_ef_ = 141 ,rhs8_Rbad_char_e0_ef_ = 142 ,rhs9_Rbad_char_e0_ef_ = 143 ,rhs10_Rbad_char_e0_ef_ = 144 ,rhs11_Rbad_char_e0_ef_ = 145 ,rhs12_Rbad_char_e0_ef_ = 146 ,rhs13_Rbad_char_e0_ef_ = 147 ,rhs14_Rbad_char_e0_ef_ = 148 ,rhs15_Rbad_char_e0_ef_ = 149 ,rhs16_Rbad_char_e0_ef_ = 150 ,R_Rbad_char_f0_ff_ = 579//start_of_rule_list + 20 ,rhs1_Rbad_char_f0_ff_ = 151 ,rhs2_Rbad_char_f0_ff_ = 152 ,rhs3_Rbad_char_f0_ff_ = 153 ,rhs4_Rbad_char_f0_ff_ = 154 ,rhs5_Rbad_char_f0_ff_ = 155 ,rhs6_Rbad_char_f0_ff_ = 156 ,rhs7_Rbad_char_f0_ff_ = 157 ,rhs8_Rbad_char_f0_ff_ = 158 ,rhs9_Rbad_char_f0_ff_ = 159 ,rhs10_Rbad_char_f0_ff_ = 160 ,rhs11_Rbad_char_f0_ff_ = 161 ,rhs12_Rbad_char_f0_ff_ = 162 ,rhs13_Rbad_char_f0_ff_ = 163 ,rhs14_Rbad_char_f0_ff_ = 164 ,rhs15_Rbad_char_f0_ff_ = 165 ,rhs16_Rbad_char_f0_ff_ = 166 }; //no of la sets = 1 //no of states = 167 Cbad_char_set(); ~Cbad_char_set(); 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_[167]; }; struct Rbad_char_set; struct Rbad_char_00_0f; struct Rbad_char_10_7f; struct Rbad_char_80_8f; struct Rbad_char_90_9f; struct Rbad_char_a0_af; struct Rbad_char_b0_bf; struct Rbad_char_c0_cf; struct Rbad_char_d0_df; struct Rbad_char_e0_ef; struct Rbad_char_f0_ff; struct Rbad_char_set:public yacco2::CAbs_lr1_sym { Rbad_char_set(yacco2::Parser* P); void op(); public: }; struct Rbad_char_00_0f:public yacco2::CAbs_lr1_sym { Rbad_char_00_0f(yacco2::Parser* P); public: }; struct Rbad_char_10_7f:public yacco2::CAbs_lr1_sym { Rbad_char_10_7f(yacco2::Parser* P); public: }; struct Rbad_char_80_8f:public yacco2::CAbs_lr1_sym { Rbad_char_80_8f(yacco2::Parser* P); public: }; struct Rbad_char_90_9f:public yacco2::CAbs_lr1_sym { Rbad_char_90_9f(yacco2::Parser* P); public: }; struct Rbad_char_a0_af:public yacco2::CAbs_lr1_sym { Rbad_char_a0_af(yacco2::Parser* P); public: }; struct Rbad_char_b0_bf:public yacco2::CAbs_lr1_sym { Rbad_char_b0_bf(yacco2::Parser* P); public: }; struct Rbad_char_c0_cf:public yacco2::CAbs_lr1_sym { Rbad_char_c0_cf(yacco2::Parser* P); public: }; struct Rbad_char_d0_df:public yacco2::CAbs_lr1_sym { Rbad_char_d0_df(yacco2::Parser* P); public: }; struct Rbad_char_e0_ef:public yacco2::CAbs_lr1_sym { Rbad_char_e0_ef(yacco2::Parser* P); public: }; struct Rbad_char_f0_ff:public yacco2::CAbs_lr1_sym { Rbad_char_f0_ff(yacco2::Parser* P); public: }; } // end of namespace #endif