Beispiel #1
0
        public static UnifiedBlock Create(string code)
        {
            var factory = new PythonModelFactory();
            var xml     = Python2AstGenerator.Instance.Generate(code);

            return(factory.CreateBlock(xml));
        }
Beispiel #2
0
 public static UnifiedBlock Create(string code)
 {
     var factory = new PythonModelFactory();
     var xml = Python2AstGenerator.Instance.Generate(code);
     return factory.CreateBlock(xml);
 }