internal QueryParser(string query, VariableExpressionConverter varExpressionConverter, ConvertSearchFilterDelegate searchFilterConverterDelegate) { if (varExpressionConverter == null) { throw new ArgumentNullException("varExpressionConverter"); } if (searchFilterConverterDelegate == null) { throw new ArgumentNullException("searchFilterConverterDelegate"); } if ((query == null) || string.IsNullOrEmpty(query.Trim())) { throw new ADFilterParsingException("Filter query cannot be null or empty"); } this._query = query; this._varExpressionConverter = varExpressionConverter; this._searchFilterConverter = searchFilterConverterDelegate; this.yydebug = false; this.Parse(query); }