DotNetWebToolkit.Cil2Js.Ast.StmtTry.IInstructionMappable C# (CSharp) Method

IInstructionMappable() private method

private IInstructionMappable ( Dictionary map ) : void
map Dictionary
return void
        void IInstructionMappable.Map(Dictionary<Instruction, List<Stmt>> map) {
            // Get the nested mapping, just inside this 'try' statement
            this.Try = map[this.@try].SkipWhile(x => x != this).Skip(1).First();
            if (this.@catch != null) {
                this.Catches = new[] { new Catch(map[this.@catch][0], new ExprVarLocal(this.Ctx, this.catchType)) };
            } else {
                this.Catches = null;
            }
            if (this.@finally != null) {
                this.Finally = map[this.@finally][0];
            } else {
                this.Finally = null;
            }
        }