Exemplo n.º 1
0
 public void LoopFinder_WhileGoto2_TagNodes()
 {
     var sa = new StructureAnalysis(new MockWhileGoto2().Procedure);
     sa.BuildProcedureStructure();
     sa.FindStructures();
     sa.ProcedureStructure.Write(Console.Out);
 }
Exemplo n.º 2
0
        public void LoopFinder_WhileGoto2_TagNodes()
        {
            var sa = new StructureAnalysis(new MockWhileGoto2().Procedure);

            sa.BuildProcedureStructure();
            sa.FindStructures();
            sa.ProcedureStructure.Write(Console.Out);
        }
Exemplo n.º 3
0
 private void CompileTest(ProcedureBuilder mock)
 {
     proc = mock.Procedure;
     StructureAnalysis sa = new StructureAnalysis(mock.Procedure);
     sa.BuildProcedureStructure();
     sa.FindStructures();
     curProc = sa.ProcedureStructure;
 }
Exemplo n.º 4
0
        private static StructureAnalysis CompileTest(ProcedureBuilder mock)
        {
            var sa = new StructureAnalysis(mock.Procedure);

            sa.BuildProcedureStructure();
            sa.FindStructures();
            return(sa);
        }
Exemplo n.º 5
0
        private void CompileTest(ProcedureBuilder mock)
        {
            proc = mock.Procedure;
            StructureAnalysis sa = new StructureAnalysis(mock.Procedure);

            sa.BuildProcedureStructure();
            sa.FindStructures();
            curProc = sa.ProcedureStructure;
        }