private void CompileTryBlock(IBuildContext ctx) { var scope = ctx.EnterScope <TryScope>(); ctx.Compile(_tryExpression); ctx.LeaveScope(scope); }
internal void Compile(IBuildContext ctx) { ctx.Generator.BeginCatchBlock(ExceptionType); var scope = ctx.EnterScope <CatchScope>(); ctx.Compile(_preCatchExpression); ctx.Compile(_catchExpression); ctx.LeaveScope(scope); }
private void CompileFinallyBlock(IBuildContext ctx) { ctx.Generator.BeginFinallyBlock(); var scope = ctx.EnterScope <FinallyScope>(); ctx.Compile(_finallyExpression); ctx.LeaveScope(scope); }
internal override void Compile(IBuildContext ctx, int expressionId) { var scope = ctx.EnterScope <VoidBlockScope>(); foreach (var expression in _expressions) { ctx.Compile(expression); } ctx.LeaveScope(scope); }