/** Reinitialise. */ public void ReInit(irParserTokenManager tm) { token_source = tm; token = new IrToken(); jj_ntk = RegExpId.UNDEFINED; jj_gen = 0; for (int i = 0; i < 9; i++) jj_la1[i] = -1; }
/** Constructor with generated Token Manager. */ public irParser(irParserTokenManager tm) { if (jj_initialized_once) { Console.Out.WriteLine("ERROR: Second call to constructor of static parser. "); Console.Out.WriteLine(" You must either use ReInit() or set the JavaCC option STATIC to false"); Console.Out.WriteLine(" during parser generation."); throw new Error(); } jj_initialized_once = true; token_source = tm; token = new IrToken(); jj_ntk = RegExpId.UNDEFINED; jj_gen = 0; for (int i = 0; i < 9; i++) jj_la1[i] = -1; }