public void LoopFinder_WhileGoto2_TagNodes() { var sa = new StructureAnalysis(new MockWhileGoto2().Procedure); sa.BuildProcedureStructure(); sa.FindStructures(); sa.ProcedureStructure.Write(Console.Out); }
private void CompileTest(ProcedureBuilder mock) { proc = mock.Procedure; StructureAnalysis sa = new StructureAnalysis(mock.Procedure); sa.BuildProcedureStructure(); sa.FindStructures(); curProc = sa.ProcedureStructure; }
private static StructureAnalysis CompileTest(ProcedureBuilder mock) { var sa = new StructureAnalysis(mock.Procedure); sa.BuildProcedureStructure(); sa.FindStructures(); return(sa); }