public void analyser() throws Exception {
   scanner.lit(1);
   switch (scanner.fenetre[0].code) {
     case LEX_MJAVA.token_int: // 1672
       regle12();
       break;
     case LEX_MJAVA.token_bool: // 1673
       regle13();
       break;
     case LEX_MJAVA.token_ident: // 1702
       regle14();
       break;
     default:
       scanner._interrompre(
           IProblem.Syntax,
           scanner.getBeginLine(),
           IMJAVAMessages.id_MJAVA_unexpected_token,
           MJAVAMessages.MJAVA_unexpected_token,
           new String[] {scanner.fenetre[0].getNom()});
   }
 }
 public void analyser() throws Exception {
   scanner.lit(1);
   switch (scanner.fenetre[0].code) {
     case LEX_MJAVA.token_int: // 1672
       scanner.lit(2);
       switch (scanner.fenetre[1].code) {
         case LEX_MJAVA.token_ident: // 1702
           scanner.lit(3);
           switch (scanner.fenetre[2].code) {
             case LEX_MJAVA.token_pv: // 1665
               regle8();
               break;
             case LEX_MJAVA.token_paro: // 1658
               regle9();
               break;
             default:
               scanner._interrompre(
                   IProblem.Syntax,
                   scanner.getBeginLine(),
                   IMJAVAMessages.id_MJAVA_unexpected_token,
                   MJAVAMessages.MJAVA_unexpected_token,
                   new String[] {scanner.fenetre[2].getNom()});
               scanner.accepter_sucre(LEX_MJAVA.token_ident);
           }
           break;
         default:
           scanner._interrompre(
               IProblem.Syntax,
               scanner.getBeginLine(),
               IMJAVAMessages.id_MJAVA_unexpected_token,
               MJAVAMessages.MJAVA_unexpected_token,
               new String[] {scanner.fenetre[1].getNom()});
           scanner.accepter_sucre(LEX_MJAVA.token_int);
       }
       break;
     case LEX_MJAVA.token_bool: // 1673
       scanner.lit(2);
       switch (scanner.fenetre[1].code) {
         case LEX_MJAVA.token_ident: // 1702
           scanner.lit(3);
           switch (scanner.fenetre[2].code) {
             case LEX_MJAVA.token_pv: // 1665
               regle8();
               break;
             case LEX_MJAVA.token_paro: // 1658
               regle9();
               break;
             default:
               scanner._interrompre(
                   IProblem.Syntax,
                   scanner.getBeginLine(),
                   IMJAVAMessages.id_MJAVA_unexpected_token,
                   MJAVAMessages.MJAVA_unexpected_token,
                   new String[] {scanner.fenetre[2].getNom()});
               scanner.accepter_sucre(LEX_MJAVA.token_ident);
           }
           break;
         default:
           scanner._interrompre(
               IProblem.Syntax,
               scanner.getBeginLine(),
               IMJAVAMessages.id_MJAVA_unexpected_token,
               MJAVAMessages.MJAVA_unexpected_token,
               new String[] {scanner.fenetre[1].getNom()});
           scanner.accepter_sucre(LEX_MJAVA.token_bool);
       }
       break;
     case LEX_MJAVA.token_ident: // 1702
       scanner.lit(2);
       switch (scanner.fenetre[1].code) {
         case LEX_MJAVA.token_ident: // 1702
           scanner.lit(3);
           switch (scanner.fenetre[2].code) {
             case LEX_MJAVA.token_pv: // 1665
               regle8();
               break;
             case LEX_MJAVA.token_paro: // 1658
               regle9();
               break;
             default:
               scanner._interrompre(
                   IProblem.Syntax,
                   scanner.getBeginLine(),
                   IMJAVAMessages.id_MJAVA_unexpected_token,
                   MJAVAMessages.MJAVA_unexpected_token,
                   new String[] {scanner.fenetre[2].getNom()});
               scanner.accepter_sucre(LEX_MJAVA.token_ident);
           }
           break;
         case LEX_MJAVA.token_paro: // 1658
           regle11();
           break;
         default:
           scanner._interrompre(
               IProblem.Syntax,
               scanner.getBeginLine(),
               IMJAVAMessages.id_MJAVA_unexpected_token,
               MJAVAMessages.MJAVA_unexpected_token,
               new String[] {scanner.fenetre[1].getNom()});
           scanner.accepter_sucre(LEX_MJAVA.token_ident);
       }
       break;
     case LEX_MJAVA.token_void: // 1671
       regle10();
       break;
     default:
       scanner._interrompre(
           IProblem.Syntax,
           scanner.getBeginLine(),
           IMJAVAMessages.id_MJAVA_unexpected_token,
           MJAVAMessages.MJAVA_unexpected_token,
           new String[] {scanner.fenetre[0].getNom()});
   }
 }