示例#1
0
 /// <summary>Reinitialize.</summary>
 public void ReInit(StandardSyntaxParserTokenManager tm)
 {
     token_source = tm;
     token        = new Token();
     jj_ntk       = -1;
     jj_gen       = 0;
     for (int i = 0; i < 28; i++)
     {
         jj_la1[i] = -1;
     }
     for (int i = 0; i < jj_2_rtns.Length; i++)
     {
         jj_2_rtns[i] = new JJCalls();
     }
 }
示例#2
0
 /// <summary>
 /// Constructor with user supplied <see cref="ICharStream"/>.
 /// </summary>
 public StandardSyntaxParser(ICharStream stream)
 {
     token_source = new StandardSyntaxParserTokenManager(stream);
     token        = new Token();
     jj_ntk       = -1;
     jj_gen       = 0;
     for (int i = 0; i < 28; i++)
     {
         jj_la1[i] = -1;
     }
     for (int i = 0; i < jj_2_rtns.Length; i++)
     {
         jj_2_rtns[i] = new JJCalls();
     }
 }
示例#3
0
 /// <summary>Reinitialize.</summary>
 public void ReInit(StandardSyntaxParserTokenManager tm)
 {
     token_source = tm;
     token = new Token();
     jj_ntk = -1;
     jj_gen = 0;
     for (int i = 0; i < 28; i++) jj_la1[i] = -1;
     for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();
 }
示例#4
0
 /// <summary>
 /// Constructor with user supplied <see cref="ICharStream"/>.
 /// </summary>
 public StandardSyntaxParser(ICharStream stream)
 {
     token_source = new StandardSyntaxParserTokenManager(stream);
     token = new Token();
     jj_ntk = -1;
     jj_gen = 0;
     for (int i = 0; i < 28; i++) jj_la1[i] = -1;
     for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();
 }