/*
 File: terminal_def_symclass.h
 Date and Time: Fri Jan 30 18:55:26 2015 
*/
#ifndef __terminal_def_symclass_h__
#define __terminal_def_symclass_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_terminal_def_symclass;

extern yacco2::State S1_Cterminal_def_symclass;
namespace NS_terminal_def_symclass {
yacco2::THR _YACCO2_CALL_TYPE
TH_terminal_def_symclass(yacco2::Parser* Caller);// called thread
yacco2::THR_result _YACCO2_CALL_TYPE
PROC_TH_terminal_def_symclass(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_[7];
};
class Cterminal_def_symclass: public yacco2::CAbs_fsm {
 public:
  enum rules_and_subrules{
   start_of_rule_list = NS_yacco2_T_enum::T_Enum::sum_total_T
   ,R_Rterminal_def_symclass_ = 569//start_of_rule_list + 0
    ,rhs1_Rterminal_def_symclass_ = 1
   ,R_Rminus_la_ = 570//start_of_rule_list + 2
    ,rhs1_Rminus_la_ = 2
    ,rhs2_Rminus_la_ = 3
    ,rhs3_Rminus_la_ = 4
    ,rhs4_Rminus_la_ = 5
    ,rhs5_Rminus_la_ = 6
    ,rhs6_Rminus_la_ = 7
    ,rhs7_Rminus_la_ = 8
   ,R_RUPPER_A_M_ = 571//start_of_rule_list + 4
    ,rhs1_RUPPER_A_M_ = 9
    ,rhs2_RUPPER_A_M_ = 10
    ,rhs3_RUPPER_A_M_ = 11
    ,rhs4_RUPPER_A_M_ = 12
    ,rhs5_RUPPER_A_M_ = 13
    ,rhs6_RUPPER_A_M_ = 14
    ,rhs7_RUPPER_A_M_ = 15
    ,rhs8_RUPPER_A_M_ = 16
    ,rhs9_RUPPER_A_M_ = 17
    ,rhs10_RUPPER_A_M_ = 18
    ,rhs11_RUPPER_A_M_ = 19
    ,rhs12_RUPPER_A_M_ = 20
    ,rhs13_RUPPER_A_M_ = 21
   ,R_RUPPER_N_Z_ = 572//start_of_rule_list + 6
    ,rhs1_RUPPER_N_Z_ = 22
    ,rhs2_RUPPER_N_Z_ = 23
    ,rhs3_RUPPER_N_Z_ = 24
    ,rhs4_RUPPER_N_Z_ = 25
    ,rhs5_RUPPER_N_Z_ = 26
    ,rhs6_RUPPER_N_Z_ = 27
    ,rhs7_RUPPER_N_Z_ = 28
    ,rhs8_RUPPER_N_Z_ = 29
    ,rhs9_RUPPER_N_Z_ = 30
    ,rhs10_RUPPER_N_Z_ = 31
    ,rhs11_RUPPER_N_Z_ = 32
    ,rhs12_RUPPER_N_Z_ = 33
    ,rhs13_RUPPER_N_Z_ = 34
   ,R_Rlower_a_m_ = 573//start_of_rule_list + 8
    ,rhs1_Rlower_a_m_ = 35
    ,rhs2_Rlower_a_m_ = 36
    ,rhs3_Rlower_a_m_ = 37
    ,rhs4_Rlower_a_m_ = 38
    ,rhs5_Rlower_a_m_ = 39
    ,rhs6_Rlower_a_m_ = 40
    ,rhs7_Rlower_a_m_ = 41
    ,rhs8_Rlower_a_m_ = 42
    ,rhs9_Rlower_a_m_ = 43
    ,rhs10_Rlower_a_m_ = 44
    ,rhs11_Rlower_a_m_ = 45
    ,rhs12_Rlower_a_m_ = 46
    ,rhs13_Rlower_a_m_ = 47
   ,R_Rlower_n_z_ = 574//start_of_rule_list + 10
    ,rhs1_Rlower_n_z_ = 48
    ,rhs2_Rlower_n_z_ = 49
    ,rhs3_Rlower_n_z_ = 50
    ,rhs4_Rlower_n_z_ = 51
    ,rhs5_Rlower_n_z_ = 52
    ,rhs6_Rlower_n_z_ = 53
    ,rhs7_Rlower_n_z_ = 54
    ,rhs8_Rlower_n_z_ = 55
    ,rhs9_Rlower_n_z_ = 56
    ,rhs10_Rlower_n_z_ = 57
    ,rhs11_Rlower_n_z_ = 58
    ,rhs12_Rlower_n_z_ = 59
    ,rhs13_Rlower_n_z_ = 60
   ,R_RNUMBERS_ = 575//start_of_rule_list + 12
    ,rhs1_RNUMBERS_ = 61
    ,rhs2_RNUMBERS_ = 62
    ,rhs3_RNUMBERS_ = 63
    ,rhs4_RNUMBERS_ = 64
    ,rhs5_RNUMBERS_ = 65
    ,rhs6_RNUMBERS_ = 66
    ,rhs7_RNUMBERS_ = 67
    ,rhs8_RNUMBERS_ = 68
    ,rhs9_RNUMBERS_ = 69
    ,rhs10_RNUMBERS_ = 70
  };
  //no of la sets = 1
  //no of states = 10
  Cterminal_def_symclass();
  ~Cterminal_def_symclass();
  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_[71];
 };
struct Rterminal_def_symclass;
struct Rminus_la;
struct RUPPER_A_M;
struct RUPPER_N_Z;
struct Rlower_a_m;
struct Rlower_n_z;
struct RNUMBERS;
struct Rterminal_def_symclass:public yacco2::CAbs_lr1_sym {
  Rterminal_def_symclass(yacco2::Parser* P);
  void op();

      public:
      CAbs_lr1_sym* rtn_sym_;
    
  public:
  void sr1();
};

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
