protected override void GenerateBlockEnd(ScriptCompiler.Context context) { if (Else != null) { context.Jump(EndLabel); context.InidicateLabel(ElseLabel); context.Generate(Else); } }
public override void Generate(ScriptCompiler.Context context) { Iteration iterationBlock = FindIterationBlock(context); if (iterationBlock != null) { context.Jump(iterationBlock.LoopLabel); } else { throw new InvalidOperationException("continue must be in iteration block"); } }
public override void Generate(ScriptCompiler.Context context) { context.Jump(context.CurrentBlock.EndLabel); }
protected override void GenerateBlockEnd(ScriptCompiler.Context context) { context.Jump(LoopLabel); }