S IAstVisitor <T, S> .VisitTypeParameterDeclaration(TypeParameterDeclaration typeParameterDeclaration, T data)
        {
            var handler = TypeParameterDeclarationVisited;

            if (handler != null)
            {
                handler(typeParameterDeclaration, data);
            }
            return(VisitChildren(typeParameterDeclaration, data));
        }
示例#2
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            TypeParameterDeclaration o = other as TypeParameterDeclaration;

            return(o != null && this.Variance == o.Variance && MatchString(this.Name, o.Name) && this.Attributes.DoMatch(o.Attributes, match));
        }
示例#3
0
 public virtual S VisitTypeParameterDeclaration(TypeParameterDeclaration typeParameterDeclaration, T data)
 {
     return(VisitChildren(typeParameterDeclaration, data));
 }