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