} // NT_StatSeq private static void NT_Stat() { for (;;) { switch (Syn.Interpret()) { case 0: return; case 1: Lex.GETidentAttr(out identStr); break; case 2: NT_Expr(); break; case 3: Lex.GETidentAttr(out identStr); break; case 4: NT_Expr(); break; } // switch } // for } // NT_Stat
public static void StartSem() { //-----------------------------------|---------------------------------------- for (;;) { switch (Syn.Interpret()) { case 0: return; case 1: NT_MiniC(); break; } // switch } // for } // StartSem
} // NT_VarDecl private static void NT_StatSeq() { for (;;) { switch (Syn.Interpret()) { case 0: return; case 1: NT_Stat(); break; case 2: NT_Stat(); break; } // switch } // for } // NT_StatSeq