示例#1
0
 public DFunction(DFunctionMetadata funcMetadata, DObject outerContext)
     : base(Runtime.Instance.DFunctionMap)
 {
     Metadata = funcMetadata;
     if (funcMetadata != null)
     {
         JittedCode = Metadata.Execute;
     }
     OuterContext = outerContext;
 }
示例#2
0
 public DFunction(DFunctionMetadata funcMetadata, DObject outerContext)
   : base(Runtime.Instance.DFunctionMap)
 {
   Metadata = funcMetadata;
   if (funcMetadata != null)
     JittedCode = Metadata.Execute;
   OuterContext = outerContext;
 }