public PrefabSingleInterpretArgs(MutableTree tree, IRuntimeStorage runtimeStorage)
 {
     Tree = tree;
     RuntimeStorage = new PythonRuntimeStorageWrapper(runtimeStorage);
 }
Beispiel #2
0
 public PythonInterpretArgs(InterpretArgs interpretArgs)
 {
     tree            = interpretArgs.Tree;
     runtime_storage = new PythonRuntimeStorageWrapper(interpretArgs.RuntimeStorage);
     args            = interpretArgs;
 }
 public PythonInterpretArgs(InterpretArgs interpretArgs)
 {
     tree = interpretArgs.Tree;
     runtime_storage = new PythonRuntimeStorageWrapper(interpretArgs.RuntimeStorage);
     args = interpretArgs;
 }
Beispiel #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);
         }
     }
 }