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

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