예제 #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);
 }
예제 #2
0
 public override bool DoMatch(INode other, Match match)
 {
     match.Add(this.groupName, other);
     return(childNode.DoMatch(other, match));
 }
예제 #3
0
 public override bool DoMatch(INode other, Match match)
 {
     match.Add(this.groupName, other);
     return(other != null && !other.IsNull);
 }