public void StartGenerate() { if (root == null) { Console.WriteLine("Root Null Error!"); } else { root.enumChild(); } if (CodeGenerator.isClosedCycle()) { Console.WriteLine("Code Generation is not a closed cycle!"); } }