Beispiel #1
0
 public override bool DoMatch(INode other, Match match)
 {
     if (other == null)
     {
         match.AddNull(this.groupName);
     }
     else
     {
         match.Add(this.groupName, other);
     }
     return(true);
 }
Beispiel #2
0
 public override bool DoMatch(INode other, Match match)
 {
     match.Add(this.groupName, other);
     return(childNode.DoMatch(other, match));
 }
Beispiel #3
0
 public override bool DoMatch(INode other, Match match)
 {
     match.Add(this.groupName, other);
     return(other != null && !other.IsNull);
 }