Ejemplo n.º 1
0
 public PrefabSingleInterpretArgs(MutableTree tree, IRuntimeStorage runtimeStorage)
 {
     Tree = tree;
     RuntimeStorage = new PythonRuntimeStorageWrapper(runtimeStorage);
 }
Ejemplo n.º 2
0
 public PythonInterpretArgs(InterpretArgs interpretArgs)
 {
     tree            = interpretArgs.Tree;
     runtime_storage = new PythonRuntimeStorageWrapper(interpretArgs.RuntimeStorage);
     args            = interpretArgs;
 }
Ejemplo n.º 3
0
 public PythonInterpretArgs(InterpretArgs interpretArgs)
 {
     tree = interpretArgs.Tree;
     runtime_storage = new PythonRuntimeStorageWrapper(interpretArgs.RuntimeStorage);
     args = interpretArgs;
 }
Ejemplo n.º 4
0
 public void ProcessAnnotations(ProcessAnnotationArgs args)
 {
     if (_processAnnotationsFunc != null)
     {
         try
         {
             var runtime_storage = new PythonRuntimeStorageWrapper(args.RuntimeStorage);
             _processAnnotationsFunc(runtime_storage);
         }
         catch (Exception e)
         {
             throw PythonScriptHost.Instance.GetFormattedException(e, Name);
         }
     }
 }