Example #1
0
 public virtual TypeModifier VisitTypeModifier(TypeModifier typeModifier)
 {
     if (typeModifier == null) return null;
     typeModifier.Modifier = this.VisitTypeReference(typeModifier.Modifier);
     typeModifier.ModifiedType = this.VisitTypeReference(typeModifier.ModifiedType);
     return typeModifier;
 }
Example #2
0
 public override TypeModifier VisitTypeModifier(TypeModifier typeModifier)
 {
     throw new NotImplementedException("Node type not yet supported");
 }
Example #3
0
 public override TypeModifier VisitTypeModifier(TypeModifier typeModifier)
 {
     if (typeModifier == null) return null;
     return base.VisitTypeModifier((TypeModifier)typeModifier.Clone());
 }
 public EventingVisitor(Action<TypeModifier> visitTypeModifier) { VisitedTypeModifier += visitTypeModifier; } public event Action<TypeModifier> VisitedTypeModifier; public override TypeModifier VisitTypeModifier(TypeModifier typeModifier) { if (VisitedTypeModifier != null) VisitedTypeModifier(typeModifier); return base.VisitTypeModifier(typeModifier); }