Пример #1
0
 public virtual S VisitConstraint(Constraint constraint, T data)
 {
     return(VisitChildren(constraint, data));
 }
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            Constraint o = other as Constraint;

            return(o != null && this.TypeParameter.DoMatch(o.TypeParameter, match) && this.BaseTypes.DoMatch(o.BaseTypes, match));
        }