예제 #1
0
 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;
 }
예제 #2
0
 public override TypeswitchCase VisitTypeswitchCase(TypeswitchCase typeswitchCase)
 {
     throw new NotImplementedException("Node type not yet supported");
 }
예제 #3
0
 public override TypeswitchCase VisitTypeswitchCase(TypeswitchCase typeswitchCase)
 {
     if (typeswitchCase == null) return null;
     return base.VisitTypeswitchCase((TypeswitchCase)typeswitchCase.Clone());
 }
예제 #4
0
 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); }