Rhino.InterpretedFunction.Call C# (CSharp) Method

Call() public method

Calls the function.
Calls the function.
public Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object
cx Context the current context
scope Scriptable the scope used for the call
thisObj Scriptable the value of "this"
args object /// function arguments. Must not be null. You can use /// ScriptRuntime.emptyArgs /// to pass empty arguments. ///
return object
		public override object Call(Context cx, Scriptable scope, Scriptable thisObj, object[] args)
		{
			if (!ScriptRuntime.HasTopCall(cx))
			{
				return ScriptRuntime.DoTopCall(this, cx, scope, thisObj, args);
			}
			return Interpreter.Interpret(this, cx, scope, thisObj, args);
		}