/// <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, ASTNodeCAMLFactory astFactory) : this(textQuery) { _astFactory = astFactory; }
/// <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 ASTNodeCAMLFactory(); }