Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NParser"/> class.
 /// </summary>
 /// <param name="textQuery">The parser output.</param>
 public NParser(string textQuery)
 {
     _scanner    = new Scanner(textQuery);
     _astFactory = new ASTNodeFactory();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NParser"/> class.
 /// </summary>
 /// <param name="textQuery">The text query.</param>
 /// <param name="astFactory">The ast factory.</param>
 public NParser(string textQuery, ASTNodeFactoryBase astFactory)
     : this(textQuery)
 {
     _astFactory = astFactory;
 }
Esempio n. 3
0
 public void SetupFixture()
 {
     factory = new ASTNodeFactory();
 }