예제 #1
0
        public bool VisitVarTemplateDecl(VarTemplate template)
        {
            if (!VisitDeclaration(template))
            {
                return(false);
            }

            foreach (var templateParameter in template.Parameters)
            {
                templateParameter.Visit(this);
            }

            foreach (var specialization in template.Specializations)
            {
                specialization.Visit(this);
            }

            template.TemplatedVariable.Visit(this);

            return(true);
        }
예제 #2
0
 public virtual string VisitVarTemplateDecl(VarTemplate template)
 {
     return(VisitDeclaration(template));
 }