Boo.Lang.Compiler.Steps.OptimizeIterationStatements.FixContinueStatements C# (CSharp) Метод

FixContinueStatements() приватный Метод

private FixContinueStatements ( Boo.Lang.Compiler.Ast.ForStatement node, Boo.Lang.Compiler.Ast.WhileStatement ws ) : void
node Boo.Lang.Compiler.Ast.ForStatement
ws Boo.Lang.Compiler.Ast.WhileStatement
Результат void
        private void FixContinueStatements(ForStatement node, WhileStatement ws)
        {
            // :update
            LabelStatement label = CreateUpdateLabel(node);
            GotoOnTopLevelContinue continueFixup = new GotoOnTopLevelContinue(label);
            node.Block.Accept(continueFixup);
            if (continueFixup.UsageCount > 0) ws.Block.Add(label);
        }