Example #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;
		}
Example #2
0
 public override bool DoMatch(INode other, Match match)
 {
     if (other == null)
     {
         match.AddNull(this.groupName);
     }
     else
     {
         match.Add(this.groupName, other);
     }
     return(true);
 }