Esempio n. 1
0
 private LambdaParser()
 {
     _pool = new NormStr.Pool();
     _kwt  = new KeyWordTable(_pool);
     InitKeyWordTable();
     _lex = new Lexer(_pool, _kwt);
 }
Esempio n. 2
0
 /// <summary>
 /// The constructor. Caller must provide the name pool and key word table.
 /// </summary>
 public Lexer(NormStr.Pool pool, KeyWordTable kwt)
 {
     Contracts.AssertValue(pool);
     Contracts.AssertValue(kwt);
     _pool = pool;
     _kwt  = kwt;
 }