While.AST.Statements.Block.Compile C# (CSharp) Method

Compile() public method

public Compile ( ILGenerator il ) : void
il System.Reflection.Emit.ILGenerator
return void
        public override void Compile(ILGenerator il)
        {
            SymbolTable.PushScope();
            il.BeginScope();
            EmitDebugInfo(il, 0, true);
            if (Options.Debug) {
                il.Emit(OpCodes.Nop); //To step correctly
            }
            if (Variables != null) {
                Variables.Compile(il);
            }
            Statements.Compile(il);
            il.EndScope();
            SymbolTable.PopScope();
            EmitDebugInfo(il, 1, true);
        }