ParallelForElement.chkForIf C# (CSharp) 메소드

chkForIf() 공개 메소드

public chkForIf ( List code ) : void
code List
리턴 void
    public void chkForIf(List<Element> code)
    {
        for (int i = 0; i < code.Count; i++)
        {
            if (code[i] is IfStatementElement)
            {
                IfStatementElement if_elem = (IfStatementElement)code[i];
                if_elem.ChkforParallel();
            }
            if (code[i] is ForStatementElement)
            {
                ForStatementElement for_elem = (ForStatementElement)code[i];
                for_elem.ChkforParallel();
            }
        }
    }
}