public void Parse_Basic(string queryAsString, SyntaxQueryKeyword expectedTarget) { var query = new SyntaxQueryParser().Parse(queryAsString); Assert.Equal(expectedTarget, query.Keyword); }
public void Parse_Axis(string queryAsString, SyntaxQueryAxis expectedAxis) { var query = new SyntaxQueryParser().Parse(queryAsString); Assert.Equal(expectedAxis, query.Axis); }
public ConfigurationLoader(SyntaxQueryParser parser) { _parser = parser; }