コード例 #1
0
 public virtual Statement VisitFinally(Finally Finally)
 {
     if (Finally == null) return null;
     Finally.Block = this.VisitBlock(Finally.Block);
     return Finally;
 }
コード例 #2
0
ファイル: Duplicator.cs プロジェクト: modulexcite/SHFB-1
 public override Statement VisitFinally(Finally Finally)
 {
     if (Finally == null) return null;
     return base.VisitFinally((Finally)Finally.Clone());
 }
コード例 #3
0
ファイル: Decompiler.cs プロジェクト: ZingModelChecker/Zing
 public override Statement VisitFinally(Finally Finally)
 {
     if (Finally == null) return null;
     WriteLine("finally");
     this.VisitBlock(Finally.Block);
     return Finally;
 }
コード例 #4
0
ファイル: Nodes.cs プロジェクト: modulexcite/SHFB-1
 public Try(Block tryBlock, CatchList catchers, FilterList filters, FaultHandlerList faultHandlers, Finally Finally)
     : base(NodeType.Try)
 {
     this.catchers = catchers;
     this.faultHandlers = faultHandlers;
     this.filters = filters;
     this.finallyClause = Finally;
     this.tryBlock = tryBlock;
 }
コード例 #5
0
 public EventingVisitor(Action<Finally> visitFinally) { VisitedFinally += visitFinally; } public event Action<Finally> VisitedFinally; public override Statement VisitFinally(Finally Finally) { if (VisitedFinally != null) VisitedFinally(Finally); return base.VisitFinally(Finally); }