Beispiel #1
0
 public DecayedType(DecayedType type)
     : base(type)
 {
     Decayed  = new QualifiedType((Type)type.Decayed.Type.Clone(), type.Decayed.Qualifiers);
     Original = new QualifiedType((Type)type.Original.Type.Clone(), type.Original.Qualifiers);
     Pointee  = new QualifiedType((Type)type.Pointee.Type.Clone(), type.Pointee.Qualifiers);
 }
Beispiel #2
0
        public virtual bool VisitDecayedType(DecayedType decayed, TypeQualifiers quals)
        {
            if (!VisitType(decayed, quals))
            {
                return(false);
            }

            return(decayed.Decayed.Visit(this));
        }
Beispiel #3
0
 public virtual string VisitDecayedType(DecayedType decayed, TypeQualifiers quals)
 {
     return(decayed.Decayed.Visit(this));
 }