public virtual TypeswitchCase VisitTypeswitchCase(TypeswitchCase typeswitchCase) { if (typeswitchCase == null) return null; typeswitchCase.LabelType = this.VisitTypeReference(typeswitchCase.LabelType); typeswitchCase.LabelVariable = this.VisitTargetExpression(typeswitchCase.LabelVariable); typeswitchCase.Body = this.VisitBlock(typeswitchCase.Body); return typeswitchCase; }
public override TypeswitchCase VisitTypeswitchCase(TypeswitchCase typeswitchCase) { throw new NotImplementedException("Node type not yet supported"); }
public override TypeswitchCase VisitTypeswitchCase(TypeswitchCase typeswitchCase) { if (typeswitchCase == null) return null; return base.VisitTypeswitchCase((TypeswitchCase)typeswitchCase.Clone()); }
public EventingVisitor(Action<TypeswitchCase> visitTypeswitchCase) { VisitedTypeswitchCase += visitTypeswitchCase; } public event Action<TypeswitchCase> VisitedTypeswitchCase; public override TypeswitchCase VisitTypeswitchCase(TypeswitchCase typeswitchCase) { if (VisitedTypeswitchCase != null) VisitedTypeswitchCase(typeswitchCase); return base.VisitTypeswitchCase(typeswitchCase); }