public override IXQuerySelector Create(XQueryParserContext context, Match match) { if (match.Groups["operator"] == null) { return(new AttributeSelector(match.Groups["name"].Value, null, null)); } return(new AttributeSelector(match.Groups["name"].Value, match.Groups["operator"].Value, match.Groups["value"].Value)); }
public override IXQuerySelector Create(XQueryParserContext context, Match match) { if (match.Groups["operator"] == null) { return new AttributeSelector(match.Groups["name"].Value, null, null); } return new AttributeSelector(match.Groups["name"].Value, match.Groups["operator"].Value, match.Groups["value"].Value); }
public override IXQuerySelector Create(XQueryParserContext context, Match match) { return(new AllSelector()); }
public override IXQuerySelector Create(XQueryParserContext context, Match match) { return(new ClassSelector(match.Groups["class"].Value)); }
public override IXQuerySelector Create(XQueryParserContext context, Match match) { return new IdSelector(match.Groups["id"].Value); }
public override IXQuerySelector Create(XQueryParserContext context, Match match) { return(new ElementSelector(match.Value)); }
public override IXQuerySelector Create(XQueryParserContext context, Match match) { return new ElementSelector(match.Value); }
public override IXQuerySelector Create(XQueryParserContext context, Match match) { return new NeighbourSelector(); }
public override IXQuerySelector Create(XQueryParserContext context, Match match) { return new DescendentSelector(); }