public void ReInit(SMParserTokenManager tm) { token_source = tm; token = new Token(); mcc_ntk = -1; mcc_gen = 0; for (int i = 0; i < 13; i++) { mcc_la1[i] = -1; } for (int i = 0; i < mcc_2_rtns.Length; i++) { mcc_2_rtns[i] = new MccCalls(); } }
public SMParser(System.IO.TextReader stream) { mcc_input_stream = new SimpleCharStream(stream, 1, 1); token_source = new SMParserTokenManager(mcc_input_stream); token = new Token(); mcc_ntk = -1; mcc_gen = 0; for (int i = 0; i < 13; i++) { mcc_la1[i] = -1; } for (int i = 0; i < mcc_2_rtns.Length; i++) { mcc_2_rtns[i] = new MccCalls(); } }