Microsoft.JScript.FunctionExpression.Evaluate C# (CSharp) Method

Evaluate() private method

private Evaluate ( ) : Object
return Object
      internal override Object Evaluate(){
        if( VsaEngine.executeForJSEE )
          throw new JScriptException(JSError.NonSupportedInDebugger);
        ScriptObject enclosingScope = Globals.ScopeStack.Peek();
        this.func.own_scope.SetParent(enclosingScope);
        Closure result = new Closure(this.func);
        if (this.field != null)
          this.field.value = result;
        return result;
      }