Exemplo n.º 1
0
        public virtual object VisitTypeParameter(TypeParameterNode typeParameter, object data)
        {
            stackMap.Push(typeParameter);
            typeParameter.Attributes.AcceptVisitor(this, data);

            if (typeParameter.Identifier != null)
            {
                typeParameter.Identifier.AcceptVisitor(this, data);
            }

            if (typeParameter.Type != null)
            {
                typeParameter.Type.AcceptVisitor(this, data);
            }

            stackMap.Pop();
            return(null);
        }
Exemplo n.º 2
0
 public Constraint(TypeParameterNode typeParameter)
 {
     this.typeParameter = typeParameter;
 }