Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 public override IXQuerySelector Create(XQueryParserContext context, Match match)
 {
     return(new AllSelector());
 }
Exemplo n.º 4
0
 public override IXQuerySelector Create(XQueryParserContext context, Match match)
 {
     return(new ClassSelector(match.Groups["class"].Value));
 }
Exemplo n.º 5
0
		public override IXQuerySelector Create(XQueryParserContext context, Match match)
		{
			return new IdSelector(match.Groups["id"].Value);
		}
Exemplo n.º 6
0
 public override IXQuerySelector Create(XQueryParserContext context, Match match)
 {
     return(new ElementSelector(match.Value));
 }
Exemplo n.º 7
0
		public override IXQuerySelector Create(XQueryParserContext context, Match match)
		{
			return new ElementSelector(match.Value);
		}
		public override IXQuerySelector Create(XQueryParserContext context, Match match)
		{
			return new NeighbourSelector();
		}
Exemplo n.º 9
0
 public override IXQuerySelector Create(XQueryParserContext context, Match match)
 {
     return new DescendentSelector();
 }